微调
This commit is contained in:
@@ -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;
|
||||||
}
|
//}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user