.NET Based OPC UA Client/Server SDK  3.3.0.530
UnifiedAutomation.UaServer.IActivatableModel Interface Reference

If a model, that is bind with IModelManager.BindModel, the ActivateModel(RequestContext) method will be called just after all child properties of that model are bound and the DeactivateModel method after the model was unbound. More...

Inherited by UnifiedAutomation.UaServer.ConditionModel.

Public Member Functions

void ActivateModel (RequestContext context)
 Called when the model was bound. More...
 
void DeactivateModel ()
 Called when the model was unbound. More...
 

Detailed Description

If a model, that is bind with IModelManager.BindModel, the ActivateModel(RequestContext) method will be called just after all child properties of that model are bound and the DeactivateModel method after the model was unbound.

Note that this interface is only respected by the IModelManager.BindModel binding mechanism, BaseNodeManager.LinkModelToNode(UaBase.NodeId, object, object, UaBase.IModelMapper, double, bool) will ignore this interface.

Member Function Documentation

void UnifiedAutomation.UaServer.IActivatableModel.ActivateModel ( RequestContext  context)

Called when the model was bound.

Parameters
context

Implemented in UnifiedAutomation.UaServer.AlarmConditionModel, and UnifiedAutomation.UaServer.ConditionModel.

void UnifiedAutomation.UaServer.IActivatableModel.DeactivateModel ( )

Called when the model was unbound.

Implemented in UnifiedAutomation.UaServer.ConditionModel.


The documentation for this interface was generated from the following file: