using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// StatesSyncPayload Data Structure. /// [Serializable] public class StatesSyncPayload : AopObject { /// /// 智能设备唯一ID /// [XmlElement("device_id")] public string DeviceId { get; set; } /// /// 是否在线 /// [XmlElement("online")] public bool Online { get; set; } /// /// 状态信息Json串 /// [XmlElement("states")] public string States { get; set; } } }