coolcare-lite-scada-component 1.0.63 → 1.0.64

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.
@@ -66,7 +66,7 @@ export function GetPointPage(_x5, _x6) {
66
66
  return _GetPointPage.apply(this, arguments);
67
67
  }
68
68
 
69
- /** 获取点位历史数据 POST /api/GatewayMicro/Point/GetPointHistoryData */
69
+ /** 获取点位历史数据 POST /api/GatewayMicro/DeviceIndicator/GetTdIndicatorHistoryData */
70
70
  function _GetPointPage() {
71
71
  _GetPointPage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(body, options) {
72
72
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
@@ -87,16 +87,16 @@ function _GetPointPage() {
87
87
  }));
88
88
  return _GetPointPage.apply(this, arguments);
89
89
  }
90
- export function GetPointHistoryData(_x7, _x8) {
91
- return _GetPointHistoryData.apply(this, arguments);
90
+ export function GetTdIndicatorHistoryData(_x7, _x8) {
91
+ return _GetTdIndicatorHistoryData.apply(this, arguments);
92
92
  }
93
93
  /** 获取点位历史数据 POST /api/GatewayMicro/Point/GetPointHistoryData */
94
- function _GetPointHistoryData() {
95
- _GetPointHistoryData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(body, options) {
94
+ function _GetTdIndicatorHistoryData() {
95
+ _GetTdIndicatorHistoryData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(body, options) {
96
96
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
97
97
  while (1) switch (_context4.prev = _context4.next) {
98
98
  case 0:
99
- return _context4.abrupt("return", request('/api/GatewayMicro/Point/GetPointHistoryData', _objectSpread({
99
+ return _context4.abrupt("return", request('/api/GatewayMicro/DeviceIndicator/GetTdIndicatorHistoryData', _objectSpread({
100
100
  method: 'POST',
101
101
  headers: {
102
102
  'Content-Type': 'application/json-patch+json'
@@ -109,19 +109,18 @@ function _GetPointHistoryData() {
109
109
  }
110
110
  }, _callee4);
111
111
  }));
112
- return _GetPointHistoryData.apply(this, arguments);
112
+ return _GetTdIndicatorHistoryData.apply(this, arguments);
113
113
  }
114
- export function GetPointAggregationData(_x9, _x0) {
115
- return _GetPointAggregationData.apply(this, arguments);
114
+ export function GetPointHistoryData(_x9, _x0) {
115
+ return _GetPointHistoryData.apply(this, arguments);
116
116
  }
117
-
118
117
  /** 获取点位历史数据 POST /api/GatewayMicro/Point/GetPointHistoryData */
119
- function _GetPointAggregationData() {
120
- _GetPointAggregationData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(body, options) {
118
+ function _GetPointHistoryData() {
119
+ _GetPointHistoryData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(body, options) {
121
120
  return _regeneratorRuntime().wrap(function _callee5$(_context5) {
122
121
  while (1) switch (_context5.prev = _context5.next) {
123
122
  case 0:
124
- return _context5.abrupt("return", request('/api/GatewayMicro/Point/GetPointAggregationData', _objectSpread({
123
+ return _context5.abrupt("return", request('/api/GatewayMicro/Point/GetPointHistoryData', _objectSpread({
125
124
  method: 'POST',
126
125
  headers: {
127
126
  'Content-Type': 'application/json-patch+json'
@@ -134,19 +133,19 @@ function _GetPointAggregationData() {
134
133
  }
135
134
  }, _callee5);
136
135
  }));
137
- return _GetPointAggregationData.apply(this, arguments);
136
+ return _GetPointHistoryData.apply(this, arguments);
138
137
  }
139
- export function GetTdIndicatorAggregateData(_x1, _x10) {
140
- return _GetTdIndicatorAggregateData.apply(this, arguments);
138
+ export function GetPointAggregationData(_x1, _x10) {
139
+ return _GetPointAggregationData.apply(this, arguments);
141
140
  }
142
141
 
143
- /** 历史数据导出xlsx货pdf(支持进度条) POST /api/GatewayMicro/Point/DownHistoryDataToExcelOrPdf */
144
- function _GetTdIndicatorAggregateData() {
145
- _GetTdIndicatorAggregateData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(body, options) {
142
+ /** 获取点位历史数据 POST /api/GatewayMicro/Point/GetPointHistoryData */
143
+ function _GetPointAggregationData() {
144
+ _GetPointAggregationData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(body, options) {
146
145
  return _regeneratorRuntime().wrap(function _callee6$(_context6) {
147
146
  while (1) switch (_context6.prev = _context6.next) {
148
147
  case 0:
149
- return _context6.abrupt("return", request('/api/GatewayMicro/DeviceIndicator/GetTdIndicatorAggregateData', _objectSpread({
148
+ return _context6.abrupt("return", request('/api/GatewayMicro/Point/GetPointAggregationData', _objectSpread({
150
149
  method: 'POST',
151
150
  headers: {
152
151
  'Content-Type': 'application/json-patch+json'
@@ -159,17 +158,19 @@ function _GetTdIndicatorAggregateData() {
159
158
  }
160
159
  }, _callee6);
161
160
  }));
162
- return _GetTdIndicatorAggregateData.apply(this, arguments);
161
+ return _GetPointAggregationData.apply(this, arguments);
163
162
  }
164
- export function DownHistoryDataToExcelOrPdf(_x11, _x12) {
165
- return _DownHistoryDataToExcelOrPdf.apply(this, arguments);
163
+ export function GetTdIndicatorAggregateData(_x11, _x12) {
164
+ return _GetTdIndicatorAggregateData.apply(this, arguments);
166
165
  }
167
- function _DownHistoryDataToExcelOrPdf() {
168
- _DownHistoryDataToExcelOrPdf = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(body, options) {
166
+
167
+ /** 历史数据导出xlsx货pdf(支持进度条) POST /api/GatewayMicro/Point/DownHistoryDataToExcelOrPdf */
168
+ function _GetTdIndicatorAggregateData() {
169
+ _GetTdIndicatorAggregateData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(body, options) {
169
170
  return _regeneratorRuntime().wrap(function _callee7$(_context7) {
170
171
  while (1) switch (_context7.prev = _context7.next) {
171
172
  case 0:
172
- return _context7.abrupt("return", request('/api/GatewayMicro/Point/DownHistoryDataToExcelOrPdf', _objectSpread({
173
+ return _context7.abrupt("return", request('/api/GatewayMicro/DeviceIndicator/GetTdIndicatorAggregateData', _objectSpread({
173
174
  method: 'POST',
174
175
  headers: {
175
176
  'Content-Type': 'application/json-patch+json'
@@ -182,5 +183,28 @@ function _DownHistoryDataToExcelOrPdf() {
182
183
  }
183
184
  }, _callee7);
184
185
  }));
186
+ return _GetTdIndicatorAggregateData.apply(this, arguments);
187
+ }
188
+ export function DownHistoryDataToExcelOrPdf(_x13, _x14) {
189
+ return _DownHistoryDataToExcelOrPdf.apply(this, arguments);
190
+ }
191
+ function _DownHistoryDataToExcelOrPdf() {
192
+ _DownHistoryDataToExcelOrPdf = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(body, options) {
193
+ return _regeneratorRuntime().wrap(function _callee8$(_context8) {
194
+ while (1) switch (_context8.prev = _context8.next) {
195
+ case 0:
196
+ return _context8.abrupt("return", request('/api/GatewayMicro/Point/DownHistoryDataToExcelOrPdf', _objectSpread({
197
+ method: 'POST',
198
+ headers: {
199
+ 'Content-Type': 'application/json-patch+json'
200
+ },
201
+ data: body
202
+ }, options || {})));
203
+ case 1:
204
+ case "end":
205
+ return _context8.stop();
206
+ }
207
+ }, _callee8);
208
+ }));
185
209
  return _DownHistoryDataToExcelOrPdf.apply(this, arguments);
186
210
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coolcare-lite-scada-component",
3
- "version": "1.0.63",
3
+ "version": "1.0.64",
4
4
  "scripts": {
5
5
  "start": " PORT=8000 UMI_ENV=prod umi dev",
6
6
  "build:prod": "UMI_ENV=prod umi build",