mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 05:05:00 +00:00
fix: add more json props
This commit is contained in:
@@ -202,17 +202,20 @@ namespace PepperDash.Essentials.Core
|
|||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class EssentialsControlPropertiesConfig :
|
public class EssentialsControlPropertiesConfig :
|
||||||
PepperDash.Core.ControlPropertiesConfig
|
ControlPropertiesConfig
|
||||||
{
|
{
|
||||||
|
|
||||||
|
[JsonProperty("comParams")]
|
||||||
[JsonConverter(typeof(ComSpecJsonConverter))]
|
[JsonConverter(typeof(ComSpecJsonConverter))]
|
||||||
public ComPort.ComPortSpec ComParams { get; set; }
|
public ComPort.ComPortSpec ComParams { get; set; }
|
||||||
|
|
||||||
public string CresnetId { get; set; }
|
[JsonProperty("cresnetId")]
|
||||||
|
public string CresnetId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Attempts to provide uint conversion of string CresnetId
|
/// Attempts to provide uint conversion of string CresnetId
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[JsonIgnore]
|
||||||
public uint CresnetIdInt
|
public uint CresnetIdInt
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -228,11 +231,13 @@ namespace PepperDash.Essentials.Core
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[JsonProperty("infinetId")]
|
||||||
public string InfinetId { get; set; }
|
public string InfinetId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Attepmts to provide uiont conversion of string InifinetId
|
/// Attepmts to provide uiont conversion of string InifinetId
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[JsonIgnore]
|
||||||
public uint InfinetIdInt
|
public uint InfinetIdInt
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
|||||||
@@ -4,46 +4,49 @@ namespace PepperDash.Essentials.Core
|
|||||||
{
|
{
|
||||||
public class CrestronTouchpanelPropertiesConfig
|
public class CrestronTouchpanelPropertiesConfig
|
||||||
{
|
{
|
||||||
[JsonProperty("ipId")]
|
[JsonProperty("control")]
|
||||||
|
public EssentialsControlPropertiesConfig ControlProperties { get; set; }
|
||||||
|
|
||||||
|
[JsonProperty("ipId", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public string IpId { get; set; }
|
public string IpId { get; set; }
|
||||||
|
|
||||||
[JsonProperty("defaultRoomKey")]
|
[JsonProperty("defaultRoomKey", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public string DefaultRoomKey { get; set; }
|
public string DefaultRoomKey { get; set; }
|
||||||
|
|
||||||
[JsonProperty("roomListKey")]
|
[JsonProperty("roomListKey", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public string RoomListKey { get; set; }
|
public string RoomListKey { get; set; }
|
||||||
|
|
||||||
[JsonProperty("sgdFile")]
|
[JsonProperty("sgdFile", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public string SgdFile { get; set; }
|
public string SgdFile { get; set; }
|
||||||
|
|
||||||
[JsonProperty("projectName")]
|
[JsonProperty("projectName", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public string ProjectName { get; set; }
|
public string ProjectName { get; set; }
|
||||||
|
|
||||||
[JsonProperty("showVolumeGauge")]
|
[JsonProperty("showVolumeGauge", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public bool ShowVolumeGauge { get; set; }
|
public bool ShowVolumeGauge { get; set; }
|
||||||
|
|
||||||
[JsonProperty("usesSplashPage")]
|
[JsonProperty("usesSplashPage", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public bool UsesSplashPage { get; set; }
|
public bool UsesSplashPage { get; set; }
|
||||||
|
|
||||||
[JsonProperty("showDate")]
|
[JsonProperty("showDate", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public bool ShowDate { get; set; }
|
public bool ShowDate { get; set; }
|
||||||
|
|
||||||
[JsonProperty("showTime")]
|
[JsonProperty("showTime", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public bool ShowTime { get; set; }
|
public bool ShowTime { get; set; }
|
||||||
|
|
||||||
[JsonProperty("setup")]
|
[JsonProperty("setup", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public UiSetupPropertiesConfig Setup { get; set; }
|
public UiSetupPropertiesConfig Setup { get; set; }
|
||||||
|
|
||||||
[JsonProperty("headerStyle")]
|
[JsonProperty("headerStyle", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public string HeaderStyle { get; set; }
|
public string HeaderStyle { get; set; }
|
||||||
|
|
||||||
[JsonProperty("includeInFusionRoomHealth")]
|
[JsonProperty("includeInFusionRoomHealth", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public bool IncludeInFusionRoomHealth { get; set; }
|
public bool IncludeInFusionRoomHealth { get; set; }
|
||||||
|
|
||||||
[JsonProperty("screenSaverTimeoutMin")]
|
[JsonProperty("screenSaverTimeoutMin", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public uint ScreenSaverTimeoutMin { get; set; }
|
public uint ScreenSaverTimeoutMin { get; set; }
|
||||||
|
|
||||||
[JsonProperty("screenSaverMovePositionIntervalMs")]
|
[JsonProperty("screenSaverMovePositionIntervalMs", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public uint ScreenSaverMovePositionIntervalMs { get; set; }
|
public uint ScreenSaverMovePositionIntervalMs { get; set; }
|
||||||
|
|
||||||
|
|
||||||
@@ -51,7 +54,7 @@ namespace PepperDash.Essentials.Core
|
|||||||
/// The count of sources that will trigger the "additional" arrows to show on the SRL.
|
/// The count of sources that will trigger the "additional" arrows to show on the SRL.
|
||||||
/// Defaults to 5
|
/// Defaults to 5
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("sourcesOverflowCount")]
|
[JsonProperty("sourcesOverflowCount", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public int SourcesOverflowCount { get; set; }
|
public int SourcesOverflowCount { get; set; }
|
||||||
|
|
||||||
public CrestronTouchpanelPropertiesConfig()
|
public CrestronTouchpanelPropertiesConfig()
|
||||||
@@ -79,7 +82,7 @@ namespace PepperDash.Essentials.Core
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class UiSetupPropertiesConfig
|
public class UiSetupPropertiesConfig
|
||||||
{
|
{
|
||||||
[JsonProperty("isVisible")]
|
[JsonProperty("isVisible", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public bool IsVisible { get; set; }
|
public bool IsVisible { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user