system.mes.batch.unit.getList(parentLink, pageNumber, pageSize, searchPattern)

Sepasoft MES Module Suite

Description

Return a list of unit class objects. Paging is supported by providing the page number and page size and should be used when a large number of units exist.

getList(parentLink, pageNumber, pageSize, searchPattern) → MESObjectList

Syntax

getList(parentLink, pageNumber, pageSize, searchPattern)

  • Parameters

 MESObjectLink parentLink - The link to the process cell object to return the children. If None is provided for this parameter, then it will return the children of the first process cell object.

 int pageNumber - The page number to include in the return results. If paging is not required, set this parameter to 0.

 int pageSize - The page size to based the page number by. If paging is not required, set this parameter to a value greater than the number of units that will ever be in the system. For example: 2147483647

 String searchPattern - A case-insensitive search pattern to filter the return results. This string must be contained in the object name. An empty string will apply no filtering.

  • Returns

A list of MESUnit objects.

  • Scope

All



Sepasoft MES Module Suite