Esempio n. 1
0
 public void AddGateway(GatewayDashBoard gateway)
 {
     orchastraion.Tell(new GatewayCreated(gateway.Id));
     foreach (var device in gateway.Devices)
     {
         orchastraion.Tell(new DeviceCreated(new DeviceInfo(device.Id, gateway.Id)));
     }
 }
Esempio n. 2
0
 public void AddDevice(GatewayDashBoard gateway, DeviceDashBoard device)
 {
     orchastraion.Tell(new DeviceCreated(new DeviceInfo(device.Id, gateway.Id)));
 }