Beispiel #1
0
        public void OnDeviceStateChange(DeviceState.DeviceState deviceState)
        {
            DeviceStateChangeEventArgs deviceStateChangeEventArgs = new DeviceStateChangeEventArgs();

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