mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 20:17:03 +00:00
WIP Cresnet Gateway SUpport
This commit is contained in:
parent
ac379763ce
commit
0a3f2bb524
5 changed files with 232 additions and 117 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue