UA Bundle SDK .NET  2.2.0.255
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
UnifiedAutomation.UaServer.ConditionModel Class Reference

More...

Inherits UnifiedAutomation.UaServer.BaseEventModel, and UnifiedAutomation.UaServer.IMethodDispatcher.

Inherited by UnifiedAutomation.UaServer.AcknowledgeableConditionModel, and UnifiedAutomation.UaServer.DialogConditionModel.

Public Member Functions

virtual StatusCode Enable (RequestContext context)
 Enables the condition. More...
 
virtual StatusCode Disable (RequestContext context)
 Disables the condition. More...
 
virtual StatusCode AddComment (RequestContext context, byte[] eventId, LocalizedText comment)
 Adds a comment to the condition. More...
 
virtual void UpdateEnabledEffectiveDisplayName ()
 Updates the effect display name for the enabled state. More...
 
 ConditionModel ()
 Initializes a new instance of the ConditionModel class. More...
 
 ConditionModel (ConditionModel template)
 Initializes a new instance of the ConditionModel class. More...
 
override void UpdateEvent (GenericEvent e)
 Updates the event. More...
 
virtual CallMethodEventHandler GetMethodDispatcher (RequestContext context, NodeId objectId, NodeId methodId)
 Gets the method dispatcher. More...
 
virtual StatusCode DispatchMethod (RequestContext context, MethodHandle methodHandle, IList< Variant > inputArguments, List< StatusCode > inputArgumentResults, List< Variant > outputArguments)
 Dispatches the method. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaServer.BaseEventModel
 BaseEventModel ()
 Initializes a new instance of the BaseEventModel class. More...
 
 BaseEventModel (BaseEventModel template)
 Initializes a new instance of the BaseEventModel class. More...
 
void NewId ()
 Assigns a new event id, time and receive time to the event. More...
 
virtual GenericEvent CreateEvent (FilterManager manager)
 Creates the event. 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...
 

Properties

NodeId BranchId [get, set]
 Gets or sets the BranchId More...
 
string ClientUserId [get, set]
 Gets or sets the ClientUserId More...
 
ConditionVariableModel
< LocalizedText
Comment [get, set]
 Gets or sets the Comment More...
 
NodeId ConditionClassId [get, set]
 Gets or sets the ConditionClassId More...
 
LocalizedText ConditionClassName [get, set]
 Gets or sets the ConditionClassName More...
 
string ConditionName [get, set]
 Gets or sets the ConditionName More...
 
TwoStateVariableModel EnabledState [get, set]
 Gets or sets the EnabledState More...
 
ConditionVariableModel< ushort > LastSeverity [get, set]
 Gets or sets the LastSeverity More...
 
ConditionVariableModel
< StatusCode
Quality [get, set]
 Gets or sets the Quality More...
 
bool Retain [get, set]
 Gets or sets the Retain More...
 
IConditionMethods ConditionMethods [get, set]
 Gets or sets the Condition methods. More...
 
- Properties inherited from UnifiedAutomation.UaServer.BaseEventModel
NodeId NodeId [get, set]
 Gets or sets the event id. More...
 
byte[] EventId [get, set]
 Gets or sets the event id. More...
 
NodeId EventType [get, set]
 Gets or sets the type of the event. More...
 
NodeId SourceNode [get, set]
 Gets or sets the source node. More...
 
string SourceName [get, set]
 Gets or sets the name of the source. More...
 
DateTime Time [get, set]
 Gets or sets the time. More...
 
DateTime ReceiveTime [get, set]
 Gets or sets the receive time. More...
 
TimeZoneDataType LocalTime [get, set]
 Gets or sets the local time. More...
 
LocalizedText Message [get, set]
 Gets or sets the message. More...
 
ushort Severity [get, set]
 Gets or sets the severity. 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...
 

Detailed Description

Constructor & Destructor Documentation

UnifiedAutomation.UaServer.ConditionModel.ConditionModel ( )
inline

Initializes a new instance of the ConditionModel class.

UnifiedAutomation.UaServer.ConditionModel.ConditionModel ( ConditionModel  template)
inline

Initializes a new instance of the ConditionModel class.

Parameters
templateThe template.

Member Function Documentation

virtual StatusCode UnifiedAutomation.UaServer.ConditionModel.AddComment ( RequestContext  context,
byte[]  eventId,
LocalizedText  comment 
)
inlinevirtual

Adds a comment to the condition.

virtual StatusCode UnifiedAutomation.UaServer.ConditionModel.Disable ( RequestContext  context)
inlinevirtual

Disables the condition.

virtual StatusCode UnifiedAutomation.UaServer.ConditionModel.DispatchMethod ( RequestContext  context,
MethodHandle  methodHandle,
IList< Variant inputArguments,
List< StatusCode inputArgumentResults,
List< Variant outputArguments 
)
inlinevirtual

Dispatches the method.

Parameters
contextThe context.
methodHandleThe method handle.
inputArgumentsThe input arguments.
inputArgumentResultsThe input argument results.
outputArgumentsThe output arguments.
Returns

Reimplemented in UnifiedAutomation.UaServer.DialogConditionModel, and UnifiedAutomation.UaServer.AcknowledgeableConditionModel.

virtual StatusCode UnifiedAutomation.UaServer.ConditionModel.Enable ( RequestContext  context)
inlinevirtual

Enables the condition.

virtual CallMethodEventHandler UnifiedAutomation.UaServer.ConditionModel.GetMethodDispatcher ( RequestContext  context,
NodeId  objectId,
NodeId  methodId 
)
inlinevirtual

Gets the method dispatcher.

Parameters
contextThe context.
objectIdThe object id.
methodIdThe method id.
Returns

Implements UnifiedAutomation.UaServer.IMethodDispatcher.

Reimplemented in UnifiedAutomation.UaServer.DialogConditionModel, and UnifiedAutomation.UaServer.AcknowledgeableConditionModel.

virtual void UnifiedAutomation.UaServer.ConditionModel.UpdateEnabledEffectiveDisplayName ( )
inlinevirtual

Property Documentation

NodeId UnifiedAutomation.UaServer.ConditionModel.BranchId
getset

Gets or sets the BranchId

The BranchId

string UnifiedAutomation.UaServer.ConditionModel.ClientUserId
getset

Gets or sets the ClientUserId

The ClientUserId

ConditionVariableModel<LocalizedText> UnifiedAutomation.UaServer.ConditionModel.Comment
getset

Gets or sets the Comment

The Comment

NodeId UnifiedAutomation.UaServer.ConditionModel.ConditionClassId
getset

Gets or sets the ConditionClassId

The ConditionClassId

LocalizedText UnifiedAutomation.UaServer.ConditionModel.ConditionClassName
getset

Gets or sets the ConditionClassName

The ConditionClassName

IConditionMethods UnifiedAutomation.UaServer.ConditionModel.ConditionMethods
getset

Gets or sets the Condition methods.

The Condition methods.

string UnifiedAutomation.UaServer.ConditionModel.ConditionName
getset

Gets or sets the ConditionName

The ConditionName

TwoStateVariableModel UnifiedAutomation.UaServer.ConditionModel.EnabledState
getset

Gets or sets the EnabledState

The EnabledState

ConditionVariableModel<ushort> UnifiedAutomation.UaServer.ConditionModel.LastSeverity
getset

Gets or sets the LastSeverity

The LastSeverity

ConditionVariableModel<StatusCode> UnifiedAutomation.UaServer.ConditionModel.Quality
getset

Gets or sets the Quality

The Quality

bool UnifiedAutomation.UaServer.ConditionModel.Retain
getset

Gets or sets the Retain

The Retain


The documentation for this class was generated from the following files: