From 1a529c3f8a623eb3e10ff6c7dcb99e79bbd451f0 Mon Sep 17 00:00:00 2001 From: lizijie <lzjiiie@163.com> Date: Wed, 01 Sep 2021 09:52:11 +0800 Subject: [PATCH] 修改因子更新特殊设备警报信息 --- screen-common/src/main/java/com/moral/constant/Constants.java | 72 ++++++++++++++++++++++++++++++++++- 1 files changed, 69 insertions(+), 3 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 d20f4af..9222de0 100644 --- a/screen-common/src/main/java/com/moral/constant/Constants.java +++ b/screen-common/src/main/java/com/moral/constant/Constants.java @@ -122,7 +122,7 @@ /* * ��������������������� * */ - public static final String DEVICE_STATE_OFFLINE = "4"; + public static final String DEVICE_STATE_OFFLINE = "0"; /* * ������code @@ -147,10 +147,76 @@ /* * ������code * */ - public static final String SENSOR_CODE_WIND_SPEED = "a01008"; + public static final String SENSOR_CODE_WIND_SPEED = "a01007"; /* * ������������code * */ - public static final String SENSOR_CODE_CO= "a21005"; + 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 = "a00000"; + + /* + * ������������������������������ + * */ + public static final String SPECIAL_DEVICE_CAR = "0"; + + /* + * ������������������������������ + * */ + public static final String SPECIAL_DEVICE_UAV = "1"; + } -- Gitblit v1.8.0