| | |
| | | package com.hdl.photovoltaic.uni; |
| | | |
| | | |
| | | import java.io.InputStream; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | |
| | | public final static String UNI_EVENT_REPLY_HOME_EDIT = "edit";//住宅【电站】编辑 |
| | | 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_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端) |
| | | |
| | | public final static String UNI_EVENT_REPLY_HOME_CLOSE_HOME_DETAILS_PAGE = "close_home_details_page";//关闭详情页 |
| | | /*********设备模块*********/ |
| | |
| | | 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";//初始化逆变器 |
| | | 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";//获取设备详情 |
| | | |
| | | |
| | | /*********OTA模块*********/ |
| | |
| | | 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进行密码验证 |
| | | |
| | | |
| | | /*********C端【我的】模块*********/ |
| | | |
| | | /*********【我的】模块*********/ |
| | | public final static String UNI_EVENT_REPLY_MINE_MODEL = "uni_mine_model";//我的模块(大类) |
| | | public final static String UNI_EVENT_REPLY_MINE_USER_INFO = "get_user_info";//个人信息获取: |
| | | public final static String UNI_EVENT_REPLY_MINE_EDIT_AVATAR = "edit_avatar";//头像更新 |
| | |
| | | public final static String UNI_EVENT_REPLY_MINE_USER_MANAGER = "user_manager";//用户管理 |
| | | public final static String UNI_EVENT_REPLY_MINE_ABOUT = "about";//关于 |
| | | public final static String UNI_EVENT_REPLY_MINE_SETTING = "setting";//设置 |
| | | public final static String UNI_EVENT_REPLY_MEMBER_LIST = "member_list";//成员列表 |
| | | public final static String UNI_EVENT_REPLY_MEMBER_ADD = "member_add";//成员添加 |
| | | public final static String UNI_EVENT_REPLY_MEMBER_DELETE = "member_delete";//成员删除 |
| | | public final static String UNI_EVENT_REPLY_MEMBER_EDIT = "member_edit";//成员编辑(包含备注、权限修改) |
| | | public final static String UNI_EVENT_REPLY_STAFF_LIST = "staff_list";//员工列表 |
| | | public final static String UNI_EVENT_REPLY_STAFF_ADD = "staff_add";//员工添加 |
| | | public final static String UNI_EVENT_REPLY_STAFF_DETAIL = "staff_detail";//员工详情获取 |
| | | public final static String UNI_EVENT_REPLY_STAFF_DELETE = "staff_delete";//员工删除 |
| | | 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";//下载成员(子账号)头像 |
| | | |
| | | |
| | | /*********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 --------【原生】主动发送到【小程序】-------- |
| | |
| | | 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_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";//逆变器连接路由器状态 |
| | | 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";//电站交付 |
| | | //endregion |
| | | |
| | | //region --------【原生】打开【小程序】-------- |
| | |
| | | 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_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_HOME_DEl = "del";//住宅【电站】删除 |
| | | 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_DEVICESCAN = "pages/powerStation/deviceScan";//跳到uni扫二维码界面 |
| | | /*********设备模块*********/ |
| | | //设备模块打开页面全路径 |
| | | //endregion |