设备容量修改

This commit is contained in:
hzj
2024-09-26 15:08:56 +08:00
parent 196de3a1d8
commit f9aa1d4f69
2 changed files with 2 additions and 2 deletions

View File

@@ -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);