mac
2024-05-16 7fdae87bc3de46b5b012f8987c6902cd8b054323
app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMP.java
@@ -51,6 +51,7 @@
    public final static String UNI_EVENT_REPLY_DEVICE_Link_read_SEND = "link_property_read";//link协议属性读取
    public final static String UNI_EVENT_REPLY_DEVICE_MESSAGE_NUMBER = "message_number";//消息总数量
    public final static String UNI_EVENT_REPLY_DEVICE_DELETE_OID = "delete_Oid";//删除设备oid
    public final static String UNI_EVENT_REPLY_DEVICE_INITIALIZEINVERTER = "initializeInverter";//重置逆变器
    /*********OTA模块*********/
@@ -94,12 +95,18 @@
    public final static String UNI_EVENT_REPLY_MINE_SETTING = "setting";//设置
    /*********Wifi模块*********/ //卫锦定义
    /*********Wifi模块*********/
    public final static String UNI_EVENT_REPLY_WIFI_MODEL = "uni_wifi_model";//wifi模块(大类)
    public final static String UNI_EVENT_REPLY_WIFI_LIST = "list";//获取wifi列表
    public final static String UNI_EVENT_REPLY_WIFI_PHONE_INFO = "wifi_phone_info";//获取当前wifi信息
    public final static String UNI_EVENT_REPLY_WIFI_SET_DEVICE = "wifi_set_device";//设置wifi给设备
    public final static String UNI_EVENT_REPLY_OPEN_WIFI_SETTINGS = "open_wifi_settings";//调用打开手机Wifi设置界面
    public final static String UNI_EVENT_REPLY_PHONE_WIFI_LIST = "phone_wifi_list";//手机获取wifi列表
    public final static String UNI_EVENT_REPLY_PHONE_WIFI_INFO = "phone_wifi_info";//手机获取当前wifi信息
    public final static String UNI_EVENT_REPLY_PHONE_OPEN_WIFI_SETTINGS = "phone_open_wifi_settings";//调用打开手机Wifi设置界面
    public final static String UNI_EVENT_REPLY_DEVICE_WIFI_SET = "device_wifi_set";//逆变器WiFi信息配置
    public final static String UNI_EVENT_REPLY_DEVICE_WIFI_GET = "device_wifi_get";//逆变器WiFi信息获取
    public final static String UNI_EVENT_REPLY_DEVICE_HOTSPOT_SET = "device_hotspot_set";//逆变器热点配置
    public final static String UNI_EVENT_REPLY_DEVICE_HOTSPOT_GET = "device_hotspot_get";//逆变器热点获取
    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";//逆变器以太网获取
    //endregion
    //region --------【原生】主动发送到【小程序】--------
@@ -108,10 +115,12 @@
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_REFRESH_USERINFO = "refresh_userinfo";//刷新用户信息
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_REFRESH_TEMPERATURE = "temperature_format_changed";//刷新单位温度
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_REFRESH_REFRESH_UNREAD_NUMBER = "refresh_unread_messages_number";//刷新未读消息数量
    public final static String UNI_EVENT_NOTIFICATION_MQTT_CONNECT_SUCCESS = "mqtt_connect_success";//通知mqtt连接成功
    public final static String UNI_EVENT_NOTIFICATION_REMOVE_VIEW = "remove_view";//通知uni移除界面
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_ADD = "add";//设备添加
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_DEL = "del";//设备删除
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_OID = "oid";//设备【包括下挂设备】oid列表Remove interface
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_CONNECTION_STATUS = "connection_status";//逆变器连接路由器状态
    //endregion
    //region --------【原生】打开【小程序】--------