Skip to content
pCon.configurator onlineDocumentation
Esc
↑↓navigate↵open⌘Jpreview
On this page

Interval

Synopsis

struct Interval {
    decimal minValue;
    decimal maxValue;
    decimal stepSize;
}

The complete property definition (§Property) of a numeric or length property may use one or more instances of the Interval structure to limit the valid range of values for the property.

minValue

the minimum value of the interval

maxValue

the maximum value of the interval

stepSize

if present/non-null, holds the step size of a bounded or left-bounded interval and is guaranteed to be positive non-zero. In case of integer-properties (numeric properties declared to have zero fraction digits), the step size is guaranteed to be an integral value.

If present, only values equal to the interval’s minimum value plus a non-negative multiple of the step size, and not greater than the maximum value (if present) are considered valid property values (possibly in addition to values allowed by other intervals).

Both the minimum and maximum values of the interval are included in the interval and adhere to the precision and the total number of decimal digits as specified by the associated property definition.