LinesI (Int) Interface
This interface can be used to read/modify the properties of the Lines Class where the values are integers. The structure of the interface is as follows:
int32_t LinesI(int32_t Parameter, int32_t argument)
This interface returns an integer (signed 32 bits), the variable “parameter” is used to specify the property of the class to be used and the variable “argument” can be used to modify the value of the property when necessary. Reading and writing properties are separated and require a different parameter number to be executed.
The properties (parameter) are integer numbers and are described as follows:
Parameter 0: Lines.First
This parameter sets the first element active. Returns 0 if no lines. Otherwise, index of the line element.
Parameter 1: Lines.Next
This parameter sets the next element active. Returns 0 if no lines. Otherwise, index of the line element.
Parameter 2: Lines.Phases read
This parameter gets the number of phases of the active line object.
Parameter 3: Lines.Phases write
This parameter sets the number of phases of the active line object.
Parameter 4: Lines.NumCust
This parameter gets the number of customers on this line section.
Parameter 5: Lines.Parent
This parameter gets the parents of the active Line to be the active Line. Return 0 if no parent or action fails.
Parameter 6: Lines.Count
This parameter gets the number of Line Objects in Active Circuit.
Parameter 7: Lines.Units read
This parameter gets the units of the line (distance, check manual for details).
Parameter 8: Lines.Units write
This parameter sets the units of the line (distance, check manual for details).