Skip to main content

Mes

The MES module provides functions to interact with the MES (Manufacturing Execution System) service. These functions facilitate operations such as adding, checking, retrieving, and removing units from the MES service.

addUnit()

Adds a unit to the MES service and returns the unit ID.

addUnit(unit: string): Promise<string>;

hasUnit()

Checks if the MES service has a unit with the given unit ID.

hasUnit(unitId: string): Promise<boolean>;

getUnit()

Retrieves a unit from the MES service based on its unit ID.

getUnit(unitId: string): Promise<any>;

removeUnit()

Removes a unit from the MES service given its unit ID.

removeUnit(unitId: string): Promise<void>;