The OneShotShelve Method sets the instance of AlarmConditionType to the OneShotShelved state. Normally, the MethodId found in the Shelving child of the Condition instance and the NodeId of the Shelving object as the ObjectId are passed to the Call Service. However, some Servers do not expose Condition instances in the AddressSpace. Therefore, all Servers shall also allow Clients to call the OneShotShelve Method by specifying ConditionId as the ObjectId where the ConditionId is the Condition that has the Shelving child. The Method cannot be called with an ObjectId of the ShelvedStateMachineType Node. This Method can be called on any ConditionId, even if it is not active.
Signature
OneShotShelve( );
Method Result Codes are defined in Table 87 (status code field is defined in Call Serv ice)
Table 87 – OneShotShelve result codes
Result Code |
Description |
Bad_ConditionAlreadyShelved |
See Table 137 for the description of this result code. The Alarm is already in OneShotShelved state. |
Table 88 specifies the AddressSpace representation for the OneShotShelve Method.
Table 88 – OneShotShelve Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
OneShotShelve |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
AlwaysGeneratesEvent |
ObjectType |
AuditConditionShelvingEventType |
Defined in 5.10.7 |
||
ConformanceUnits |
|||||
A & C Shelving |
If Auditing is supported, this Method shall generate an Event of AuditConditionShelvingEventType for all invocations of the Method.