微调
This commit is contained in:
@@ -1838,11 +1838,11 @@ public class MonitorServiceImpl extends ServiceImpl<MonitorMapper, Monitor> impl
|
||||
|
||||
private String dealVoltageLevel(String voltage) {
|
||||
float scale = Float.parseFloat(voltage.substring(0, voltage.indexOf("kV")));
|
||||
if (scale < 500) {
|
||||
//if (scale < 500) {
|
||||
return "交流" + voltage;
|
||||
} else {
|
||||
return "直流" + voltage;
|
||||
}
|
||||
//} else {
|
||||
// return "直流" + voltage;
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user