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