ThePlaceInService2 Methodextends the PlaceInService Method, by adding an optional Comment. For other functionality see the PlaceInService Method definition.

Signature

PlaceInService2(

[in] LocalizedTextComment

);

The parameters are defined in Table 68.

Table 68– PlaceInService2 Method parameters

Argument

Description

Comment

A localized text to be applied to the Condition.

If the Commentargument is NULL (both locale and text are empty) it will be ignored and any existing comments will remain unchanged. If the comment is to be reset, an empty text with a locale shall be provided.

Methodresult codes in Table 69(defined in Call Service)

Table 69– PlaceInService2 result codes

Result Code

Description

Bad_MethodInvalid

The MethodIdprovided does not correspond to the ObjectIdprovided. See 10000-4for the general description of this result code.

Bad_NodeIdInvalid

Used to indicate that the specified ObjectIdis not valid or that the Methodwas called on the AlarmConditionType Node.

See 10000-4for the general description of this result code.

Comments

The PlaceInService2 Methodapplies to an Alarminstance, even if it is not currently in the Active State.

Table 70specifies the AddressSpacerepresentation for the PlaceInService2 Method.

Table 70– PlaceInService2 Method AddressSpace definition

Attribute

Value

BrowseName

PlaceInService2

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

HasProperty

Variable

InputArguments

Argument[]

PropertyType

Mandatory

AlwaysGeneratesEvent

ObjectType

AuditConditionOutOfServiceEventType

Defined in 5.10.12

ConformanceUnits

A & C OutOfService2

If Auditingis supported, this Methodshall generate an Eventof AuditConditionOutOfServiceEventTypefor all invocations of the Method.