TcHmiSchemaBuilder.TType.NumberSchema Constructor

Initializes a new instance of the TcHmiSchemaBuilder.TType.NumberSchema class.

Namespace:  TcHmiSrv.DynamicSymbols
Assembly:  TcHmiSrvExtNet.DynamicSymbols (in TcHmiSrvExtNet.DynamicSymbols.dll) Version: 2.0.0.0

Syntax

C#

public NumberSchema(
    SchemaKey<double> multipleOf = default,
    SchemaKey<double> minimum = default,
    SchemaKey<double> maximum = default,
    SchemaKey<bool> exclusiveMinimum = default,
    SchemaKey<bool> exclusiveMaximum = default
)

Parameters

multipleOf (Optional)

Type: TcHmiSrv.DynamicSymbols.SchemaKey.Double.
Restricts the number to a multiple of this value.

minimum (Optional)

Type: TcHmiSrv.DynamicSymbols.SchemaKey.Double.
Restricts the number to a value greater than this value.

maximum (Optional)

Type: TcHmiSrv.DynamicSymbols.SchemaKey.Double.
Restricts the number to a value less than this value.

exclusiveMinimum (Optional)

Type: TcHmiSrv.DynamicSymbols.SchemaKey.Boolean.
If this value is true, it indicates that the range excludes the minimum value.

exclusiveMaximum (Optional)

Type: TcHmiSrv.DynamicSymbols.SchemaKey.Boolean.
If this value is true, it indicates that the range excludes the maximum value.

Reference

TcHmiSchemaBuilder.TType.NumberSchema Class

TcHmiSrv.DynamicSymbols Namespace