ValueChangedEventArgs(UInt32, ElectricPotential, Int32, TriggerReason) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ValueChangedEventArgs class.
public ValueChangedEventArgs(uint rawValue, UnitsNet.ElectricPotential value, int pinNumber, System.Device.Analog.TriggerReason triggerReason);
new System.Device.Analog.ValueChangedEventArgs : uint32 * UnitsNet.ElectricPotential * int * System.Device.Analog.TriggerReason -> System.Device.Analog.ValueChangedEventArgs
Public Sub New (rawValue As UInteger, value As ElectricPotential, pinNumber As Integer, triggerReason As TriggerReason)
Parameters
- rawValue
- UInt32
The raw analog sensor reading
- value
- UnitsNet.ElectricPotential
The analog sensor reading, converted to voltage.
- pinNumber
- Int32
The pin number that triggered the event.
- triggerReason
- TriggerReason
The reason for the event