VoltageType.SetVoltageValue
Method
Description:
Assign new values to modify voltage type, all of the unit are volt.
Assign new values to modify voltage type, all of the unit are volt.
Parameters
Parameter | Type | Description |
---|---|---|
actualValue | Double | |
minValue | Double | |
maxValue | Double |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | Actual value can't be more than minValue or less than maxValue, and all of them can't be negative, otherwise the exception will be thrown. |