From d7b233b6ed1793255adee6ed1e0cbe950e6c7e9f Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Wed, 29 Sep 2021 13:30:28 +0800 Subject: [PATCH] 5分钟数据统计bug --- screen-common/src/main/java/com/moral/constant/Constants.java | 242 +++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 228 insertions(+), 14 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 d824510..b780f74 100644 --- a/screen-common/src/main/java/com/moral/constant/Constants.java +++ b/screen-common/src/main/java/com/moral/constant/Constants.java @@ -4,26 +4,240 @@ * ������������������ */ public class Constants { + /* + * ��������������� + * */ + public static final String DELETE = "1"; + + /* + * ��������������� + * */ + public static final String NOT_DELETE = "0"; + + /* + * ��������������������������������� + * */ + public static final String MANAGE_VERIFICATIONCODE_COLUMN = "type"; + + /* + * 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 = "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"; + + /* + * ������ code + * */ + public static final String SENSOR_CODE_LON = "flylon"; + + /* + * ������ code + * */ + public static final String SENSOR_CODE_LAT = "flylat"; /** - * ������������ + * The Constant NULL_VALUE. */ - public static final String MSG_OPERATION_SUCCESS = "���������������"; + public static final String NULL_VALUE = "N/V"; - /** - * ������������ - */ - public static final String MSG_OPERATION_FAILED = "���������������"; + /* + * ������������������������,������ + * */ + public static final String MARKER_BIT_TRUE = "N"; - /** - * ������������code - */ - public static final int CODE_OPERATION_SUCCESS = 0; - /** - * ������������code - */ - public static final int CODE_OPERATION_FAILED = -1; + /* + * ������������������������,��������������� + * */ + 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 = "PORRST"; + /* + * ������������������������������ + * */ + public static final String SPECIAL_DEVICE_CRUISER = "0"; + + /* + * ������������������������������ + * */ + public static final String SPECIAL_DEVICE_UAV = "1"; + + /* + * ������ + * */ + public static final String HOURYLYREPORT = "0"; + + /* + * ������ + * */ + public static final String DAILYREPORT = "1"; + + /* + * ������ + * */ + public static final String WEEKLYREPORT = "2"; + + /* + * ������ + * */ + public static final String MONTHLYREPORT = "3"; + + } -- Gitblit v1.8.0