public HomeAutomationNetworkContext(RoomieEngine engine, ThreadPool threadPool, IDeviceHistory deviceHistory, INetworkHistory networkHistory)
 {
     _engine = engine;
     ThreadPool = threadPool;
     //TODO: ninject?
     History = new MasterHistory(deviceHistory, networkHistory);
     Triggers = new TriggerCollection();
 }
Beispiel #2
0
 public MasterHistory(IDeviceHistory deviceHistory, INetworkHistory networkHistory)
 {
     DeviceEvents = deviceHistory;
     NetworkEvents = networkHistory;
 }
Beispiel #3
0
 public MasterHistory(IDeviceHistory deviceHistory, INetworkHistory networkHistory)
 {
     DeviceEvents  = deviceHistory;
     NetworkEvents = networkHistory;
 }
Beispiel #4
0
 public HomeAutomationNetworkContext(RoomieEngine engine, ThreadPool threadPool, IDeviceHistory deviceHistory, INetworkHistory networkHistory)
 {
     _engine    = engine;
     ThreadPool = threadPool;
     //TODO: ninject?
     History  = new MasterHistory(deviceHistory, networkHistory);
     Triggers = new TriggerCollection();
 }