You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.6 KiB
55 lines
1.6 KiB
package com.mh.user.constants; |
|
|
|
/** |
|
* @author ljf |
|
* @title : |
|
* @description : 存放一些公共全局参数 |
|
* @updateTime 2020-05-29 |
|
* @throws : |
|
*/ |
|
public class Constant { |
|
|
|
public static final CharSequence CUSTOM_NAME_HUAXIA = "华夏"; |
|
public static final CharSequence CUSTOM_NAME_GUANGSHANG = "广商"; |
|
public static boolean CONTROL_WEB_FLAG = false; |
|
public static boolean SEND_STATUS = false; // 指令发送状态 |
|
public static volatile boolean FLAG = false; |
|
|
|
public static volatile boolean WEB_FLAG = false; // 判断是否有前端指令下发 |
|
|
|
public static final String FAIL = "fail"; |
|
|
|
public static final String SUCCESS = "success"; |
|
|
|
public static final String READ = "0"; |
|
|
|
public static final String WRITE = "1"; |
|
|
|
// 远向设备寄存器地址判断:0010:供回水状态;0017-0018:热泵状态 |
|
public static final String REG_ADDR_0018 = "0018"; |
|
|
|
public static final String REG_ADDR_0017 = "0017"; |
|
|
|
public static final String REG_ADDR_0010 = "0010"; |
|
|
|
public static final String BRAND_AU_SUN = "澳升"; |
|
|
|
public static final String BRAND_RU_YI = "汝翊"; |
|
|
|
public static final String BRAND_MEI_DI = "美的"; |
|
|
|
public static final String BRAND_MEI_DI_TWO = "美的2"; |
|
|
|
public static final String BRAND_RUI_XING = "瑞星"; |
|
|
|
public static final String BRAND_YUAN_XIANG = "远向"; |
|
|
|
public static final String BRAND_DING_WEI = "顶威"; |
|
|
|
public static final String BRAND_ZHONG_KAI = "中凯"; |
|
|
|
private static final String RUNNING = "运行"; |
|
|
|
private static final String NOT_RUNNING = "不运行"; |
|
|
|
}
|
|
|