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