rev 修改bug
This commit is contained in:
@@ -668,9 +668,9 @@ public class PaperTubeConveyor2DeviceDriver extends AbstractOpcDeviceDriver impl
|
||||
map.put("to_material" + status, paper.getMaterial_code());
|
||||
map.put("to_out_qty" + status, paper.getQty());
|
||||
map.put("to_seq" + status, status);
|
||||
// Device nextdevice = deviceAppservice.findDeviceByCode(paper.getDevice_code());
|
||||
// String next_addr = nextdevice.getExtraValue().get("address").toString();
|
||||
map.put("to_position" + status, paper.getDevice_code());
|
||||
Device nextdevice = deviceAppservice.findDeviceByCode(paper.getDevice_code());
|
||||
String next_addr = nextdevice.getExtraValue().get("address").toString();
|
||||
map.put("to_position" + status, next_addr);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -144,6 +144,6 @@ public class CreateTaskRequest extends BaseRequest {
|
||||
*/
|
||||
private String bushing_num;
|
||||
|
||||
private String paper_array;
|
||||
private JSONArray paper_array;
|
||||
|
||||
}
|
||||
|
||||
@@ -720,7 +720,7 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
|
||||
for (int i = 0; i < datas.size(); i++) {
|
||||
String data = datas.get(i).toString();
|
||||
CreateTaskRequest request = JsonUtl.format(data, CreateTaskRequest.class);
|
||||
String paper_array = request.getPaper_array();
|
||||
JSONArray paper_array = request.getPaper_array();
|
||||
String ext_task_id = request.getExt_task_id();
|
||||
String task_code = request.getTask_code();
|
||||
String start_device_code = request.getStart_device_code();
|
||||
|
||||
Reference in New Issue
Block a user