@gizone/rrs-client 4.2.9-alpha.557 → 4.2.9-alpha.561

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/apis/energy-cost-analysis-controller-api.ts +449 -0
  3. package/dist/apis/energy-cost-analysis-controller-api.d.ts +232 -0
  4. package/dist/apis/energy-cost-analysis-controller-api.js +350 -0
  5. package/dist/esm/apis/energy-cost-analysis-controller-api.d.ts +232 -0
  6. package/dist/esm/apis/energy-cost-analysis-controller-api.js +350 -0
  7. package/dist/esm/models/energy-cost-add-record-dto.d.ts +2 -2
  8. package/dist/esm/models/energy-cost-analysis-list-vo.d.ts +0 -12
  9. package/dist/esm/models/energy-cost-analysis-query-dto.d.ts +1 -1
  10. package/dist/esm/models/energy-cost-trend-vo.d.ts +38 -0
  11. package/dist/esm/models/energy-cost-trend-vo.js +19 -0
  12. package/dist/esm/models/index.d.ts +5 -0
  13. package/dist/esm/models/index.js +5 -0
  14. package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +7 -7
  15. package/dist/esm/models/json-result-list-energy-cost-trend-vo.d.ts +62 -0
  16. package/dist/esm/models/json-result-list-energy-cost-trend-vo.js +14 -0
  17. package/dist/esm/models/json-result-two-energy-consumption-summar-vo.d.ts +62 -0
  18. package/dist/esm/models/json-result-two-energy-consumption-summar-vo.js +14 -0
  19. package/dist/esm/models/monthly-data-vo.d.ts +48 -0
  20. package/dist/esm/models/monthly-data-vo.js +14 -0
  21. package/dist/esm/models/two-energy-consumption-summar-vo.d.ts +30 -0
  22. package/dist/esm/models/two-energy-consumption-summar-vo.js +14 -0
  23. package/dist/models/energy-cost-add-record-dto.d.ts +2 -2
  24. package/dist/models/energy-cost-analysis-list-vo.d.ts +0 -12
  25. package/dist/models/energy-cost-analysis-query-dto.d.ts +1 -1
  26. package/dist/models/energy-cost-trend-vo.d.ts +38 -0
  27. package/dist/models/energy-cost-trend-vo.js +22 -0
  28. package/dist/models/index.d.ts +5 -0
  29. package/dist/models/index.js +5 -0
  30. package/dist/models/ipage-energy-cost-record-info-vo.d.ts +7 -7
  31. package/dist/models/json-result-list-energy-cost-trend-vo.d.ts +62 -0
  32. package/dist/models/json-result-list-energy-cost-trend-vo.js +15 -0
  33. package/dist/models/json-result-two-energy-consumption-summar-vo.d.ts +62 -0
  34. package/dist/models/json-result-two-energy-consumption-summar-vo.js +15 -0
  35. package/dist/models/monthly-data-vo.d.ts +48 -0
  36. package/dist/models/monthly-data-vo.js +15 -0
  37. package/dist/models/two-energy-consumption-summar-vo.d.ts +30 -0
  38. package/dist/models/two-energy-consumption-summar-vo.js +15 -0
  39. package/models/energy-cost-add-record-dto.ts +2 -2
  40. package/models/energy-cost-analysis-list-vo.ts +0 -12
  41. package/models/energy-cost-analysis-query-dto.ts +1 -1
  42. package/models/energy-cost-trend-vo.ts +49 -0
  43. package/models/index.ts +5 -0
  44. package/models/ipage-energy-cost-record-info-vo.ts +7 -7
  45. package/models/json-result-list-energy-cost-trend-vo.ts +72 -0
  46. package/models/json-result-two-energy-consumption-summar-vo.ts +72 -0
  47. package/models/monthly-data-vo.ts +54 -0
  48. package/models/two-energy-consumption-summar-vo.ts +36 -0
  49. package/ossutil.log +1089 -1083
  50. package/package.json +1 -1
@@ -65,6 +65,39 @@ export const EnergyCostAnalysisControllerApiAxiosParamCreator = function (config
65
65
  options: localVarRequestOptions,
66
66
  };
67
67
  }),
68
+ /**
69
+ * 获取当年各场景的用量趋势图数据
70
+ * @summary 用量趋势分析
71
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ getUsageTrend: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
76
+ // verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
77
+ assertParamExists('getUsageTrend', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
78
+ const localVarPath = `/gizone/energy/cost/analysis/trend`;
79
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
80
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
81
+ let baseOptions;
82
+ if (configuration) {
83
+ baseOptions = configuration.baseOptions;
84
+ }
85
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
86
+ const localVarHeaderParameter = {};
87
+ const localVarQueryParameter = {};
88
+ // authentication tokenScheme required
89
+ // http bearer authentication required
90
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
91
+ localVarHeaderParameter['Content-Type'] = 'application/json';
92
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
93
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
94
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
95
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
96
+ return {
97
+ url: toPathString(localVarUrlObj),
98
+ options: localVarRequestOptions,
99
+ };
100
+ }),
68
101
  /**
69
102
  * 计算园区单平单价,包括实际、年平均、上月、去年同期等指标
70
103
  * @summary 单平单价分析
@@ -131,6 +164,138 @@ export const EnergyCostAnalysisControllerApiAxiosParamCreator = function (config
131
164
  options: localVarRequestOptions,
132
165
  };
133
166
  }),
167
+ /**
168
+ * 二级面板
169
+ * @summary 二级面板-用能汇总
170
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
171
+ * @param {*} [options] Override http request option.
172
+ * @throws {RequiredError}
173
+ */
174
+ twoEnergyConsumptionSummar: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
175
+ // verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
176
+ assertParamExists('twoEnergyConsumptionSummar', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
177
+ const localVarPath = `/gizone/energy/cost/analysis/two-energy-consumption-summar`;
178
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
179
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
180
+ let baseOptions;
181
+ if (configuration) {
182
+ baseOptions = configuration.baseOptions;
183
+ }
184
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
185
+ const localVarHeaderParameter = {};
186
+ const localVarQueryParameter = {};
187
+ // authentication tokenScheme required
188
+ // http bearer authentication required
189
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
190
+ localVarHeaderParameter['Content-Type'] = 'application/json';
191
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
192
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
193
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
194
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
195
+ return {
196
+ url: toPathString(localVarUrlObj),
197
+ options: localVarRequestOptions,
198
+ };
199
+ }),
200
+ /**
201
+ * 二级面板
202
+ * @summary 二级面板-单平单价分析
203
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ twoPerAreaAnalysis: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
208
+ // verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
209
+ assertParamExists('twoPerAreaAnalysis', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
210
+ const localVarPath = `/gizone/energy/cost/analysis/two-per-area-analysis`;
211
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
212
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
213
+ let baseOptions;
214
+ if (configuration) {
215
+ baseOptions = configuration.baseOptions;
216
+ }
217
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
218
+ const localVarHeaderParameter = {};
219
+ const localVarQueryParameter = {};
220
+ // authentication tokenScheme required
221
+ // http bearer authentication required
222
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
223
+ localVarHeaderParameter['Content-Type'] = 'application/json';
224
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
225
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
226
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
227
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
228
+ return {
229
+ url: toPathString(localVarUrlObj),
230
+ options: localVarRequestOptions,
231
+ };
232
+ }),
233
+ /**
234
+ * 二级面板
235
+ * @summary 二级面板-单耗分析
236
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ */
240
+ twoPerUnitAnalysis: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
241
+ // verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
242
+ assertParamExists('twoPerUnitAnalysis', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
243
+ const localVarPath = `/gizone/energy/cost/analysis/two-per-unit-analysis`;
244
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
245
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
246
+ let baseOptions;
247
+ if (configuration) {
248
+ baseOptions = configuration.baseOptions;
249
+ }
250
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
251
+ const localVarHeaderParameter = {};
252
+ const localVarQueryParameter = {};
253
+ // authentication tokenScheme required
254
+ // http bearer authentication required
255
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
256
+ localVarHeaderParameter['Content-Type'] = 'application/json';
257
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
258
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
259
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
260
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
261
+ return {
262
+ url: toPathString(localVarUrlObj),
263
+ options: localVarRequestOptions,
264
+ };
265
+ }),
266
+ /**
267
+ * 二级面板
268
+ * @summary 二级面板-单价分析
269
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
270
+ * @param {*} [options] Override http request option.
271
+ * @throws {RequiredError}
272
+ */
273
+ twoUnitPriceAnalysis: (energyCostAnalysisQueryDTO_1, ...args_1) => __awaiter(this, [energyCostAnalysisQueryDTO_1, ...args_1], void 0, function* (energyCostAnalysisQueryDTO, options = {}) {
274
+ // verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
275
+ assertParamExists('twoUnitPriceAnalysis', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
276
+ const localVarPath = `/gizone/energy/cost/analysis/two-unit-price-analysis`;
277
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
278
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
279
+ let baseOptions;
280
+ if (configuration) {
281
+ baseOptions = configuration.baseOptions;
282
+ }
283
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
284
+ const localVarHeaderParameter = {};
285
+ const localVarQueryParameter = {};
286
+ // authentication tokenScheme required
287
+ // http bearer authentication required
288
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
289
+ localVarHeaderParameter['Content-Type'] = 'application/json';
290
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
291
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
292
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
293
+ localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
294
+ return {
295
+ url: toPathString(localVarUrlObj),
296
+ options: localVarRequestOptions,
297
+ };
298
+ }),
134
299
  /**
135
300
  * 计算园区平均单价,包括当期、年平均、上月等指标
136
301
  * @summary 单价分析
@@ -189,6 +354,22 @@ export const EnergyCostAnalysisControllerApiFp = function (configuration) {
189
354
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
190
355
  });
191
356
  },
357
+ /**
358
+ * 获取当年各场景的用量趋势图数据
359
+ * @summary 用量趋势分析
360
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ */
364
+ getUsageTrend(energyCostAnalysisQueryDTO, options) {
365
+ return __awaiter(this, void 0, void 0, function* () {
366
+ var _a, _b, _c;
367
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUsageTrend(energyCostAnalysisQueryDTO, options);
368
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
369
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.getUsageTrend']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
370
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
371
+ });
372
+ },
192
373
  /**
193
374
  * 计算园区单平单价,包括实际、年平均、上月、去年同期等指标
194
375
  * @summary 单平单价分析
@@ -221,6 +402,70 @@ export const EnergyCostAnalysisControllerApiFp = function (configuration) {
221
402
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
222
403
  });
223
404
  },
405
+ /**
406
+ * 二级面板
407
+ * @summary 二级面板-用能汇总
408
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
409
+ * @param {*} [options] Override http request option.
410
+ * @throws {RequiredError}
411
+ */
412
+ twoEnergyConsumptionSummar(energyCostAnalysisQueryDTO, options) {
413
+ return __awaiter(this, void 0, void 0, function* () {
414
+ var _a, _b, _c;
415
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.twoEnergyConsumptionSummar(energyCostAnalysisQueryDTO, options);
416
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
417
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.twoEnergyConsumptionSummar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
418
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
419
+ });
420
+ },
421
+ /**
422
+ * 二级面板
423
+ * @summary 二级面板-单平单价分析
424
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
425
+ * @param {*} [options] Override http request option.
426
+ * @throws {RequiredError}
427
+ */
428
+ twoPerAreaAnalysis(energyCostAnalysisQueryDTO, options) {
429
+ return __awaiter(this, void 0, void 0, function* () {
430
+ var _a, _b, _c;
431
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.twoPerAreaAnalysis(energyCostAnalysisQueryDTO, options);
432
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
433
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.twoPerAreaAnalysis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
434
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
435
+ });
436
+ },
437
+ /**
438
+ * 二级面板
439
+ * @summary 二级面板-单耗分析
440
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
441
+ * @param {*} [options] Override http request option.
442
+ * @throws {RequiredError}
443
+ */
444
+ twoPerUnitAnalysis(energyCostAnalysisQueryDTO, options) {
445
+ return __awaiter(this, void 0, void 0, function* () {
446
+ var _a, _b, _c;
447
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.twoPerUnitAnalysis(energyCostAnalysisQueryDTO, options);
448
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
449
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.twoPerUnitAnalysis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
450
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
451
+ });
452
+ },
453
+ /**
454
+ * 二级面板
455
+ * @summary 二级面板-单价分析
456
+ * @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
457
+ * @param {*} [options] Override http request option.
458
+ * @throws {RequiredError}
459
+ */
460
+ twoUnitPriceAnalysis(energyCostAnalysisQueryDTO, options) {
461
+ return __awaiter(this, void 0, void 0, function* () {
462
+ var _a, _b, _c;
463
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.twoUnitPriceAnalysis(energyCostAnalysisQueryDTO, options);
464
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
465
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.twoUnitPriceAnalysis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
466
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
467
+ });
468
+ },
224
469
  /**
225
470
  * 计算园区平均单价,包括当期、年平均、上月等指标
226
471
  * @summary 单价分析
@@ -256,6 +501,16 @@ export const EnergyCostAnalysisControllerApiFactory = function (configuration, b
256
501
  getAnalysisList(requestParameters, options) {
257
502
  return localVarFp.getAnalysisList(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
258
503
  },
504
+ /**
505
+ * 获取当年各场景的用量趋势图数据
506
+ * @summary 用量趋势分析
507
+ * @param {EnergyCostAnalysisControllerApiGetUsageTrendRequest} requestParameters Request parameters.
508
+ * @param {*} [options] Override http request option.
509
+ * @throws {RequiredError}
510
+ */
511
+ getUsageTrend(requestParameters, options) {
512
+ return localVarFp.getUsageTrend(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
513
+ },
259
514
  /**
260
515
  * 计算园区单平单价,包括实际、年平均、上月、去年同期等指标
261
516
  * @summary 单平单价分析
@@ -276,6 +531,46 @@ export const EnergyCostAnalysisControllerApiFactory = function (configuration, b
276
531
  perUnitAnalysis(requestParameters, options) {
277
532
  return localVarFp.perUnitAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
278
533
  },
534
+ /**
535
+ * 二级面板
536
+ * @summary 二级面板-用能汇总
537
+ * @param {EnergyCostAnalysisControllerApiTwoEnergyConsumptionSummarRequest} requestParameters Request parameters.
538
+ * @param {*} [options] Override http request option.
539
+ * @throws {RequiredError}
540
+ */
541
+ twoEnergyConsumptionSummar(requestParameters, options) {
542
+ return localVarFp.twoEnergyConsumptionSummar(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
543
+ },
544
+ /**
545
+ * 二级面板
546
+ * @summary 二级面板-单平单价分析
547
+ * @param {EnergyCostAnalysisControllerApiTwoPerAreaAnalysisRequest} requestParameters Request parameters.
548
+ * @param {*} [options] Override http request option.
549
+ * @throws {RequiredError}
550
+ */
551
+ twoPerAreaAnalysis(requestParameters, options) {
552
+ return localVarFp.twoPerAreaAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
553
+ },
554
+ /**
555
+ * 二级面板
556
+ * @summary 二级面板-单耗分析
557
+ * @param {EnergyCostAnalysisControllerApiTwoPerUnitAnalysisRequest} requestParameters Request parameters.
558
+ * @param {*} [options] Override http request option.
559
+ * @throws {RequiredError}
560
+ */
561
+ twoPerUnitAnalysis(requestParameters, options) {
562
+ return localVarFp.twoPerUnitAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
563
+ },
564
+ /**
565
+ * 二级面板
566
+ * @summary 二级面板-单价分析
567
+ * @param {EnergyCostAnalysisControllerApiTwoUnitPriceAnalysisRequest} requestParameters Request parameters.
568
+ * @param {*} [options] Override http request option.
569
+ * @throws {RequiredError}
570
+ */
571
+ twoUnitPriceAnalysis(requestParameters, options) {
572
+ return localVarFp.twoUnitPriceAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
573
+ },
279
574
  /**
280
575
  * 计算园区平均单价,包括当期、年平均、上月等指标
281
576
  * @summary 单价分析
@@ -306,6 +601,17 @@ export class EnergyCostAnalysisControllerApi extends BaseAPI {
306
601
  getAnalysisList(requestParameters, options) {
307
602
  return EnergyCostAnalysisControllerApiFp(this.configuration).getAnalysisList(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
308
603
  }
604
+ /**
605
+ * 获取当年各场景的用量趋势图数据
606
+ * @summary 用量趋势分析
607
+ * @param {EnergyCostAnalysisControllerApiGetUsageTrendRequest} requestParameters Request parameters.
608
+ * @param {*} [options] Override http request option.
609
+ * @throws {RequiredError}
610
+ * @memberof EnergyCostAnalysisControllerApi
611
+ */
612
+ getUsageTrend(requestParameters, options) {
613
+ return EnergyCostAnalysisControllerApiFp(this.configuration).getUsageTrend(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
614
+ }
309
615
  /**
310
616
  * 计算园区单平单价,包括实际、年平均、上月、去年同期等指标
311
617
  * @summary 单平单价分析
@@ -328,6 +634,50 @@ export class EnergyCostAnalysisControllerApi extends BaseAPI {
328
634
  perUnitAnalysis(requestParameters, options) {
329
635
  return EnergyCostAnalysisControllerApiFp(this.configuration).perUnitAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
330
636
  }
637
+ /**
638
+ * 二级面板
639
+ * @summary 二级面板-用能汇总
640
+ * @param {EnergyCostAnalysisControllerApiTwoEnergyConsumptionSummarRequest} requestParameters Request parameters.
641
+ * @param {*} [options] Override http request option.
642
+ * @throws {RequiredError}
643
+ * @memberof EnergyCostAnalysisControllerApi
644
+ */
645
+ twoEnergyConsumptionSummar(requestParameters, options) {
646
+ return EnergyCostAnalysisControllerApiFp(this.configuration).twoEnergyConsumptionSummar(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
647
+ }
648
+ /**
649
+ * 二级面板
650
+ * @summary 二级面板-单平单价分析
651
+ * @param {EnergyCostAnalysisControllerApiTwoPerAreaAnalysisRequest} requestParameters Request parameters.
652
+ * @param {*} [options] Override http request option.
653
+ * @throws {RequiredError}
654
+ * @memberof EnergyCostAnalysisControllerApi
655
+ */
656
+ twoPerAreaAnalysis(requestParameters, options) {
657
+ return EnergyCostAnalysisControllerApiFp(this.configuration).twoPerAreaAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
658
+ }
659
+ /**
660
+ * 二级面板
661
+ * @summary 二级面板-单耗分析
662
+ * @param {EnergyCostAnalysisControllerApiTwoPerUnitAnalysisRequest} requestParameters Request parameters.
663
+ * @param {*} [options] Override http request option.
664
+ * @throws {RequiredError}
665
+ * @memberof EnergyCostAnalysisControllerApi
666
+ */
667
+ twoPerUnitAnalysis(requestParameters, options) {
668
+ return EnergyCostAnalysisControllerApiFp(this.configuration).twoPerUnitAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
669
+ }
670
+ /**
671
+ * 二级面板
672
+ * @summary 二级面板-单价分析
673
+ * @param {EnergyCostAnalysisControllerApiTwoUnitPriceAnalysisRequest} requestParameters Request parameters.
674
+ * @param {*} [options] Override http request option.
675
+ * @throws {RequiredError}
676
+ * @memberof EnergyCostAnalysisControllerApi
677
+ */
678
+ twoUnitPriceAnalysis(requestParameters, options) {
679
+ return EnergyCostAnalysisControllerApiFp(this.configuration).twoUnitPriceAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
680
+ }
331
681
  /**
332
682
  * 计算园区平均单价,包括当期、年平均、上月等指标
333
683
  * @summary 单价分析
@@ -82,13 +82,13 @@ export interface EnergyCostAddRecordDTO {
82
82
  * @type {number}
83
83
  * @memberof EnergyCostAddRecordDTO
84
84
  */
85
- 'powerFactorSurcharge': number;
85
+ 'powerFactorSurcharge'?: number;
86
86
  /**
87
87
  * 调前电费
88
88
  * @type {number}
89
89
  * @memberof EnergyCostAddRecordDTO
90
90
  */
91
- 'billAmountBefore': number;
91
+ 'billAmountBefore'?: number;
92
92
  /**
93
93
  * 单价
94
94
  * @type {number}
@@ -21,18 +21,6 @@ export interface EnergyCostAnalysisListVO {
21
21
  * @memberof EnergyCostAnalysisListVO
22
22
  */
23
23
  'energyType'?: EnergyCostAnalysisListVOEnergyTypeEnum;
24
- /**
25
- * 账单开始日期
26
- * @type {string}
27
- * @memberof EnergyCostAnalysisListVO
28
- */
29
- 'billDateStart'?: string;
30
- /**
31
- * 账单结束日期
32
- * @type {string}
33
- * @memberof EnergyCostAnalysisListVO
34
- */
35
- 'billDateEnd'?: string;
36
24
  /**
37
25
  * 场景类型
38
26
  * @type {string}
@@ -74,7 +74,7 @@ export interface EnergyCostAnalysisQueryDTO {
74
74
  * @type {Array<string>}
75
75
  * @memberof EnergyCostAnalysisQueryDTO
76
76
  */
77
- 'energyTypes'?: Array<EnergyCostAnalysisQueryDTOEnergyTypesEnum>;
77
+ 'energyTypes': Array<EnergyCostAnalysisQueryDTOEnergyTypesEnum>;
78
78
  }
79
79
  export declare const EnergyCostAnalysisQueryDTOEnergyTypesEnum: {
80
80
  readonly Electric: "ELECTRIC";
@@ -0,0 +1,38 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { MonthlyDataVO } from './monthly-data-vo';
13
+ /**
14
+ * 能源成本用量趋势
15
+ * @export
16
+ * @interface EnergyCostTrendVO
17
+ */
18
+ export interface EnergyCostTrendVO {
19
+ /**
20
+ * 场景类型
21
+ * @type {string}
22
+ * @memberof EnergyCostTrendVO
23
+ */
24
+ 'scenario'?: EnergyCostTrendVOScenarioEnum;
25
+ /**
26
+ * 月份数据列表
27
+ * @type {Array<MonthlyDataVO>}
28
+ * @memberof EnergyCostTrendVO
29
+ */
30
+ 'monthlyData'?: Array<MonthlyDataVO>;
31
+ }
32
+ export declare const EnergyCostTrendVOScenarioEnum: {
33
+ readonly ColdStorage: "COLD_STORAGE";
34
+ readonly SmartWarehouse: "SMART_WAREHOUSE";
35
+ readonly LeasingTenant: "LEASING_TENANT";
36
+ readonly PrivateConventionalWarehouse: "PRIVATE_CONVENTIONAL_WAREHOUSE";
37
+ };
38
+ export type EnergyCostTrendVOScenarioEnum = typeof EnergyCostTrendVOScenarioEnum[keyof typeof EnergyCostTrendVOScenarioEnum];
@@ -0,0 +1,19 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenAPI definition
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export const EnergyCostTrendVOScenarioEnum = {
15
+ ColdStorage: 'COLD_STORAGE',
16
+ SmartWarehouse: 'SMART_WAREHOUSE',
17
+ LeasingTenant: 'LEASING_TENANT',
18
+ PrivateConventionalWarehouse: 'PRIVATE_CONVENTIONAL_WAREHOUSE'
19
+ };
@@ -123,6 +123,7 @@ export * from './energy-cost-scenarios-info-vo';
123
123
  export * from './energy-cost-setting-delete-dto';
124
124
  export * from './energy-cost-setting-summy-add-dto';
125
125
  export * from './energy-cost-setting-summy-update-dto';
126
+ export * from './energy-cost-trend-vo';
126
127
  export * from './energy-cost-unit-price-analysis-vo';
127
128
  export * from './energy-cost-update-setting-dto';
128
129
  export * from './equipment';
@@ -250,6 +251,7 @@ export * from './json-result-list-dashboard-work-order-type-subcategory-group-st
250
251
  export * from './json-result-list-energy-cost-analysis-list-vo';
251
252
  export * from './json-result-list-energy-cost-month-setting-list-summary-standards-vo';
252
253
  export * from './json-result-list-energy-cost-month-setting-list-vo';
254
+ export * from './json-result-list-energy-cost-trend-vo';
253
255
  export * from './json-result-list-equipment-detail-dto';
254
256
  export * from './json-result-list-equipment-qr-code-dto';
255
257
  export * from './json-result-list-equipment-system-tree-dto';
@@ -322,6 +324,7 @@ export * from './json-result-switch-park-v2-dto';
322
324
  export * from './json-result-sys-dept';
323
325
  export * from './json-result-sys-user';
324
326
  export * from './json-result-sys-user-msg-dto';
327
+ export * from './json-result-two-energy-consumption-summar-vo';
325
328
  export * from './json-result-user-add-redis-list-vo';
326
329
  export * from './json-result-user-settings-entity';
327
330
  export * from './json-result-violation-work-order-details-dto';
@@ -342,6 +345,7 @@ export * from './monitoring-coverage-alert-info';
342
345
  export * from './monitoring-coverage-alert-process-vo';
343
346
  export * from './monitoring-coverage-alert-reason-enum';
344
347
  export * from './monitoring-coverage-alert-work-order-details-dto';
348
+ export * from './monthly-data-vo';
345
349
  export * from './network-monitor-repair-add-vo';
346
350
  export * from './network-monitor-repair-decision-vo';
347
351
  export * from './network-monitor-repair-details-dto';
@@ -490,6 +494,7 @@ export * from './system-user-msg-source-type-enum';
490
494
  export * from './system-user-msg-type-enum';
491
495
  export * from './table-data-info';
492
496
  export * from './third-party-system-enum';
497
+ export * from './two-energy-consumption-summar-vo';
493
498
  export * from './user-add-redis-list-vo';
494
499
  export * from './user-batch-import-upload-request';
495
500
  export * from './user-bind-body';
@@ -123,6 +123,7 @@ export * from './energy-cost-scenarios-info-vo';
123
123
  export * from './energy-cost-setting-delete-dto';
124
124
  export * from './energy-cost-setting-summy-add-dto';
125
125
  export * from './energy-cost-setting-summy-update-dto';
126
+ export * from './energy-cost-trend-vo';
126
127
  export * from './energy-cost-unit-price-analysis-vo';
127
128
  export * from './energy-cost-update-setting-dto';
128
129
  export * from './equipment';
@@ -250,6 +251,7 @@ export * from './json-result-list-dashboard-work-order-type-subcategory-group-st
250
251
  export * from './json-result-list-energy-cost-analysis-list-vo';
251
252
  export * from './json-result-list-energy-cost-month-setting-list-summary-standards-vo';
252
253
  export * from './json-result-list-energy-cost-month-setting-list-vo';
254
+ export * from './json-result-list-energy-cost-trend-vo';
253
255
  export * from './json-result-list-equipment-detail-dto';
254
256
  export * from './json-result-list-equipment-qr-code-dto';
255
257
  export * from './json-result-list-equipment-system-tree-dto';
@@ -322,6 +324,7 @@ export * from './json-result-switch-park-v2-dto';
322
324
  export * from './json-result-sys-dept';
323
325
  export * from './json-result-sys-user';
324
326
  export * from './json-result-sys-user-msg-dto';
327
+ export * from './json-result-two-energy-consumption-summar-vo';
325
328
  export * from './json-result-user-add-redis-list-vo';
326
329
  export * from './json-result-user-settings-entity';
327
330
  export * from './json-result-violation-work-order-details-dto';
@@ -342,6 +345,7 @@ export * from './monitoring-coverage-alert-info';
342
345
  export * from './monitoring-coverage-alert-process-vo';
343
346
  export * from './monitoring-coverage-alert-reason-enum';
344
347
  export * from './monitoring-coverage-alert-work-order-details-dto';
348
+ export * from './monthly-data-vo';
345
349
  export * from './network-monitor-repair-add-vo';
346
350
  export * from './network-monitor-repair-decision-vo';
347
351
  export * from './network-monitor-repair-details-dto';
@@ -490,6 +494,7 @@ export * from './system-user-msg-source-type-enum';
490
494
  export * from './system-user-msg-type-enum';
491
495
  export * from './table-data-info';
492
496
  export * from './third-party-system-enum';
497
+ export * from './two-energy-consumption-summar-vo';
493
498
  export * from './user-add-redis-list-vo';
494
499
  export * from './user-batch-import-upload-request';
495
500
  export * from './user-bind-body';
@@ -30,29 +30,29 @@ export interface IPageEnergyCostRecordInfoVO {
30
30
  'current'?: number;
31
31
  /**
32
32
  *
33
- * @type {number}
33
+ * @type {Array<EnergyCostRecordInfoVO>}
34
34
  * @memberof IPageEnergyCostRecordInfoVO
35
35
  */
36
- 'pages'?: number;
36
+ 'records'?: Array<EnergyCostRecordInfoVO>;
37
37
  /**
38
38
  *
39
39
  * @type {boolean}
40
40
  * @memberof IPageEnergyCostRecordInfoVO
41
- * @deprecated
42
41
  */
43
- 'hitCount'?: boolean;
42
+ 'searchCount'?: boolean;
44
43
  /**
45
44
  *
46
- * @type {Array<EnergyCostRecordInfoVO>}
45
+ * @type {number}
47
46
  * @memberof IPageEnergyCostRecordInfoVO
48
47
  */
49
- 'records'?: Array<EnergyCostRecordInfoVO>;
48
+ 'pages'?: number;
50
49
  /**
51
50
  *
52
51
  * @type {boolean}
53
52
  * @memberof IPageEnergyCostRecordInfoVO
53
+ * @deprecated
54
54
  */
55
- 'searchCount'?: boolean;
55
+ 'hitCount'?: boolean;
56
56
  /**
57
57
  *
58
58
  * @type {number}