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

Initializes a new Instance of the StateInfo struct.

Properties

 

Name

Description

AdsState

Gets or sets the ADS state of this StateInfo object.

DeviceState

Gets or sets the device state of this StateInfo object.

Methods

 

Name

Description

Equals(Object)

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

Equals(StateInfo)

Determines whether the specified StateInfo is equal to this instance.

GetHashCode

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

GetType

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

ToString

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

Operators

 

Name

Description

Equality

Implements the ==.

Inequality

Implements the !=.

Reference

TwinCAT.Ads Namespace