mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-07-02 10:38:16 +00:00
feat: add UserInterfaces and TouchpanelWrapperApp properties to VersionData class
This commit is contained in:
parent
2dd99da67f
commit
1b2f86eb43
1 changed files with 38 additions and 1 deletions
|
|
@ -100,6 +100,20 @@ public class VersionData
|
||||||
[JsonProperty("essentials")]
|
[JsonProperty("essentials")]
|
||||||
public NugetVersion Essentials { get; set; }
|
public NugetVersion Essentials { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the list of UserInterfaces
|
||||||
|
/// </summary>
|
||||||
|
[JsonProperty("userInterfaces")]
|
||||||
|
public List<AppVersion> UserInterfaces { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the TouchpanelWrapperApp version
|
||||||
|
/// This is the .ch5z app that gets loaded to a Crestron touch panel that allows it
|
||||||
|
/// to run an HTML5 user interface.
|
||||||
|
/// </summary>
|
||||||
|
[JsonProperty("touchpanelWrapperApp")]
|
||||||
|
public AppVersion TouchpanelWrapperApp { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the list of Packages
|
/// Gets or sets the list of Packages
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -111,10 +125,27 @@ public class VersionData
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public VersionData()
|
public VersionData()
|
||||||
{
|
{
|
||||||
|
UserInterfaces = new List<UserInterfaces>();
|
||||||
Packages = new List<NugetVersion>();
|
Packages = new List<NugetVersion>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class AppVersion
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the Version
|
||||||
|
/// </summary>
|
||||||
|
[JsonProperty("version")]
|
||||||
|
public string Version { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the RepoUrl
|
||||||
|
/// </summary>
|
||||||
|
[JsonProperty("repoUrl")]
|
||||||
|
public string RepoUrl { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a NugetVersion
|
/// Represents a NugetVersion
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -131,10 +162,16 @@ public class NugetVersion
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("packageId")]
|
[JsonProperty("packageId")]
|
||||||
public string PackageId { get; set; }
|
public string PackageId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the RepoUrl
|
||||||
|
/// </summary>
|
||||||
|
[JsonProperty("repoUrl")]
|
||||||
|
public string RepoUrl { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
/// Represents the configuration for a system and its template
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class SystemTemplateConfigs
|
public class SystemTemplateConfigs
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue