机械手任务完成更新组盘为已完成
This commit is contained in:
@@ -225,6 +225,15 @@ public class HfKilnManipulatorDeviceDriver extends AbstractOpcDeviceDriver imple
|
||||
if (inst2 != null) {
|
||||
if (StrUtil.equals(inst2.getInstruction_status(), "1")) {
|
||||
this.finish_instruction(inst2);
|
||||
JSONObject json = new JSONObject();
|
||||
// Device device = appService.findDeviceByAddress(String.valueOf(this.locate));
|
||||
//点位
|
||||
// json.put("device",device.getDevice_code());
|
||||
//条码
|
||||
json.put("barcode",this.barcode);
|
||||
//2-更新托盘状态为已拆垛
|
||||
json.put("state",2);
|
||||
JSONObject resp = acsToWmsService.updateKiln(json);
|
||||
logServer.deviceInfo("反馈电气信号", this.getDevice_code(), "机械手任务完成,开始反馈电气信号");
|
||||
this.writing("to_onset", "0");
|
||||
this.writing("to_target", "0");
|
||||
|
||||
Reference in New Issue
Block a user