Property | Type | Description | |
---|---|---|---|
OnAddComment | ConditionAddCommentEventHandler | ||
OnEnableDisable | ConditionEnableEventHandler |
Method | Description | |
---|---|---|
ConditionRefresh ( ISystemContext context, List |
Handles a condition refresh.
|
|
SetComment ( ISystemContext context, Opc.Ua.LocalizedText comment, string clientUserId ) : void |
Updates the condition after adding a comment.
|
|
SetEffectiveSubState ( ISystemContext context, Opc.Ua.LocalizedText displayName, System.DateTime transitionTime ) : void |
Called when one or more sub-states change state.
|
|
SetEnableState ( ISystemContext context, bool enabled ) : void |
Sets the enable state for the condition without raising events. This method ensures all related variables are set correctly. |
|
SetSeverity ( ISystemContext context, EventSeverity severity ) : void |
Sets the severity for the condition without raising events. This method ensures all related variables are set correctly. |
Method | Description | |
---|---|---|
GetCurrentUserId ( ISystemContext context ) : string |
Gets the current user id from the system context.
|
|
OnAddCommentCalled ( ISystemContext context, |
Called when the add comment method is called.
|
|
OnAfterCreate ( ISystemContext context, NodeState node ) : void |
Called after a node is created.
|
|
OnDisableCalled ( ISystemContext context, |
Handles the Disable method.
|
|
OnEnableCalled ( ISystemContext context, |
Handles the Enable method.
|
|
ProcessBeforeAddComment ( ISystemContext context, byte eventId, Opc.Ua.LocalizedText comment ) : |
Does any processing before adding a comment to a condition.
|
|
ProcessBeforeEnableDisable ( ISystemContext context, bool enabling ) : |
Does any processing before a condition is enabled or disabled.
|
|
ReportStateChange ( ISystemContext context, bool ignoreDisabledState ) : void |
Reports the state change for the condition.
|
|
UpdateEffectiveState ( ISystemContext context ) : void |
Updates the effective state for the condition.
|
|
UpdateStateAfterDisable ( ISystemContext context ) : void |
Updates the condition state after disabling.
|
|
UpdateStateAfterEnable ( ISystemContext context ) : void |
Updates the condition state after enabling.
|
public ConditionRefresh ( ISystemContext context, List |
||
context | ISystemContext | |
events | List |
|
includeChildren | bool | |
return | void |
protected GetCurrentUserId ( ISystemContext context ) : string | ||
context | ISystemContext | The system context. |
return | string |
protected OnAddCommentCalled ( ISystemContext context, |
||
context | ISystemContext | The system context. |
method | The method being called. | |
objectId | Opc.Ua.NodeId | The id of the object. |
eventId | byte | The identifier for the event which is the target for the comment. |
comment | Opc.Ua.LocalizedText | The comment. |
return |
protected OnAfterCreate ( ISystemContext context, NodeState node ) : void | ||
context | ISystemContext | |
node | NodeState | |
return | void |
protected OnDisableCalled ( ISystemContext context, |
||
context | ISystemContext | |
method | ||
inputArguments | IList |
|
outputArguments | IList |
|
return |
protected OnEnableCalled ( ISystemContext context, |
||
context | ISystemContext | |
method | ||
inputArguments | IList |
|
outputArguments | IList |
|
return |
protected ProcessBeforeAddComment ( ISystemContext context, byte eventId, Opc.Ua.LocalizedText comment ) : |
||
context | ISystemContext | The system context. |
eventId | byte | The identifier for the event which is the target for the comment. |
comment | Opc.Ua.LocalizedText | The comment. |
return |
protected ProcessBeforeEnableDisable ( ISystemContext context, bool enabling ) : |
||
context | ISystemContext | The system context. |
enabling | bool | True is the condition is being enabled. |
return |
protected ReportStateChange ( ISystemContext context, bool ignoreDisabledState ) : void | ||
context | ISystemContext | The context. |
ignoreDisabledState | bool | if set to |
return | void |
public SetComment ( ISystemContext context, Opc.Ua.LocalizedText comment, string clientUserId ) : void | ||
context | ISystemContext | The system context. |
comment | Opc.Ua.LocalizedText | The comment. |
clientUserId | string | The user that added the comment. |
return | void |
public SetEffectiveSubState ( ISystemContext context, Opc.Ua.LocalizedText displayName, System.DateTime transitionTime ) : void | ||
context | ISystemContext | The context. |
displayName | Opc.Ua.LocalizedText | The display name for the effective state. |
transitionTime | System.DateTime | The transition time. |
return | void |
public SetEnableState ( ISystemContext context, bool enabled ) : void | ||
context | ISystemContext | The system context. |
enabled | bool | If true the condition is put into the Enabled state. |
return | void |
public SetSeverity ( ISystemContext context, EventSeverity severity ) : void | ||
context | ISystemContext | The system context. |
severity | EventSeverity | The event severity. |
return | void |
protected UpdateEffectiveState ( ISystemContext context ) : void | ||
context | ISystemContext | The context. |
return | void |
protected UpdateStateAfterDisable ( ISystemContext context ) : void | ||
context | ISystemContext | The system context. |
return | void |
protected UpdateStateAfterEnable ( ISystemContext context ) : void | ||
context | ISystemContext | The system context. |
return | void |
public ConditionAddCommentEventHandler OnAddComment | ||
return | ConditionAddCommentEventHandler |