using System;
|
using Newtonsoft.Json.Linq;
|
namespace ZigBee.Common
|
{
|
/// <summary>
|
/// 状态更新接口
|
/// </summary>
|
public interface IStatus
|
{
|
/// <summary>
|
/// 设备状态更新接口
|
/// </summary>
|
void Changed(Device.CommonDevice common);
|
/// <summary>
|
/// 设备状态更新接口
|
/// <para>typeTag:如果为 DeviceInComingRespon:设备新上报</para>
|
/// <para>typeTag:如果为 IASInfoReport:RemoveDeviceRespon</para>
|
/// <para>typeTag:如果为 DeviceStatusReport:设备上报</para>
|
/// <para>typeTag:如果为 IASInfoReport:IAS安防信息上报</para>
|
/// <para>typeTag:如果为 OnlineStatusChange: 设备在线状态更新</para>
|
/// </summary>
|
void DeviceInfoChange(Device.CommonDevice common, string typeTag);
|
|
/// <summary>
|
/// 逻辑信息更新接口
|
/// </summary>
|
void ChangedILogicStatus(ZigBee.Device.Logic logic);
|
|
/// <summary>
|
/// 场景信息更新接口
|
/// </summary>
|
void ChangedISceneStatus(ZigBee.Device.Scene scene);
|
|
}
|
|
}
|