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

    Parameters

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