| | |
| | | List<String> partPointNos = partPoints.values().stream().flatMap(List::stream).collect(Collectors.toList()); |
| | | partPointNos.add("M0000100011"); |
| | | partPointNos.add("M0000100012"); |
| | | partPointNos.add("C0000101299"); |
| | | partPointNos.add("C0000101300"); |
| | | Map<String, Object> partPointsRealValue = dataPointApi.queryPointsRealValue(partPointNos); |
| | | logger.info("运行状态点值:{}", partPointsRealValue); |
| | | List<String> qhPointNos = qhPoints.values().stream().flatMap(List::stream).collect(Collectors.toList()); |
| | |
| | | partPointsRealValue.replace("C0000101218", 0); |
| | | partPointsRealValue.replace("C0000101114", 0); |
| | | partPointsRealValue.replace("C0000101116", 0); |
| | | //若其中一个135MW气耗率为0,则剩下那个135MW机组BFG、LDG取“动力总厂135MW发电机组BFG使用瞬时流量(M0000100011)“,”动力总厂135MW发电机组LDG使用瞬时流量(M0000100012) |
| | | //若其中一个135MW气耗率为0,则剩下那个135MW机组BFG、LDG取“动力总厂135MW发电机组BFG使用瞬时流量(M0000100011),动力总厂135MW发电机组LDG使用瞬时流量(M0000100012) |
| | | partPointsRealValue.replace("C0000101115", partPointsRealValue.get("M0000100011")); |
| | | partPointsRealValue.replace("C0000101117", partPointsRealValue.get("M0000100012")); |
| | | //若其中一个135MW气耗率为0,BFG可增加换成“C0000101299 动力总厂135MW发电机组BFG可增加(单135机组运行),LDG可增加换成C0000101300 动力总厂135MW发电机组LDG可增加(单135机组运行) |
| | | partPointsRealValue.replace("C0000101232", partPointsRealValue.get("C0000101299")); |
| | | partPointsRealValue.replace("C0000101222", partPointsRealValue.get("C0000101300")); |
| | | }else if ("F0000100103".equals(pointNo) && value == 0.00) { |
| | | partPointsRealValue.replace("F0000100114", 0); |
| | | partPointsRealValue.replace("C0000101232", 0); |
| | |
| | | partPointsRealValue.replace("C0000101117", 0); |
| | | partPointsRealValue.replace("C0000101114", partPointsRealValue.get("M0000100011")); |
| | | partPointsRealValue.replace("C0000101116", partPointsRealValue.get("M0000100012")); |
| | | partPointsRealValue.replace("C0000101231", partPointsRealValue.get("C0000101299")); |
| | | partPointsRealValue.replace("C0000101221", partPointsRealValue.get("C0000101300")); |
| | | } |
| | | } |
| | | } |