diff --git a/Essentials Core/PepperDashEssentialsBase/Feedbacks/Feedbacks.cs b/Essentials Core/PepperDashEssentialsBase/Feedbacks/Feedbacks.cs index b36d9453..10669b1e 100644 --- a/Essentials Core/PepperDashEssentialsBase/Feedbacks/Feedbacks.cs +++ b/Essentials Core/PepperDashEssentialsBase/Feedbacks/Feedbacks.cs @@ -20,7 +20,9 @@ namespace PepperDash.Essentials.Core public abstract eCueType Type { get; } /// - /// + /// Feedbacks can be put into test mode for simulation of events without real data. + /// Using JSON debugging methods and the Set/ClearTestValue methods, we can simulate + /// Feedback behaviors /// public bool InTestMode { get; protected set; } @@ -58,6 +60,9 @@ namespace PepperDash.Essentials.Core CrestronInvoke.BeginInvoke(o => FireUpdate()); } + /// + /// Helper method that fires event. Use this intstead of calling OutputChange + /// protected void OnOutputChange() { if (OutputChange != null) OutputChange(this, EventArgs.Empty); @@ -70,7 +75,8 @@ namespace PepperDash.Essentials.Core public class BoolFeedback : Feedback { /// - /// Returns the current value of the feedback, derived from the ValueFunc + /// Returns the current value of the feedback, derived from the ValueFunc. The ValueFunc is + /// evaluated whenever FireUpdate() is called /// public override bool BoolValue { get { return _BoolValue; } } bool _BoolValue; @@ -169,6 +175,7 @@ namespace PepperDash.Essentials.Core public override int IntValue { get { return _IntValue; } } // ValueFunc.Invoke(); } } int _IntValue; public ushort UShortValue { get { return (ushort)_IntValue; } } + public override eCueType Type { get { return eCueType.Int; } } public int TestValue { get; private set; } @@ -241,6 +248,7 @@ namespace PepperDash.Essentials.Core { public override string StringValue { get { return _StringValue; } } // ValueFunc.Invoke(); } } string _StringValue; + public override eCueType Type { get { return eCueType.String; } } /// diff --git a/Essentials/PepperDashEssentials/Config/EssentialsConfig.cs b/Essentials/PepperDashEssentials/Config/EssentialsConfig.cs index 3b2fec4d..8b941fe2 100644 --- a/Essentials/PepperDashEssentials/Config/EssentialsConfig.cs +++ b/Essentials/PepperDashEssentials/Config/EssentialsConfig.cs @@ -54,7 +54,7 @@ namespace PepperDash.Essentials [JsonProperty("rooms")] public List Rooms { get; set; } } - + /// /// /// diff --git a/Essentials/PepperDashEssentials/Properties/AssemblyInfo.cs b/Essentials/PepperDashEssentials/Properties/AssemblyInfo.cs index 0cc877bb..4fa1aa8d 100644 --- a/Essentials/PepperDashEssentials/Properties/AssemblyInfo.cs +++ b/Essentials/PepperDashEssentials/Properties/AssemblyInfo.cs @@ -4,5 +4,5 @@ [assembly: AssemblyCompany("PepperDash Technology Corp")] [assembly: AssemblyProduct("PepperDashEssentials")] [assembly: AssemblyCopyright("Copyright © PepperDash Technology Corp 2017")] -[assembly: AssemblyVersion("1.0.47.*")] +[assembly: AssemblyVersion("1.1.0.*")] diff --git a/Essentials/PepperDashEssentials/Room/Cotija/CotijaSystemController.cs b/Essentials/PepperDashEssentials/Room/Cotija/CotijaSystemController.cs index 8a6beb0b..a0511d88 100644 --- a/Essentials/PepperDashEssentials/Room/Cotija/CotijaSystemController.cs +++ b/Essentials/PepperDashEssentials/Room/Cotija/CotijaSystemController.cs @@ -237,7 +237,7 @@ namespace PepperDash.Essentials else { var regClient = new HttpClient(); - regClient.Verbose = false; + regClient.Verbose = true; regClient.KeepAlive = true; string url = string.Format("http://{0}/api/system/join/{1}", Config.ServerUrl, SystemUuid); diff --git a/Release Package/PepperDashEssentials.cpz b/Release Package/PepperDashEssentials.cpz index efcadb63..1bc5efeb 100644 Binary files a/Release Package/PepperDashEssentials.cpz and b/Release Package/PepperDashEssentials.cpz differ diff --git a/Release Package/PepperDashEssentials.dll b/Release Package/PepperDashEssentials.dll index a81abbf2..dd5f409f 100644 Binary files a/Release Package/PepperDashEssentials.dll and b/Release Package/PepperDashEssentials.dll differ