Join changes on DDVC

This commit is contained in:
Heath Volmer
2018-01-17 15:21:42 -07:00
parent 9effa78fdf
commit d0cbb8d096
3 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ namespace PepperDash.Essentials.Room.Cotija
/// <summary> /// <summary>
/// 71 /// 71
/// </summary> /// </summary>
public const uint SourceHasChanged = 71; public const uint SourceHasChanged = 72;
/// <summary> /// <summary>
/// 501 /// 501
/// </summary> /// </summary>
@@ -293,8 +293,8 @@ namespace PepperDash.Essentials.Room.Cotija
/// <param name="args"></param> /// <param name="args"></param>
void EISC_SigChange(object currentDevice, Crestron.SimplSharpPro.SigEventArgs args) void EISC_SigChange(object currentDevice, Crestron.SimplSharpPro.SigEventArgs args)
{ {
if (Debug.Level == 2) if (Debug.Level >= 1)
Debug.Console(2, this, "Sig change: {0} {1}={2}", args.Sig.Type, args.Sig.Number, args.Sig.StringValue); Debug.Console(1, this, "DDVC EISC change: {0} {1}={2}", args.Sig.Type, args.Sig.Number, args.Sig.StringValue);
var uo = args.Sig.UserObject; var uo = args.Sig.UserObject;
if (uo is Action<bool>) if (uo is Action<bool>)
(uo as Action<bool>)(args.Sig.BoolValue); (uo as Action<bool>)(args.Sig.BoolValue);