using Newtonsoft.Json; namespace PluginInterface.HuaWeiRoma { public class HwAddDeviceDto { [JsonProperty(PropertyName = "deviceInfos")] public List DeviceInfos = new(); /// /// 命令ID /// [JsonProperty(PropertyName = "mid")] public long MId { get; set; } } public class DeviceInfo { /// /// 设备标识 /// [JsonProperty(PropertyName = "nodeId")] public string NodeId { get; set; } /// /// 设备名称 /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// /// 设备描述 /// [JsonProperty(PropertyName = "description")] public string Description { get; set; } /// /// 厂商ID /// [JsonProperty(PropertyName = "manufacturerId")] public string ManufacturerId { get; set; } /// /// 产品型号 /// [JsonProperty(PropertyName = "model")] public string ProductType { get; set; } } }