| | |
| | | /// </summary> |
| | | public int BindScenesId; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 单个设备的数据 |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class AddSingleBindData |
| | | { |
| | | /// <summary> |
| | | /// 控制设备节点的mac地址 |
| | | /// </summary> |
| | | public string DeviceAddr; |
| | | /// <summary> |
| | | /// 错误信息 |
| | | /// </summary> |
| | | public int Epoint; |
| | | /// <summary> |
| | | ///绑定名称,不修改名称时忽略该选项 |
| | | /// </summary> |
| | | public string BindName; |
| | | /// <summary> |
| | | /// 绑定类型 |
| | | ///<para>0:绑定设备 </para> |
| | | ///<para>1:绑定场景</para> |
| | | /// </summary> |
| | | public int BindType; |
| | | /// <summary> |
| | | /// 绑定的cluster,需要控制设备的OutCluster列表中存在该cluster。 |
| | | ///如绑定某个设备的on/off,为6。 |
| | | /// </summary> |
| | | public int BindCluster; |
| | | /// <summary> |
| | | /// 绑定设备Mac地址, 当BindType=0时存在 |
| | | /// </summary> |
| | | public string BindMacAddr; |
| | | /// <summary> |
| | | /// 绑定设备的端口号,当BindType=0时存在 |
| | | /// </summary> |
| | | public int BindEpoint; |
| | | /// <summary> |
| | | /// 绑定场景,当BindType=1时存在 |
| | | /// </summary> |
| | | public int BindScenesId; |
| | | |
| | | } |
| | | #endregion |
| | | |
| | | #region 解除绑定 |