mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 20:17:03 +00:00
feature(wip): adds inputPriorities configuration property
This commit is contained in:
parent
58e019992a
commit
189c470603
2 changed files with 22 additions and 12 deletions
|
|
@ -1,7 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using PepperDash.Core;
|
||||
using PepperDash.Essentials.DM.Config;
|
||||
|
||||
namespace PepperDash_Essentials_DM.Config
|
||||
{
|
||||
|
|
@ -11,18 +10,17 @@ namespace PepperDash_Essentials_DM.Config
|
|||
public ControlPropertiesConfig Control { get; set; }
|
||||
|
||||
[JsonProperty("inputs")]
|
||||
//public Dictionary<uint, InputPropertiesConfig> Inputs { get; set; }
|
||||
public Dictionary<uint, string> Inputs { get; set; }
|
||||
|
||||
|
||||
[JsonProperty("outputs")]
|
||||
//public Dictionary<uint, InputPropertiesConfig> Outputs { get; set; }
|
||||
public Dictionary<uint, string> Outputs { get; set; }
|
||||
|
||||
// "inputPriorities": "1,4,3,2"
|
||||
[JsonProperty("inputPriorities")]
|
||||
public string InputPriorities { get; set; }
|
||||
|
||||
public HdPsXxxPropertiesConfig()
|
||||
{
|
||||
//Inputs = new Dictionary<uint, InputPropertiesConfig>();
|
||||
//Outputs = new Dictionary<uint, InputPropertiesConfig>();
|
||||
|
||||
Inputs = new Dictionary<uint, string>();
|
||||
Outputs = new Dictionary<uint, string>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue