C# Class CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MicrochipPotentiometerBase.WiperEventArgs

Wiper event arguments class.
Inheritance: System.EventArgs
ファイルを表示 Open project: cyrusbuilt/MonoPi

Public Methods

Method Description
SetChannelValue ( System.Boolean nonVol ) : void

Sets the channel value.

WiperEventArgs ( DeviceControlChannel channel, MicrochipPotDeviceController controller, Int32 val ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MicrochipPotentiometerBase.WiperEventArgs class with the device control channel, device controller, and device reading value.

Method Details

SetChannelValue() public method

Sets the channel value.
public SetChannelValue ( System.Boolean nonVol ) : void
nonVol System.Boolean /// Set true if setting the channel value of a non-volatile wiper, /// or false for a volatile wiper. ///
return void

WiperEventArgs() public method

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MicrochipPotentiometerBase.WiperEventArgs class with the device control channel, device controller, and device reading value.
public WiperEventArgs ( DeviceControlChannel channel, MicrochipPotDeviceController controller, Int32 val ) : System
channel DeviceControlChannel /// The control channel for the wiper. ///
controller MicrochipPotDeviceController /// The device controller. ///
val System.Int32 /// The device reading value. ///
return System