From fc00edb92a593509e7c45aa2a6bd56eb7ad79629 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Fri, 12 Nov 2021 11:39:29 +0800 Subject: [PATCH] screen-api 更新常量类 --- screen-common/src/main/java/com/moral/constant/Constants.java | 241 +++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 229 insertions(+), 12 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 7c1ed66..23e2737 100644 --- a/screen-common/src/main/java/com/moral/constant/Constants.java +++ b/screen-common/src/main/java/com/moral/constant/Constants.java @@ -7,47 +7,264 @@ /* * ��������������� * */ - public static String DELETE = "1"; + public static final String DELETE = "1"; /* * ��������������� * */ - public static String NOT_DELETE = "0"; + public static final String NOT_DELETE = "0"; /* * ��������������������������������� * */ - public static String MANAGE_VERIFICATIONCODE_COLUMN = "type"; + public static final String MANAGE_VERIFICATIONCODE_COLUMN = "type"; + + /* + * web������������������������������ + * */ + public static final String FRONT_VERIFICATIONCODE_COLUMN = "type"; /* * ������������������������������������ * */ - public static String MANAGE_VERIFICATIONCODE_VALUE = "manage_verificationCode"; + public static final String MANAGE_VERIFICATIONCODE_VALUE = "manage_verificationCode"; + + /* + * web������������������������ + * */ + public static final String FRONT_ERIFICATIONCODE_VALUE = "front_verificationCode"; /* * ��������������������� * */ - public static String VERFICATIONCODE_OPEN = "1"; + public static final String VERFICATIONCODE_OPEN = "1"; /* * ��������������������� * */ - public static String VERFICATIONCODE_CLOSE = "0"; + public static final String VERFICATIONCODE_CLOSE = "0"; /* * ������������������ * */ - public static String ORDER_ASC = "0"; + public static final String ORDER_ASC = "0"; /* * ������������������ * */ - public static String ORDER_DESC = "1"; + public static final String ORDER_DESC = "1"; /* - * ��������������������� - * */ - public static Integer DELETE_CHILDREN_ORG = 1; + * ��������������������� + * */ + public static final Integer DELETE_CHILDREN_ORG = 1; - public static Integer WEB_CHANNEL = 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 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 = "PORRST"; + + /* + * ������������������������������ + * */ + public static final String SPECIAL_DEVICE_CRUISER = "0"; + + /* + * ������������������������������ + * */ + public static final String SPECIAL_DEVICE_UAV = "1"; + + /* + * ������ + * */ + public static final String HOURLY_REPORT = "0"; + + /* + * ������ + * */ + public static final String DAILY_REPORT = "1"; + + /* + * ������ + * */ + public static final String WEEKLY_REPORT = "2"; + + /* + * ������ + * */ + public static final String MONTHLY_REPORT = "3"; + + /* + * ��������������������� + * */ + public static final String NORMAL_FLAG = "N"; + + public static final String EXCELLENT_WEATHER = "���"; + + public static final String GOOD_WEATHER = "���"; + + public static final String MILD_WEATHER = "������������"; + + public static final String MIDDLE_WEATHER = "������������"; + + public static final String SERIOUS_WEATHER = "������������"; + + public static final String SERVER_WEATHER = "������������"; + + public static final String EXCELLENT_WEATHER_CODE = "0"; + + public static final String GOOD_WEATHER_CODE = "1"; + + public static final String MILD_WEATHER_CODE = "2"; + + public static final String MIDDLE_WEATHER_CODE = "3"; + + public static final String SERIOUS_WEATHER_CODE = "4"; + + public static final String SERVER_WEATHER_CODE = "5"; } -- Gitblit v1.8.0