| | |
| | | public final static String UNI_EVENT_REPLY_DEVICE_ADD = "add";//设备添加 |
| | | public final static String UNI_EVENT_REPLY_DEVICE_DEL = "del";//设备删除 |
| | | public final static String UNI_EVENT_REPLY_DEVICE_OID = "oid";//设备【包括下挂设备】oid列表 |
| | | public final static String UNI_EVENT_REPLY_DEVICE_MODBUS_SEND="modbus_send";//modbus协议 |
| | | |
| | | /*********Wifi模块*********/ //卫锦定义 |
| | | public final static String UNI_EVENT_REPLY_WIFI_MODEL = "uni_wifi_model";//wifi模块 |
| | |
| | | private String path;//打开小程序路径(暂时用不上) |
| | | private String code;//状态码 |
| | | private String mes;//信息描述 |
| | | private String topic;//大类 |
| | | private String type;//功能类型 |
| | | private Object data;//附加json数据 |
| | | |
| | |
| | | this.data = data; |
| | | } |
| | | |
| | | public String getTopic() { |
| | | return topic == null ? "" : topic; |
| | | } |
| | | |
| | | public void setTopic(String topic) { |
| | | this.topic = topic; |
| | | } |
| | | |
| | | public String getType() { |
| | | return type == null ? "" : type; |