#
vincentlu
2025-05-13 ebd2f4397a92c6a5096de1b86d59154363344720
zy-acs-manager/src/main/java/com/zy/acs/manager/core/scheduler/MaintainScheduler.java
@@ -81,7 +81,7 @@
                    continue;
                }
                mainLockWrapService.buildMinorTask(agv, TaskTypeType.TO_CHARGE, null, null);
                mainLockWrapService.buildMinorTask(agv.getId(), TaskTypeType.TO_CHARGE, null, null);
            }
        }
    }
@@ -100,9 +100,9 @@
                continue;
            }
            // low battery status, that need to go to charge
            if (agvDetailService.isPowerLoss(agv, agvDetail, agvModel)) {
                continue;
            }
//            if (agvDetailService.isPowerLoss(agv, agvDetail, agvModel)) {
//                continue;
//            }
            // is charging ?
            if (agvDetail.getAgvStatus().equals(AgvStatusType.CHARGE)) {
                if (agvDetail.getVol() < agvModel.getQuaBattery()) {
@@ -144,7 +144,7 @@
                }
//            }
            mainLockWrapService.buildMinorTask(agv, TaskTypeType.TO_STANDBY, null, null);
            mainLockWrapService.buildMinorTask(agv.getId(), TaskTypeType.TO_STANDBY, null, null);
        }
    }