system.mes.analysis.getDataPointOptions

Sepasoft MES Module Suite

Description

Return data point options that can be used when executing analysis.

Syntax

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


  • Parameters

String groupFilter - A filter to limit the data point 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 data point options returned to one or more items. Multiple data point 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 data point options for the Equipment group:
list = system.mes.analysis.getDataPointOptions('Equipment', '*')
for item in list:
	for x in list[item]:
		print item, '::', x.getName() 

Output

Code
Equipment :: Product Code
Equipment :: Work Order
Equipment :: Is Key Cell
Equipment :: Equipment Type
Equipment :: Equipment Name
Equipment :: Operation UUID
Equipment :: Equipment Path
Equipment :: Equipment Cell Order
Equipment :: Rate Period

Sepasoft MES Module Suite