mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
fix: remove duplicate StatusProperties
This commit is contained in:
parent
2eb9442c0a
commit
d6b5dc00e6
1 changed files with 3 additions and 16 deletions
|
|
@ -25,35 +25,22 @@ namespace PepperDash.Essentials.Core.UDMApi
|
|||
/// Standard room properties
|
||||
/// </summary>
|
||||
[JsonProperty("standard")]
|
||||
public StandardProperties standard { get; set; }
|
||||
public StandardProperties standard { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Status information including devices
|
||||
/// </summary>
|
||||
[JsonProperty("status")]
|
||||
public StatusProperties status { get; set; }
|
||||
public StatusProperties status { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Custom properties dictionary
|
||||
/// </summary>
|
||||
[JsonProperty("custom")]
|
||||
public Dictionary<string, CustomProperties> custom { get; set; }
|
||||
public Dictionary<string, CustomProperties> custom { get; private set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents status properties including devices
|
||||
/// </summary>
|
||||
internal class StatusProperties
|
||||
{
|
||||
/// <summary>
|
||||
/// Dictionary of device statuses keyed by device identifier
|
||||
/// </summary>
|
||||
[JsonProperty("devices")]
|
||||
public Dictionary<string, DeviceStatus> devices { get; set; }
|
||||
|
||||
public StatusProperties()
|
||||
{
|
||||
devices = new Dictionary<string, DeviceStatus>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue