|
|
@ -651,6 +651,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity3.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity3.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity3.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity3.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity3.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity3.setParity(devices.getParity()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity3.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity3); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity3); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "美的2": |
|
|
|
case "美的2": |
|
|
@ -665,6 +667,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity3.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity3.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity3.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity3.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity3); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity3); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity3.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "瑞星": |
|
|
|
case "瑞星": |
|
|
|
deviceCodeParamEntity3.setRegisterAddr("0046");//实际水温
|
|
|
|
deviceCodeParamEntity3.setRegisterAddr("0046");//实际水温
|
|
|
@ -678,6 +682,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity3.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity3.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity3.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity3.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity3); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity3); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity3.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "海尔": |
|
|
|
case "海尔": |
|
|
|
// 多联机模式
|
|
|
|
// 多联机模式
|
|
|
@ -693,6 +699,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity3.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity3.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity3.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity3.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity3); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity3); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity3.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
break; |
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|
break; |
|
|
|
break; |
|
|
@ -752,6 +760,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity1.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity1.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity1.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity1.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity1.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity1.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity1.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity1.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity1.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity1.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity1.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity1);//添加到列表
|
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity1);//添加到列表
|
|
|
@ -765,6 +775,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity1.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity1.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity1.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity1.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity1.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity1.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity1.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity1.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity1.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity1.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity1.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity1);//添加到列表
|
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity1);//添加到列表
|
|
|
@ -778,6 +790,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity1.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity1.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity1.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity1.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity1.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity1.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity1.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity1.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity1.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity1.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity1.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity1);//添加到列表
|
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity1);//添加到列表
|
|
|
@ -793,6 +807,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity1.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity1.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity1.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity1.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity1.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity1.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity1.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity1.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity1.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity1.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity1.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity1);//添加到列表
|
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity1);//添加到列表
|
|
|
@ -855,6 +871,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity2.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity2.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity2.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity2.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity2.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity2.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity2.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity2.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity2.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity2.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity2.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity2); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity2); |
|
|
@ -867,6 +885,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity4.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity4.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity4.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity4.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity4.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity4.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity4.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity4.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity4.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity4.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity4.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity4); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity4); |
|
|
@ -880,6 +900,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity2.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity2.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity2.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity2.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity2.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity2.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity2.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity2.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity2.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity2.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity2.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity2); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity2); |
|
|
@ -892,6 +914,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity4.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity4.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity4.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity4.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity4.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity4.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity4.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity4.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity4.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity4.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity4.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity4); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity4); |
|
|
@ -905,6 +929,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity2.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity2.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity2.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity2.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity2.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity2.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity2.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity2.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity2.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity2.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity2.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity2); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity2); |
|
|
@ -917,6 +943,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity4.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity4.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity4.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity4.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity4.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity4.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity4.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity4.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity4.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity4.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity4.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity4); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity4); |
|
|
@ -932,12 +960,14 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity2.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity2.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity2.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity2.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity2.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity2.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity2.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity2.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity2.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity2.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity2.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity2); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity2); |
|
|
|
|
|
|
|
|
|
|
|
registerAddr = ExchangeStringUtil.addZeroForNum(ExchangeStringUtil.decToHex("20041"), 4); |
|
|
|
registerAddr = ExchangeStringUtil.addZeroForNum(ExchangeStringUtil.decToHex("20041"), 4); |
|
|
|
deviceCodeParamEntity2.setRegisterAddr(registerAddr);//故障状态
|
|
|
|
deviceCodeParamEntity4.setRegisterAddr(registerAddr);//故障状态
|
|
|
|
deviceCodeParamEntity4.setFunCode("03"); |
|
|
|
deviceCodeParamEntity4.setFunCode("03"); |
|
|
|
deviceCodeParamEntity4.setDeviceAddr(devices.getDeviceAddr()); |
|
|
|
deviceCodeParamEntity4.setDeviceAddr(devices.getDeviceAddr()); |
|
|
|
deviceCodeParamEntity4.setDeviceName(devices.getDeviceName()); |
|
|
|
deviceCodeParamEntity4.setDeviceName(devices.getDeviceName()); |
|
|
@ -945,6 +975,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity4.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity4.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity4.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity4.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity4.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity4.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity4.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity4.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity4.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity4.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity4.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity4); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity4); |
|
|
@ -1017,6 +1049,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity2.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity2.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity2.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity2.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity2.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity2.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity2.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity2.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity2.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity2.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity2.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity2); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity2); |
|
|
@ -1030,6 +1064,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity4.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity4.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity4.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity4.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity4.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity4.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity4.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity4.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity4.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity4.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity4.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity4); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity4); |
|
|
@ -1043,6 +1079,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity2.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity2.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity2.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity2.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity2.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity2.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity2.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity2.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity2.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity2.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity2.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity2); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity2); |
|
|
@ -1056,6 +1094,8 @@ public class GetReadOrder485 { |
|
|
|
deviceCodeParamEntity2.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity2.setBaudrate(devices.getBaudRate()); |
|
|
|
deviceCodeParamEntity2.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity2.setBrand(devices.getBrand()); |
|
|
|
deviceCodeParamEntity2.setDataCom(devices.getDataCom()); |
|
|
|
deviceCodeParamEntity2.setDataCom(devices.getDataCom()); |
|
|
|
|
|
|
|
// 只获取字符串数字
|
|
|
|
|
|
|
|
deviceCodeParamEntity2.setThread(ExchangeStringUtil.getNumFromString(devices.getDataCom())); |
|
|
|
deviceCodeParamEntity2.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity2.setBuildingId(devices.getBuildingId()); |
|
|
|
deviceCodeParamEntity2.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntity2.setParity(devices.getParity()); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity2); |
|
|
|
deviceCodeParamEntityList.add(deviceCodeParamEntity2); |
|
|
|