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")]
|
||||
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>
|
||||
/// Gets or sets the list of Packages
|
||||
/// </summary>
|
||||
|
|
@ -111,10 +125,27 @@ public class VersionData
|
|||
/// </summary>
|
||||
public VersionData()
|
||||
{
|
||||
UserInterfaces = new List<UserInterfaces>();
|
||||
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>
|
||||
/// Represents a NugetVersion
|
||||
/// </summary>
|
||||
|
|
@ -131,10 +162,16 @@ public class NugetVersion
|
|||
/// </summary>
|
||||
[JsonProperty("packageId")]
|
||||
public string PackageId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the RepoUrl
|
||||
/// </summary>
|
||||
[JsonProperty("repoUrl")]
|
||||
public string RepoUrl { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// Represents the configuration for a system and its template
|
||||
/// </summary>
|
||||
public class SystemTemplateConfigs
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue