From d8a4151b56f04796dff5bc4164246732036c05f9 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期三, 06 十一月 2024 18:14:27 +0800 Subject: [PATCH] 增加uni请求功能http接口 --- app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMP.java | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMP.java b/app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMP.java index 7db0753..17a041b 100644 --- a/app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMP.java +++ b/app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMP.java @@ -61,7 +61,8 @@ public final static String UNI_EVENT_REPLY_DEVICE_EDIT_NAME = "edit_name";//璁惧鍚嶇О淇敼(淇敼鏄簯绔痮id鍚嶇О锛岃澶囦娇鐢╩odbus鍗忚淇敼) public final static String UNI_EVENT_REPLY_DEVICE_NOT_RUN_DEVICE_LIST = "not_run_device_list";//鑾峰彇鏈繍琛岄�嗗彉鍣ㄥ垪琛� public final static String UNI_EVENT_REPLY_DEVICE_OPEN_DEVICE_LIST = "open_device_list";//蹇嵎寮�鍚�嗗彉鍣� - public final static String UNI_EVENT_REPLY_DEVICE_OPEN_DEVICE_info = "device_info";//鑾峰彇璁惧璇︽儏 + public final static String UNI_EVENT_REPLY_DEVICE_OPEN_DEVICE_info = "device_info";//鑾峰彇璁惧锛堜簯绔級璇︽儏 + public final static String UNI_EVENT_REPLY_DEVICE_OPEN_gateway_info = "gateway_info";//鑾峰彇閫嗗彉鍣紙鐗╃悊锛夎鎯� /*********OTA妯″潡*********/ @@ -91,6 +92,10 @@ public final static String UNI_EVENT_REPLY_OTHER_BACK = "back";//棣栭〉杩斿洖 public final static String UNI_EVENT_REPLY_OTHER_APPLICATION_CONFLICT = "application_conflict";//搴旂敤鍐茬獊 public final static String UNI_EVENT_REPLY_OTHER_LOGOUT = "uni_logout";//閫�鍑虹櫥褰� + public final static String UNI_EVENT_REPLY_OTHER_LOCAL_ENCRYPT_GET = "get_local_encrypt";//鏈湴瀵嗛挜鑾峰彇 + public final static String UNI_EVENT_REPLY_OTHER_LOCAL_ENCRYPT_SET = "set_local_encrypt";//鏈湴瀵嗛挜璁剧疆 + public final static String UNI_EVENT_REPLY_OTHER_PASSWORD_VERIFIY = "password_verifiy";//link杩涜瀵嗙爜楠岃瘉 + public final static String UNI_EVENT_REPLY_OTHER_GET_LOCAL_JSON = " get_local_json";//鏈湴json璧勬簮鏂囦欢鑾峰彇 /*********銆愭垜鐨勩�戞ā鍧�*********/ @@ -128,6 +133,10 @@ public final static String UNI_EVENT_REPLY_DEVICE_ETHERNET_SET = "device_ethernet_set";//閫嗗彉鍣ㄤ互澶綉閰嶇疆 public final static String UNI_EVENT_REPLY_DEVICE_ETHERNET_GET = "device_ethernet_get";//閫嗗彉鍣ㄤ互澶綉鑾峰彇 + /*********缃戠粶璇锋眰妯″潡*********/ + public final static String UNI_EVENT_REPLY_COMMON_MODEL = "uni_common_model ";//缃戠粶璇锋眰(澶х被) + public final static String UNI_EVENT_REPLY_UNI_SEND_TO_CLOUD = "uni_send_to_cloud"; + //endregion -- Gitblit v1.8.0