fix
This commit is contained in:
@@ -728,8 +728,20 @@ public class IndoorManipulatorDeviceDriver extends AbstractOpcDeviceDriver imple
|
|||||||
logServer.deviceExecuteLog(device_code, "", "", "当前设备:" + device_code + ",下发指令:"
|
logServer.deviceExecuteLog(device_code, "", "", "当前设备:" + device_code + ",下发指令:"
|
||||||
+ instruction.getInstruction_code() + ",指令起点:" + instruction.getStart_device_code()
|
+ instruction.getInstruction_code() + ",指令起点:" + instruction.getStart_device_code()
|
||||||
+ ",指令终点:" + instruction.getNext_device_code());
|
+ ",指令终点:" + instruction.getNext_device_code());
|
||||||
|
String is_bushing = taskDto.getIs_bushing();
|
||||||
|
String version = taskDto.getVersion();
|
||||||
|
String bushing_num = taskDto.getBushing_num();
|
||||||
|
|
||||||
Map<String, Object> map = new LinkedHashMap<>();
|
Map<String, Object> map = new LinkedHashMap<>();
|
||||||
map.put("to_command", "1");
|
map.put("to_command", "1");
|
||||||
|
if (action==2) {
|
||||||
|
map.put("inflatableShaftVersion", version);
|
||||||
|
map.put("tube_num", bushing_num);
|
||||||
|
map.put("is_wrapped", is_bushing);
|
||||||
|
}
|
||||||
|
if (action==1||action==5){
|
||||||
|
map.put("to_task_type", String.valueOf(action));
|
||||||
|
}
|
||||||
map.put("to_onset", start_addr);
|
map.put("to_onset", start_addr);
|
||||||
map.put("to_task", instruction.getInstruction_code());
|
map.put("to_task", instruction.getInstruction_code());
|
||||||
map.put("to_target", next_addr);
|
map.put("to_target", next_addr);
|
||||||
@@ -824,11 +836,23 @@ public class IndoorManipulatorDeviceDriver extends AbstractOpcDeviceDriver imple
|
|||||||
logServer.deviceExecuteLog(device_code, "", "", "当前设备:" + device_code + ",下发指令:"
|
logServer.deviceExecuteLog(device_code, "", "", "当前设备:" + device_code + ",下发指令:"
|
||||||
+ instdto.getInstruction_code() + ",指令起点:" + instdto.getStart_device_code()
|
+ instdto.getInstruction_code() + ",指令起点:" + instdto.getStart_device_code()
|
||||||
+ ",指令终点:" + instdto.getNext_device_code());
|
+ ",指令终点:" + instdto.getNext_device_code());
|
||||||
this.writing("to_command", "1");
|
String is_bushing = task.getIs_bushing();
|
||||||
this.writing("to_onset", start_addr);
|
String version = task.getVersion();
|
||||||
this.writing("to_target", next_addr);
|
String bushing_num = task.getBushing_num();
|
||||||
this.writing("to_task", instdto.getInstruction_code());
|
Map<String, Object> map = new LinkedHashMap<>();
|
||||||
this.writing("to_task_type", "1");
|
map.put("to_command", "1");
|
||||||
|
if (action==2) {
|
||||||
|
map.put("inflatableShaftVersion", version);
|
||||||
|
map.put("tube_num", bushing_num);
|
||||||
|
map.put("is_wrapped", is_bushing);
|
||||||
|
}
|
||||||
|
if (action==1||action==5){
|
||||||
|
map.put("to_task_type", String.valueOf(action));
|
||||||
|
}
|
||||||
|
map.put("to_onset", start_addr);
|
||||||
|
map.put("to_task", instdto.getInstruction_code());
|
||||||
|
map.put("to_target", next_addr);
|
||||||
|
this.writing(map);
|
||||||
this.setRequireSucess(true);
|
this.setRequireSucess(true);
|
||||||
notCreateInstMessage = "";
|
notCreateInstMessage = "";
|
||||||
notCreateTaskMessage = "";
|
notCreateTaskMessage = "";
|
||||||
|
|||||||
@@ -307,6 +307,32 @@ public class TaskDto implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private String next_height = "0";
|
private String next_height = "0";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 行架任务类型
|
||||||
|
*/
|
||||||
|
private String truss_type;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 气胀轴代数
|
||||||
|
*/
|
||||||
|
private String version;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否套管
|
||||||
|
*/
|
||||||
|
private String is_bushing;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 套管数量
|
||||||
|
*/
|
||||||
|
private String bushing_num;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//array device_code\material_code\qty
|
||||||
|
private String paper_array;
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString(){
|
public String toString(){
|
||||||
|
|||||||
Reference in New Issue
Block a user