system.mes.analysis.getFilterOptions

Sepasoft MES Module Suite

Description

Return filter options that can be used when executing analysis.

Syntax

system.mes.analysis.getFilterOptions(groupFilter, itemFilter)


  • Parameters

String groupFilter - A filter to limit the filter options returned to one or more groups. Multiple groups can be specified by separating them with commas. The wildcard * is accepted.

String itemFilter - A filter to limit the group by options returned to one or more items. Multiple filter items can be specified by separating them with commas. The wildcard * is accepted.

  • Returns

List <AbstractValueItemInfo> - Returns a map (a key-value pair) containing the filter group path as the key and a list of AbstractValueItemInfo objects as the value. See AbstractValueItemInfo object documentation for details.

  • Scope

All

Code Examples

Code Snippet

Code
##Get a list of filter options from the OEE group:
list = system.mes.analysis.getFilterOptions('OEE', '*')
for item in list:
	for x in list[item]:
		print item, '::', x.getName() 

Output

Code
OEE :: OEE Infeed Count Equipment Path
OEE :: Target Changeover Time
OEE :: OEE
OEE :: Standard Rate
OEE :: Elapsed Time
OEE :: OEE Outfeed Count Equipment Path
OEE :: Schedule Rate

Sepasoft MES Module Suite