StateInfo Structure

The structure contains the ADS state and device state.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public struct StateInfo

VB

Public Structure StateInfo

The StateInfo type exposes the following members.

Constructors

 

Name

Description

StateInfo Structure 1:

StateInfo

Initializes a new Instance of the StateInfo struct.

Properties

 

Name

Description

StateInfo Structure 2:

AdsState

Gets or sets the ADS state of this StateInfo object.

StateInfo Structure 3:

DeviceState

Gets or sets the device state of this StateInfo object.

Methods

 

Name

Description

StateInfo Structure 4:

Equals(Object)

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

StateInfo Structure 5:

Equals(StateInfo)

Determines whether the specified StateInfo is equal to this instance.

StateInfo Structure 6:

GetHashCode

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

StateInfo Structure 7:

GetType

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

StateInfo Structure 8:

ToString

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

Operators

 

Name

Description

StateInfo Structure 9:

StateInfo Structure 10:

Equality

Implements the ==.

StateInfo Structure 11:

StateInfo Structure 12:

Inequality

Implements the !=.

Reference

TwinCAT.Ads Namespace