using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// DeviceSyncPayload Data Structure. /// [Serializable] public class DeviceSyncPayload : AopObject { /// /// 触发行为:绑定、解绑、变更等 /// [XmlElement("action")] public string Action { get; set; } /// /// 智能设备唯一ID /// [XmlElement("device_id")] public string DeviceId { get; set; } } }