datapoint-selector/datapoint-library.service.ts
Properties |
|
Methods |
|
constructor(inventory: InventoryService, appState: AppStateService, measurements: MeasurementService, color: ColorService)
|
|||||||||||||||
Parameters :
|
Protected Async assignColorToDatapoints | ||||||
assignColorToDatapoints(datapoints: KPIDetails[])
|
||||||
Parameters :
Returns :
Promise<void>
|
Protected Async combineFragmentSeriesTuplesWithDetails | ||||||||||||
combineFragmentSeriesTuplesWithDetails(tuples: Array
|
||||||||||||
Parameters :
Returns :
unknown
|
Protected Async getAllDatapointLibraryEntries |
getAllDatapointLibraryEntries()
|
Returns :
Promise<ManagedObjectKPI[]>
|
Async getAllDatapointLibraryEntriesCached | ||||||
getAllDatapointLibraryEntriesCached(forceCacheRenew)
|
||||||
Parameters :
Returns :
Promise<ManagedObjectKPI[]>
|
Async getAllDatapointLibraryItemsCached |
getAllDatapointLibraryItemsCached()
|
Returns :
Promise<KPIDetails[]>
|
Protected Async getCurrentTemplatesFromDatapoints | ||||||
getCurrentTemplatesFromDatapoints(datapoints: KPIDetails[])
|
||||||
Parameters :
Returns :
Promise<IManagedObject[]>
|
Protected Async getCurrentVersionOfTargetsFromDatapoints | ||||||
getCurrentVersionOfTargetsFromDatapoints(datapoints: KPIDetails[])
|
||||||
Parameters :
Returns :
Promise<IManagedObject[]>
|
Async getDatapointsOfAsset | |||||||||
getDatapointsOfAsset(parentReference: IIdentified, ignoreDatapointTemplates?: boolean)
|
|||||||||
Parameters :
Returns :
Promise<KPIDetails[]>
|
Async getFirstDatapointLibraryPage |
getFirstDatapointLibraryPage()
|
Returns :
Promise<IResultList<ManagedObjectKPI>>
|
Protected Async getMOsByIds | ||||||
getMOsByIds(ids: Array
|
||||||
Parameters :
Returns :
Promise<IManagedObject[]>
|
Async guessUnitOfDatapoint |
guessUnitOfDatapoint(fragment: string, series: string, source?: IIdentified)
|
Requests the last measurement with the given fragment and series to extract it's unit. If the source attribute is provided, it will check the last measurement for this specific source.
Returns :
Promise<string>
found unit or an empty string instead |
Protected mapDatapointLibraryEntry | ||||||
mapDatapointLibraryEntry(entry: ManagedObjectKPI)
|
||||||
Parameters :
Returns :
KPIDetails
|
Async updateDatapoints | ||||||||||||
updateDatapoints(datapoints: KPIDetails[], skipUpdatingTarget)
|
||||||||||||
Parameters :
Returns :
Promise<KPIDetails[]>
|
Protected cache |
Type : Promise<ManagedObjectKPI[]>
|