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

    Parameters

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