Major repo cleanout. Removes all files marked as REMOVE or MOVED and removes Cues and all assciated referenced.

This commit is contained in:
Neil Dorin
2020-01-30 14:38:00 -07:00
parent 22c769ab98
commit f000097a03
65 changed files with 54 additions and 4359 deletions

View File

@@ -19,8 +19,6 @@ namespace PepperDash.Essentials.Core
public override bool BoolValue { get { return _BoolValue; } }
bool _BoolValue;
public override eCueType Type { get { return eCueType.Bool; } }
/// <summary>
/// Fake value to be used in test mode
/// </summary>
@@ -45,12 +43,6 @@ namespace PepperDash.Essentials.Core
ValueFunc = valueFunc;
}
//public BoolFeedback(Cue cue, Func<bool> valueFunc)
// : base(cue)
//{
// if (cue == null) throw new ArgumentNullException("cue");
// ValueFunc = valueFunc;
//}
public override void FireUpdate()
{

View File

@@ -20,10 +20,6 @@ namespace PepperDash.Essentials.Core
public virtual string StringValue { get { return ""; } }
public virtual string SerialValue { get { return ""; } }
//public Cue Cue { get; private set; }
public abstract eCueType Type { get; }
/// <summary>
/// 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
@@ -46,10 +42,7 @@ namespace PepperDash.Essentials.Core
Key = key;
}
//protected Feedback(Cue cue)
//{
// Cue = cue;
//}
/// <summary>
/// Clears test mode and fires update.

View File

@@ -13,7 +13,7 @@ namespace PepperDash.Essentials.Core
int _IntValue;
public ushort UShortValue { get { return (ushort)_IntValue; } }
public override eCueType Type { get { return eCueType.Int; } }
//public override eCueType Type { get { return eCueType.Int; } }
public int TestValue { get; private set; }
@@ -34,13 +34,6 @@ namespace PepperDash.Essentials.Core
ValueFunc = valueFunc;
}
//public IntFeedback(Cue cue, Func<int> valueFunc)
// : base(cue)
//{
// if (cue == null) throw new ArgumentNullException("cue");
// ValueFunc = valueFunc;
//}
public override void FireUpdate()
{
var newValue = InTestMode ? TestValue : ValueFunc.Invoke();

View File

@@ -16,7 +16,7 @@ namespace PepperDash.Essentials.Core
public override string SerialValue { get { return _SerialValue; } }
string _SerialValue;
public override eCueType Type { get { return eCueType.Serial; } }
//public override eCueType Type { get { return eCueType.Serial; } }
/// <summary>
/// Used in testing. Set/Clear functions

View File

@@ -12,8 +12,6 @@ namespace PepperDash.Essentials.Core
public override string StringValue { get { return _StringValue; } } // ValueFunc.Invoke(); } }
string _StringValue;
public override eCueType Type { get { return eCueType.String; } }
/// <summary>
/// Used in testing. Set/Clear functions
/// </summary>
@@ -36,13 +34,7 @@ namespace PepperDash.Essentials.Core
ValueFunc = valueFunc;
}
//public StringFeedback(Cue cue, Func<string> valueFunc)
// : base(cue)
//{
// if (cue == null) throw new ArgumentNullException("cue");
// ValueFunc = valueFunc;
//}
public override void FireUpdate()
{