C# Класс CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MCPTerminalConfiguration

Terminal configuration settings for the channel a given potentiometer instance is configured for.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Equals ( MCPTerminalConfiguration config ) : System.Boolean

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

Equals ( object obj ) : bool

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

GetHashCode ( ) : int

Serves as a hash function for a particular type.

MCPTerminalConfiguration ( MicrochipPotChannel chan, System.Boolean chanEnabled, System.Boolean pinAEnabled, System.Boolean pinWEnabled, System.Boolean pinBEnabled ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MCPTerminalConfiguration class with the channel and flags to indicated whether the channel is enabled or disabled as well as flags to indicate whether or not each pin is enabled or disabled.

ToString ( ) : string

Returns a System.String that represents the current CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MCPTerminalConfiguration.

Описание методов

Equals() публичный Метод

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

MCPTerminalConfiguration() публичный Метод

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MCPTerminalConfiguration class with the channel and flags to indicated whether the channel is enabled or disabled as well as flags to indicate whether or not each pin is enabled or disabled.
public MCPTerminalConfiguration ( MicrochipPotChannel chan, System.Boolean chanEnabled, System.Boolean pinAEnabled, System.Boolean pinWEnabled, System.Boolean pinBEnabled ) : System
chan MicrochipPotChannel /// The channel this terminal configuration represents. ///
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

ToString() публичный Метод

Returns a System.String that represents the current CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MCPTerminalConfiguration.
public ToString ( ) : string
Результат string