MetersS (String) Interface
This interface can be used to read/write certain properties of the active DSS object. The structure of the interface is as follows:
CStr MetersS(int32_t Parameter, CStr Argument);
This interface returns a string according to the number sent in the variable “parameter”. The parameter can be one of the following:
Parameter 0: Meters.Name read
This parameter returns the active Energy Meter's name.
Parameter 1: Meters.Name Write
This parameter sets the active Energy Meter's name.
Parameter 2: Meters.MeteredElement read
This parameter returns the name of the metered element (considering the active Energy Meter).
Parameter 3: Meters.MeteredElement Write
This parameter sets the name of the metered element (considering the active Energy Meter).