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

This class represents the wiper. It is used for devices knowing more than one wiper.
Afficher le fichier Open project: cyrusbuilt/MonoPi Class Usage Examples

Méthodes publiques

Свойство Type Description
A DeviceControlChannel
ALL CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControlChannel[]
B DeviceControlChannel
C DeviceControlChannel
D DeviceControlChannel

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

DeviceControlChannel() protected méthode

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. ///
Résultat System

Equals() public méthode

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 . ///
Résultat System.Boolean

Equals() public méthode

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 /// . ///
Résultat bool

GetHashCode() public méthode

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Résultat int

ValueOf() public static méthode

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. ///
Résultat DeviceControlChannel

Property Details

A public_oe static_oe property

Device control channel A.
public static DeviceControlChannel,CyrusBuilt.MonoPi.Components.Potentiometers.Microchip A
Résultat DeviceControlChannel

ALL public_oe static_oe property

All device control channels.
public static DeviceControlChannel[],CyrusBuilt.MonoPi.Components.Potentiometers.Microchip ALL
Résultat CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.DeviceControlChannel[]

B public_oe static_oe property

Device control channel B.
public static DeviceControlChannel,CyrusBuilt.MonoPi.Components.Potentiometers.Microchip B
Résultat DeviceControlChannel

C public_oe static_oe property

Device control channel C.
public static DeviceControlChannel,CyrusBuilt.MonoPi.Components.Potentiometers.Microchip C
Résultat DeviceControlChannel

D public_oe static_oe property

Device control channel D.
public static DeviceControlChannel,CyrusBuilt.MonoPi.Components.Potentiometers.Microchip D
Résultat DeviceControlChannel