The Disable Method is used to change a Condition instance to the Disabled state. Normally, the NodeId of the object instance as the ObjectId is passed to the Call Service. However, some Servers do not expose Condition instances in the AddressSpace. Therefore, all Servers shall allow Clients to call the Disable Method by specifying ConditionId as the ObjectId. The Method cannot be called with an ObjectId of the ConditionType Node. Since Condition instances may not be defined in the AddressSpace, the MethodId that is passed in the Call Service shall be the NodeId of the Disable Method on the ConditionType.
Signature
Disable();
Method Result Codes in Table 13 (defined in Call Serv ice)
Table 13 – Disable result codes
Result Code |
Description |
Bad_ConditionAlreadyDisabled |
See Table 137 for the description of this result code. |
Table 14 specifies the AddressSpace representation for the Disable Method.
Table 14 – Disable Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
Disable |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
AlwaysGeneratesEvent |
ObjectType |
AuditConditionEnableEventType |
Defined in 5.10.2 |
||
ConformanceUnits |
|||||
A & C Enable |
If Auditing is supported, this Method shall generate an Event of AuditConditionEnableEventType for all invocations of the Method.