| | |
| | | import com.zy.acs.common.utils.RedisSupport; |
| | | import com.zy.acs.framework.common.DateUtils; |
| | | import com.zy.acs.manager.core.service.MainLockWrapService; |
| | | import com.zy.acs.manager.core.service.MainService; |
| | | import com.zy.acs.manager.core.service.MainLxtService; |
| | | import com.zy.acs.manager.manager.entity.*; |
| | | import com.zy.acs.manager.manager.enums.*; |
| | | import com.zy.acs.manager.manager.service.*; |
| | |
| | | @Autowired |
| | | private FuncStaService funcStaService; |
| | | @Autowired |
| | | private MainService mainService; |
| | | private MainLxtService mainService; |
| | | @Autowired |
| | | private MainLockWrapService mainLockWrapService; |
| | | @Autowired |
| | |
| | | @Autowired |
| | | private SegmentService segmentService; |
| | | |
| | | @Scheduled(cron = "0/5 * * * * ? ") |
| | | // @Scheduled(cron = "0/5 * * * * ? ") |
| | | private synchronized void autoCharge(){ |
| | | List<Agv> agvList = agvService.list(new LambdaQueryWrapper<Agv>().eq(Agv::getStatus, StatusType.ENABLE.val)); |
| | | for (Agv agv : agvList) { |
| | |
| | | } |
| | | |
| | | |
| | | @Scheduled(cron = "0/1 * * * * ? ") |
| | | // @Scheduled(cron = "0/1 * * * * ? ") |
| | | // @Scheduled(cron = "0 */2 * * * ? ") |
| | | private synchronized void autoStandby(){ |
| | | if (!configService.getVal("automaticStandbyPosition", Boolean.class)) { return; } |