C# Class Emlid.WindowsIot.Hardware.Components.NxpPca9685.NxpPca9685Channel

References an NxpPca9685ChannelValue by index and provides change notification.
Mostra file Open project: emlid/Navio-SDK-Windows-IoT

Public Methods

Method Description
Equals ( object obj ) : bool

Compares this object with another by value.

GetHashCode ( ) : int

Returns a hashcode based on the current value of this object.

NxpPca9685Channel ( int index ) : System

Creates an instance at the specified index and an empty value.

NxpPca9685Channel ( int index, NxpPca9685ChannelValue value ) : System

Creates an instance with the specified values.

operator ( ) : bool

Tests two objects of this type for inequality by value.

Private Methods

Method Description
DoValueChanged ( ) : void

Fires the ValueChanged event.

OnValueChanged ( object sender, EventArgs arguments ) : void

Fires the ValueChanged event when the NxpPca9685ChannelValue.Changed event is received.

Method Details

Equals() public method

Compares this object with another by value.
public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

Returns a hashcode based on the current value of this object.
public GetHashCode ( ) : int
return int

NxpPca9685Channel() public method

Creates an instance at the specified index and an empty value.
public NxpPca9685Channel ( int index ) : System
index int
return System

NxpPca9685Channel() public method

Creates an instance with the specified values.
public NxpPca9685Channel ( int index, NxpPca9685ChannelValue value ) : System
index int
value NxpPca9685ChannelValue
return System

operator() public static method

Tests two objects of this type for inequality by value.
public static operator ( ) : bool
return bool