StateInfo Structure

The structure contains the ADS state and device state.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public struct StateInfo : IEquatable<StateInfo>

The StateInfo type exposes the following members.

Constructors

 

Name

Description

StateInfo Structure 1:

StateInfo(ReadOnlySpan.Byte.)

Initializes a new instance of the StateInfo struct.

StateInfo Structure 2:

StateInfo(AdsState, Int16)

Initializes a new Instance of the StateInfo struct.

StateInfo Structure 3:

StateInfo(AdsState, UInt16)

Initializes a new Instance of the StateInfo struct.

Properties

 

Name

Description

StateInfo Structure 4:

AdsState

Gets or sets the ADS state of this StateInfo object.

StateInfo Structure 5:

DeviceState

Gets or sets the device state of this StateInfo object.

StateInfo Structure 6:

StateInfo Structure 7:

Empty

Empty / Invalid / Uninitialized state.

Methods

 

Name

Description

StateInfo Structure 8:

Equals(Object)

Determines whether the specified Object is equal to this instance. (Overrides ValueType.Equals(Object).)

StateInfo Structure 9:

Equals(StateInfo)

Determines whether the specified StateInfo is equal to this instance.

StateInfo Structure 10:

GetHashCode

Returns a hash code for this instance. (Overrides ValueType.GetHashCode..)

StateInfo Structure 11:

GetType

Gets the Type of the current instance. (Inherited from Object.)

StateInfo Structure 12:

ToString

Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Operators

 

Name

Description

StateInfo Structure 13:

StateInfo Structure 14:

Equality

Implements the ==.

StateInfo Structure 15:

StateInfo Structure 16:

Inequality

Implements the !=.

Reference

TwinCAT.Ads Namespace