| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | | import org.springframework.test.context.junit4.SpringRunner; |
| | | import org.springframework.web.socket.config.annotation.EnableWebSocket; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | |
| | | @Slf4j |
| | | @RunWith(SpringRunner.class) |
| | | @SpringBootTest(classes = UnLoadGlassApplication.class) |
| | | |
| | | public class UnloadGlassModuleApplicationTest { |
| | | |
| | | @Autowired |
| | |
| | | |
| | | } |
| | | |
| | | // @Test |
| | | // public void CacheEmpty() { |
| | | // log.info("测试出片"); |
| | | // downStorageCageDetailsService.CacheOut(1,2); |
| | | // |
| | | // } |
| | | @Test |
| | | public void CacheEmpty() { |
| | | public void CacheEmpty1() { |
| | | log.info("测试出片"); |
| | | downStorageCageDetailsService.CacheOut(1,10); |
| | | downStorageCageDetailsServiceImpl.CacheOut1(1,6); |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @Test |
| | | public void getTotalGlassDimensionsByWorkstation() { |
| | | log.info("工位显示"); |
| | | downWorkstationService.getTotalGlassDimensionsByWorkstation(); |
| | | downWorkstationService.getTotalGlassDimensionsByWorkstation(1,3); |
| | | |
| | | } |
| | | |
| | |
| | | public void updateTaskStateToZero() { |
| | | log.info("更新状态0"); |
| | | |
| | | downGlassTaskServiceImpl.updateTaskStateToZero("3"); |
| | | downGlassTaskServiceImpl.updateTaskState("3"); |
| | | } |
| | | |
| | | |
| | |
| | | downStorageCageServiceImpl.selectCacheEmpty(); |
| | | } |
| | | |
| | | @Test |
| | | public void getFlowCardId() { |
| | | |
| | | |
| | | glassInfoServiceImpl.getFlowCardId(); |
| | | } |
| | | |
| | | |
| | | |
| | | } |