C# Class CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControllerTerminalConfiguration

The device's terminal configuration for a certain channel.
ファイルを表示 Open project: cyrusbuilt/MonoPi Class Usage Examples

Public Methods

Method Description
DeviceControllerTerminalConfiguration ( DeviceControlChannel dcc, System.Boolean chanEnabled, System.Boolean pinAEnabled, System.Boolean pinWEnabled, System.Boolean pinBEnabled ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControllerTerminalConfiguration class with the device control channel, whether or not the channel is enabled, whether or not pin A is enabled, whether or not pin W is enabled, and whether or pin B is enabled.

Equals ( DeviceControllerTerminalConfiguration dctc ) : System.Boolean

Determines whether the specified CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControllerTerminalConfiguration is equal to the current CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControllerTerminalConfiguration.

Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to the current CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControllerTerminalConfiguration.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

Method Details

DeviceControllerTerminalConfiguration() public method

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControllerTerminalConfiguration class with the device control channel, whether or not the channel is enabled, whether or not pin A is enabled, whether or not pin W is enabled, and whether or pin B is enabled.
public DeviceControllerTerminalConfiguration ( DeviceControlChannel dcc, System.Boolean chanEnabled, System.Boolean pinAEnabled, System.Boolean pinWEnabled, System.Boolean pinBEnabled ) : System
dcc DeviceControlChannel /// The device control channel. ///
chanEnabled System.Boolean /// Set true to enable the channel. ///
pinAEnabled System.Boolean /// Set true to enable pin A. ///
pinWEnabled System.Boolean /// Set true to enable pin W. ///
pinBEnabled System.Boolean /// Set true to enable pin B. ///
return System

Equals() public method

Determines whether the specified CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControllerTerminalConfiguration is equal to the current CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControllerTerminalConfiguration.
public Equals ( DeviceControllerTerminalConfiguration dctc ) : System.Boolean
dctc DeviceControllerTerminalConfiguration The to /// compare with the current .
return System.Boolean

Equals() public method

Determines whether the specified System.Object is equal to the current CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControllerTerminalConfiguration.
public Equals ( object obj ) : bool
obj object /// The to compare with the current /// . ///
return bool

GetHashCode() public method

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
return int