add:生箔任务设置小车
This commit is contained in:
@@ -310,7 +310,7 @@ public class AgvNdcTwoDeviceDriver extends AbstractDeviceDriver implements Devic
|
|||||||
&& StrUtil.equals("true", manipulatorAgvStationDeviceDriver.getDevice().getExtraValue().get("ignore_pickup_check").toString())) {
|
&& StrUtil.equals("true", manipulatorAgvStationDeviceDriver.getDevice().getExtraValue().get("ignore_pickup_check").toString())) {
|
||||||
byte[] dataSJG = ndcAgvService.sendAgvTwoModeInst(phase, index, 0, 0, 0);
|
byte[] dataSJG = ndcAgvService.sendAgvTwoModeInst(phase, index, 0, 0, 0);
|
||||||
TwoNDCSocketConnectionAutoRun.write(dataSJG);
|
TwoNDCSocketConnectionAutoRun.write(dataSJG);
|
||||||
Thread.sleep(3000);
|
Thread.sleep(5000);
|
||||||
try {
|
try {
|
||||||
manipulatorAgvStationDeviceDriver.writing(2);
|
manipulatorAgvStationDeviceDriver.writing(2);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
@@ -184,6 +184,7 @@ public class AutoCreateInst {
|
|||||||
}else {
|
}else {
|
||||||
instdto.setAgv_inst_type("2");
|
instdto.setAgv_inst_type("2");
|
||||||
}
|
}
|
||||||
|
instdto.setCarno("1");
|
||||||
} else if (StrUtil.equals(task_type, "3")) {
|
} else if (StrUtil.equals(task_type, "3")) {
|
||||||
instdto.setAgv_inst_type("2");
|
instdto.setAgv_inst_type("2");
|
||||||
}else if (StrUtil.equals(task_type, "2")) {
|
}else if (StrUtil.equals(task_type, "2")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user