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

More...

Inherits UnifiedAutomation.UaServer.ConditionModel, and UnifiedAutomation.UaServer.IMethodDispatcher.

Inherited by UnifiedAutomation.UaServer.AlarmConditionModel.

Public Member Functions

virtual StatusCode Acknowledge (RequestContext context, byte[] eventId, LocalizedText comment)
 Acknowledges an alarm. More...
 
virtual StatusCode Confirm (RequestContext context, byte[] eventId, LocalizedText comment)
 Confirms an alarm. More...
 
virtual void ResetAcked (RequestContext context)
 Sets the state to unacknownledged and unconfirmed. More...
 
override void UpdateEnabledEffectiveDisplayName ()
 Updates the effect display name for the enabled state. More...
 
 AcknowledgeableConditionModel ()
 Initializes a new instance of the AcknowledgeableConditionModel class. More...
 
 AcknowledgeableConditionModel (AcknowledgeableConditionModel template)
 Initializes a new instance of the AcknowledgeableConditionModel class. More...
 
override void UpdateEvent (GenericEvent e)
 Updates the event. More...
 
override CallMethodEventHandler GetMethodDispatcher (RequestContext context, NodeId objectId, NodeId methodId)
 Gets the method dispatcher. More...
 
override 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.ConditionModel
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...
 
 ConditionModel ()
 Initializes a new instance of the ConditionModel class. More...
 
 ConditionModel (ConditionModel template)
 Initializes a new instance of the ConditionModel class. 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

TwoStateVariableModel AckedState [get, set]
 Gets or sets the AckedState More...
 
TwoStateVariableModel ConfirmedState [get, set]
 Gets or sets the ConfirmedState More...
 
new TwoStateVariableModel EnabledState [get, set]
 Gets or sets the EnabledState More...
 
IAcknowledgeableConditionMethods AcknowledgeableConditionMethods [get, set]
 Gets or sets the AcknowledgeableCondition methods. More...
 
- Properties inherited from UnifiedAutomation.UaServer.ConditionModel
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.AcknowledgeableConditionModel.AcknowledgeableConditionModel ( )
inline

Initializes a new instance of the AcknowledgeableConditionModel class.

UnifiedAutomation.UaServer.AcknowledgeableConditionModel.AcknowledgeableConditionModel ( AcknowledgeableConditionModel  template)
inline

Initializes a new instance of the AcknowledgeableConditionModel class.

Parameters
templateThe template.

Member Function Documentation

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

Acknowledges an alarm.

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

Confirms an alarm.

override StatusCode UnifiedAutomation.UaServer.AcknowledgeableConditionModel.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 from UnifiedAutomation.UaServer.ConditionModel.

override CallMethodEventHandler UnifiedAutomation.UaServer.AcknowledgeableConditionModel.GetMethodDispatcher ( RequestContext  context,
NodeId  objectId,
NodeId  methodId 
)
inline

Gets the method dispatcher.

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

Implements UnifiedAutomation.UaServer.IMethodDispatcher.

virtual void UnifiedAutomation.UaServer.AcknowledgeableConditionModel.ResetAcked ( RequestContext  context)
inlinevirtual

Sets the state to unacknownledged and unconfirmed.

override void UnifiedAutomation.UaServer.AcknowledgeableConditionModel.UpdateEnabledEffectiveDisplayName ( )
inlinevirtual

Updates the effect display name for the enabled state.

Reimplemented from UnifiedAutomation.UaServer.ConditionModel.

Reimplemented in UnifiedAutomation.UaServer.ExclusiveLimitAlarmModel, and UnifiedAutomation.UaServer.AlarmConditionModel.

Property Documentation

TwoStateVariableModel UnifiedAutomation.UaServer.AcknowledgeableConditionModel.AckedState
getset

Gets or sets the AckedState

The AckedState

IAcknowledgeableConditionMethods UnifiedAutomation.UaServer.AcknowledgeableConditionModel.AcknowledgeableConditionMethods
getset

Gets or sets the AcknowledgeableCondition methods.

The AcknowledgeableCondition methods.

TwoStateVariableModel UnifiedAutomation.UaServer.AcknowledgeableConditionModel.ConfirmedState
getset

Gets or sets the ConfirmedState

The ConfirmedState

new TwoStateVariableModel UnifiedAutomation.UaServer.AcknowledgeableConditionModel.EnabledState
getset

Gets or sets the EnabledState

The EnabledState


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