diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Feedbacks/BoolWithFeedback.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Feedbacks/BoolWithFeedback.cs new file mode 100644 index 00000000..5d845a89 --- /dev/null +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Feedbacks/BoolWithFeedback.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using Crestron.SimplSharp; + +namespace PepperDash.Essentials.Core.Feedbacks +{ + public class BoolWithFeedback : BoolFeedback + { + private bool _Value; + public bool Value + { + get + { + return _Value; + } + set + { + _Value = value; + this.FireUpdate(); + } + } + public BoolWithFeedback() + : base(() => Value) + { + + } + } + +} \ No newline at end of file diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Feedbacks/IntWithFeedback.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Feedbacks/IntWithFeedback.cs new file mode 100644 index 00000000..57a0e1b7 --- /dev/null +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Feedbacks/IntWithFeedback.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using Crestron.SimplSharp; + +namespace PepperDash.Essentials.Core.Feedbacks +{ + public class IntWithFeedback : IntFeedback + { + private int _Value; + public int Value + { + get + { + return _Value; + } + set + { + _Value = value; + this.FireUpdate(); + } + } + public IntWithFeedback() + : base(() => Value) + { + + } + } +} \ No newline at end of file diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Feedbacks/StringWithFeedback.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Feedbacks/StringWithFeedback.cs new file mode 100644 index 00000000..bfdec1af --- /dev/null +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Feedbacks/StringWithFeedback.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using Crestron.SimplSharp; + +namespace PepperDash.Essentials.Core.Feedbacks +{ + public class StringWithFeedback : StringFeedback + { + private string _Value; + public string Value + { + get + { + return _Value; + } + set + { + _Value = value; + this.FireUpdate(); + } + } + public StringWithFeedback() + : base(() => Value) + { + + } + } +} \ No newline at end of file diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/PepperDash_Essentials_Core.csproj b/essentials-framework/Essentials Core/PepperDashEssentialsBase/PepperDash_Essentials_Core.csproj index 4d919a66..405b80ec 100644 --- a/essentials-framework/Essentials Core/PepperDashEssentialsBase/PepperDash_Essentials_Core.csproj +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/PepperDash_Essentials_Core.csproj @@ -219,11 +219,14 @@ + + +