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

    Parameters

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