| | |
| | | /// </summary> |
| | | public const string SearchLoaclGatewayReply = "/user/all/custom/gateway/search_reply"; |
| | | /// <summary> |
| | | /// 网关广播数据 |
| | | /// </summary> |
| | | public const string GatewayBroadcast = "/user/all/custom/gateway/broadcast"; |
| | | /// <summary> |
| | | /// 调试软件上传oid列表 |
| | | /// </summary> |
| | | public const string AddDeviceOids = "/user/onpro/custom/device/add"; |
| | |
| | | /// </summary> |
| | | public const string BusPcGetAppSids = "/user/onpro/custom/function/list/get"; |
| | | |
| | | |
| | | /// <summary> |
| | | /// 本地控制功能状态主题 |
| | | /// </summary> |
| | | public string ControlFunctionTopic |
| | | { |
| | | get |
| | |
| | | return $"/base/{Control.Ins.GatewayId}/thing/property/down"; |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// 本地控制红外设备功能主题 |
| | | /// </summary> |
| | | public string ControlIrFunctionTopic |
| | | { |
| | | get |
| | | { |
| | | return $"/base/${Control.Ins.GatewayId}/thing/property/down"; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 读取功能状态 |
| | | /// </summary> |
| | | public string ReadStatus |
| | | { |
| | | get |
| | | { |
| | | return $"/base/{Control.Ins.GatewayId}/thing/property/read"; |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// 网关上报设备状态 |
| | | /// </summary> |
| | | public string GatewayUpStatus |
| | | { |
| | | get |
| | | { |
| | | return $"/base/{Control.Ins.GatewayId}/thing/property/up"; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 网关上报设备状态 |
| | | /// 去掉id对比 |
| | | /// </summary> |
| | | public string GatewayUpSortTopic |
| | | { |
| | | get |
| | | { |
| | | return "/thing/property/up"; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 场景执行 |
| | | /// </summary> |
| | | public string ControlScene |
| | | { |
| | | get |
| | | { |
| | | return $"/user/{Control.Ins.GatewayId}/custom/scene/execute"; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 安防控制 |
| | | /// </summary> |
| | | public string ControlSeurity |
| | | { |
| | | get |
| | | { |
| | | return $"/user/{Control.Ins.GatewayId}/custom/security/status/set"; |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// 安防状态更新 |
| | | /// </summary> |
| | | public string SecurityStatusUp |
| | | { |
| | | get |
| | | { |
| | | return $"/user/{Control.Ins.GatewayId}/custom/security/status/up"; |
| | | }///user/1413055228417130497/custom/security/status/up |
| | | } |
| | | /// <summary> |
| | | /// 读取安防状态信息 |
| | | /// </summary> |
| | | public string ReadSecurityStatus |
| | | { |
| | | get |
| | | { |
| | | return $"/user/{Control.Ins.GatewayId}/custom/security/list/get"; |
| | | } |
| | | } |
| | | } |
| | | } |