Logo GenPRES

CommandBridge Module

Maps an order command or a property command to the action of the order program. Returns None for a command that the pipeline processes.

Functions and values

Function or value Description

ofChangeProperty cmd

Full Usage: ofChangeProperty cmd

Parameters:
Returns: OrderAction option

Returns the order program action for a property command, or None for ComponentInStock, which the pipeline of the command processes.

cmd : ChangePropertyCommand
Returns: OrderAction option

ofOrderCommand _arg1

Full Usage: ofOrderCommand _arg1

Parameters:
Returns: (Order * OrderAction) option

Returns the order and the order program action for a command, or None for a command that the pipeline processes.

_arg1 : OrderCommand
Returns: (Order * OrderAction) option

Type something to start searching.