From 113a18ea7368ebc5fbadc211ad3ee1feb743929d Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Fri, 29 Oct 2021 15:55:04 +0800 Subject: [PATCH] screen-api 根据AQI计算污染等级 --- screen-common/src/main/java/com/moral/constant/Constants.java | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 56 insertions(+), 1 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 a7ec5d1..683d5b2 100644 --- a/screen-common/src/main/java/com/moral/constant/Constants.java +++ b/screen-common/src/main/java/com/moral/constant/Constants.java @@ -174,6 +174,16 @@ * */ 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. */ @@ -197,7 +207,52 @@ /* * ������������������������ * */ - public static final String SENSOR_CODE_SPECIAL_BATCH = "a00000"; + 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 = "���"; + + public static final String GOOD = "���"; + + public static final String MILD = "������������"; + + public static final String MIDDLE = "������������"; + + public static final String SERIOUS = "������������"; + + public static final String SERVER = "������������"; } -- Gitblit v1.8.0