system.mes.analysis.getOrderByOptions

Sepasoft MES Module Suite

Description

Return order by options that can be used when executing analysis.

Syntax

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


  • Parameters

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

String itemFilter - A filter to limit the order by options returned to one or more items. Multiple order by items can be specified by separating them with commas.

  • Returns

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

  • Scope

All

Code Examples

Code Snippet

Code
#Get orderby options
options = system.mes.analysis.getOrderByOptions('OEE','')
for item in options:
    for x in options[item]:
        print item, '::', x.getName()  

Output

Code
OEE :: OEE Infeed Count Equipment Path
OEE :: OEE Outfeed Count
OEE :: Target Changeover Time
OEE :: Runtime
OEE :: OEE
OEE :: Standard Rate
OEE :: OEE Reject Count
OEE :: Short Stop Time
OEE :: OEE Infeed Count
OEE :: Elapsed Time
OEE :: Planned Downtime
OEE :: OEE Outfeed Count Equipment Path
OEE :: Unplanned Downtime
OEE :: OEE General Count

Sepasoft MES Module Suite