Struct SignalState
Represents the current state of a Signal.
Namespace: ABB.Robotics.Controllers.IOSystemDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public struct SignalState
Properties
Quality
Gets the valid status of the signal
Declaration
public readonly SignalQuality Quality { get; }
Property Value
Type | Description |
---|---|
SignalQuality | One of the SignalQuality values. |
Simulated
Gets the simulated status of the signal
Declaration
public readonly bool Simulated { get; }
Property Value
Type | Description |
---|---|
Boolean | true the signal is simulated; false the signal is not simulated. |
Value
Gets the value of the signal
Declaration
public readonly float Value { get; }
Property Value
Type | Description |
---|---|
Single | A value that represents the logical value of the signal. |
Methods
Equals(SignalState)
Equalses the specified state.
Declaration
public bool Equals(SignalState state)
Parameters
Type | Name | Description |
---|---|---|
SignalState | state | The state. |
Returns
Type | Description |
---|---|
Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean | true if the specified Object is equal to the current Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | A hash code for the current Object. |
Overrides
Operators
Equality(SignalState, SignalState)
Operator ==s the specified s1.
Declaration
public static bool operator ==(SignalState s1, SignalState s2)
Parameters
Type | Name | Description |
---|---|---|
SignalState | s1 | The s1. |
SignalState | s2 | The s2. |
Returns
Type | Description |
---|---|
Boolean |
Inequality(SignalState, SignalState)
Operator !=s the specified s1.
Declaration
public static bool operator !=(SignalState s1, SignalState s2)
Parameters
Type | Name | Description |
---|---|---|
SignalState | s1 | The s1. |
SignalState | s2 | The s2. |
Returns
Type | Description |
---|---|
Boolean |