From 6f4e852b84c577454a4876f83c7085bd360fe4fb Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Tue, 17 Aug 2021 17:07:02 +0800 Subject: [PATCH] 特殊设备数据insert --- screen-common/src/main/java/com/moral/constant/Constants.java | 78 ++++++++++++++++++++++++++++++++++++++- 1 files changed, 76 insertions(+), 2 deletions(-) diff --git a/screen-common/src/main/java/com/moral/constant/Constants.java b/screen-common/src/main/java/com/moral/constant/Constants.java index 535af51..a7ec5d1 100644 --- a/screen-common/src/main/java/com/moral/constant/Constants.java +++ b/screen-common/src/main/java/com/moral/constant/Constants.java @@ -114,7 +114,6 @@ * */ public static final String SYSTEM_DICT_TYPE_PURCHASER = "purchaser"; - /* * ������������������������ * */ @@ -123,7 +122,82 @@ /* * ��������������������� * */ - public static final String DEVICE_STATE_OFFLINE = "4"; + public static final String DEVICE_STATE_OFFLINE = "0"; + + /* + * ������code + * */ + public static final String SENSOR_CODE_O3 = "a05024"; + + /* + * vocs code + * */ + public static final String SENSOR_CODE_VOCS = "a99054"; + + /* + * ������code + * */ + public static final String SENSOR_CODE_TEMP = "a01001"; + + /* + * ������code + * */ + public static final String SENSOR_CODE_WIND_DIR = "a01008"; + + /* + * ������code + * */ + public static final String SENSOR_CODE_WIND_SPEED = "a01007"; + + /* + * ������������code + * */ + public static final String SENSOR_CODE_CO = "a21005"; + + /* + * PM2.5 code + * */ + public static final String SENSOR_CODE_PM25 = "a34004"; + + /* + * PM10 code + * */ + public static final String SENSOR_CODE_PM10 = "a34002"; + + /* + * SO2 code + * */ + public static final String SENSOR_CODE_SO2 = "a21026"; + + /* + * NO2 code + * */ + public static final String SENSOR_CODE_NO2 = "a21004"; + + /** + * The Constant NULL_VALUE. + */ + public static final String NULL_VALUE = "N/V"; + + /* + * ������������������������,������ + * */ + public static final String MARKER_BIT_TRUE = "N"; + + /* + * ������������������������,��������������� + * */ + public static final String MARKER_BIT_FALSE = "H"; + + /* + * ������������������������������������������key������ + * */ + public static final String MARKER_BIT_KEY = "Flag"; + + /* + * ������������������������ + * */ + public static final String SENSOR_CODE_SPECIAL_BATCH = "a00000"; } -- Gitblit v1.8.0