Skip to content

Reference

OpcStateMachineTransitionAttribute Members

Defines an unique transition from one state to another state a custom OpcStateMachineNode can perform.

Reference

OpcStateMachineTransitionAttribute Members ​

Type
OpcStateMachineTransitionAttribute
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Inherits members from Attribute.

Constructors ​

OpcStateMachineTransitionAttribute ​

4 overloads

OverloadDescription
OpcStateMachineTransitionAttribute(object, object)Initializes a new instance of the OpcStateMachineTransitionAttribute class using the from and to values of the transition to define.
OpcStateMachineTransitionAttribute(uint, object, object)Initializes a new instance of the OpcStateMachineTransitionAttribute class using the number, from and to of the transition to define.
OpcStateMachineTransitionAttribute(uint, string, uint, string)Initializes a new instance of the OpcStateMachineTransitionAttribute class using the from, fromName, to and toName of the transition to define.
OpcStateMachineTransitionAttribute(uint, uint, string, uint, string)Initializes a new instance of the OpcStateMachineTransitionAttribute class using the number, from, fromName, to and toName of the transition to define.

OpcStateMachineTransitionAttribute(object, object) ​

Initializes a new instance of the OpcStateMachineTransitionAttribute class using the from and to values of the transition to define.

csharp
public OpcStateMachineTransitionAttribute(object from, object to)
vbnet
Public Sub New(from As Object, [to] As Object)

Parameters

NameTypeDescription
fromObjectA numerical or enumeration value which is used to uniquely identify the state 'from' which the transition begins.
toObjectA numerical or enumeration value which is used to uniquely identify the state 'to' which the transition goes.

OpcStateMachineTransitionAttribute(uint, object, object) ​

Initializes a new instance of the OpcStateMachineTransitionAttribute class using the number, from and to of the transition to define.

csharp
public OpcStateMachineTransitionAttribute(uint number, object from, object to)
vbnet
Public Sub New(number As UInteger, from As Object, [to] As Object)

Parameters

NameTypeDescription
numberUInt32The unique number of the transition to define.
fromObjectA numerical or enumeration value which is used to uniquely identify the state 'from' which the transition begins.
toObjectA numerical or enumeration value which is used to uniquely identify the state 'to' which the transition goes.

OpcStateMachineTransitionAttribute(uint, string, uint, string) ​

Initializes a new instance of the OpcStateMachineTransitionAttribute class using the from, fromName, to and toName of the transition to define.

csharp
public OpcStateMachineTransitionAttribute(
    uint from,
    string fromName,
    uint to,
    string toName)
vbnet
Public Sub New(
    from As UInteger,
    fromName As String,
    [to] As UInteger,
    toName As String)

Parameters

NameTypeDescription
fromUInt32An uint value which is used to uniquely identify the state 'from' which the transition begins.
fromNameStringThe unique name of the state 'from' which the transition begins.
toUInt32An uint value which is used to uniquely identify the state 'to' which the transition goes.
toNameStringThe unique name of the state 'to' which the transition goes.

OpcStateMachineTransitionAttribute(uint, uint, string, uint, string) ​

Initializes a new instance of the OpcStateMachineTransitionAttribute class using the number, from, fromName, to and toName of the transition to define.

csharp
public OpcStateMachineTransitionAttribute(
    uint number,
    uint from,
    string fromName,
    uint to,
    string toName)
vbnet
Public Sub New(
    number As UInteger,
    from As UInteger,
    fromName As String,
    [to] As UInteger,
    toName As String)

Parameters

NameTypeDescription
numberUInt32The unique number of the transition to define.
fromUInt32An uint value which is used to uniquely identify the state 'from' which the transition begins.
fromNameStringThe unique name of the state 'from' which the transition begins.
toUInt32An uint value which is used to uniquely identify the state 'to' which the transition goes.
toNameStringThe unique name of the state 'to' which the transition goes.

Properties ​

From ​

Gets a value uniquely identifying the state 'from' which the transition begins.

csharp
public object From { get; }
vbnet
Public ReadOnly Property From As Object

Property value

Object

An object representing a numerical or enumeration value which is used to uniquely identify the state used as the 'from' state of the transition.

FromName ​

Gets the unique name of the From state.

csharp
public string FromName { get; }
vbnet
Public ReadOnly Property FromName As String

Property value

String

A string representing the unique name of the From state.

Number ​

Gets the unique number of the transition to define.

csharp
public uint? Number { get; }
vbnet
Public ReadOnly Property Number As UInteger?

Property value

Nullable<UInt32>

An uint used to define the unique number of the transition or a null reference (Nothing in Visual Basic); if the transition is to be numbered in sequence.

To ​

Gets a value uniquely identifying the state 'to' which the transition goes.

csharp
public object To { get; }
vbnet
Public ReadOnly Property [To] As Object

Property value

Object

An object representing a numerical or enumeration value which is used to uniquely identify the state used as the 'to' state of the transition.

ToName ​

Gets the unique name of the To state.

csharp
public string ToName { get; }
vbnet
Public ReadOnly Property ToName As String

Property value

String

A string representing the unique name of the To state.