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 | 198 +++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 165 insertions(+), 33 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 945ef27..246e402 100644 --- a/screen-common/src/main/java/com/moral/constant/Constants.java +++ b/screen-common/src/main/java/com/moral/constant/Constants.java @@ -4,45 +4,177 @@ * ������������������ */ public class Constants { - - /** - * ������������ - */ - public static final String MSG_OPERATION_SUCCESS = "���������������"; - - /** - * ������������ - */ - public static final String MSG_OPERATION_FAILED = "���������������"; + /* + * ��������������� + * */ + public static final String DELETE = "1"; /* - * token������ - * */ - public static final String MSG_TOKEN_ERROR = "token������������������������"; + * ��������������� + * */ + public static final String NOT_DELETE = "0"; /* - * token������������ - * */ - public static final String MSG_TOKEN_CREATE_ERROR = "token���������������������������������"; - - /** - * ������������code - */ - public static final int CODE_OPERATION_SUCCESS = 0; - /** - * ������������code - */ - public static final int CODE_OPERATION_FAILED = -1; - - /** - * token������������ - */ - public static final int CODE_TOKEN_ERROR = -10; + * ��������������������������������� + * */ + public static final String MANAGE_VERIFICATIONCODE_COLUMN = "type"; /* - * token������������ - * */ - public static final int CODE_TOKEN_CREATE_ERROR = -11; + * web������������������������������ + * */ + public static final String FRONT_VERIFICATIONCODE_COLUMN = "type"; + /* + * ������������������������������������ + * */ + public static final String MANAGE_VERIFICATIONCODE_VALUE = "manage_verificationCode"; + + /* + * web������������������������ + * */ + public static final String FRONT_ERIFICATIONCODE_VALUE = "front_verificationCode"; + + /* + * ��������������������� + * */ + public static final String VERFICATIONCODE_OPEN = "1"; + + /* + * ��������������������� + * */ + public static final String VERFICATIONCODE_CLOSE = "0"; + + /* + * ������������������ + * */ + public static final String ORDER_ASC = "0"; + + /* + * ������������������ + * */ + public static final String ORDER_DESC = "1"; + + /* + * ��������������������� + * */ + public static final Integer DELETE_CHILDREN_ORG = 1; + + /* + * ��������������� + * */ + public static final String WEB_CHANNEL = "0"; + + /* + * ������������������ + * */ + public static final String LOGIN_OPERTATE_TYPE = "0"; + + /* + * ������������������ + * */ + public static final String INSERT_OPERATE_TYPE = "1"; + + /* + * ������������������ + * */ + public static final String UPDATE_OPERATE_TYPE = "2"; + + /* + * ������������������ + * */ + public static final String DELETE_OPERATE_TYPE = "3"; + + /* + * ��������������������������������������� + * */ + public static final String FORMULA_PLACEHOLDER = "{0}"; + + /* + * ������������������ + * */ + public static final String SYSTEM_DICT_TYPE_UNIT = "unit"; + + /* + * ������������������ + * */ + public static final String SYSTEM_DICT_TYPE_PROFESSION = "profession"; + + /* + * ������������������������ + * */ + public static final String SYSTEM_DICT_TYPE_TECH = "tech"; + + /* + * ��������������������������� + * */ + public static final String SYSTEM_DICT_TYPE_DETECTOR = "detector"; + + /* + * ��������������������� + * */ + public static final String SYSTEM_DICT_TYPE_PURCHASER = "purchaser"; + + /* + * ������������������������ + * */ + public static final String UN_ADJUST = "unadjust"; + + /* + * ��������������������� + * */ + 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