设备容量修改
This commit is contained in:
@@ -165,7 +165,7 @@ public class MqttMessageHandler {
|
||||
if (capacity<=0){
|
||||
thdDataVO.setStatisticalData(3.1415926);
|
||||
}else {
|
||||
double v = temp.getStatisticalData() / capacity;
|
||||
double v = temp.getStatisticalData()*100 / capacity;
|
||||
thdDataVO.setStatisticalData(Double.valueOf(df.format(v)));
|
||||
}
|
||||
result.add(thdDataVO);
|
||||
|
||||
Reference in New Issue
Block a user