
System.Object
EPLAN.Harness.API.ApiProperties.Property
EPLAN.Harness.API.ApiProperties.UnitProperties.UnitClassProperty
EPLAN.Harness.API.ApiProperties.AccelerationProperty
public class AccelerationProperty : EPLAN.Harness.API.ApiProperties.UnitProperties.UnitClassProperty
Represents a property with an acceleration value.
Class provides a method to convert values between units.
AccelerationProperty acceleration = new AccelerationProperty(20, Unit.MeterPerSquareSecond); Console.WriteLine(acceleration); acceleration.Convert(Unit.MillimeterPerSquareSecond); Console.WriteLine(acceleration); acceleration = "25 ft/sec2"; Console.WriteLine(acceleration); Console.WriteLine($"Value: {(double)acceleration.Value}, Unit: {acceleration.Unit}"); // Results: // 20 m/sec2 // 20000 mm/sec2 // 25 ft/sec2 // Value: 25, Unit: FootPerSquareSecond
Name | Description | |
---|---|---|
![]() | AccelerationProperty Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | IsInterval | Specifies whether the property is interval. (Inherited from EPLAN.Harness.API.ApiProperties.Property) |
![]() | Unit | Unit of the value of this property. (Inherited from EPLAN.Harness.API.ApiProperties.Property) |
![]() | Value | Gets the value of this property. (Inherited from EPLAN.Harness.API.ApiProperties.Property) |
Name | Description | |
---|---|---|
![]() | Convert | Convert a property to the specified unit. (Inherited from EPLAN.Harness.API.ApiProperties.UnitProperties.UnitClassProperty) |
![]() | Equals | Is this unit class property equal to the following object? (Inherited from EPLAN.Harness.API.ApiProperties.UnitProperties.UnitClassProperty) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from EPLAN.Harness.API.ApiProperties.UnitProperties.UnitClassProperty) |
![]() | ToString | Overloaded. Returns a string that represents the current object. (Inherited from EPLAN.Harness.API.ApiProperties.UnitProperties.UnitClassProperty) |
![]() | Sums two properties. |
![]() | Implicit conversion from System.String to AccelerationProperty. |
![]() | Subtracts two properties. |