WIP Cresnet Gateway SUpport

This commit is contained in:
Trevor Payne
2020-07-01 10:35:57 -05:00
parent ac379763ce
commit 0a3f2bb524
5 changed files with 232 additions and 117 deletions

View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
namespace PepperDash_Essentials_Core
{
public delegate void IsReadyEventHandler(object source, IsReadyEventArgs e);
public class IsReadyEventArgs : EventArgs
{
private readonly bool _EventData;
public IsReadyEventArgs(bool data)
{
_EventData = data;
}
public bool GetData()
{
return _EventData;
}
}
public interface IHasReady
{
event IsReadyEventHandler IsReady;
}
}