|
@@ -294,7 +294,8 @@ public class MachineNodeServiceImpl implements NodeOperationService {
|
|
|
//String fileNames[] = fileName.split(",");
|
|
|
JSONObject data = new JSONObject();
|
|
|
data.put("remotePath", procedureProgramList.get(0).getSubmittedFileName());
|
|
|
- map.put("data", data);
|
|
|
+// map.put("data", data);
|
|
|
+ map.remove("data");
|
|
|
map.put("method", "StartNCProgram");
|
|
|
map.put("result", true);
|
|
|
}
|
|
@@ -335,7 +336,8 @@ public class MachineNodeServiceImpl implements NodeOperationService {
|
|
|
map.put("url",plcInfo.get("url"));
|
|
|
map.put("port",plcInfo.get("port"));
|
|
|
map.put("result", true);
|
|
|
- map.put("data", new HashMap<>());
|
|
|
+ map.remove("data");
|
|
|
+// map.put("data", new HashMap<>());
|
|
|
}
|
|
|
break;
|
|
|
case "三坐标检测仪":
|