This commit is contained in:
USER-20220102CG\noblelift
2022-10-08 18:03:37 +08:00
parent 424d1e76b2
commit 0e19945f09
2 changed files with 12 additions and 10 deletions

View File

@@ -125,10 +125,10 @@ public class NdxyHandServiceImpl implements NdxyHandService {
status = "2";
status_name = "故障";
}
if (ndxySpecialDeviceDriver.getChecked()) {
status = "3";
status_name = "已选择";
}
// if (ndxySpecialDeviceDriver.getChecked()) {
// status = "3";
// status_name = "已选择";
// }
Device device_code1 = deviceAppService.findDeviceByCode(devicejo.optString("device_code"));
jo.put("status", status);

View File

@@ -2345,12 +2345,14 @@ public class NDCSocketConnectionAutoRun extends AbstractAutoRunnable {
//请求删除任务
else if (phase == 0x30) {
flag = true;
if (!ObjectUtil.isEmpty(inst)) {
data = AgvService.sendAgvOneModeInst(phase, index, 0);
} else {
log.info("未找到对应的指令无法删除");
break;
}
// if (!ObjectUtil.isEmpty(inst)) {
// data = AgvService.sendAgvOneModeInst(0x8F, index, 0);
// } else {
// log.info("未找到对应的指令无法删除");
// break;
// }
data = AgvService.sendAgvOneModeInst(0x8F, index, 0);
}
//任务删除确认
//(需要WCS反馈)