DailyAverageJobUtil.java 2.9 KB
package com.skua.modules.quartz;

import java.util.HashMap;
import java.util.Map;

public class DailyAverageJobUtil {
    /**
    * <pre>
    * 获取水质标准,水质存在冬季和其他季节数值变化,这里以冬季和其他季节维度分组
    * </pre>
     * @param
    * @author Li Yuanyuan,2023/7/6 14:24
    * @Description: TODO(这里描述这个方法的需求变更情况)
    */
    public static Map<String,Map<String,Map<String,Object>>> getWaterQualityStandard(){
    	
        Map<String,Map<String,Map<String,Object>>> standardMap = new HashMap<String,Map<String,Map<String,Object>>>();
        /**
         * COD出水标准
         */
        Map<String,Object> cscodMap = new HashMap<String,Object>();
        cscodMap.put("name","出水COD");
        cscodMap.put("code","CSCOD");
        cscodMap.put("value","30");
        cscodMap.put("unit","mg/L");
        /**
         * SS出水标准
         */
        Map<String,Object> csssMap = new HashMap<String,Object>();
        csssMap.put("name","出水SS");
        csssMap.put("code","CSSS");
        csssMap.put("value","10");
        csssMap.put("unit","mg/L");
        /**
         * 总磷出水标准
         */
        Map<String,Object> cstpMap = new HashMap<String,Object>();
        cstpMap.put("name","出水总磷");
        cstpMap.put("code","CSTP");
        cstpMap.put("value","0.3");
        cstpMap.put("unit","mg/L");
        
        Map<String,Map<String,Object>> winterMap = new HashMap<>();
        winterMap.put("CSCOD", cscodMap);
        winterMap.put("CSSS", csssMap);
        winterMap.put("CSTP", cstpMap);
        Map<String,Object> cstnMap = new HashMap<String,Object>();
        cstnMap.put("name","出水总氮");
        cstnMap.put("code","CSTN");
        cstnMap.put("value","12");
        cstnMap.put("unit","mg/L");
        winterMap.put("CSTN",cstnMap);
        Map<String,Object> csnh3nMap = new HashMap<String,Object>();
        csnh3nMap.put("name","出水氨氮");
        csnh3nMap.put("code","CSNH3N");
        csnh3nMap.put("value","3");
        csnh3nMap.put("unit","mg/L");
        winterMap.put("CSNH3N",csnh3nMap);

        Map<String,Map<String,Object>> otherMap = new HashMap<>();
        otherMap.put("CSCOD", cscodMap);
        otherMap.put("CSSS", csssMap);
        otherMap.put("CSTP", cstpMap);
        cstnMap = new HashMap<String,Object>();
        cstnMap.put("name","出水总氮");
        cstnMap.put("code","CSTN");
        cstnMap.put("value","10");
        cstnMap.put("unit","mg/L");
        otherMap.put("CSTN",cstnMap);
        csnh3nMap = new HashMap<String,Object>();
        csnh3nMap.put("name","出水氨氮");
        csnh3nMap.put("code","CSNH3N");
        csnh3nMap.put("value","1.5");
        csnh3nMap.put("unit","mg/L");
        otherMap.put("CSNH3N",csnh3nMap);
        standardMap.put("winter",winterMap);
        standardMap.put("other",otherMap);
        return standardMap;
    }

}