Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / VoltageProperty Class / VoltageProperty Constructor / VoltageProperty Constructor(Double,Unit)
The value of voltage.
The unit of voltage value.
Example
In This Topic
    VoltageProperty Constructor(Double,Unit)
    In This Topic
    Creates a new instance of the VoltageProperty with the specified value and unit.
    Syntax
    public VoltageProperty( 
       double value,
       Unit unit
    )

    Parameters

    value
    The value of voltage.
    unit
    The unit of voltage value.
    Exceptions
    ExceptionDescription
    Thrown when the unit is not valid for this property.
    Example
    The following example shows how to create a new VoltageProperty .
    VoltageProperty voltageProperty = new VoltageProperty(42.0, Unit.Volt);
    See Also