Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the HeartBeatSensorUpdateEventArgs class.
 /// </summary>
 /// <param name="data">Data from heart beat monitor sensor.</param>
 /// <param name="error">Any exceptions that may have happened while trying to get data from sensor.</param>
 public HeartBeatSensorUpdateEventArgs(HeartBeatSensorData data, Exception error)
 {
     Data  = data;
     Error = error;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the HeartBeatSensorUpdateEventArgs class.
 /// </summary>
 /// <param name="data">Data from heart beat monitor sensor.</param>
 public HeartBeatSensorUpdateEventArgs(HeartBeatSensorData data)
     : this(data, null)
 {
 }