ElectricalSetting.AddVoltageType
Method
Description:
Add a new type definition of voltage into project.
Add a new type definition of voltage into project.
Syntax
public VoltageType AddVoltageType(
string name,
double actualValue,
double minValue,
double maxValue
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| name | String | Specify voltage type name |
| actualValue | Double | Specify actual value of voltage type. |
| minValue | Double | Specify acceptable minimum value of the voltage type. |
| maxValue | Double | Specify acceptable maximum value of the voltage type. |
Return Value
| Type | Description |
|---|---|
| VoltageType | New added voltage type object. |