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
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcfrom and to values of the transition to define. |
| Opc | Initializes a new instance of the Opcnumber, from and to of the transition to define. |
| Opc | Initializes a new instance of the Opcfrom, fromName, to and toName of the transition to define. |
| Opc | Initializes a new instance of the Opcnumber, 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.
public OpcStateMachineTransitionAttribute(object from, object to)Public Sub New(from As Object, [to] As Object)Parameters
| Name | Type | Description |
|---|---|---|
from | Object | A numerical or enumeration value which is used to uniquely identify the state 'from' which the transition begins. |
to | Object | A 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.
public OpcStateMachineTransitionAttribute(uint number, object from, object to)Public Sub New(number As UInteger, from As Object, [to] As Object)Parameters
| Name | Type | Description |
|---|---|---|
number | UInt32 | The unique number of the transition to define. |
from | Object | A numerical or enumeration value which is used to uniquely identify the state 'from' which the transition begins. |
to | Object | A 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.
public OpcStateMachineTransitionAttribute(
uint from,
string fromName,
uint to,
string toName)Public Sub New(
from As UInteger,
fromName As String,
[to] As UInteger,
toName As String)Parameters
| Name | Type | Description |
|---|---|---|
from | UInt32 | An uint value which is used to uniquely identify the state 'from' which the transition begins. |
fromName | String | The unique name of the state 'from' which the transition begins. |
to | UInt32 | An uint value which is used to uniquely identify the state 'to' which the transition goes. |
toName | String | The 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.
public OpcStateMachineTransitionAttribute(
uint number,
uint from,
string fromName,
uint to,
string toName)Public Sub New(
number As UInteger,
from As UInteger,
fromName As String,
[to] As UInteger,
toName As String)Parameters
| Name | Type | Description |
|---|---|---|
number | UInt32 | The unique number of the transition to define. |
from | UInt32 | An uint value which is used to uniquely identify the state 'from' which the transition begins. |
fromName | String | The unique name of the state 'from' which the transition begins. |
to | UInt32 | An uint value which is used to uniquely identify the state 'to' which the transition goes. |
toName | String | The unique name of the state 'to' which the transition goes. |
Properties
From
Gets a value uniquely identifying the state 'from' which the transition begins.
public object From { get; }Public ReadOnly Property From As ObjectProperty value
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.
public string FromName { get; }Public ReadOnly Property FromName As StringProperty value
A string representing the unique name of the From state.
Number
Gets the unique number of the transition to define.
public uint? Number { get; }Public ReadOnly Property Number As UInteger?Property value
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.
public object To { get; }Public ReadOnly Property [To] As ObjectProperty value
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.
public string ToName { get; }Public ReadOnly Property ToName As StringProperty value

