Explorar o código

刀具数据采集添加IP

oyq28 hai 4 meses
pai
achega
cb4a7c7807

+ 1 - 0
imcs-admin-boot/imcs-business-biz/src/main/java/com/github/zuihou/business/productionReadyCenter/service/impl/MachineCuttingToolServiceImpl.java

@@ -114,6 +114,7 @@ public class MachineCuttingToolServiceImpl extends SuperCacheServiceImpl<Machine
             jsonObject.put("UserName","OpcUaClient");
             jsonObject.put("UserName","OpcUaClient");
             jsonObject.put("Password","12345678");
             jsonObject.put("Password","12345678");
             jsonObject.put("Type","ToolList");
             jsonObject.put("Type","ToolList");
+            jsonObject.put("Ip",productionresource.getIp());
 
 
             HttpEntity<String> request = new HttpEntity<>(jsonObject.toJSONString(), headers);
             HttpEntity<String> request = new HttpEntity<>(jsonObject.toJSONString(), headers);