.NET Based OPC UA Client/Server SDK
3.3.0.530
|
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... | |
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.
void UnifiedAutomation.UaServer.IActivatableModel.ActivateModel | ( | RequestContext | context | ) |
Called when the model was bound.
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.