From 5688e9adb709a253e1ce69b510457b9c88a645a9 Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Thu, 16 Sep 2021 16:39:18 +0800 Subject: [PATCH] screnn_api特殊设备实体类修改,走航车实时websocket,manage设备补偿 --- screen-common/src/main/java/com/moral/constant/Constants.java | 73 +++++++++++++++++++++++++++++++++++- 1 files changed, 70 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..1d6250d 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,77 @@ /* * ������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 = "PORRST"; + + /* + * ������������������������������ + * */ + public static final String SPECIAL_DEVICE_CRUISER = "0"; + + /* + * ������������������������������ + * */ + public static final String SPECIAL_DEVICE_UAV = "1"; + + } -- Gitblit v1.8.0