This commit is contained in:
2025-03-26 08:39:19 +08:00
parent 6df4074c59
commit f8e88b87d0

View File

@@ -1838,11 +1838,11 @@ public class MonitorServiceImpl extends ServiceImpl<MonitorMapper, Monitor> impl
private String dealVoltageLevel(String voltage) { private String dealVoltageLevel(String voltage) {
float scale = Float.parseFloat(voltage.substring(0, voltage.indexOf("kV"))); float scale = Float.parseFloat(voltage.substring(0, voltage.indexOf("kV")));
if (scale < 500) { //if (scale < 500) {
return "交流" + voltage; return "交流" + voltage;
} else { //} else {
return "直流" + voltage; // return "直流" + voltage;
} //}
} }