opt: ndc驱动

This commit is contained in:
2025-09-15 15:19:28 +08:00
parent 60ee4b0b1d
commit 83d88b0f56
2 changed files with 2 additions and 1 deletions

View File

@@ -184,7 +184,7 @@ public class OneNDCSocketConnectionAutoRun extends AbstractAutoRunnable {
}
//任务完毕
//无车id及状态
else if (phase == 0x0A) {
else if (phase == 0x14) {
if (!ObjectUtil.isEmpty(inst)) {
instructionService.finish(inst.getInstruction_id());
} else {

View File

@@ -1343,6 +1343,7 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic
data = ndcAgvService.sendAgvOneModeInst(phase, index, 0);
//进入交通灯区域
} else if (phase == 0x50) {
// 判断自动门、区域需要向LMS请求、电梯
data = ndcAgvService.sendAgvOneModeInst(phase, index, 0);
//离开交通灯区域
} else if (phase == 0x51) {