Class NotificationAverageGroupManager
java.lang.Object
overit.geocallapp.wfm.notifications.dashboard.machinereliability.NotificationAverageGroupManager
This class manage the result of queries used to calculate some temporal indicators (MDT,MTTR,MTBF).
Giving raw data (row => "ANOTID_ATOB", "CONTEGGIO", "CHART_AVERAGE") for this indicators, aggregate it
over some conditions
_xxxOriginalData contains query original data
_xxxOutputData and _xxxTopOutputData contains aggregated data used for plot graphs
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddetailGroup(HashGetter groupingParams) protected StringgetLabelFromType(String label, Long chartType) Transform "oracle style" string in normal styleintReturn the number of facility with significative values (> 0) that will be printed on chartvoidGiving the raw data from queries create the dbv for the main average graph, grouping only on datesprotected voidvoidsetData(HashGetter filter, DBView mtbfOriginalData, DBView mttrOriginalData, DBView mdtOriginalData)
-
Field Details
-
_mtbfOriginalData
-
_mttrOriginalData
-
_mdtOriginalData
-
_mtbfOutputData
-
_mttrOutputData
-
_mdtOutputData
-
_mtbfTopOutputData
-
_mttrTopOutputData
-
_mdtTopOutputData
-
_formFilters
-
_topOutputDataSize
protected int _topOutputDataSize -
_const
-
-
Constructor Details
-
NotificationAverageGroupManager
public NotificationAverageGroupManager()
-
-
Method Details
-
setConst
-
getMTBFDbv
-
getMTTRDbv
-
getMDTDbv
-
getOriginalMTBFDbv
-
getOriginalMTTRDbv
-
getOriginalMDTDbv
-
getTopMTBFDbv
-
getTopMTTRDbv
-
getTopMDTDbv
-
getTopOutputDataSize
public int getTopOutputDataSize()Return the number of facility with significative values (> 0) that will be printed on chart- Returns:
-
setData
public void setData(HashGetter filter, DBView mtbfOriginalData, DBView mttrOriginalData, DBView mdtOriginalData) -
initialGroup
public void initialGroup()Giving the raw data from queries create the dbv for the main average graph, grouping only on dates -
detailGroup
-
getLabelFromType
Transform "oracle style" string in normal style- Parameters:
label-chartType-- Returns:
-