datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-export-selector-file-exporter.service.ts
Methods |
constructor(aggregationService: AggregationService, alertService: AlertService, datapointsExportSelectorDataProcessingService: DataProcessingService, translateService: TranslateService)
|
|||||||||||||||
Parameters :
|
cleanupCachedData |
cleanupCachedData()
|
Returns :
void
|
determineInterval | ||||||||||||
determineInterval(dateFrom: string, dateTo: string)
|
||||||||||||
Determines the interval between two dates.
Parameters :
Returns :
TimeRangeInterval
The time range interval unit. |
Async getMeasurementExportedDataBlob | |||||||||
getMeasurementExportedDataBlob(extension: string, dataToExport: DataToExportWithBackendCreatedFile[])
|
|||||||||
Parameters :
Returns :
Promise<Blob | null>
|
Async getSeriesExportedDataBlob | ||||||||||||
getSeriesExportedDataBlob(fileType: string, dataToExport: DataToExport[], mergedExportDetails: MergedExportDetails)
|
||||||||||||
Parameters :
Returns :
Promise<Blob | null>
|
setToFirstAvailableAggregationOptionIfCurrentIsDisabled | ||||||||||||
setToFirstAvailableAggregationOptionIfCurrentIsDisabled(aggregationValue: string, disabledAggregationOptions: AggregationOptionStatus)
|
||||||||||||
Sets the aggregation control to the first available (non-disabled) option if the current option is disabled. This method:
The disabled state is stored in the The
Parameters :
Returns :
AggregationOption
The new aggregation option to be set. |
updateDisabledStateOfAggregationOptionEntries | ||||||||||||||||
updateDisabledStateOfAggregationOptionEntries(dateFrom: string, dateTo: string, disabledAggregationOptions: AggregationOptionStatus)
|
||||||||||||||||
Updates the disabled state of aggregation options based on the current value of the time interval form control. This method:
The disabled state is stored in the The
Parameters :
Returns :
AggregationOptionStatus
The updated object with the disabled state of aggregation options. |