|
|
@ -233,7 +233,8 @@ public class SerialPortSendReceive2 { |
|
|
|
log.info("进入水位开关,地址==>{}", registerAddr); |
|
|
|
log.info("进入水位开关,地址==>{}", registerAddr); |
|
|
|
SysParamEntity sysParamEntity = sysParamService.selectSysParam(); |
|
|
|
SysParamEntity sysParamEntity = sysParamService.selectSysParam(); |
|
|
|
if (null != sysParamEntity && !StringUtils.isBlank(sysParamEntity.getCustomName())) { |
|
|
|
if (null != sysParamEntity && !StringUtils.isBlank(sysParamEntity.getCustomName())) { |
|
|
|
if (sysParamEntity.getCustomName().contains(Constant.CUSTOM_NAME_HUAXIA)) { |
|
|
|
if (sysParamEntity.getCustomName().contains(Constant.CUSTOM_NAME_HUAXIA) |
|
|
|
|
|
|
|
|| sysParamEntity.getCustomName().contains(Constant.CUSTOM_NAME_GUANGSHANG)) { |
|
|
|
analysisReceiveOrder485.analysisRelayOrder485(dataStr,registerAddr,brand,buildingId, buildingName); //华厦
|
|
|
|
analysisReceiveOrder485.analysisRelayOrder485(dataStr,registerAddr,brand,buildingId, buildingName); //华厦
|
|
|
|
} else { |
|
|
|
} else { |
|
|
|
analysisReceiveOrder485.analysisPumpStateOrder(dataStr, registerAddr, brand, buildingId, buildingName); //创新,热泵状态与水位共用一个8路设备
|
|
|
|
analysisReceiveOrder485.analysisPumpStateOrder(dataStr, registerAddr, brand, buildingId, buildingName); //创新,热泵状态与水位共用一个8路设备
|
|
|
|