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

This class represents the wiper. It is used for devices knowing more than one wiper.
파일 보기 프로젝트 열기: cyrusbuilt/MonoPi 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
A DeviceControlChannel
ALL CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControlChannel[]
B DeviceControlChannel
C DeviceControlChannel
D DeviceControlChannel

공개 메소드들

메소드 설명
Equals ( DeviceControlChannel dcc ) : System.Boolean

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

Equals ( object obj ) : bool

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

GetHashCode ( ) : int

Serves as a hash function for a particular type.

ValueOf ( MicrochipPotChannel channel ) : DeviceControlChannel

Factory method for creating a device control channel based on the given potentiometer channel.

보호된 메소드들

메소드 설명
DeviceControlChannel ( Byte volatileMemAddr, Byte nonVolatileMemAddr, Byte termConAddr, Int32 hwConfigCtrlBit, Int32 termAConnCtrlBit, Int32 termBConnCtrlBit, Int32 wiperConnCtrlBit, MicrochipPotChannel chan ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControlChannel class with the volatile memory address, non-volatile memory address, terminal control address, hardware-config control bit, terminal A connection control bit, terminal B connection control bit, wiper connection control bit, and MCP potentiometer channel.

메소드 상세

DeviceControlChannel() 보호된 메소드

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControlChannel class with the volatile memory address, non-volatile memory address, terminal control address, hardware-config control bit, terminal A connection control bit, terminal B connection control bit, wiper connection control bit, and MCP potentiometer channel.
protected DeviceControlChannel ( Byte volatileMemAddr, Byte nonVolatileMemAddr, Byte termConAddr, Int32 hwConfigCtrlBit, Int32 termAConnCtrlBit, Int32 termBConnCtrlBit, Int32 wiperConnCtrlBit, MicrochipPotChannel chan ) : System
volatileMemAddr Byte /// The volatile memory address. ///
nonVolatileMemAddr Byte /// The non-volatile memory address. ///
termConAddr Byte /// The terminal control address. ///
hwConfigCtrlBit System.Int32 /// The hardware config control bit. ///
termAConnCtrlBit System.Int32 /// The terminal A connection control bit. ///
termBConnCtrlBit System.Int32 /// The terminal B connection control bit. ///
wiperConnCtrlBit System.Int32 /// The wiper connection control bit. ///
chan MicrochipPotChannel /// The MCP potentiometer channel. ///
리턴 System

Equals() 공개 메소드

Determines whether the specified CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControlChannel is equal to the current CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControlChannel.
public Equals ( DeviceControlChannel dcc ) : System.Boolean
dcc DeviceControlChannel /// 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.DeviceControlChannel.
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

ValueOf() 공개 정적인 메소드

Factory method for creating a device control channel based on the given potentiometer channel.
public static ValueOf ( MicrochipPotChannel channel ) : DeviceControlChannel
channel MicrochipPotChannel /// The MCP potentiometer channel. ///
리턴 DeviceControlChannel

프로퍼티 상세

A 공개적으로 정적으로 프로퍼티

Device control channel A.
public static DeviceControlChannel,CyrusBuilt.MonoPi.Components.Potentiometers.Microchip A
리턴 DeviceControlChannel

ALL 공개적으로 정적으로 프로퍼티

All device control channels.
public static DeviceControlChannel[],CyrusBuilt.MonoPi.Components.Potentiometers.Microchip ALL
리턴 CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControlChannel[]

B 공개적으로 정적으로 프로퍼티

Device control channel B.
public static DeviceControlChannel,CyrusBuilt.MonoPi.Components.Potentiometers.Microchip B
리턴 DeviceControlChannel

C 공개적으로 정적으로 프로퍼티

Device control channel C.
public static DeviceControlChannel,CyrusBuilt.MonoPi.Components.Potentiometers.Microchip C
리턴 DeviceControlChannel

D 공개적으로 정적으로 프로퍼티

Device control channel D.
public static DeviceControlChannel,CyrusBuilt.MonoPi.Components.Potentiometers.Microchip D
리턴 DeviceControlChannel