Class Signal
Provides functionality for FCT signals (IOs)
Inheritance
System.Object
Signal
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Elatec.FCT.Client.Hardware
Assembly: ElatecFCT.dll
Syntax
public class Signal
Constructors
View SourceSignal(String, Byte, Byte, ISignal)
Initializes a new instance of the Elatec.FCT.Client.Hardware.Signal using a pin and port
Declaration
public Signal(string displayName, byte port, byte pin, ISignal signalInterface)
Parameters
Type | Name | Description |
---|---|---|
System.String | displayName | |
System.Byte | port | |
System.Byte | pin | |
ISignal | signalInterface |
Signal(String, Byte[], ISignal)
Initializes a new instance of the ElatecFCT.Hardware.Signal using a IO byte[]
Declaration
public Signal(string displayName, byte[] portPin, ISignal signalInterface)
Parameters
Type | Name | Description |
---|---|---|
System.String | displayName | |
System.Byte[] | portPin | |
ISignal | signalInterface |
Fields
View SourceIO
Declaration
public readonly byte[] IO
Field Value
Type | Description |
---|---|
System.Byte[] |
Properties
View SourceIsCleared
Get or set low state of IO
Declaration
public bool IsCleared { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsOutput
Get or set the direction of the current IO
Declaration
public bool IsOutput { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSet
Get or set high state of IO
Declaration
public bool IsSet { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
The disply name of the current signal object
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceClear()
Set IO low
Declaration
public void Clear()
Set()
Set IO high
Declaration
public void Set()
SetHighZ()
Set IO in high Z mode
Declaration
public void SetHighZ()
SetInput()
Set IO as input
Declaration
public void SetInput()
SetOutput()
Set IO as output
Declaration
public void SetOutput()