@@ -58,7 +58,7 @@ export abstract class AbstractHistoryChart {
58
58
59
59
/**
60
60
* Gets the ChannelAddresses that should be queried.
61
- *
61
+ *
62
62
* @param edge the current Edge
63
63
* @param config the EdgeConfig
64
64
*/
@@ -67,7 +67,7 @@ export abstract class AbstractHistoryChart {
67
67
68
68
/**
69
69
* Sends the Historic Timeseries Data Query and makes sure the result is not empty.
70
- *
70
+ *
71
71
* @param fromDate the From-Date
72
72
* @param toDate the To-Date
73
73
* @param edge the current Edge
@@ -112,14 +112,14 @@ export abstract class AbstractHistoryChart {
112
112
113
113
/**
114
114
* Sends the Historic Timeseries Energy per Period Query and makes sure the result is not empty.
115
- *
115
+ *
116
116
* @param fromDate the From-Date
117
117
* @param toDate the To-Date
118
118
* @param channelAddresses the Channel-Addresses
119
119
*/
120
120
protected queryHistoricTimeseriesEnergyPerPeriod ( fromDate : Date , toDate : Date , channelAddresses : ChannelAddress [ ] ) : Promise < QueryHistoricTimeseriesEnergyPerPeriodResponse > {
121
121
122
- // TODO should be removed, edge delivers too much data
122
+ // TODO should be removed, edge delivers too much data
123
123
let resolution = calculateResolution ( this . service , fromDate , toDate ) . resolution ;
124
124
125
125
this . errorResponse = null ;
@@ -152,9 +152,9 @@ export abstract class AbstractHistoryChart {
152
152
153
153
/**
154
154
* Generates a Tooltip Title string from a 'fromDate' and 'toDate'.
155
- *
155
+ *
156
156
* @param fromDate the From-Date
157
- * @param toDate the To-Date
157
+ * @param toDate the To-Date
158
158
* @param date Date from TooltipItem
159
159
* @returns period for Tooltip Header
160
160
*/
@@ -170,9 +170,9 @@ export abstract class AbstractHistoryChart {
170
170
171
171
/**
172
172
* Creates the default Chart options
173
- *
173
+ *
174
174
* @Future TODO change into static method and pass the historyPeriods value
175
- *
175
+ *
176
176
* @returns the ChartOptions
177
177
*/
178
178
protected createDefaultChartOptions ( ) : ChartOptions {
@@ -197,7 +197,7 @@ export abstract class AbstractHistoryChart {
197
197
198
198
/**
199
199
* checks if chart is allowed to be refreshed
200
- *
200
+ *
201
201
*/
202
202
// protected checkAllowanceChartRefresh(): boolean {
203
203
// let currentDate = new Date();
@@ -273,11 +273,11 @@ export abstract class AbstractHistoryChart {
273
273
274
274
/**
275
275
* Start NGX-Spinner
276
- *
276
+ *
277
277
* Spinner will appear inside html tag only
278
- *
278
+ *
279
279
* @example <ngx-spinner name="YOURSELECTOR"></ngx-spinner>
280
- *
280
+ *
281
281
* @param selector selector for specific spinner
282
282
*/
283
283
public startSpinner ( ) {
0 commit comments