Browse Source

更新

master
汪菘 2 years ago
parent
commit
0e19945f09
  1. 8
      hd/nladmin-system/src/main/java/org/nl/hand/andxy/service/impl/NdxyHandServiceImpl.java
  2. 14
      hd/nladmin-system/src/main/java/org/nl/start/auto/run/NDCSocketConnectionAutoRun.java

8
hd/nladmin-system/src/main/java/org/nl/hand/andxy/service/impl/NdxyHandServiceImpl.java

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

14
hd/nladmin-system/src/main/java/org/nl/start/auto/run/NDCSocketConnectionAutoRun.java

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

Loading…
Cancel
Save