mac
2024-03-21 316edc17322cd39ca9b9bd285ba63018cebfa2b4
app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMP.java
@@ -15,6 +15,14 @@
    public final static String UNI_EVENT_GetAppParams = "uni_GetAppParams";//获取APP应用信息
    //region --------【小程序】发送到【原生】--------
    /*********用户 模块*********/
    public final static String UNI_EVENT_REPLY_USER_MODEL = "uni_user_model";//用户模块(大类)
    public final static String UNI_EVENT_REPLY_USER_INFO = "user_info";//用户信息
    public final static String UNI_EVENT_REPLY_USER_IMAGE = "user_image";//用户头像
    /*********住宅【电站】模块*********/
    public final static String UNI_EVENT_REPLY_HOME_MODEL = "uni_home_model";//住宅模块(大类)
    public final static String UNI_EVENT_REPLY_HOME_LIST = "list";//获取住宅【电站】列表
@@ -38,6 +46,11 @@
    public final static String UNI_EVENT_REPLY_DEVICE_CLEAR_DATA = "clear_data";//设备清空住宅id
    public final static String UNI_EVENT_REPLY_DEVICE_UPLOADING_DATA = "uploading_data";//设备上传数据
    public final static String UNI_EVENT_REPLY_DEVICE_MODBUS_SEND = "modbus_send";//modbus协议
    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
    /*********OTA模块*********/
    public final static String UNI_EVENT_REPLY_OTA_MODEL = "uni_ota_model";//升级模块(大类)
@@ -86,8 +99,10 @@
    //region --------【原生】主动发送到【小程序】--------
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_MODEL = "uni_notification_model";//通知模块(大类)
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_LIST = "list";//逆变器设备列表
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_CHILD_LIST = "child_list";//逆变器【下挂】设备列表
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_REFRESH_DETAILS = "refresh_details";//刷新电站详情
    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_DEVICE_ADD = "add";//设备添加
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_DEL = "del";//设备删除
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_OID = "oid";//设备【包括下挂设备】oid列表
@@ -101,7 +116,7 @@
    public final static String UNI_EVENT_OPEN_HOME_DETAILS = "pages/powerStationDetail/index";//住宅【电站】详情
    public final static String UNI_EVENT_OPEN_HOME_DETAILS_C = "pages/powerStationDetail/tabbarPage";//C端打开【电站】详情
    public final static String UNI_EVENT_OPEN_HOME_Null_C = "pages/powerStationDetail/index";//无电站时
    public final static String UNI_EVENT_OPEN_HOME_Null_C = "pages/powerStationDetail/tabbarPage";//无电站时(不需要传参数)
    public final static String UNI_EVENT_OPEN_HOME_DEl = "del";//住宅【电站】删除
    /*********设备模块*********/
    //设备模块打开页面全路径