System.Object
EPLAN.Harness.API.ApiProperties.Interval<T>
System.Object
EPLAN.Harness.API.ApiProperties.Interval<T>
Interval<int> intInterval = new Interval<int>(-8, 2); Console.WriteLine(intInterval); intInterval.ChangeInterval(2, 2); Console.WriteLine(intInterval.IsInterval); Console.WriteLine(intInterval); Interval<double> doubleInterval = new Interval<double>(-9.7, 100); Console.WriteLine(doubleInterval); // Results: // -8 ~ 2 // False // 2 // -9,7 ~ 100
Name | Description | |
---|---|---|
Interval<T> Constructor | Creates a new instance of an interval. |
Name | Description | |
---|---|---|
HigherValue | The higher boundary of the interval. | |
IsInterval | Specifies whether the boundaries of the interval have different values. | |
LowerValue | The lower boundary of the interval. |
Name | Description | |
---|---|---|
ChangeInterval | Change values of the interval. | |
ToString | Returns a string that represents the current object. |