From 371a381267699280f45748c13ed42faba66b6577 Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Thu, 15 Jul 2021 17:34:32 +0800 Subject: [PATCH] update redis key --- screen-common/src/main/java/com/moral/constant/Constants.java | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 53 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..246e402 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,59 @@ /* * ��������������������� * */ - 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 = "a01008"; + + /* + * ������������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"; } -- Gitblit v1.8.0