Building Blocks > Solution-Specific Building Blocks > Scorecard Building Block > Key Services (Scorecard Building Block)
Key Services (Scorecard Building Block)
You can view all services in this building block on the Services page of the PTC.Scorecard.Manager Thing.
The following key services are implemented on the PTC.Scorecard.Manager_TT Thing Template:
GetAllMetrics—Retrieves all metrics.
GetTargetForMetrics—Retrieves the targets for the selected metrics, for the specified model (piece of equipment) and date range.
GetTargetForModels—Retrieves the target for the selected models (pieces of equipment), for the specified metric and date range.
GetTrendDisplayData—Retrieves the data that is displayed in trend chart.
GenerateInfoForPerformanceCardCollection—Collects model (piece of equipment) and metric information in one infotable for the collection widget.
GetMetricsList—Retrieves the list of metrics and their information based on the selected date range and equipment.
GetNormalizedValue—Returns the normalized target and status threshold values for the given target, status threshold, and target time frame.
The following diagrams show the sequence of key services used in Scorecard.
Hierarchy Breakdown Sequence Diagram
Diagram showing the services sequence for the hierarchy breakdown.
Trend Chart Sequence Diagram
Diagram showing the services sequence for the trend chart..
Metric List Sequence Diagram
Diagram showing the services sequence for the metric list.
Was this helpful?