@gizone/rrs-client 4.2.9-alpha.2512161529 → 4.2.9-alpha.2512161714
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.
- package/.openapi-generator/FILES +21 -0
- package/api.ts +1 -0
- package/apis/energy-cost-analysis-controller-api.ts +870 -0
- package/apis/energy-cost-record-controller-api.ts +18 -18
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/energy-cost-analysis-controller-api.d.ts +465 -0
- package/dist/apis/energy-cost-analysis-controller-api.js +661 -0
- package/dist/apis/energy-cost-record-controller-api.d.ts +12 -12
- package/dist/apis/energy-cost-record-controller-api.js +14 -14
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/energy-cost-analysis-controller-api.d.ts +465 -0
- package/dist/esm/apis/energy-cost-analysis-controller-api.js +654 -0
- package/dist/esm/apis/energy-cost-record-controller-api.d.ts +12 -12
- package/dist/esm/apis/energy-cost-record-controller-api.js +13 -13
- package/dist/esm/models/energy-cost-analysis-export-dto.d.ts +67 -0
- package/dist/esm/models/energy-cost-analysis-export-dto.js +23 -0
- package/dist/esm/models/energy-cost-analysis-list-vo.d.ts +144 -0
- package/dist/esm/models/energy-cost-analysis-list-vo.js +23 -0
- package/dist/esm/models/energy-cost-analysis-overview-vo.d.ts +84 -0
- package/dist/esm/models/energy-cost-analysis-overview-vo.js +14 -0
- package/dist/esm/models/energy-cost-analysis-query-dto.d.ts +66 -0
- package/dist/esm/models/energy-cost-analysis-query-dto.js +23 -0
- package/dist/esm/models/energy-cost-park-option-vo.d.ts +54 -0
- package/dist/esm/models/energy-cost-park-option-vo.js +14 -0
- package/dist/esm/models/energy-cost-per-area-analysis-vo.d.ts +54 -0
- package/dist/esm/models/energy-cost-per-area-analysis-vo.js +14 -0
- package/dist/esm/models/energy-cost-per-unit-analysis-vo.d.ts +55 -0
- package/dist/esm/models/energy-cost-per-unit-analysis-vo.js +14 -0
- package/dist/esm/models/energy-cost-trend-vo.d.ts +38 -0
- package/dist/esm/models/energy-cost-trend-vo.js +19 -0
- package/dist/esm/models/energy-cost-unit-price-analysis-vo.d.ts +36 -0
- package/dist/esm/models/energy-cost-unit-price-analysis-vo.js +14 -0
- package/dist/esm/models/export-field-config.d.ts +42 -0
- package/dist/esm/models/export-field-config.js +14 -0
- package/dist/esm/models/index.d.ts +20 -0
- package/dist/esm/models/index.js +20 -0
- package/dist/esm/models/ipage-energy-cost-analysis-list-vo.d.ts +62 -0
- package/dist/esm/models/ipage-energy-cost-analysis-list-vo.js +14 -0
- package/dist/esm/models/json-result-energy-cost-analysis-overview-vo.d.ts +62 -0
- package/dist/esm/models/json-result-energy-cost-analysis-overview-vo.js +14 -0
- package/dist/esm/models/json-result-energy-cost-per-area-analysis-vo.d.ts +62 -0
- package/dist/esm/models/json-result-energy-cost-per-area-analysis-vo.js +14 -0
- package/dist/esm/models/json-result-energy-cost-per-unit-analysis-vo.d.ts +62 -0
- package/dist/esm/models/json-result-energy-cost-per-unit-analysis-vo.js +14 -0
- package/dist/esm/models/json-result-energy-cost-unit-price-analysis-vo.d.ts +62 -0
- package/dist/esm/models/json-result-energy-cost-unit-price-analysis-vo.js +14 -0
- package/dist/esm/models/json-result-ipage-energy-cost-analysis-list-vo.d.ts +62 -0
- package/dist/esm/models/json-result-ipage-energy-cost-analysis-list-vo.js +14 -0
- package/dist/esm/models/json-result-list-energy-cost-park-option-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-energy-cost-park-option-vo.js +14 -0
- package/dist/esm/models/json-result-list-energy-cost-trend-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-energy-cost-trend-vo.js +14 -0
- package/dist/esm/models/monthly-data-vo.d.ts +48 -0
- package/dist/esm/models/monthly-data-vo.js +14 -0
- package/dist/esm/models/park-per-unit-detail-vo.d.ts +72 -0
- package/dist/esm/models/park-per-unit-detail-vo.js +14 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/energy-cost-analysis-export-dto.d.ts +67 -0
- package/dist/models/energy-cost-analysis-export-dto.js +26 -0
- package/dist/models/energy-cost-analysis-list-vo.d.ts +144 -0
- package/dist/models/energy-cost-analysis-list-vo.js +26 -0
- package/dist/models/energy-cost-analysis-overview-vo.d.ts +84 -0
- package/dist/models/energy-cost-analysis-overview-vo.js +15 -0
- package/dist/models/energy-cost-analysis-query-dto.d.ts +66 -0
- package/dist/models/energy-cost-analysis-query-dto.js +26 -0
- package/dist/models/energy-cost-park-option-vo.d.ts +54 -0
- package/dist/models/energy-cost-park-option-vo.js +15 -0
- package/dist/models/energy-cost-per-area-analysis-vo.d.ts +54 -0
- package/dist/models/energy-cost-per-area-analysis-vo.js +15 -0
- package/dist/models/energy-cost-per-unit-analysis-vo.d.ts +55 -0
- package/dist/models/energy-cost-per-unit-analysis-vo.js +15 -0
- package/dist/models/energy-cost-trend-vo.d.ts +38 -0
- package/dist/models/energy-cost-trend-vo.js +22 -0
- package/dist/models/energy-cost-unit-price-analysis-vo.d.ts +36 -0
- package/dist/models/energy-cost-unit-price-analysis-vo.js +15 -0
- package/dist/models/export-field-config.d.ts +42 -0
- package/dist/models/export-field-config.js +15 -0
- package/dist/models/index.d.ts +20 -0
- package/dist/models/index.js +20 -0
- package/dist/models/ipage-energy-cost-analysis-list-vo.d.ts +62 -0
- package/dist/models/ipage-energy-cost-analysis-list-vo.js +15 -0
- package/dist/models/json-result-energy-cost-analysis-overview-vo.d.ts +62 -0
- package/dist/models/json-result-energy-cost-analysis-overview-vo.js +15 -0
- package/dist/models/json-result-energy-cost-per-area-analysis-vo.d.ts +62 -0
- package/dist/models/json-result-energy-cost-per-area-analysis-vo.js +15 -0
- package/dist/models/json-result-energy-cost-per-unit-analysis-vo.d.ts +62 -0
- package/dist/models/json-result-energy-cost-per-unit-analysis-vo.js +15 -0
- package/dist/models/json-result-energy-cost-unit-price-analysis-vo.d.ts +62 -0
- package/dist/models/json-result-energy-cost-unit-price-analysis-vo.js +15 -0
- package/dist/models/json-result-ipage-energy-cost-analysis-list-vo.d.ts +62 -0
- package/dist/models/json-result-ipage-energy-cost-analysis-list-vo.js +15 -0
- package/dist/models/json-result-list-energy-cost-park-option-vo.d.ts +62 -0
- package/dist/models/json-result-list-energy-cost-park-option-vo.js +15 -0
- package/dist/models/json-result-list-energy-cost-trend-vo.d.ts +62 -0
- package/dist/models/json-result-list-energy-cost-trend-vo.js +15 -0
- package/dist/models/monthly-data-vo.d.ts +48 -0
- package/dist/models/monthly-data-vo.js +15 -0
- package/dist/models/park-per-unit-detail-vo.d.ts +72 -0
- package/dist/models/park-per-unit-detail-vo.js +15 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/models/energy-cost-analysis-export-dto.ts +79 -0
- package/models/energy-cost-analysis-list-vo.ts +154 -0
- package/models/energy-cost-analysis-overview-vo.ts +90 -0
- package/models/energy-cost-analysis-query-dto.ts +76 -0
- package/models/energy-cost-park-option-vo.ts +60 -0
- package/models/energy-cost-per-area-analysis-vo.ts +60 -0
- package/models/energy-cost-per-unit-analysis-vo.ts +63 -0
- package/models/energy-cost-trend-vo.ts +49 -0
- package/models/energy-cost-unit-price-analysis-vo.ts +42 -0
- package/models/export-field-config.ts +48 -0
- package/models/index.ts +20 -0
- package/models/ipage-energy-cost-analysis-list-vo.ts +70 -0
- package/models/json-result-energy-cost-analysis-overview-vo.ts +72 -0
- package/models/json-result-energy-cost-per-area-analysis-vo.ts +72 -0
- package/models/json-result-energy-cost-per-unit-analysis-vo.ts +72 -0
- package/models/json-result-energy-cost-unit-price-analysis-vo.ts +72 -0
- package/models/json-result-ipage-energy-cost-analysis-list-vo.ts +72 -0
- package/models/json-result-list-energy-cost-park-option-vo.ts +72 -0
- package/models/json-result-list-energy-cost-trend-vo.ts +72 -0
- package/models/monthly-data-vo.ts +54 -0
- package/models/park-per-unit-detail-vo.ts +78 -0
- package/models/sys-user.ts +4 -4
- package/package.json +1 -1
|
@@ -0,0 +1,654 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import globalAxios from 'axios';
|
|
24
|
+
// Some imports not used depending on template conditions
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* EnergyCostAnalysisControllerApi - axios parameter creator
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export const EnergyCostAnalysisControllerApiAxiosParamCreator = function (configuration) {
|
|
34
|
+
return {
|
|
35
|
+
/**
|
|
36
|
+
* 导出列表查询数据为Excel文件
|
|
37
|
+
* @summary 导出分析数据
|
|
38
|
+
* @param {EnergyCostAnalysisExportDTO} energyCostAnalysisExportDTO
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
exportAnalysisData: (energyCostAnalysisExportDTO, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
// verify required parameter 'energyCostAnalysisExportDTO' is not null or undefined
|
|
44
|
+
assertParamExists('exportAnalysisData', 'energyCostAnalysisExportDTO', energyCostAnalysisExportDTO);
|
|
45
|
+
const localVarPath = `/gizone/energy/cost/analysis/export`;
|
|
46
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48
|
+
let baseOptions;
|
|
49
|
+
if (configuration) {
|
|
50
|
+
baseOptions = configuration.baseOptions;
|
|
51
|
+
}
|
|
52
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
53
|
+
const localVarHeaderParameter = {};
|
|
54
|
+
const localVarQueryParameter = {};
|
|
55
|
+
// authentication tokenScheme required
|
|
56
|
+
// http bearer authentication required
|
|
57
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
58
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
59
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisExportDTO, localVarRequestOptions, configuration);
|
|
63
|
+
return {
|
|
64
|
+
url: toPathString(localVarUrlObj),
|
|
65
|
+
options: localVarRequestOptions,
|
|
66
|
+
};
|
|
67
|
+
}),
|
|
68
|
+
/**
|
|
69
|
+
* 获取账单分析列表数据
|
|
70
|
+
* @summary 分析列表数据
|
|
71
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
72
|
+
* @param {number} [page]
|
|
73
|
+
* @param {number} [size]
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
getAnalysisList: (energyCostAnalysisQueryDTO, page, size, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
78
|
+
// verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
|
|
79
|
+
assertParamExists('getAnalysisList', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
|
|
80
|
+
const localVarPath = `/gizone/energy/cost/analysis/list`;
|
|
81
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
82
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83
|
+
let baseOptions;
|
|
84
|
+
if (configuration) {
|
|
85
|
+
baseOptions = configuration.baseOptions;
|
|
86
|
+
}
|
|
87
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
88
|
+
const localVarHeaderParameter = {};
|
|
89
|
+
const localVarQueryParameter = {};
|
|
90
|
+
// authentication tokenScheme required
|
|
91
|
+
// http bearer authentication required
|
|
92
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
93
|
+
if (page !== undefined) {
|
|
94
|
+
localVarQueryParameter['page'] = page;
|
|
95
|
+
}
|
|
96
|
+
if (size !== undefined) {
|
|
97
|
+
localVarQueryParameter['size'] = size;
|
|
98
|
+
}
|
|
99
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
100
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
101
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
102
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
103
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
|
|
104
|
+
return {
|
|
105
|
+
url: toPathString(localVarUrlObj),
|
|
106
|
+
options: localVarRequestOptions,
|
|
107
|
+
};
|
|
108
|
+
}),
|
|
109
|
+
/**
|
|
110
|
+
* 获取当前账单月的分析概览数据
|
|
111
|
+
* @summary 获取分析概览
|
|
112
|
+
* @param {string} billMonth 账单月,格式:yyyy-MM
|
|
113
|
+
* @param {string} [energyTypes] 能源类型列表,多个用逗号分隔
|
|
114
|
+
* @param {string} [scenarios] 场景类型列表,多个用逗号分隔
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
getAnalysisOverview: (billMonth, energyTypes, scenarios, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
119
|
+
// verify required parameter 'billMonth' is not null or undefined
|
|
120
|
+
assertParamExists('getAnalysisOverview', 'billMonth', billMonth);
|
|
121
|
+
const localVarPath = `/gizone/energy/cost/analysis/overview`;
|
|
122
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
123
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
124
|
+
let baseOptions;
|
|
125
|
+
if (configuration) {
|
|
126
|
+
baseOptions = configuration.baseOptions;
|
|
127
|
+
}
|
|
128
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
129
|
+
const localVarHeaderParameter = {};
|
|
130
|
+
const localVarQueryParameter = {};
|
|
131
|
+
// authentication tokenScheme required
|
|
132
|
+
// http bearer authentication required
|
|
133
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
134
|
+
if (billMonth !== undefined) {
|
|
135
|
+
localVarQueryParameter['billMonth'] = billMonth;
|
|
136
|
+
}
|
|
137
|
+
if (energyTypes !== undefined) {
|
|
138
|
+
localVarQueryParameter['energyTypes'] = energyTypes;
|
|
139
|
+
}
|
|
140
|
+
if (scenarios !== undefined) {
|
|
141
|
+
localVarQueryParameter['scenarios'] = scenarios;
|
|
142
|
+
}
|
|
143
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
144
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
145
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
146
|
+
return {
|
|
147
|
+
url: toPathString(localVarUrlObj),
|
|
148
|
+
options: localVarRequestOptions,
|
|
149
|
+
};
|
|
150
|
+
}),
|
|
151
|
+
/**
|
|
152
|
+
* 获取符合分析条件的园区下拉选项
|
|
153
|
+
* @summary 获取园区下拉选项
|
|
154
|
+
* @param {string} billMonth 账单月,格式:yyyy-MM
|
|
155
|
+
* @param {string} [energyTypes] 能源类型列表,多个用逗号分隔
|
|
156
|
+
* @param {boolean} [includeUnmaintained] 是否包含未维护单耗标准的园区
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
getParkOptions: (billMonth, energyTypes, includeUnmaintained, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
161
|
+
// verify required parameter 'billMonth' is not null or undefined
|
|
162
|
+
assertParamExists('getParkOptions', 'billMonth', billMonth);
|
|
163
|
+
const localVarPath = `/gizone/energy/cost/analysis/park-options`;
|
|
164
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
165
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
166
|
+
let baseOptions;
|
|
167
|
+
if (configuration) {
|
|
168
|
+
baseOptions = configuration.baseOptions;
|
|
169
|
+
}
|
|
170
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
171
|
+
const localVarHeaderParameter = {};
|
|
172
|
+
const localVarQueryParameter = {};
|
|
173
|
+
// authentication tokenScheme required
|
|
174
|
+
// http bearer authentication required
|
|
175
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
176
|
+
if (billMonth !== undefined) {
|
|
177
|
+
localVarQueryParameter['billMonth'] = billMonth;
|
|
178
|
+
}
|
|
179
|
+
if (energyTypes !== undefined) {
|
|
180
|
+
localVarQueryParameter['energyTypes'] = energyTypes;
|
|
181
|
+
}
|
|
182
|
+
if (includeUnmaintained !== undefined) {
|
|
183
|
+
localVarQueryParameter['includeUnmaintained'] = includeUnmaintained;
|
|
184
|
+
}
|
|
185
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
186
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
188
|
+
return {
|
|
189
|
+
url: toPathString(localVarUrlObj),
|
|
190
|
+
options: localVarRequestOptions,
|
|
191
|
+
};
|
|
192
|
+
}),
|
|
193
|
+
/**
|
|
194
|
+
* 获取当年各场景的用量趋势图数据
|
|
195
|
+
* @summary 用量趋势分析
|
|
196
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
*/
|
|
200
|
+
getUsageTrend: (energyCostAnalysisQueryDTO, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
201
|
+
// verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
|
|
202
|
+
assertParamExists('getUsageTrend', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
|
|
203
|
+
const localVarPath = `/gizone/energy/cost/analysis/trend`;
|
|
204
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
205
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
206
|
+
let baseOptions;
|
|
207
|
+
if (configuration) {
|
|
208
|
+
baseOptions = configuration.baseOptions;
|
|
209
|
+
}
|
|
210
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
211
|
+
const localVarHeaderParameter = {};
|
|
212
|
+
const localVarQueryParameter = {};
|
|
213
|
+
// authentication tokenScheme required
|
|
214
|
+
// http bearer authentication required
|
|
215
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
216
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
217
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
218
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
219
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
220
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
|
|
221
|
+
return {
|
|
222
|
+
url: toPathString(localVarUrlObj),
|
|
223
|
+
options: localVarRequestOptions,
|
|
224
|
+
};
|
|
225
|
+
}),
|
|
226
|
+
/**
|
|
227
|
+
* 计算园区单平单价,包括实际、年平均、上月、去年同期等指标
|
|
228
|
+
* @summary 单平单价分析
|
|
229
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
230
|
+
* @param {*} [options] Override http request option.
|
|
231
|
+
* @throws {RequiredError}
|
|
232
|
+
*/
|
|
233
|
+
perAreaAnalysis: (energyCostAnalysisQueryDTO, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
234
|
+
// verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
|
|
235
|
+
assertParamExists('perAreaAnalysis', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
|
|
236
|
+
const localVarPath = `/gizone/energy/cost/analysis/per-area-analysis`;
|
|
237
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
238
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
239
|
+
let baseOptions;
|
|
240
|
+
if (configuration) {
|
|
241
|
+
baseOptions = configuration.baseOptions;
|
|
242
|
+
}
|
|
243
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
244
|
+
const localVarHeaderParameter = {};
|
|
245
|
+
const localVarQueryParameter = {};
|
|
246
|
+
// authentication tokenScheme required
|
|
247
|
+
// http bearer authentication required
|
|
248
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
249
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
250
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
251
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
252
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
253
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
|
|
254
|
+
return {
|
|
255
|
+
url: toPathString(localVarUrlObj),
|
|
256
|
+
options: localVarRequestOptions,
|
|
257
|
+
};
|
|
258
|
+
}),
|
|
259
|
+
/**
|
|
260
|
+
* 计算园区单耗,包括当期/标准、年平均、上月、去年同期等指标
|
|
261
|
+
* @summary 单耗分析
|
|
262
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
263
|
+
* @param {*} [options] Override http request option.
|
|
264
|
+
* @throws {RequiredError}
|
|
265
|
+
*/
|
|
266
|
+
perUnitAnalysis: (energyCostAnalysisQueryDTO, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
267
|
+
// verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
|
|
268
|
+
assertParamExists('perUnitAnalysis', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
|
|
269
|
+
const localVarPath = `/gizone/energy/cost/analysis/per-unit-analysis`;
|
|
270
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
271
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
272
|
+
let baseOptions;
|
|
273
|
+
if (configuration) {
|
|
274
|
+
baseOptions = configuration.baseOptions;
|
|
275
|
+
}
|
|
276
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
277
|
+
const localVarHeaderParameter = {};
|
|
278
|
+
const localVarQueryParameter = {};
|
|
279
|
+
// authentication tokenScheme required
|
|
280
|
+
// http bearer authentication required
|
|
281
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
282
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
283
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
284
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
285
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
286
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
|
|
287
|
+
return {
|
|
288
|
+
url: toPathString(localVarUrlObj),
|
|
289
|
+
options: localVarRequestOptions,
|
|
290
|
+
};
|
|
291
|
+
}),
|
|
292
|
+
/**
|
|
293
|
+
* 计算园区平均单价,包括当期、年平均、上月等指标
|
|
294
|
+
* @summary 单价分析
|
|
295
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
296
|
+
* @param {*} [options] Override http request option.
|
|
297
|
+
* @throws {RequiredError}
|
|
298
|
+
*/
|
|
299
|
+
unitPriceAnalysis: (energyCostAnalysisQueryDTO, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
300
|
+
// verify required parameter 'energyCostAnalysisQueryDTO' is not null or undefined
|
|
301
|
+
assertParamExists('unitPriceAnalysis', 'energyCostAnalysisQueryDTO', energyCostAnalysisQueryDTO);
|
|
302
|
+
const localVarPath = `/gizone/energy/cost/analysis/unit-price-analysis`;
|
|
303
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
304
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
305
|
+
let baseOptions;
|
|
306
|
+
if (configuration) {
|
|
307
|
+
baseOptions = configuration.baseOptions;
|
|
308
|
+
}
|
|
309
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
310
|
+
const localVarHeaderParameter = {};
|
|
311
|
+
const localVarQueryParameter = {};
|
|
312
|
+
// authentication tokenScheme required
|
|
313
|
+
// http bearer authentication required
|
|
314
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
315
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
316
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
317
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
318
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
319
|
+
localVarRequestOptions.data = serializeDataIfNeeded(energyCostAnalysisQueryDTO, localVarRequestOptions, configuration);
|
|
320
|
+
return {
|
|
321
|
+
url: toPathString(localVarUrlObj),
|
|
322
|
+
options: localVarRequestOptions,
|
|
323
|
+
};
|
|
324
|
+
}),
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
/**
|
|
328
|
+
* EnergyCostAnalysisControllerApi - functional programming interface
|
|
329
|
+
* @export
|
|
330
|
+
*/
|
|
331
|
+
export const EnergyCostAnalysisControllerApiFp = function (configuration) {
|
|
332
|
+
const localVarAxiosParamCreator = EnergyCostAnalysisControllerApiAxiosParamCreator(configuration);
|
|
333
|
+
return {
|
|
334
|
+
/**
|
|
335
|
+
* 导出列表查询数据为Excel文件
|
|
336
|
+
* @summary 导出分析数据
|
|
337
|
+
* @param {EnergyCostAnalysisExportDTO} energyCostAnalysisExportDTO
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
exportAnalysisData(energyCostAnalysisExportDTO, options) {
|
|
342
|
+
var _a, _b, _c;
|
|
343
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
344
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportAnalysisData(energyCostAnalysisExportDTO, options);
|
|
345
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
346
|
+
const operationBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.exportAnalysisData']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
347
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
348
|
+
});
|
|
349
|
+
},
|
|
350
|
+
/**
|
|
351
|
+
* 获取账单分析列表数据
|
|
352
|
+
* @summary 分析列表数据
|
|
353
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
354
|
+
* @param {number} [page]
|
|
355
|
+
* @param {number} [size]
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
getAnalysisList(energyCostAnalysisQueryDTO, page, size, options) {
|
|
360
|
+
var _a, _b, _c;
|
|
361
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
362
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAnalysisList(energyCostAnalysisQueryDTO, page, size, options);
|
|
363
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
364
|
+
const operationBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.getAnalysisList']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
365
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
366
|
+
});
|
|
367
|
+
},
|
|
368
|
+
/**
|
|
369
|
+
* 获取当前账单月的分析概览数据
|
|
370
|
+
* @summary 获取分析概览
|
|
371
|
+
* @param {string} billMonth 账单月,格式:yyyy-MM
|
|
372
|
+
* @param {string} [energyTypes] 能源类型列表,多个用逗号分隔
|
|
373
|
+
* @param {string} [scenarios] 场景类型列表,多个用逗号分隔
|
|
374
|
+
* @param {*} [options] Override http request option.
|
|
375
|
+
* @throws {RequiredError}
|
|
376
|
+
*/
|
|
377
|
+
getAnalysisOverview(billMonth, energyTypes, scenarios, options) {
|
|
378
|
+
var _a, _b, _c;
|
|
379
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
380
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAnalysisOverview(billMonth, energyTypes, scenarios, options);
|
|
381
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
382
|
+
const operationBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.getAnalysisOverview']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
383
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
384
|
+
});
|
|
385
|
+
},
|
|
386
|
+
/**
|
|
387
|
+
* 获取符合分析条件的园区下拉选项
|
|
388
|
+
* @summary 获取园区下拉选项
|
|
389
|
+
* @param {string} billMonth 账单月,格式:yyyy-MM
|
|
390
|
+
* @param {string} [energyTypes] 能源类型列表,多个用逗号分隔
|
|
391
|
+
* @param {boolean} [includeUnmaintained] 是否包含未维护单耗标准的园区
|
|
392
|
+
* @param {*} [options] Override http request option.
|
|
393
|
+
* @throws {RequiredError}
|
|
394
|
+
*/
|
|
395
|
+
getParkOptions(billMonth, energyTypes, includeUnmaintained, options) {
|
|
396
|
+
var _a, _b, _c;
|
|
397
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
398
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getParkOptions(billMonth, energyTypes, includeUnmaintained, options);
|
|
399
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
400
|
+
const operationBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.getParkOptions']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
401
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
402
|
+
});
|
|
403
|
+
},
|
|
404
|
+
/**
|
|
405
|
+
* 获取当年各场景的用量趋势图数据
|
|
406
|
+
* @summary 用量趋势分析
|
|
407
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
408
|
+
* @param {*} [options] Override http request option.
|
|
409
|
+
* @throws {RequiredError}
|
|
410
|
+
*/
|
|
411
|
+
getUsageTrend(energyCostAnalysisQueryDTO, options) {
|
|
412
|
+
var _a, _b, _c;
|
|
413
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
414
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUsageTrend(energyCostAnalysisQueryDTO, options);
|
|
415
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
416
|
+
const operationBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.getUsageTrend']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
417
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
418
|
+
});
|
|
419
|
+
},
|
|
420
|
+
/**
|
|
421
|
+
* 计算园区单平单价,包括实际、年平均、上月、去年同期等指标
|
|
422
|
+
* @summary 单平单价分析
|
|
423
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
424
|
+
* @param {*} [options] Override http request option.
|
|
425
|
+
* @throws {RequiredError}
|
|
426
|
+
*/
|
|
427
|
+
perAreaAnalysis(energyCostAnalysisQueryDTO, options) {
|
|
428
|
+
var _a, _b, _c;
|
|
429
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
430
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.perAreaAnalysis(energyCostAnalysisQueryDTO, options);
|
|
431
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
432
|
+
const operationBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.perAreaAnalysis']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
433
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
434
|
+
});
|
|
435
|
+
},
|
|
436
|
+
/**
|
|
437
|
+
* 计算园区单耗,包括当期/标准、年平均、上月、去年同期等指标
|
|
438
|
+
* @summary 单耗分析
|
|
439
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
440
|
+
* @param {*} [options] Override http request option.
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
*/
|
|
443
|
+
perUnitAnalysis(energyCostAnalysisQueryDTO, options) {
|
|
444
|
+
var _a, _b, _c;
|
|
445
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
446
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.perUnitAnalysis(energyCostAnalysisQueryDTO, options);
|
|
447
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
448
|
+
const operationBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.perUnitAnalysis']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
449
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
450
|
+
});
|
|
451
|
+
},
|
|
452
|
+
/**
|
|
453
|
+
* 计算园区平均单价,包括当期、年平均、上月等指标
|
|
454
|
+
* @summary 单价分析
|
|
455
|
+
* @param {EnergyCostAnalysisQueryDTO} energyCostAnalysisQueryDTO
|
|
456
|
+
* @param {*} [options] Override http request option.
|
|
457
|
+
* @throws {RequiredError}
|
|
458
|
+
*/
|
|
459
|
+
unitPriceAnalysis(energyCostAnalysisQueryDTO, options) {
|
|
460
|
+
var _a, _b, _c;
|
|
461
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
462
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.unitPriceAnalysis(energyCostAnalysisQueryDTO, options);
|
|
463
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
464
|
+
const operationBasePath = (_c = (_b = operationServerMap['EnergyCostAnalysisControllerApi.unitPriceAnalysis']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
465
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
466
|
+
});
|
|
467
|
+
},
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
/**
|
|
471
|
+
* EnergyCostAnalysisControllerApi - factory interface
|
|
472
|
+
* @export
|
|
473
|
+
*/
|
|
474
|
+
export const EnergyCostAnalysisControllerApiFactory = function (configuration, basePath, axios) {
|
|
475
|
+
const localVarFp = EnergyCostAnalysisControllerApiFp(configuration);
|
|
476
|
+
return {
|
|
477
|
+
/**
|
|
478
|
+
* 导出列表查询数据为Excel文件
|
|
479
|
+
* @summary 导出分析数据
|
|
480
|
+
* @param {EnergyCostAnalysisControllerApiExportAnalysisDataRequest} requestParameters Request parameters.
|
|
481
|
+
* @param {*} [options] Override http request option.
|
|
482
|
+
* @throws {RequiredError}
|
|
483
|
+
*/
|
|
484
|
+
exportAnalysisData(requestParameters, options) {
|
|
485
|
+
return localVarFp.exportAnalysisData(requestParameters.energyCostAnalysisExportDTO, options).then((request) => request(axios, basePath));
|
|
486
|
+
},
|
|
487
|
+
/**
|
|
488
|
+
* 获取账单分析列表数据
|
|
489
|
+
* @summary 分析列表数据
|
|
490
|
+
* @param {EnergyCostAnalysisControllerApiGetAnalysisListRequest} requestParameters Request parameters.
|
|
491
|
+
* @param {*} [options] Override http request option.
|
|
492
|
+
* @throws {RequiredError}
|
|
493
|
+
*/
|
|
494
|
+
getAnalysisList(requestParameters, options) {
|
|
495
|
+
return localVarFp.getAnalysisList(requestParameters.energyCostAnalysisQueryDTO, requestParameters.page, requestParameters.size, options).then((request) => request(axios, basePath));
|
|
496
|
+
},
|
|
497
|
+
/**
|
|
498
|
+
* 获取当前账单月的分析概览数据
|
|
499
|
+
* @summary 获取分析概览
|
|
500
|
+
* @param {EnergyCostAnalysisControllerApiGetAnalysisOverviewRequest} requestParameters Request parameters.
|
|
501
|
+
* @param {*} [options] Override http request option.
|
|
502
|
+
* @throws {RequiredError}
|
|
503
|
+
*/
|
|
504
|
+
getAnalysisOverview(requestParameters, options) {
|
|
505
|
+
return localVarFp.getAnalysisOverview(requestParameters.billMonth, requestParameters.energyTypes, requestParameters.scenarios, options).then((request) => request(axios, basePath));
|
|
506
|
+
},
|
|
507
|
+
/**
|
|
508
|
+
* 获取符合分析条件的园区下拉选项
|
|
509
|
+
* @summary 获取园区下拉选项
|
|
510
|
+
* @param {EnergyCostAnalysisControllerApiGetParkOptionsRequest} requestParameters Request parameters.
|
|
511
|
+
* @param {*} [options] Override http request option.
|
|
512
|
+
* @throws {RequiredError}
|
|
513
|
+
*/
|
|
514
|
+
getParkOptions(requestParameters, options) {
|
|
515
|
+
return localVarFp.getParkOptions(requestParameters.billMonth, requestParameters.energyTypes, requestParameters.includeUnmaintained, options).then((request) => request(axios, basePath));
|
|
516
|
+
},
|
|
517
|
+
/**
|
|
518
|
+
* 获取当年各场景的用量趋势图数据
|
|
519
|
+
* @summary 用量趋势分析
|
|
520
|
+
* @param {EnergyCostAnalysisControllerApiGetUsageTrendRequest} requestParameters Request parameters.
|
|
521
|
+
* @param {*} [options] Override http request option.
|
|
522
|
+
* @throws {RequiredError}
|
|
523
|
+
*/
|
|
524
|
+
getUsageTrend(requestParameters, options) {
|
|
525
|
+
return localVarFp.getUsageTrend(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
|
|
526
|
+
},
|
|
527
|
+
/**
|
|
528
|
+
* 计算园区单平单价,包括实际、年平均、上月、去年同期等指标
|
|
529
|
+
* @summary 单平单价分析
|
|
530
|
+
* @param {EnergyCostAnalysisControllerApiPerAreaAnalysisRequest} requestParameters Request parameters.
|
|
531
|
+
* @param {*} [options] Override http request option.
|
|
532
|
+
* @throws {RequiredError}
|
|
533
|
+
*/
|
|
534
|
+
perAreaAnalysis(requestParameters, options) {
|
|
535
|
+
return localVarFp.perAreaAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
|
|
536
|
+
},
|
|
537
|
+
/**
|
|
538
|
+
* 计算园区单耗,包括当期/标准、年平均、上月、去年同期等指标
|
|
539
|
+
* @summary 单耗分析
|
|
540
|
+
* @param {EnergyCostAnalysisControllerApiPerUnitAnalysisRequest} requestParameters Request parameters.
|
|
541
|
+
* @param {*} [options] Override http request option.
|
|
542
|
+
* @throws {RequiredError}
|
|
543
|
+
*/
|
|
544
|
+
perUnitAnalysis(requestParameters, options) {
|
|
545
|
+
return localVarFp.perUnitAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
|
|
546
|
+
},
|
|
547
|
+
/**
|
|
548
|
+
* 计算园区平均单价,包括当期、年平均、上月等指标
|
|
549
|
+
* @summary 单价分析
|
|
550
|
+
* @param {EnergyCostAnalysisControllerApiUnitPriceAnalysisRequest} requestParameters Request parameters.
|
|
551
|
+
* @param {*} [options] Override http request option.
|
|
552
|
+
* @throws {RequiredError}
|
|
553
|
+
*/
|
|
554
|
+
unitPriceAnalysis(requestParameters, options) {
|
|
555
|
+
return localVarFp.unitPriceAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(axios, basePath));
|
|
556
|
+
},
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
/**
|
|
560
|
+
* EnergyCostAnalysisControllerApi - object-oriented interface
|
|
561
|
+
* @export
|
|
562
|
+
* @class EnergyCostAnalysisControllerApi
|
|
563
|
+
* @extends {BaseAPI}
|
|
564
|
+
*/
|
|
565
|
+
export class EnergyCostAnalysisControllerApi extends BaseAPI {
|
|
566
|
+
/**
|
|
567
|
+
* 导出列表查询数据为Excel文件
|
|
568
|
+
* @summary 导出分析数据
|
|
569
|
+
* @param {EnergyCostAnalysisControllerApiExportAnalysisDataRequest} requestParameters Request parameters.
|
|
570
|
+
* @param {*} [options] Override http request option.
|
|
571
|
+
* @throws {RequiredError}
|
|
572
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
573
|
+
*/
|
|
574
|
+
exportAnalysisData(requestParameters, options) {
|
|
575
|
+
return EnergyCostAnalysisControllerApiFp(this.configuration).exportAnalysisData(requestParameters.energyCostAnalysisExportDTO, options).then((request) => request(this.axios, this.basePath));
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* 获取账单分析列表数据
|
|
579
|
+
* @summary 分析列表数据
|
|
580
|
+
* @param {EnergyCostAnalysisControllerApiGetAnalysisListRequest} requestParameters Request parameters.
|
|
581
|
+
* @param {*} [options] Override http request option.
|
|
582
|
+
* @throws {RequiredError}
|
|
583
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
584
|
+
*/
|
|
585
|
+
getAnalysisList(requestParameters, options) {
|
|
586
|
+
return EnergyCostAnalysisControllerApiFp(this.configuration).getAnalysisList(requestParameters.energyCostAnalysisQueryDTO, requestParameters.page, requestParameters.size, options).then((request) => request(this.axios, this.basePath));
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
* 获取当前账单月的分析概览数据
|
|
590
|
+
* @summary 获取分析概览
|
|
591
|
+
* @param {EnergyCostAnalysisControllerApiGetAnalysisOverviewRequest} requestParameters Request parameters.
|
|
592
|
+
* @param {*} [options] Override http request option.
|
|
593
|
+
* @throws {RequiredError}
|
|
594
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
595
|
+
*/
|
|
596
|
+
getAnalysisOverview(requestParameters, options) {
|
|
597
|
+
return EnergyCostAnalysisControllerApiFp(this.configuration).getAnalysisOverview(requestParameters.billMonth, requestParameters.energyTypes, requestParameters.scenarios, options).then((request) => request(this.axios, this.basePath));
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* 获取符合分析条件的园区下拉选项
|
|
601
|
+
* @summary 获取园区下拉选项
|
|
602
|
+
* @param {EnergyCostAnalysisControllerApiGetParkOptionsRequest} requestParameters Request parameters.
|
|
603
|
+
* @param {*} [options] Override http request option.
|
|
604
|
+
* @throws {RequiredError}
|
|
605
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
606
|
+
*/
|
|
607
|
+
getParkOptions(requestParameters, options) {
|
|
608
|
+
return EnergyCostAnalysisControllerApiFp(this.configuration).getParkOptions(requestParameters.billMonth, requestParameters.energyTypes, requestParameters.includeUnmaintained, options).then((request) => request(this.axios, this.basePath));
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* 获取当年各场景的用量趋势图数据
|
|
612
|
+
* @summary 用量趋势分析
|
|
613
|
+
* @param {EnergyCostAnalysisControllerApiGetUsageTrendRequest} requestParameters Request parameters.
|
|
614
|
+
* @param {*} [options] Override http request option.
|
|
615
|
+
* @throws {RequiredError}
|
|
616
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
617
|
+
*/
|
|
618
|
+
getUsageTrend(requestParameters, options) {
|
|
619
|
+
return EnergyCostAnalysisControllerApiFp(this.configuration).getUsageTrend(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* 计算园区单平单价,包括实际、年平均、上月、去年同期等指标
|
|
623
|
+
* @summary 单平单价分析
|
|
624
|
+
* @param {EnergyCostAnalysisControllerApiPerAreaAnalysisRequest} requestParameters Request parameters.
|
|
625
|
+
* @param {*} [options] Override http request option.
|
|
626
|
+
* @throws {RequiredError}
|
|
627
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
628
|
+
*/
|
|
629
|
+
perAreaAnalysis(requestParameters, options) {
|
|
630
|
+
return EnergyCostAnalysisControllerApiFp(this.configuration).perAreaAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* 计算园区单耗,包括当期/标准、年平均、上月、去年同期等指标
|
|
634
|
+
* @summary 单耗分析
|
|
635
|
+
* @param {EnergyCostAnalysisControllerApiPerUnitAnalysisRequest} requestParameters Request parameters.
|
|
636
|
+
* @param {*} [options] Override http request option.
|
|
637
|
+
* @throws {RequiredError}
|
|
638
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
639
|
+
*/
|
|
640
|
+
perUnitAnalysis(requestParameters, options) {
|
|
641
|
+
return EnergyCostAnalysisControllerApiFp(this.configuration).perUnitAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* 计算园区平均单价,包括当期、年平均、上月等指标
|
|
645
|
+
* @summary 单价分析
|
|
646
|
+
* @param {EnergyCostAnalysisControllerApiUnitPriceAnalysisRequest} requestParameters Request parameters.
|
|
647
|
+
* @param {*} [options] Override http request option.
|
|
648
|
+
* @throws {RequiredError}
|
|
649
|
+
* @memberof EnergyCostAnalysisControllerApi
|
|
650
|
+
*/
|
|
651
|
+
unitPriceAnalysis(requestParameters, options) {
|
|
652
|
+
return EnergyCostAnalysisControllerApiFp(this.configuration).unitPriceAnalysis(requestParameters.energyCostAnalysisQueryDTO, options).then((request) => request(this.axios, this.basePath));
|
|
653
|
+
}
|
|
654
|
+
}
|