DeviceProperty.java
1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package com.ruoyi.system.protocol.property;
/**
* 设备配置
* @author 20412
*/
public class DeviceProperty {
public static class RedisProperty {
public static String UPLOAD_IMAGE_PRE = "device:image:upload:";
}
public static class ImageProperty {
public static final String UPLOAD_SUCCESS = "1";
public static final String UPLOAD_FAIL = "0";
}
public static class SpeechProperty {
public static final String UPLOAD_SUCCESS = "1";
public static final String UPLOAD_FAIL = "0";
}
public static class AddressProperty {
public static final String VALID = "A";
public static final String INVALID = "V";
}
public static class HealthProperty {
/** 血压 */
public static final String BLOOD_PRESSURE = "1";
/** 心率*/
public static final String HEART_RATE = "2";
/** 体温 */
public static final String TEMPERATURE = "3";
/** 血氧 */
public static final String BLOOD_OXYGEN = "4";
}
public static class WearingState {
/** 血压 */
public static final String HAND = "1";
/** 血压 */
public static final String NOT = "0";
}
}