Bottleneck Mashup
|
This mashup is designed to be easily replaced with a customized mashup so long as the customized mashup has the same inputs and outputs. For more information, see Replacing Modular Mashups.
|
The bottleneck mashup (PTC.BottleneckAnalysis.Bottleneck_MU) displays the bottleneck chart.
Widgets
The PTC.BottleneckAnalysis.Bottleneck_MU mashup uses a single Bar Chart widget.
Inputs
The input parameters for the PTC.BottleneckAnalysis.Bottleneck_MU mashup are:
• siteName—Name of the site that is selected in the applied Site filter.
• managerName—The name of the manager Thing from which the services on this mashup are run.
• startDateTime—The start date from the applied Date Range filter, if any.
• endDateTime—The end date from the applied Date Range filter, if any.
• materialDemandWindowUid—UID of the demand window from the applied Demand Window filter.
• isShowTopBottlenecks—A Boolean determining whether the top five bottlenecks (true) or bottom five bottlenecks (false) are shown.
• isShowAverageWeek—A Boolean indicating the state of the Show Average Week button.
• areas—An infotable containing the information for the areas selected in the applied Areas filter.
• materialMasterUid—The UID for material that is selected in the Material filter, if any.
Outputs
The output parameters from the PTC.BottleneckAnalysis.Bottleneck_MU mashup are:
• workCenters—An infotable with work center information. If no bar in the chart is selected, then the infotable contains information for all of the work centers that are displayed. If a bar in the chart is selected, the infotable contains the information for the selected work center.
• selectedBar—An infotable containing the information for the bar that is selected in the bottleneck chart.
Services
The mashup uses the following dynamic services from the PTC.BottleneckAnalysis.Management_TS Thing Shape:
• GetBottleneckDisplayData—Retrieves infotables containing the calculated bottleneck data for display in the chart.
• GetChartTitle—Retrieves the strings used in the chart title.
• GetCurrentBottleneckDisplayData—Retrieves the bottleneck data for the current display state of the bottleneck chart.
• GetWorkCenters—Retrieves work center information. If no bars are selected in the chart, then information for all of the work centers that are displayed is retrieved. If a bar in the chart is selected, then the information for the selected work center is retrieved.
Dynamic services allow you to select the entity to execute a service at runtime. In this case, the service can be executed from any entity that implements the
PTC.BottleneckAnalysis.Management_TS Thing Shape. For more information, see
Dynamic Services in the Mashup Builder section of the ThingWorx Help Center.