wjc
1 天以前 770c89ab981b7659faabf8a812a25d99a11bdebf
app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMP.java
@@ -33,6 +33,7 @@
    public final static String UNI_EVENT_REPLY_HOME_DETAILS = "details";//住宅【电站】详情
    public final static String UNI_EVENT_REPLY_HOME_DEl = "del";//住宅【电站】删除
    public final static String UNI_EVENT_REPLY_HOME_DELIVERYURLQRCODE = "delivery_url_qrcode";//电站的交付二维码(安装商)
    public final static String UNI_EVENT_REPLY_HOME_DELIVERYURL = "delivery_url";//电站的交付URl(安装商)
    public final static String UNI_EVENT_REPLY_HOME_DELIVERTOACCOUNT = "deliver_to_account";//电站手动交付(安装商)
    public final static String UNI_EVENT_REPLY_HOME_UPDATEDEBUGPERM = "update_debug_perm";//电站授权安装商(C端)
    public final static String UNI_EVENT_REPLY_HOME_ADD = "scan_add_home";//扫码添加电站(C端)
@@ -60,9 +61,11 @@
    public final static String UNI_EVENT_REPLY_DEVICE_REMOTEINFO = "set_device_remoteInfo";//设置设备远程信息edit_name
    public final static String UNI_EVENT_REPLY_DEVICE_EDIT_NAME = "edit_name";//设备名称修改(修改是云端oid名称,设备使用modbus协议修改)
    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_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_gateway_info = "gateway_info";//获取逆变器(物理)详情
    public final static String UNI_EVENT_REPLY_DEVICE_del_oid = "del_undermount_device";//删除BMS/电池包
    public final static String UNI_EVENT_REPLY_DEVICE_clear_data = "device_clear_data";//设备清空运行数据
    /*********OTA模块*********/
@@ -92,6 +95,12 @@
    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资源文件获取
    public final static String UNI_EVENT_REPLY_OTHER_GET_SELECTED_IMAGE = "selected_image";//uni图片文件获取
    public final static String UNI_EVENT_REPLY_OTHER_GET_DEVICE_LOCATION = "device_location";//设备定位
    /*********【我的】模块*********/
@@ -115,6 +124,8 @@
    public final static String UNI_EVENT_REPLY_STAFF_EDIT = "staff_edit";//员工编辑
    public final static String UNI_EVENT_REPLY_USERRIGHTTYP = "user_right_type";//获取当前账号在公司的身份
    public final static String UNI_EVENT_REPLY_DOWNLOAD_MEMBER_AVATAR = "download_member_avatar";//下载成员(子账号)头像
    public final static String UNI_EVENT_REPLY_Message_Center_Detail = "message_center_detail";//打开消息详情
    public final static String UNI_EVENT_REPLY_help_Detail = "help";//打开C端帮助页面
    /*********Wifi模块*********/
@@ -128,9 +139,37 @@
    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";//逆变器以太网获取
    public final static String UNI_EVENT_REPLY_AUTHORIZATION_GET = "phone_local_authorization";//原生位置权限获取
    /*********无网模块*********/
    public final static String UNI_EVENT_REPLY_NO_WORK_MODEL = "uni_no_work_model";//无网模块(大类)
    public final static String UNI_EVENT_REPLY_NO_WORK_MODEL_EXIT = "exit_no_work_model";//退出无网模式标识
    public final static String UNI_EVENT_REPLY_NO_WORK_MODEL_DEVICE_INFO = "no_work_device_info";//进入无网模式逆变器详情页,缓存mac和密码
    public final static String UNI_EVENT_REPLY_NO_WORK_MODEL_CLEAR_DEVICE_INFO = "clear_no_work_device_info";//无网模式逆变器详情页,清除缓存mac和密码
    public final static String UNI_EVENT_REPLY_NO_WORK_MODEL_FROM_OFFLINE = "no_work_from_offline";//设备离网时有入口进入无网模式
    //endregion
    /*********网络请求模块*********/
    public final static String UNI_EVENT_REPLY_UNI_SEND_TO_CLOUD = "uni_send_to_cloud";//uni网络请求
    /*********AI模块*********/
    public final static String UNI_EVENT_REPLY_AI_MODEL = "uni_ai_model";//AI模块(大类)
    public final static String UNI_EVENT_REPLY_AI_MODEL_SENDAIREQUEST = "uni_SendAIRequest";//发送ai请求
    public final static String UNI_EVENT_REPLY_AI_MODEL_AISTREAMING = "uni_AIStreaming";// 流式请求片段
    public final static String UNI_EVENT_REPLY_AI_MODEL_AISTREAMINGEND = "uni_AIStreamingEnd";// 流式请求结束
    public final static String UNI_EVENT_REPLY_AI_MODEL_PAUSEAIREQUEST = "uni_PauseAIRequest";//取消ai请求
    /*********蓝牙模块*********/
    public final static String UNI_EVENT_REPLY_BLUETOOTH_MODEL = "uni_bluetooth_model";//蓝牙模块(大类)
    public final static String UNI_EVENT_REPLY_BLUETOOTH_PERMISSION = "uni_bluetooth_permission";//获取蓝牙权限
    public final static String UNI_EVENT_REPLY_BLUETOOTH_OPEN_SETTING = "uni_bluetooth_open_setting";//跳转到应用权限设置页面
    public final static String UNI_EVENT_REPLY_BLUETOOTH_LIST = "bluetooth_list";//获取列表蓝牙设备列表
    public final static String UNI_EVENT_REPLY_BLUETOOTH_Connect = "uni_connect_bluetooth";//连接蓝牙设备
    public final static String UNI_EVENT_REPLY_BLUETOOTH_Disconnect = "uni_disconnect_bluetooth";//断开蓝牙设备
    public final static String UNI_EVENT_REPLY_BLUETOOTH_Send = "uni_send_data_to_device";//发送数据给设备
    public final static String UNI_EVENT_REPLY_BLUETOOTH_status_check = "uni_check_bluetooth_status";//检查蓝牙连接状态
    public final static String UNI_EVENT_REPLY_BLUETOOTH_Release = "uni_release_bluetooth_resource";//释放蓝牙资源
    public final static String UNI_EVENT_REPLY_BLUETOOTH_Bms_Device_Bluetooth_Get = "device_bluetooth_get";//蓝牙状态获取(BMS设备)
    public final static String UNI_EVENT_REPLY_BLUETOOTH_Bms_Device_Bluetooth_Set = "device_bluetooth_set";//蓝牙设置开启/关闭(BMS设备)
    //endregioD
    //region --------【原生】主动发送到【小程序】--------
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_MODEL = "uni_notification_model";//通知模块(大类)
@@ -147,20 +186,30 @@
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_home_remove_refresh = "home_remove_refresh";//电站删除
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_home_debug_refresh = "home_debug_refresh";//电站二次调试
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_home_delivery_refresh = "home_delivery_refresh";//电站交付
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_home_delivery_rollback = "home_delivery_rollback";//电站交付回滚
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_open_ai_push_message = "open_ai_push_message";//打开AiTab
    public final static String UNI_EVENT_NOTIFICATION_DEVICE_find_bluetooth_device = "find_bluetooth_device";//搜索到蓝牙设备推送
    //endregion
    //region --------【原生】打开【小程序】--------
    /*********住宅模块*********/
    //页面路径带参数规则->(UNI_EVENT_OPEN_HOME_CREATION+?key=value&key=参数一)
    public final static String UNI_EVENT_OPEN_HOME_CREATION = "pages/powerStation/powerStationQuickConfig";//"pages/powerStation/powerStationCreate";//住宅【电站】创建
    public final static String UNI_EVENT_OPEN_HOME_CREATION = "pages/powerStation/powerStationQuickConfig";//常规调试住宅【电站】创建
    public final static String UNI_EVENT_OPEN_HOME_CREATION_SIMPLE = "pages/powerStation/powerStationSimpleDebugging";//简易调试住宅【电站】创建
    public final static String UNI_EVENT_OPEN_HOME_EDIT = "pages/powerStation/powerStationEdit";//住宅【电站】编辑
    public final static String UNI_EVENT_OPEN_HOME_DETAILS = "pages/powerStationDetail/index";//住宅【电站】详情
    public final static String UNI_EVENT_OPEN_BMSPLANT_DETAILS = "pages/powerStationDetail/bmsPlant";//进入BMS 住宅【电站】详情
    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/tabbarPage";//无电站时(不需要传参数)
    public final static String UNI_EVENT_OPEN_DEVICE_DETAILS = "pages/powerStationDetail/childPage/device/detail";//设备详情
    public final static String UNI_EVENT_OPEN_MINE_MINESTAFFMANAGER = "pages/mine/mineStaffManager";//B端打开员工管理界面
    public final static String UNI_EVENT_OPEN_MINE_DEVICEDEBUG = "pages/deviceDebug/searchInverterList";//B端打开设备调试界面
    public final static String UNI_EVENT_OPEN_NONETWORKDEVICELIST = "pages/noNetwork/noNetworkDeviceList";//打开无网模式设备列表界面
    public final static String UNI_EVENT_OPEN_AIChatBox = "pages/powerStation/aiChatBox";//打开AI界面
    public final static String UNI_EVENT_OPEN_DEVICESCAN = "pages/powerStation/deviceScan";//跳到uni扫二维码界面
    /*********设备模块*********/