Example #1
0
 /// <summary>
 /// Constructs the sensor arguments from a sensor event.
 /// </summary>
 /// <param name="e">Sensor event.</param>
 public SensorEventArgs(SensorEvent e)
 {
     Type = e.Type;
     X    = e.X;
     Y    = e.Y;
     Z    = e.Z;
 }
 ////////////////////////////////////////////////////////////
 /// <summary>
 /// Construct the sensor arguments from a sensor event
 /// </summary>
 /// <param name="e">Sensor event</param>
 ////////////////////////////////////////////////////////////
 public SensorEventArgs(SensorEvent e)
 {
     Type = e.Type;
     X = e.X;
     Y = e.Y;
     Z = e.Z;
 }