private static void SensorCabinetWithoutAlarm_SensorEvent1(object sender, SensorEventArgs sensorEventArgs) { Debug.WriteLine($"Logging sensor {sensorEventArgs.SensorId}'s value of {sensorEventArgs.SensorValue}"); }
private static void TraditionalSensorCabinet_SensorEvent(object sender, SensorEventArgs sensorEventArgs) { Debug.WriteLine($"Logging sensor {sensorEventArgs.SensorId}'s value of {sensorEventArgs.SensorValue}"); }
public void FireSensorEvent(object sender, SensorEventArgs e) { SensorEvent?.Invoke(this, e); }