AddToStation

<< Click to Display Table of Contents >>

 

AddToStation

AddToStation(idElement, [idStation])

Adds the element indicated by the idElement parameter to the Hydraulic Plant indicated by the idStation parameter. If the value of the idStation parameter is a null ID ("{00000000-0000-0000-0000-000000000000}"), a new Hydraulic Plant is created in the element indicated by idElement. Otherwise, the indicated ID must exist previously. This method returns the added or created Hydraulic Plant.

 

NOTE

For more information about the format of the idElement and idStation parameters, please check the ID property, common to all devices.

Was this page useful?