|
@@ -67,6 +67,10 @@ public class TwinCalcStopController extends BaseController {
|
|
|
List<TpsVO> tpsVOS = new ArrayList<>();
|
|
|
for (Map.Entry<Integer, List<TwinCalcStop>> entry : stopDeviceGroup.entrySet()) {
|
|
|
Integer stopType = entry.getKey();
|
|
|
+ if (stopType > 7) {
|
|
|
+ //目前有个 停机状态为8的,暂时屏蔽掉
|
|
|
+ continue;
|
|
|
+ }
|
|
|
int pos = stopType - 1;
|
|
|
List<TwinCalcStop> stops = entry.getValue();
|
|
|
Map<Long, List<TwinCalcStop>> deviceGroup = stops.stream().collect(Collectors.groupingBy(TwinCalcStop::getDeviceId, LinkedHashMap::new, Collectors.toList()));
|