|
@@ -262,7 +262,7 @@ public class AsyncServiceImpl {
|
|
|
// if (openTime < total[4]) {
|
|
|
// total[4] = openTime;
|
|
|
// }
|
|
|
- total[3] = 3600;
|
|
|
+ total[3] = 3600 - total[4];
|
|
|
|
|
|
Map<String, Object> result = new HashMap<>(16);
|
|
|
result.put("total", total);
|
|
@@ -355,7 +355,7 @@ public class AsyncServiceImpl {
|
|
|
}
|
|
|
if (curr != 0) {
|
|
|
// 开机时间不再根据停机状态计算,需要根据主轴运行转速来计算 2024-12-23
|
|
|
-// total[4]++;
|
|
|
+ total[4]++;
|
|
|
if (curr != last) {
|
|
|
if (last != 0) {
|
|
|
//记录上个停机类型的结束时间
|