.NET Based OPC UA Client/Server SDK
3.3.1.531
|
The base VariableType for Variables that store a Transition that occurred within a StateMachine as a human readable name. More...
Inherits UnifiedAutomation.UaServer.BaseDataVariableModel.
Inherited by UnifiedAutomation.UaServer.FiniteTransitionVariableModel.
Public Member Functions | |||
TransitionVariableModel () | |||
Initializes a new instance of the TransitionVariableModel class. More... | |||
TransitionVariableModel (TransitionVariableModel template, DummyArgument dummy=null) | |||
Initializes a new instance of the TransitionVariableModel class. More... | |||
Public Member Functions inherited from UnifiedAutomation.UaServer.BaseDataVariableModel | |||
BaseDataVariableModel () | |||
Initializes a new instance of the BaseDataVariableModel class. More... | |||
BaseDataVariableModel (BaseDataVariableModel template, DummyArgument dummy=null) | |||
Initializes a new instance of the BaseDataVariableModel class. More... | |||
Public Member Functions inherited from UnifiedAutomation.UaServer.BaseVariableModel | |||
BaseVariableModel () | |||
Initializes a new instance of the BaseVariableModel class. More... | |||
BaseVariableModel (BaseVariableModel template, DummyArgument dummy=null) | |||
Initializes a new instance of the BaseVariableModel class. More... | |||
Public Member Functions inherited from UnifiedAutomation.UaServer.ModelControllerBase | |||
virtual ModelHandle | GetModelHandle (StringTable namespaceUris, object instance) | ||
Gets the metadata handle. More... | |||
virtual DataValue | GetValue (IMapperContext context, ModelMapping mapping) | ||
Gets the value associated with the mapping. More... | |||
virtual bool | SetValue (IMapperContext context, ModelMapping mapping, DataValue value) | ||
Sets the value associated with the mapping. More... | |||
StatusCode | GetStatusCode (string propertyName) | ||
Retrieve the status code for the given property. If no status code was explicitly set, StatusCodes.Good will be returned.
| |||
void | SetStatusCode (string propertyName, StatusCode statusCode) | ||
Sets the status code of the given property. More... | |||
Properties | |
new LocalizedText | Value [get, set] |
Gets or sets the value. More... | |
DateTime | EffectiveTransitionTime [get, set] |
Specifies the time when the current state or one of its substates was entered. More... | |
object | Id [get, set] |
A name which uniquely identifies a Transition within the StateMachineType. More... | |
QualifiedName | Name [get, set] |
A QualifiedName which uniquely identifies a transition within the StateMachineType. More... | |
uint | Number [get, set] |
An integer which uniquely identifies a transition within the StateMachineType. More... | |
DateTime | TransitionTime [get, set] |
Specifies when the transition occurred. More... | |
Properties inherited from UnifiedAutomation.UaServer.BaseVariableModel | |
object | Value [get, set] |
Gets or sets the value. More... | |
Properties inherited from UnifiedAutomation.UaServer.ModelControllerBase | |
ModelHandle | ModelHandle [get, set] |
Gets or sets the metadata handle. More... | |
object | UserData [get, set] |
Gets or sets the user data. More... | |
Properties inherited from UnifiedAutomation.UaServer.INotifyStatusCodeInfo | |
bool | HasStatusCodes [get] |
true if no property has an explicit set status code. Hence when all status codes are implicit StatusCodes.Good. More... | |
Additional Inherited Members | |
Public Attributes inherited from UnifiedAutomation.UaServer.ModelControllerBase | |
bool | HasStatusCodes => m_statusCodes != null && m_statusCodes.Count > 0 |
Protected Member Functions inherited from UnifiedAutomation.UaServer.ModelControllerBase | |
void | RaisePropertyChangedEvent ([CallerMemberName] string propertyName=null) |
Raises an property change event. More... | |
void | RaisePropertyChangeRequestedEvent< T > (T value, [CallerMemberName] string propertyName=null) |
Called when the value of a property is supposed to be changed. More... | |
bool | SetField< T > (ref T field, T value, [CallerMemberName] string propertyName=null) |
Sets the backing field to the new value, and triggers a property change event, if the value has changed. More... | |
Events inherited from UnifiedAutomation.UaServer.ModelControllerBase | |
PropertyChangedEventHandler | PropertyChanged |
Occurs when a property value changes. More... | |
EventHandler < PropertyChangeRequestedEventArgs > | PropertyChangeRequested |
The event is emitted just before the value will be changed, and gives the observer the opportunity to reject or adjust (e.g. clamp) the property change by setting the PropertyChangeRequestedEventArgs.StatusCode and PropertyChangeRequestedEventArgs.Value properties. More... | |
EventHandler < StatusCodeChangedEventArgs > | StatusCodeChanged |
Events inherited from UnifiedAutomation.UaServer.INotifyPropertyChangeRequested | |
EventHandler < PropertyChangeRequestedEventArgs > | PropertyChangeRequested |
The property change request event. More... | |
Events inherited from UnifiedAutomation.UaServer.INotifyStatusCodeInfo | |
EventHandler < StatusCodeChangedEventArgs > | StatusCodeChanged |
Occurs if the status code of a property was changed. More... | |
The base VariableType for Variables that store a Transition that occurred within a StateMachine as a human readable name.
The SourceTimestamp for the value specifies when the Transition occurred. This value may also be exposed with the TransitionTime Property.
UnifiedAutomation.UaServer.TransitionVariableModel.TransitionVariableModel | ( | ) |
Initializes a new instance of the TransitionVariableModel class.
UnifiedAutomation.UaServer.TransitionVariableModel.TransitionVariableModel | ( | TransitionVariableModel | template, |
DummyArgument | dummy = null |
||
) |
Initializes a new instance of the TransitionVariableModel class.
template | The template. |
dummy | Dummy argument to enable writing own constructors that are called by the generated code. |
|
getset |
Specifies the time when the current state or one of its substates was entered.
If, for example, a StateA is active and – while active – switches several times between its substates SubA and SubB, then the TransitionTime stays at the point in time where StateA became active whereas the EffectiveTransitionTime changes with each change of a substate.
|
getset |
A name which uniquely identifies a Transition within the StateMachineType.
A subtype may restrict the DataType.
|
getset |
A QualifiedName which uniquely identifies a transition within the StateMachineType.
|
getset |
An integer which uniquely identifies a transition within the StateMachineType.
|
getset |
Specifies when the transition occurred.
|
getset |
Gets or sets the value.