@gizone/rrs-client 4.1.2-alpha.169 → 4.1.2-alpha.171
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 +3 -0
- package/apis/equipment-api.ts +0 -91
- package/apis/open-api-api.ts +312 -0
- package/dist/apis/equipment-api.d.ts +0 -47
- package/dist/apis/equipment-api.js +0 -70
- package/dist/apis/open-api-api.d.ts +166 -0
- package/dist/apis/open-api-api.js +226 -0
- package/dist/esm/apis/equipment-api.d.ts +0 -47
- package/dist/esm/apis/equipment-api.js +0 -70
- package/dist/esm/apis/open-api-api.d.ts +166 -0
- package/dist/esm/apis/open-api-api.js +227 -1
- package/dist/esm/models/equipment-detail-dto.d.ts +29 -1
- package/dist/esm/models/equipment-detail-dto.js +8 -1
- package/dist/esm/models/equipment-edit-batch-vo.d.ts +10 -1
- package/dist/esm/models/equipment-edit-batch-vo.js +8 -1
- package/dist/esm/models/equipment-edit-vo.d.ts +23 -1
- package/dist/esm/models/equipment-edit-vo.js +8 -1
- package/dist/esm/models/equipment-search-system-dto.d.ts +29 -1
- package/dist/esm/models/equipment-search-system-dto.js +8 -1
- package/dist/esm/models/equipment-search-vo.d.ts +11 -2
- package/dist/esm/models/equipment-search-vo.js +8 -1
- package/dist/esm/models/equipment-status.d.ts +30 -0
- package/dist/esm/models/equipment-status.js +14 -0
- package/dist/esm/models/equipment-tree-details-dto.d.ts +30 -2
- package/dist/esm/models/equipment-tree-details-dto.js +8 -1
- package/dist/esm/models/equipment.d.ts +62 -8
- package/dist/esm/models/get-user-wx200-response.d.ts +9 -9
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/models/park-info-dto.d.ts +6 -0
- package/dist/esm/models/sync-equipment-status-vo.d.ts +37 -0
- package/dist/esm/models/sync-equipment-status-vo.js +14 -0
- package/dist/esm/models/sync-equipment-vo.d.ts +13 -174
- package/dist/esm/models/third-party-system-enum.d.ts +22 -0
- package/dist/esm/models/third-party-system-enum.js +23 -0
- package/dist/esm/models/work-order-dept-settings-add-or-update-vo.d.ts +2 -2
- package/dist/esm/models/work-order-dept-settings-entity.d.ts +2 -2
- package/dist/esm/models/work-order-issue-type-enum.d.ts +1 -0
- package/dist/esm/models/work-order-issue-type-enum.js +1 -0
- package/dist/models/equipment-detail-dto.d.ts +29 -1
- package/dist/models/equipment-detail-dto.js +9 -0
- package/dist/models/equipment-edit-batch-vo.d.ts +10 -1
- package/dist/models/equipment-edit-batch-vo.js +9 -0
- package/dist/models/equipment-edit-vo.d.ts +23 -1
- package/dist/models/equipment-edit-vo.js +9 -0
- package/dist/models/equipment-search-system-dto.d.ts +29 -1
- package/dist/models/equipment-search-system-dto.js +9 -0
- package/dist/models/equipment-search-vo.d.ts +11 -2
- package/dist/models/equipment-search-vo.js +9 -0
- package/dist/models/equipment-status.d.ts +30 -0
- package/dist/models/equipment-status.js +15 -0
- package/dist/models/equipment-tree-details-dto.d.ts +30 -2
- package/dist/models/equipment-tree-details-dto.js +9 -0
- package/dist/models/equipment.d.ts +62 -8
- package/dist/models/get-user-wx200-response.d.ts +9 -9
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/park-info-dto.d.ts +6 -0
- package/dist/models/sync-equipment-status-vo.d.ts +37 -0
- package/dist/models/sync-equipment-status-vo.js +15 -0
- package/dist/models/sync-equipment-vo.d.ts +13 -174
- package/dist/models/third-party-system-enum.d.ts +22 -0
- package/dist/models/third-party-system-enum.js +26 -0
- package/dist/models/work-order-dept-settings-add-or-update-vo.d.ts +2 -2
- package/dist/models/work-order-dept-settings-entity.d.ts +2 -2
- package/dist/models/work-order-issue-type-enum.d.ts +1 -0
- package/dist/models/work-order-issue-type-enum.js +1 -0
- package/models/equipment-detail-dto.ts +34 -1
- package/models/equipment-edit-batch-vo.ts +13 -1
- package/models/equipment-edit-vo.ts +28 -1
- package/models/equipment-search-system-dto.ts +34 -1
- package/models/equipment-search-vo.ts +14 -2
- package/models/equipment-status.ts +36 -0
- package/models/equipment-tree-details-dto.ts +35 -2
- package/models/equipment.ts +62 -8
- package/models/get-user-wx200-response.ts +9 -9
- package/models/index.ts +3 -0
- package/models/park-info-dto.ts +6 -0
- package/models/sync-equipment-status-vo.ts +45 -0
- package/models/sync-equipment-vo.ts +15 -174
- package/models/third-party-system-enum.ts +32 -0
- package/models/work-order-dept-settings-add-or-update-vo.ts +2 -2
- package/models/work-order-dept-settings-entity.ts +2 -2
- package/models/work-order-issue-type-enum.ts +1 -0
- package/package.json +1 -1
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
// May contain unused imports in some cases
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import type { MaintenanceHistoryDto } from './maintenance-history-dto';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { ThirdPartySystemEnum } from './third-party-system-enum';
|
|
19
22
|
|
|
20
23
|
/**
|
|
21
24
|
* 设备列表参数
|
|
@@ -40,7 +43,7 @@ export interface EquipmentSearchSystemDTO {
|
|
|
40
43
|
* @type {string}
|
|
41
44
|
* @memberof EquipmentSearchSystemDTO
|
|
42
45
|
*/
|
|
43
|
-
'equipmentStatus'?:
|
|
46
|
+
'equipmentStatus'?: EquipmentSearchSystemDTOEquipmentStatusEnum;
|
|
44
47
|
/**
|
|
45
48
|
* 设备系统
|
|
46
49
|
* @type {string}
|
|
@@ -239,5 +242,35 @@ export interface EquipmentSearchSystemDTO {
|
|
|
239
242
|
* @memberof EquipmentSearchSystemDTO
|
|
240
243
|
*/
|
|
241
244
|
'spacePoint'?: Array<Array<number>>;
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @type {ThirdPartySystemEnum}
|
|
248
|
+
* @memberof EquipmentSearchSystemDTO
|
|
249
|
+
*/
|
|
250
|
+
'source'?: ThirdPartySystemEnum;
|
|
251
|
+
/**
|
|
252
|
+
* 设备编码
|
|
253
|
+
* @type {string}
|
|
254
|
+
* @memberof EquipmentSearchSystemDTO
|
|
255
|
+
*/
|
|
256
|
+
'equipmentCode'?: string;
|
|
257
|
+
/**
|
|
258
|
+
* 资产编码
|
|
259
|
+
* @type {string}
|
|
260
|
+
* @memberof EquipmentSearchSystemDTO
|
|
261
|
+
*/
|
|
262
|
+
'famEquipmentCode'?: string;
|
|
242
263
|
}
|
|
243
264
|
|
|
265
|
+
export const EquipmentSearchSystemDTOEquipmentStatusEnum = {
|
|
266
|
+
InUse: 'IN_USE',
|
|
267
|
+
ToBeRepaired: 'TO_BE_REPAIRED',
|
|
268
|
+
ToBeScrapped: 'TO_BE_SCRAPPED',
|
|
269
|
+
Scrapped: 'SCRAPPED',
|
|
270
|
+
Disposed: 'DISPOSED',
|
|
271
|
+
Frozen: 'FROZEN'
|
|
272
|
+
} as const;
|
|
273
|
+
|
|
274
|
+
export type EquipmentSearchSystemDTOEquipmentStatusEnum = typeof EquipmentSearchSystemDTOEquipmentStatusEnum[keyof typeof EquipmentSearchSystemDTOEquipmentStatusEnum];
|
|
275
|
+
|
|
276
|
+
|
|
@@ -94,10 +94,10 @@ export interface EquipmentSearchVo {
|
|
|
94
94
|
'equipmentLocation'?: string;
|
|
95
95
|
/**
|
|
96
96
|
* 设备状态
|
|
97
|
-
* @type {
|
|
97
|
+
* @type {string}
|
|
98
98
|
* @memberof EquipmentSearchVo
|
|
99
99
|
*/
|
|
100
|
-
'equipmentStatus'?:
|
|
100
|
+
'equipmentStatus'?: EquipmentSearchVoEquipmentStatusEnum;
|
|
101
101
|
/**
|
|
102
102
|
* 园区id
|
|
103
103
|
* @type {number}
|
|
@@ -130,3 +130,15 @@ export interface EquipmentSearchVo {
|
|
|
130
130
|
'equipmentIds'?: Array<number>;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
+
export const EquipmentSearchVoEquipmentStatusEnum = {
|
|
134
|
+
InUse: 'IN_USE',
|
|
135
|
+
ToBeRepaired: 'TO_BE_REPAIRED',
|
|
136
|
+
ToBeScrapped: 'TO_BE_SCRAPPED',
|
|
137
|
+
Scrapped: 'SCRAPPED',
|
|
138
|
+
Disposed: 'DISPOSED',
|
|
139
|
+
Frozen: 'FROZEN'
|
|
140
|
+
} as const;
|
|
141
|
+
|
|
142
|
+
export type EquipmentSearchVoEquipmentStatusEnum = typeof EquipmentSearchVoEquipmentStatusEnum[keyof typeof EquipmentSearchVoEquipmentStatusEnum];
|
|
143
|
+
|
|
144
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 设备信息
|
|
19
|
+
* @export
|
|
20
|
+
* @interface EquipmentStatus
|
|
21
|
+
*/
|
|
22
|
+
export interface EquipmentStatus {
|
|
23
|
+
/**
|
|
24
|
+
* 设备编码
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof EquipmentStatus
|
|
27
|
+
*/
|
|
28
|
+
'equipmentCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* 设备状态 1:再用,2:待维修,3:待报废,4:已报废,5:已处置,6:已冻结
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof EquipmentStatus
|
|
33
|
+
*/
|
|
34
|
+
'equipmentStatus': number;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { ThirdPartySystemEnum } from './third-party-system-enum';
|
|
16
19
|
|
|
17
20
|
/**
|
|
18
21
|
* 设备tree详情
|
|
@@ -34,10 +37,10 @@ export interface EquipmentTreeDetailsDTO {
|
|
|
34
37
|
'equipmentName'?: string;
|
|
35
38
|
/**
|
|
36
39
|
* 设备状态
|
|
37
|
-
* @type {
|
|
40
|
+
* @type {string}
|
|
38
41
|
* @memberof EquipmentTreeDetailsDTO
|
|
39
42
|
*/
|
|
40
|
-
'equipmentStatus'?:
|
|
43
|
+
'equipmentStatus'?: EquipmentTreeDetailsDTOEquipmentStatusEnum;
|
|
41
44
|
/**
|
|
42
45
|
* 空间id
|
|
43
46
|
* @type {number}
|
|
@@ -56,5 +59,35 @@ export interface EquipmentTreeDetailsDTO {
|
|
|
56
59
|
* @memberof EquipmentTreeDetailsDTO
|
|
57
60
|
*/
|
|
58
61
|
'relatedEquipmentIds'?: Array<number>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {ThirdPartySystemEnum}
|
|
65
|
+
* @memberof EquipmentTreeDetailsDTO
|
|
66
|
+
*/
|
|
67
|
+
'source'?: ThirdPartySystemEnum;
|
|
68
|
+
/**
|
|
69
|
+
* 设备编码
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof EquipmentTreeDetailsDTO
|
|
72
|
+
*/
|
|
73
|
+
'equipmentCode'?: string;
|
|
74
|
+
/**
|
|
75
|
+
* 资产编码
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof EquipmentTreeDetailsDTO
|
|
78
|
+
*/
|
|
79
|
+
'famEquipmentCode'?: string;
|
|
59
80
|
}
|
|
60
81
|
|
|
82
|
+
export const EquipmentTreeDetailsDTOEquipmentStatusEnum = {
|
|
83
|
+
InUse: 'IN_USE',
|
|
84
|
+
ToBeRepaired: 'TO_BE_REPAIRED',
|
|
85
|
+
ToBeScrapped: 'TO_BE_SCRAPPED',
|
|
86
|
+
Scrapped: 'SCRAPPED',
|
|
87
|
+
Disposed: 'DISPOSED',
|
|
88
|
+
Frozen: 'FROZEN'
|
|
89
|
+
} as const;
|
|
90
|
+
|
|
91
|
+
export type EquipmentTreeDetailsDTOEquipmentStatusEnum = typeof EquipmentTreeDetailsDTOEquipmentStatusEnum[keyof typeof EquipmentTreeDetailsDTOEquipmentStatusEnum];
|
|
92
|
+
|
|
93
|
+
|
package/models/equipment.ts
CHANGED
|
@@ -15,28 +15,82 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* 设备信息
|
|
19
19
|
* @export
|
|
20
20
|
* @interface Equipment
|
|
21
21
|
*/
|
|
22
22
|
export interface Equipment {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {
|
|
24
|
+
* 设备编码
|
|
25
|
+
* @type {string}
|
|
26
26
|
* @memberof Equipment
|
|
27
27
|
*/
|
|
28
|
-
'
|
|
28
|
+
'equipmentCode': string;
|
|
29
29
|
/**
|
|
30
30
|
* 设备名称
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof Equipment
|
|
33
33
|
*/
|
|
34
|
-
'equipmentName'
|
|
34
|
+
'equipmentName': string;
|
|
35
|
+
/**
|
|
36
|
+
* 设备系统
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof Equipment
|
|
39
|
+
*/
|
|
40
|
+
'equipmentSystem'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* 设备状态 1:再用,2:待维修,3:待报废,4:已报废,5:已处置,6:已冻结
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof Equipment
|
|
45
|
+
*/
|
|
46
|
+
'equipmentStatus': number;
|
|
47
|
+
/**
|
|
48
|
+
* 维保类型
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof Equipment
|
|
51
|
+
*/
|
|
52
|
+
'maintenanceType'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* 维保公司
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof Equipment
|
|
57
|
+
*/
|
|
58
|
+
'maintenanceCompany'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* 维保等级
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof Equipment
|
|
63
|
+
*/
|
|
64
|
+
'maintenanceLevel'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* 维保联系人
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof Equipment
|
|
69
|
+
*/
|
|
70
|
+
'maintenanceContact'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* 设备手册
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof Equipment
|
|
75
|
+
*/
|
|
76
|
+
'equipmentManuals'?: Array<string>;
|
|
35
77
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {
|
|
78
|
+
* 出厂时间(格式:yyyy-MM-dd HH:mm:ss)
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof Equipment
|
|
81
|
+
*/
|
|
82
|
+
'deliveryTime'?: string;
|
|
83
|
+
/**
|
|
84
|
+
* 安装时间(格式:yyyy-MM-dd HH:mm:ss)
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof Equipment
|
|
87
|
+
*/
|
|
88
|
+
'installTime'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* 质保到期时间(格式:yyyy-MM-dd HH:mm:ss)
|
|
91
|
+
* @type {string}
|
|
38
92
|
* @memberof Equipment
|
|
39
93
|
*/
|
|
40
|
-
'
|
|
94
|
+
'warrantyTime'?: string;
|
|
41
95
|
}
|
|
42
96
|
|
|
@@ -46,34 +46,34 @@ export interface GetUserWx200Response {
|
|
|
46
46
|
'trailerFields'?: object;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {
|
|
49
|
+
* @type {GetUserWx200ResponseLocale}
|
|
50
50
|
* @memberof GetUserWx200Response
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'locale'?: GetUserWx200ResponseLocale;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {number}
|
|
56
56
|
* @memberof GetUserWx200Response
|
|
57
57
|
*/
|
|
58
|
-
'
|
|
58
|
+
'bufferSize'?: number;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
|
-
* @type {
|
|
61
|
+
* @type {string}
|
|
62
62
|
* @memberof GetUserWx200Response
|
|
63
63
|
*/
|
|
64
|
-
'
|
|
64
|
+
'contentType'?: string;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
|
-
* @type {
|
|
67
|
+
* @type {number}
|
|
68
68
|
* @memberof GetUserWx200Response
|
|
69
69
|
*/
|
|
70
|
-
'
|
|
70
|
+
'contentLength'?: number;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
|
-
* @type {
|
|
73
|
+
* @type {GetUserWx200ResponseOutputStream}
|
|
74
74
|
* @memberof GetUserWx200Response
|
|
75
75
|
*/
|
|
76
|
-
'
|
|
76
|
+
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
79
|
* @type {string}
|
package/models/index.ts
CHANGED
|
@@ -180,6 +180,7 @@ export * from './equipment-qr-code-vo';
|
|
|
180
180
|
export * from './equipment-search-system-dto';
|
|
181
181
|
export * from './equipment-search-vo';
|
|
182
182
|
export * from './equipment-space-search-vo';
|
|
183
|
+
export * from './equipment-status';
|
|
183
184
|
export * from './equipment-system-add-vo';
|
|
184
185
|
export * from './equipment-system-edit-vo';
|
|
185
186
|
export * from './equipment-system-entity';
|
|
@@ -790,6 +791,7 @@ export * from './switch-pak-body';
|
|
|
790
791
|
export * from './switch-pak-body-v2-vo';
|
|
791
792
|
export * from './switch-park-v2-dto';
|
|
792
793
|
export * from './sync-device-unit-vo';
|
|
794
|
+
export * from './sync-equipment-status-vo';
|
|
793
795
|
export * from './sync-equipment-vo';
|
|
794
796
|
export * from './sys-config';
|
|
795
797
|
export * from './sys-dept';
|
|
@@ -815,6 +817,7 @@ export * from './system-user-msg-source-type-enum';
|
|
|
815
817
|
export * from './system-user-msg-type-enum';
|
|
816
818
|
export * from './table-data-info';
|
|
817
819
|
export * from './tenant-surrender-vo';
|
|
820
|
+
export * from './third-party-system-enum';
|
|
818
821
|
export * from './unit-item';
|
|
819
822
|
export * from './unloading-area-add-vo';
|
|
820
823
|
export * from './unloading-area-entity';
|
package/models/park-info-dto.ts
CHANGED
|
@@ -23,6 +23,12 @@ import type { DeptRelationDTO } from './dept-relation-dto';
|
|
|
23
23
|
* @interface ParkInfoDTO
|
|
24
24
|
*/
|
|
25
25
|
export interface ParkInfoDTO {
|
|
26
|
+
/**
|
|
27
|
+
* 园区ID
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof ParkInfoDTO
|
|
30
|
+
*/
|
|
31
|
+
'parkId'?: number;
|
|
26
32
|
/**
|
|
27
33
|
* 园区名称
|
|
28
34
|
* @type {string}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { EquipmentStatus } from './equipment-status';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* 同步设备状态参数
|
|
22
|
+
* @export
|
|
23
|
+
* @interface SyncEquipmentStatusVo
|
|
24
|
+
*/
|
|
25
|
+
export interface SyncEquipmentStatusVo {
|
|
26
|
+
/**
|
|
27
|
+
* 中心编码(C码)
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof SyncEquipmentStatusVo
|
|
30
|
+
*/
|
|
31
|
+
'centerCode': string;
|
|
32
|
+
/**
|
|
33
|
+
* 来源系统
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof SyncEquipmentStatusVo
|
|
36
|
+
*/
|
|
37
|
+
'source': string;
|
|
38
|
+
/**
|
|
39
|
+
* 设备列表
|
|
40
|
+
* @type {Array<EquipmentStatus>}
|
|
41
|
+
* @memberof SyncEquipmentStatusVo
|
|
42
|
+
*/
|
|
43
|
+
'equipments'?: Array<EquipmentStatus>;
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -13,192 +13,33 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { Equipment } from './equipment';
|
|
16
19
|
|
|
17
20
|
/**
|
|
18
21
|
* 同步设备参数
|
|
19
22
|
* @export
|
|
20
|
-
* @interface
|
|
23
|
+
* @interface SyncEquipmentVo
|
|
21
24
|
*/
|
|
22
|
-
export interface
|
|
25
|
+
export interface SyncEquipmentVo {
|
|
23
26
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof SyncEquipmentVO
|
|
27
|
-
*/
|
|
28
|
-
'id'?: number;
|
|
29
|
-
/**
|
|
30
|
-
* 设备id
|
|
31
|
-
* @type {number}
|
|
32
|
-
* @memberof SyncEquipmentVO
|
|
33
|
-
*/
|
|
34
|
-
'deviceId'?: number;
|
|
35
|
-
/**
|
|
36
|
-
* 园区id
|
|
37
|
-
* @type {number}
|
|
38
|
-
* @memberof SyncEquipmentVO
|
|
39
|
-
*/
|
|
40
|
-
'parkId'?: number;
|
|
41
|
-
/**
|
|
42
|
-
* 所属系统
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof SyncEquipmentVO
|
|
45
|
-
*/
|
|
46
|
-
'owningSystem'?: string;
|
|
47
|
-
/**
|
|
48
|
-
* 系统类型
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof SyncEquipmentVO
|
|
51
|
-
*/
|
|
52
|
-
'systemType'?: string;
|
|
53
|
-
/**
|
|
54
|
-
* 品牌id
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof SyncEquipmentVO
|
|
57
|
-
*/
|
|
58
|
-
'brandId'?: string;
|
|
59
|
-
/**
|
|
60
|
-
* 型号id
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof SyncEquipmentVO
|
|
63
|
-
*/
|
|
64
|
-
'modelId'?: string;
|
|
65
|
-
/**
|
|
66
|
-
* 设备厂商类型
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof SyncEquipmentVO
|
|
69
|
-
*/
|
|
70
|
-
'producterId'?: string;
|
|
71
|
-
/**
|
|
72
|
-
* 外部单位id
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof SyncEquipmentVO
|
|
75
|
-
*/
|
|
76
|
-
'unitId'?: string;
|
|
77
|
-
/**
|
|
78
|
-
* 设备类型
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof SyncEquipmentVO
|
|
81
|
-
*/
|
|
82
|
-
'deviceType'?: string;
|
|
83
|
-
/**
|
|
84
|
-
* 设备部件类型
|
|
85
|
-
* @type {string}
|
|
86
|
-
* @memberof SyncEquipmentVO
|
|
87
|
-
*/
|
|
88
|
-
'unitType'?: string;
|
|
89
|
-
/**
|
|
90
|
-
* code
|
|
91
|
-
* @type {string}
|
|
92
|
-
* @memberof SyncEquipmentVO
|
|
93
|
-
*/
|
|
94
|
-
'deviceCode'?: string;
|
|
95
|
-
/**
|
|
96
|
-
* 设备name
|
|
97
|
-
* @type {string}
|
|
98
|
-
* @memberof SyncEquipmentVO
|
|
99
|
-
*/
|
|
100
|
-
'deviceName'?: string;
|
|
101
|
-
/**
|
|
102
|
-
* 外部设备id
|
|
103
|
-
* @type {string}
|
|
104
|
-
* @memberof SyncEquipmentVO
|
|
105
|
-
*/
|
|
106
|
-
'outDeviceId'?: string;
|
|
107
|
-
/**
|
|
108
|
-
* 外部部件id
|
|
109
|
-
* @type {string}
|
|
110
|
-
* @memberof SyncEquipmentVO
|
|
111
|
-
*/
|
|
112
|
-
'outUnitId'?: string;
|
|
113
|
-
/**
|
|
114
|
-
* 设备部件编码
|
|
27
|
+
* 中心编码(C码)
|
|
115
28
|
* @type {string}
|
|
116
|
-
* @memberof
|
|
29
|
+
* @memberof SyncEquipmentVo
|
|
117
30
|
*/
|
|
118
|
-
'
|
|
31
|
+
'centerCode': string;
|
|
119
32
|
/**
|
|
120
|
-
*
|
|
33
|
+
* 来源系统 [资产:FAM]
|
|
121
34
|
* @type {string}
|
|
122
|
-
* @memberof
|
|
123
|
-
*/
|
|
124
|
-
'unitName'?: string;
|
|
125
|
-
/**
|
|
126
|
-
* 部件卡号
|
|
127
|
-
* @type {string}
|
|
128
|
-
* @memberof SyncEquipmentVO
|
|
129
|
-
*/
|
|
130
|
-
'unitCard'?: string;
|
|
131
|
-
/**
|
|
132
|
-
* 部件源地址
|
|
133
|
-
* @type {string}
|
|
134
|
-
* @memberof SyncEquipmentVO
|
|
135
|
-
*/
|
|
136
|
-
'unitSource'?: string;
|
|
137
|
-
/**
|
|
138
|
-
* 部件状态
|
|
139
|
-
* @type {string}
|
|
140
|
-
* @memberof SyncEquipmentVO
|
|
141
|
-
*/
|
|
142
|
-
'status'?: string;
|
|
143
|
-
/**
|
|
144
|
-
* 最大阈值
|
|
145
|
-
* @type {string}
|
|
146
|
-
* @memberof SyncEquipmentVO
|
|
147
|
-
*/
|
|
148
|
-
'maxValue'?: string;
|
|
149
|
-
/**
|
|
150
|
-
* 最小阈值
|
|
151
|
-
* @type {string}
|
|
152
|
-
* @memberof SyncEquipmentVO
|
|
153
|
-
*/
|
|
154
|
-
'minValue'?: string;
|
|
155
|
-
/**
|
|
156
|
-
* 是否删除 1未删除 0删除
|
|
157
|
-
* @type {number}
|
|
158
|
-
* @memberof SyncEquipmentVO
|
|
159
|
-
*/
|
|
160
|
-
'isDelete'?: number;
|
|
161
|
-
/**
|
|
162
|
-
* 详细安装位置
|
|
163
|
-
* @type {string}
|
|
164
|
-
* @memberof SyncEquipmentVO
|
|
165
|
-
*/
|
|
166
|
-
'location'?: string;
|
|
167
|
-
/**
|
|
168
|
-
* 心跳时间
|
|
169
|
-
* @type {string}
|
|
170
|
-
* @memberof SyncEquipmentVO
|
|
171
|
-
*/
|
|
172
|
-
'heartBeatAt'?: string;
|
|
173
|
-
/**
|
|
174
|
-
* 下次心跳时间
|
|
175
|
-
* @type {string}
|
|
176
|
-
* @memberof SyncEquipmentVO
|
|
177
|
-
*/
|
|
178
|
-
'heartBeatExpiresAt'?: string;
|
|
179
|
-
/**
|
|
180
|
-
* 倍率
|
|
181
|
-
* @type {number}
|
|
182
|
-
* @memberof SyncEquipmentVO
|
|
183
|
-
*/
|
|
184
|
-
'magnification'?: number;
|
|
185
|
-
/**
|
|
186
|
-
* 记录id 暂时无用
|
|
187
|
-
* @type {number}
|
|
188
|
-
* @memberof SyncEquipmentVO
|
|
189
|
-
*/
|
|
190
|
-
'recordId'?: number;
|
|
191
|
-
/**
|
|
192
|
-
* 上传时间间隔
|
|
193
|
-
* @type {number}
|
|
194
|
-
* @memberof SyncEquipmentVO
|
|
35
|
+
* @memberof SyncEquipmentVo
|
|
195
36
|
*/
|
|
196
|
-
'
|
|
37
|
+
'source': string;
|
|
197
38
|
/**
|
|
198
|
-
*
|
|
199
|
-
* @type {
|
|
200
|
-
* @memberof
|
|
39
|
+
* 设备列表
|
|
40
|
+
* @type {Array<Equipment>}
|
|
41
|
+
* @memberof SyncEquipmentVo
|
|
201
42
|
*/
|
|
202
|
-
'
|
|
43
|
+
'equipments'?: Array<Equipment>;
|
|
203
44
|
}
|
|
204
45
|
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 来源
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const ThirdPartySystemEnum = {
|
|
24
|
+
Saas: 'SAAS',
|
|
25
|
+
Sqm: 'SQM',
|
|
26
|
+
Fam: 'FAM'
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
29
|
+
export type ThirdPartySystemEnum = typeof ThirdPartySystemEnum[keyof typeof ThirdPartySystemEnum];
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
@@ -34,9 +34,9 @@ export interface WorkOrderDeptSettingsAddOrUpdateVO {
|
|
|
34
34
|
'keyConfig': string;
|
|
35
35
|
/**
|
|
36
36
|
* deptId
|
|
37
|
-
* @type {number}
|
|
37
|
+
* @type {Array<number>}
|
|
38
38
|
* @memberof WorkOrderDeptSettingsAddOrUpdateVO
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'deptIds'?: Array<number>;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -43,10 +43,10 @@ export interface WorkOrderDeptSettingsEntity {
|
|
|
43
43
|
'keyConfig'?: string;
|
|
44
44
|
/**
|
|
45
45
|
* 部门id
|
|
46
|
-
* @type {number}
|
|
46
|
+
* @type {Array<number>}
|
|
47
47
|
* @memberof WorkOrderDeptSettingsEntity
|
|
48
48
|
*/
|
|
49
|
-
'
|
|
49
|
+
'deptIds'?: Array<number>;
|
|
50
50
|
/**
|
|
51
51
|
* 园区id
|
|
52
52
|
* @type {number}
|
|
@@ -28,6 +28,7 @@ export const WorkOrderIssueTypeEnum = {
|
|
|
28
28
|
HygieneAndGreeningIssue: 'HYGIENE_AND_GREENING_ISSUE',
|
|
29
29
|
FacilityDamageIssue: 'FACILITY_DAMAGE_ISSUE',
|
|
30
30
|
SecurityIssue: 'SECURITY_ISSUE',
|
|
31
|
+
EnergyWaste: 'ENERGY_WASTE',
|
|
31
32
|
Networking: 'NETWORKING',
|
|
32
33
|
Surveillance: 'SURVEILLANCE',
|
|
33
34
|
DesktopTerminal: 'DESKTOP_TERMINAL',
|