Logo GenPRES

Dto Module

Holds the serializable shape of an order variable and converts an order variable to and from the Dto. Reading a Dto raises an exception when a value is not valid.

Types

Type Description

Dto

The Dto data transfer type for an OrderVariable

Level

Functions and values

Function or value Description

cleanVariable old

Full Usage: cleanVariable old

Parameters:

Sets the minimum, increment, maximum and values of the Variable part of a Dto to None, and the Level to IsNormal.

old : Dto

dto ()

Full Usage: dto ()

Parameters:
    () : unit

Returns: Dto

Create a new Dto for an OrderVariable

() : unit
Returns: Dto

fromDto dto

Full Usage: fromDto dto

Parameters:
Returns: OrderVariable

Create an OrderVariable from a Dto

dto : Dto
Returns: OrderVariable

toDto ovar

Full Usage: toDto ovar

Parameters:
Returns: Dto

Create a Dto from an OrderVariable

ovar : OrderVariable
Returns: Dto

Type something to start searching.