using Newtonsoft.Json; namespace PluginInterface.HuaWeiRoma { public class HwDeviceOnOffLine { [JsonProperty(PropertyName = "deviceStatuses")] public List DeviceStatuses = new(); /// /// 命令ID /// [JsonProperty(PropertyName = "mid")] public long MId { get; set; } } public class DeviceStatus { /// /// 设备标识 /// [JsonProperty(PropertyName = "deviceId")] public string? DeviceId { get; set; } /// /// 子设备状态: /// OFFLINE:设备离线 /// ONLINE: 设备上线 /// [JsonProperty(PropertyName = "status")] public string? Status { get; set; } } }