OEE:SCH: Configure Impromptu Analysis

Configure Impromptu Analysis


The Impromptu Analysis set-up on the window OEE_02_Scheduling/03_Analysis has three components:

  1. MES Analysis Selector
  2. Analysis Table
  3. Date Range (Ignition)




Configure Date Range

  • Drag a Date Range component onto the window. Position it along the bottom right-hand side of the window (you can adjust its size more precisely later).

  • No configuration is required.



Configure MES Analysis Selector

  • Drag an MES Analysis Selector component onto the window. Position it along the left side of the window and resize as shown above (adjust the size of the Date Range component to mate against it).

  • Bind the Start Date property to the Start Date property of the Date Range component.

  • Bind the End Date property to the End Date property of the Date Range component.

  • Move the MES Analysis Selector component to the top of the z order.

  • Set the checkbox for Previous Drill Down Enabled.




Configure Analysis Table

  • Drag an Analysis Table component onto the window. Position it to the right of the MES Analysis Selector component and resize to fill the remaining open space, as shown above.

  • Bind the Data property to the Data property of the MES Analysis Selector

  • Bind the Drill Down Options property to the Drill Down Options property of the MES Analysis Selector.

  • Open the Component Scripting dialog box (Ctrl-J), select the drillDown → drillDown event script area and paste in the associated script below. Don't click OK yet (need to add one more script).

  • Select the drillDown → back event script area and paste in the associated script below. Click OK.

  • Set the checkbox for Previous Drill Down Enabled.

drillDown → drillDown

Script for drillDown > drillDown event handler

Code
event.source.parent.getComponent('MES Analysis Selector').drillDown(event.getDrillDownName(), event.getCategory())

drillDown → back

Script for drillDown > back event handler

Code
event.source.parent.getComponent('MES Analysis Selector').prevDrillDown()