C# 클래스 CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControllerTerminalConfiguration

The device's terminal configuration for a certain channel.
파일 보기 프로젝트 열기: cyrusbuilt/MonoPi 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

DeviceControllerTerminalConfiguration() 공개 메소드

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. ///
리턴 System

Equals() 공개 메소드

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 .
리턴 System.Boolean

Equals() 공개 메소드

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 /// . ///
리턴 bool

GetHashCode() 공개 메소드

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