This interface can be used to read/modify the properties of the LineCode Class where the values are doubles. The structure of the interface is as follows:


double LineCodesF(int32_t Parameter, double argument)


This interface returns a floating point number, 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: LineCodes.R1 read

This parameter gets the Positive-sequence resistance in ohms per unit length for the active LineCode.


Parameter 1: LinesCode.R1 write

This parameter sets the Positive-sequence resistance in ohms per unit length for the active LineCode. This value must be specified in the argument as a double.


Parameter 2: LineCodes.X1 read

This parameter gets the Positive-sequence reactance in ohms per unit length for the active LineCode.


Parameter 3: LinesCode.X1 write

This parameter sets the Positive-sequence reactance in ohms per unit length for the active LineCode. This value must be specified in the argument as a double.


Parameter 4: LineCodes.R0 read

This parameter gets the Zero-sequence resistance in ohms per unit length for the active LineCode.


Parameter 5: LinesCode.R0 write

This parameter sets the Zero-sequence resistance in ohms per unit length for the active LineCode. This value must be specified in the argument as a double.


Parameter 6: LineCodes.X0 read

This parameter gets the Zero-sequence reactance in ohms per unit length for the active LineCode.


Parameter 7: LinesCode.X0 write

This parameter sets the Zero-sequence reactance in ohms per unit length for the active LineCode. This value must be specified in the argument as a double.


Parameter 8: LineCodes.C1 read

This parameter gets the Positive-sequence capacitance in ohms per unit length for the active LineCode.


Parameter 9: LinesCode.C1 write

This parameter sets the Positive-sequence capacitance in ohms per unit length for the active LineCode. This value must be specified in the argument as a double.


Parameter 10: LineCodes.C0 read

This parameter gets the Zero-sequence capacitance in ohms per unit length for the active LineCode.


Parameter 11: LinesCode.C0 write

This parameter sets the Zero-sequence capacitance in ohms per unit length for the active LineCode. This value must be specified in the argument as a double.


Parameter 12: LineCodes.NormAmps read

This parameter gets the normal ampere rating for the active LineCode.


Parameter 13: LinesCode.NormAmps write

This parameter sets the normal ampere rating for the active LineCode. This value must be specified in the argument as a double.


Parameter 14: LineCodes.EmergAmps read

This parameter gets the Emergency ampere rating for the active LineCode.


Parameter 15: LinesCode.EmergAmps write

This parameter sets the Emergency ampere rating for the active LineCode. This value must be specified in the argument as a double.