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

    Parameters

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