fix: 控制开关,去掉三相电计算逻辑。

This commit is contained in:
tianyongbao
2026-03-29 19:26:43 +08:00
parent cde35aee96
commit c6a5148ac6

View File

@@ -367,10 +367,10 @@ public class DeviceSwitchServiceImpl implements IDeviceSwitchService {
data.setPondInfo(pondInfo); data.setPondInfo(pondInfo);
} }
// 如果接线方式为4需要将电压值乘以1.732 // // 如果接线方式为4需要将电压值乘以1.732
if (data.getConnectVoltageType() != null && data.getConnectVoltageType() == 4 && data.getDetectVoltageValue() != null) { // if (data.getConnectVoltageType() != null && data.getConnectVoltageType() == 4 && data.getDetectVoltageValue() != null) {
data.setDetectVoltageValue(data.getDetectVoltageValue() * 1.732); // data.setDetectVoltageValue(data.getDetectVoltageValue() * 1.732);
} // }
return data; return data;
} }