Show / Hide Table of Contents

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 Source

Signal(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
View Source

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 Source

IO

Declaration
public readonly byte[] IO
Field Value
Type Description
System.Byte[]

Properties

View Source

IsCleared

Get or set low state of IO

Declaration
public bool IsCleared { get; set; }
Property Value
Type Description
System.Boolean
View Source

IsOutput

Get or set the direction of the current IO

Declaration
public bool IsOutput { get; set; }
Property Value
Type Description
System.Boolean
View Source

IsSet

Get or set high state of IO

Declaration
public bool IsSet { get; set; }
Property Value
Type Description
System.Boolean
View Source

Name

The disply name of the current signal object

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

Methods

View Source

Clear()

Set IO low

Declaration
public void Clear()
View Source

Set()

Set IO high

Declaration
public void Set()
View Source

SetHighZ()

Set IO in high Z mode

Declaration
public void SetHighZ()
View Source

SetInput()

Set IO as input

Declaration
public void SetInput()
View Source

SetOutput()

Set IO as output

Declaration
public void SetOutput()
  • View Source
In This Article
Back to top Generated by DocFX