New file |
| | |
| | | package com.moral.constant; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 通用常量信息 |
| | | */ |
| | | public class SensorContrasts { |
| | | /* |
| | | * 被删除标识 |
| | | * */ |
| | | public static final String a34004 = "PM2_5"; |
| | | |
| | | /* |
| | | * 未删除标识 |
| | | * */ |
| | | public static final String a34002 = "PM10"; |
| | | |
| | | /* |
| | | * 后台系统验证码配置列名 |
| | | * */ |
| | | public static final String a05024 = "O3"; |
| | | |
| | | /* |
| | | * web端系统验证码配置列名 |
| | | * */ |
| | | public static final String a21005 = "CO"; |
| | | |
| | | /* |
| | | * 后台系统验证码列对应的值 |
| | | * */ |
| | | public static final String a21026 = "SO2"; |
| | | |
| | | /* |
| | | * web端验证码配置列名 |
| | | * */ |
| | | public static final String a21004 = "NO2"; |
| | | |
| | | public static Map<String, String> sensorContrastMap; |
| | | |
| | | static { |
| | | sensorContrastMap = new HashMap<>(); |
| | | sensorContrastMap.put("a34004","PM2_5"); |
| | | sensorContrastMap.put("a34002","PM10"); |
| | | sensorContrastMap.put("a05024","O3"); |
| | | sensorContrastMap.put("a21004","NO2"); |
| | | sensorContrastMap.put("a21005","CO"); |
| | | sensorContrastMap.put("a21026","SO2"); |
| | | } |
| | | |
| | | } |