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

    Parameters

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