Arguments for the inclinometer.
Inheritance: System.EventArgs
Exemple #1
0
        void OnReadingChanged(Sensor sender, InclinometerReadingChangedEventArgs args)
        {
            var handler = changed;

            if (handler != null)
            {
                var value = ConvertToInclination(args.Reading);
                var e     = new InclinometerEventArgs(value);
                handler.Invoke(this, e);
            }
        }
Exemple #2
0
        void OnReadingChanged(Sensor sender, InclinometerReadingChangedEventArgs args)
        {
            var handler = changed;

            if (handler != null)
            {
                var value = ConvertToInclination(args.Reading);
                var e = new InclinometerEventArgs(value);
                handler.Invoke(this, e);
            }
        }