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

    Parameters

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