using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// IotDevice Data Structure. /// [Serializable] public class IotDevice : AopObject { /// /// 蓝牙MAC地址 /// [XmlElement("bluetooth_mac")] public string BluetoothMac { get; set; } /// /// 设备控制面板地址 /// [XmlElement("control_url")] public string ControlUrl { get; set; } /// /// 协议服务商用于唯一标识该设备的设备id(协议服务商定义) /// [XmlElement("device_id")] public string DeviceId { get; set; } /// /// 设备名称 /// [XmlElement("device_name")] public string DeviceName { get; set; } /// /// 协议服务商用于唯一标识一个设备型号的型号id /// [XmlElement("model_id")] public string ModelId { get; set; } /// /// 设备序列号 /// [XmlElement("sn")] public string Sn { get; set; } /// /// 设备WIFI的MAC地址 /// [XmlElement("wifi_mac")] public string WifiMac { get; set; } } }