opt: ndc驱动
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user