Exemplo n.º 1
0
        public void OnDeviceStateChange(DeviceState.DeviceState deviceState)
        {
            DeviceStateChangeEventArgs deviceStateChangeEventArgs = new DeviceStateChangeEventArgs();

            deviceStateChangeEventArgs.DeviceState = deviceState;
            DeviceStateChange?.Invoke(this, deviceStateChangeEventArgs);
        }
Exemplo n.º 2
0
 public WebServerPeripheralInfo(Uri ip, string name)
 {
     Name        = name;
     IP          = ip;
     DeviceState = new DeviceState.DeviceState();
 }
Exemplo n.º 3
0
 public Central()
 {
     DeviceState     = new DeviceState.DeviceState();
     CentralBehavior = new CentralBehavior();
 }