wip: updates to HdPsXxx class while test implementation to resolve exceptions

This commit is contained in:
Jason DeVito
2023-09-08 10:51:19 -05:00
parent b06d0c0deb
commit d74c5de651
2 changed files with 37 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
using System.Collections.Generic;
using Newtonsoft.Json;
using PepperDash.Core;
using PepperDash.Essentials.DM.Config;
namespace PepperDash_Essentials_DM.Config
{
@@ -10,9 +11,20 @@ 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, string> Outputs { get; set; }
//public Dictionary<uint, InputPropertiesConfig> Outputs { get; set; }
public Dictionary<uint, string> Outputs { get; set; }
public HdPsXxxPropertiesConfig()
{
//Inputs = new Dictionary<uint, InputPropertiesConfig>();
//Outputs = new Dictionary<uint, InputPropertiesConfig>();
Inputs = new Dictionary<uint, string>();
Outputs = new Dictionary<uint, string>();
}
}
}