
System.Object
EPLAN.Harness.API.ApiProperties.Property
EPLAN.Harness.API.ApiProperties.UnitProperties.UnitClassProperty
EPLAN.Harness.API.ApiProperties.InertiaProperty
public class InertiaProperty : EPLAN.Harness.API.ApiProperties.UnitProperties.UnitClassProperty
Represents a property with an inertia value.
Class provides a method to convert values between units.
InertiaProperty inertia = new InertiaProperty(32.75, Unit.KilogramSquareMeter); Console.WriteLine(inertia); inertia.Convert(Unit.PoundSquareFoot); Console.WriteLine(inertia.ToString()); inertia = "8,6kg.m2"; Console.WriteLine(inertia); Console.WriteLine($"Value: {(double)inertia.Value}, Unit: {inertia.Unit}"); // Results: // 32,75 kg.m2 // 777,169 lb.ft2 // 8,6 kg.m2 // Value: 8,6, Unit: KilogramSquareMeter
Name | Description | |
---|---|---|
![]() | InertiaProperty 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 InertiaProperty. |
![]() | Subtracts two properties. |