| | |
| | | if (entry.getKey().equals(CODE06)) { |
| | | // 氧气班平衡计划,建议值写入测点 |
| | | mdkApi.scheduleModelOut(entry.getValue()); |
| | | logger.info("氧气班平衡计划下发参数: {}", entry.getValue()); |
| | | } else if (entry.getKey().equals(CODE05)) { |
| | | String scheduleObj = schemeMap.get(CODE05).getScheduleObj(); |
| | | // double[] adviceValues = (double[]) entry.getValue().getResult().get("adviceValues"); |
| | | String yingdiAdvice = entry.getValue().getResult().get("yingdiAdvice").toString(); |
| | | saveScheduleSuggest("盈德中压建议调整量", yingdiAdvice, scheduleObj, scheduleTime); |
| | | String faAdvice = entry.getValue().getResult().get("faAdvice").toString(); |
| | | saveScheduleSuggest("法夜空建议调整量", faAdvice, scheduleObj, scheduleTime); |
| | | String hongAdvice = entry.getValue().getResult().get("hongAdvice").toString(); |
| | | saveScheduleSuggest("宏昌建议调整量", hongAdvice, scheduleObj, scheduleTime); |
| | | String runAdvice = entry.getValue().getResult().get("RunAdvice").toString(); |
| | | saveScheduleSuggest("宏昌建议调整量", runAdvice, scheduleObj, scheduleTime); |
| | | String yingdiAdvice = entry.getValue().getResult().get("yingdiAdvice").toString(); |
| | | if(!yingdiAdvice.equals("压力正常")){ |
| | | saveScheduleSuggest("盈德中压建议调整量", yingdiAdvice, scheduleObj, scheduleTime); |
| | | } |
| | | if(!faAdvice.equals("压力正常")){ |
| | | saveScheduleSuggest("法夜空建议调整量", faAdvice, scheduleObj, scheduleTime); |
| | | } |
| | | if(!hongAdvice.equals("压力正常")){ |
| | | saveScheduleSuggest("宏昌建议调整量", hongAdvice, scheduleObj, scheduleTime); |
| | | } |
| | | if(!runAdvice.equals("压力正常")){ |
| | | saveScheduleSuggest("润忠建议调整量", runAdvice, scheduleObj, scheduleTime); |
| | | } |
| | | } else if (entry.getKey().equals(CODE01)) { |
| | | String scheduleObj = schemeMap.get(CODE01).getScheduleObj(); |
| | | String advice = entry.getValue().getResult().get("advice").toString(); |