Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / DecimalProperty Class
Members Example
In This Topic
    DecimalProperty Class
    In This Topic
    Property which stores the System.Double value.
    Object Model
    DecimalProperty ClassPropertyValue Class
    Inheritance Hierarchy

    System.Object
       EPLAN.Harness.API.ApiProperties.Property
          EPLAN.Harness.API.ApiProperties.DecimalProperty

    Syntax
    public class DecimalProperty : Property 
    Remarks

    Represents a property with a decimal number value.

    Example
    The following example shows how to use the class DecimalProperty.
    DecimalProperty numProperty1 = new DecimalProperty(42);
    DecimalProperty numProperty2 = 23.1;
    
    Console.WriteLine(numProperty1.ToString());
    Console.WriteLine(numProperty2.Value.ToString());
    
    // Results:
    // 42
    // 23,1
    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public Property Specifies whether the property is interval. (Inherited from EPLAN.Harness.API.ApiProperties.Property)
    Public Property Unit of the value of this property. (Inherited from EPLAN.Harness.API.ApiProperties.Property)
    Public Property Gets the value of this property. (Inherited from EPLAN.Harness.API.ApiProperties.Property)
    Top
    Public Methods
     NameDescription
    Public MethodIs this property equal to the following object?  
    Public MethodServes as the default hash function.  
    Public MethodReturns a string that represents the current object. (Inherited from EPLAN.Harness.API.ApiProperties.Property)
    Top
    Public Operators
    Sums two properties.
    Are these properties equal?
    Overloaded. Implicit conversion from System.Double to DecimalProperty.
    Are these properties not equal?
    Subtracts two properties.
    Top
    See Also