Added NightAlert project for travel kit
This commit is contained in:
19
NightScout/Interfaces/INightscoutDataSource.cs
Normal file
19
NightScout/Interfaces/INightscoutDataSource.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace NightScout
|
||||
{
|
||||
public interface INightscoutDataSource
|
||||
{
|
||||
event Action Connected;
|
||||
event Action<Object> DataUpdate;
|
||||
event Action<Object> SocketError;
|
||||
event Action<Object> Alarm;
|
||||
event Action<Object> UrgentAlarm;
|
||||
event Action<Object> ClearAlarm;
|
||||
event Action StaleDataAlarm;
|
||||
void Emit(String eventName, String data);
|
||||
void Emit(String eventName, JObject data);
|
||||
void Authorize();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user