system.mes.batch.queue.setMode(batchQueueEntry, mode, path)

Sepasoft MES Module Suite

system.mes.batch.queue.setMode(batchQueueEntry, mode, path, changedBy)

Set the mode of the Procedure, Unit Procedure, or Operation logic item determined by the path parameter.

setMode(batchQueueEntry, mode, path, changedBy) → void

Syntax

setMode(batchQueueEntry, mode, path, changedBy)

Parameters

BatchQueueEntry batchQueueEntry - The BatchQueueEntry object to change the mode for.

String mode - The mode to set the logic. Use the predefined MODE constants. Example: system.mes.batch.queue.MODE_SEMI_AUTO

String path - The path of the logic item to set the mode. The format of the path must follow the /Procedure/Unit Procedure/Operation pattern.

String changedBy - Associates user actions with parameter changes. 

Returns

Nothing

Scope

All



Sepasoft MES Module Suite