private static MvxAccelerometerReading ToReading(AccelerometerReading sensorReading) { var reading = new MvxAccelerometerReading { X = sensorReading.Acceleration.X, Y = sensorReading.Acceleration.Y, Z = sensorReading.Acceleration.Z }; return reading; }
private static MvxAccelerometerReading ToReading(double x, double y, double z) { var reading = new MvxAccelerometerReading { X = x, Y = y, Z = z, }; return reading; }
private static MvxAccelerometerReading ToReading(AccelerometerReading sensorReading) { var reading = new MvxAccelerometerReading { X = sensorReading.Acceleration.X, Y = sensorReading.Acceleration.Y, Z = sensorReading.Acceleration.Z }; return(reading); }
private static MvxAccelerometerReading ToReading(double x, double y, double z) { var reading = new MvxAccelerometerReading { X = x, Y = y, Z = z, }; return(reading); }