@gizone/rrs-client 4.1.2-alpha.170 → 4.1.2-alpha.173

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 (111) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/apis/equipment-api.ts +0 -91
  3. package/apis/open-api-api.ts +312 -0
  4. package/apis/work-order-api.ts +106 -52
  5. package/dist/apis/equipment-api.d.ts +0 -47
  6. package/dist/apis/equipment-api.js +0 -70
  7. package/dist/apis/open-api-api.d.ts +166 -0
  8. package/dist/apis/open-api-api.js +226 -0
  9. package/dist/apis/work-order-api.d.ts +63 -30
  10. package/dist/apis/work-order-api.js +55 -35
  11. package/dist/esm/apis/equipment-api.d.ts +0 -47
  12. package/dist/esm/apis/equipment-api.js +0 -70
  13. package/dist/esm/apis/open-api-api.d.ts +166 -0
  14. package/dist/esm/apis/open-api-api.js +227 -1
  15. package/dist/esm/apis/work-order-api.d.ts +63 -30
  16. package/dist/esm/apis/work-order-api.js +55 -35
  17. package/dist/esm/models/equipment-detail-dto.d.ts +29 -1
  18. package/dist/esm/models/equipment-detail-dto.js +8 -1
  19. package/dist/esm/models/equipment-edit-batch-vo.d.ts +10 -1
  20. package/dist/esm/models/equipment-edit-batch-vo.js +8 -1
  21. package/dist/esm/models/equipment-edit-vo.d.ts +23 -1
  22. package/dist/esm/models/equipment-edit-vo.js +8 -1
  23. package/dist/esm/models/equipment-search-system-dto.d.ts +29 -1
  24. package/dist/esm/models/equipment-search-system-dto.js +8 -1
  25. package/dist/esm/models/equipment-search-vo.d.ts +11 -2
  26. package/dist/esm/models/equipment-search-vo.js +8 -1
  27. package/dist/esm/models/equipment-status.d.ts +30 -0
  28. package/dist/esm/models/equipment-status.js +14 -0
  29. package/dist/esm/models/equipment-tree-details-dto.d.ts +30 -2
  30. package/dist/esm/models/equipment-tree-details-dto.js +8 -1
  31. package/dist/esm/models/equipment.d.ts +62 -8
  32. package/dist/esm/models/get-user-wx200-response.d.ts +9 -9
  33. package/dist/esm/models/index.d.ts +4 -0
  34. package/dist/esm/models/index.js +4 -0
  35. package/dist/esm/models/ipage-access-vo.d.ts +7 -7
  36. package/dist/esm/models/park-info-dto.d.ts +6 -0
  37. package/dist/esm/models/period-detail-resp.d.ts +7 -0
  38. package/dist/esm/models/plan-add-vo.d.ts +7 -0
  39. package/dist/esm/models/plan-detail-dto.d.ts +7 -0
  40. package/dist/esm/models/plan-edit-vo.d.ts +7 -0
  41. package/dist/esm/models/plan-search-dto.d.ts +7 -0
  42. package/dist/esm/models/sync-equipment-status-vo.d.ts +37 -0
  43. package/dist/esm/models/sync-equipment-status-vo.js +14 -0
  44. package/dist/esm/models/sync-equipment-vo.d.ts +13 -174
  45. package/dist/esm/models/third-party-system-enum.d.ts +22 -0
  46. package/dist/esm/models/third-party-system-enum.js +23 -0
  47. package/dist/esm/models/work-order-dept-settings-add-or-update-vo.d.ts +2 -2
  48. package/dist/esm/models/work-order-dept-settings-entity.d.ts +2 -2
  49. package/dist/esm/models/work-order-search-dto.d.ts +7 -0
  50. package/dist/esm/models/work-order-type-subcategory-enum.d.ts +31 -0
  51. package/dist/esm/models/work-order-type-subcategory-enum.js +32 -0
  52. package/dist/models/equipment-detail-dto.d.ts +29 -1
  53. package/dist/models/equipment-detail-dto.js +9 -0
  54. package/dist/models/equipment-edit-batch-vo.d.ts +10 -1
  55. package/dist/models/equipment-edit-batch-vo.js +9 -0
  56. package/dist/models/equipment-edit-vo.d.ts +23 -1
  57. package/dist/models/equipment-edit-vo.js +9 -0
  58. package/dist/models/equipment-search-system-dto.d.ts +29 -1
  59. package/dist/models/equipment-search-system-dto.js +9 -0
  60. package/dist/models/equipment-search-vo.d.ts +11 -2
  61. package/dist/models/equipment-search-vo.js +9 -0
  62. package/dist/models/equipment-status.d.ts +30 -0
  63. package/dist/models/equipment-status.js +15 -0
  64. package/dist/models/equipment-tree-details-dto.d.ts +30 -2
  65. package/dist/models/equipment-tree-details-dto.js +9 -0
  66. package/dist/models/equipment.d.ts +62 -8
  67. package/dist/models/get-user-wx200-response.d.ts +9 -9
  68. package/dist/models/index.d.ts +4 -0
  69. package/dist/models/index.js +4 -0
  70. package/dist/models/ipage-access-vo.d.ts +7 -7
  71. package/dist/models/park-info-dto.d.ts +6 -0
  72. package/dist/models/period-detail-resp.d.ts +7 -0
  73. package/dist/models/plan-add-vo.d.ts +7 -0
  74. package/dist/models/plan-detail-dto.d.ts +7 -0
  75. package/dist/models/plan-edit-vo.d.ts +7 -0
  76. package/dist/models/plan-search-dto.d.ts +7 -0
  77. package/dist/models/sync-equipment-status-vo.d.ts +37 -0
  78. package/dist/models/sync-equipment-status-vo.js +15 -0
  79. package/dist/models/sync-equipment-vo.d.ts +13 -174
  80. package/dist/models/third-party-system-enum.d.ts +22 -0
  81. package/dist/models/third-party-system-enum.js +26 -0
  82. package/dist/models/work-order-dept-settings-add-or-update-vo.d.ts +2 -2
  83. package/dist/models/work-order-dept-settings-entity.d.ts +2 -2
  84. package/dist/models/work-order-search-dto.d.ts +7 -0
  85. package/dist/models/work-order-type-subcategory-enum.d.ts +31 -0
  86. package/dist/models/work-order-type-subcategory-enum.js +35 -0
  87. package/models/equipment-detail-dto.ts +34 -1
  88. package/models/equipment-edit-batch-vo.ts +13 -1
  89. package/models/equipment-edit-vo.ts +28 -1
  90. package/models/equipment-search-system-dto.ts +34 -1
  91. package/models/equipment-search-vo.ts +14 -2
  92. package/models/equipment-status.ts +36 -0
  93. package/models/equipment-tree-details-dto.ts +35 -2
  94. package/models/equipment.ts +62 -8
  95. package/models/get-user-wx200-response.ts +9 -9
  96. package/models/index.ts +4 -0
  97. package/models/ipage-access-vo.ts +7 -7
  98. package/models/park-info-dto.ts +6 -0
  99. package/models/period-detail-resp.ts +9 -0
  100. package/models/plan-add-vo.ts +9 -0
  101. package/models/plan-detail-dto.ts +9 -0
  102. package/models/plan-edit-vo.ts +9 -0
  103. package/models/plan-search-dto.ts +9 -0
  104. package/models/sync-equipment-status-vo.ts +45 -0
  105. package/models/sync-equipment-vo.ts +15 -174
  106. package/models/third-party-system-enum.ts +32 -0
  107. package/models/work-order-dept-settings-add-or-update-vo.ts +2 -2
  108. package/models/work-order-dept-settings-entity.ts +2 -2
  109. package/models/work-order-search-dto.ts +9 -0
  110. package/models/work-order-type-subcategory-enum.ts +41 -0
  111. package/package.json +1 -1
@@ -9,190 +9,29 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { Equipment } from './equipment';
12
13
  /**
13
14
  * 同步设备参数
14
15
  * @export
15
- * @interface SyncEquipmentVO
16
+ * @interface SyncEquipmentVo
16
17
  */
17
- export interface SyncEquipmentVO {
18
+ export interface SyncEquipmentVo {
18
19
  /**
19
- * IOT设备部件id
20
- * @type {number}
21
- * @memberof SyncEquipmentVO
22
- */
23
- 'id'?: number;
24
- /**
25
- * 设备id
26
- * @type {number}
27
- * @memberof SyncEquipmentVO
28
- */
29
- 'deviceId'?: number;
30
- /**
31
- * 园区id
32
- * @type {number}
33
- * @memberof SyncEquipmentVO
34
- */
35
- 'parkId'?: number;
36
- /**
37
- * 所属系统
38
- * @type {string}
39
- * @memberof SyncEquipmentVO
40
- */
41
- 'owningSystem'?: string;
42
- /**
43
- * 系统类型
44
- * @type {string}
45
- * @memberof SyncEquipmentVO
46
- */
47
- 'systemType'?: string;
48
- /**
49
- * 品牌id
50
- * @type {string}
51
- * @memberof SyncEquipmentVO
52
- */
53
- 'brandId'?: string;
54
- /**
55
- * 型号id
56
- * @type {string}
57
- * @memberof SyncEquipmentVO
58
- */
59
- 'modelId'?: string;
60
- /**
61
- * 设备厂商类型
62
- * @type {string}
63
- * @memberof SyncEquipmentVO
64
- */
65
- 'producterId'?: string;
66
- /**
67
- * 外部单位id
68
- * @type {string}
69
- * @memberof SyncEquipmentVO
70
- */
71
- 'unitId'?: string;
72
- /**
73
- * 设备类型
74
- * @type {string}
75
- * @memberof SyncEquipmentVO
76
- */
77
- 'deviceType'?: string;
78
- /**
79
- * 设备部件类型
80
- * @type {string}
81
- * @memberof SyncEquipmentVO
82
- */
83
- 'unitType'?: string;
84
- /**
85
- * code
86
- * @type {string}
87
- * @memberof SyncEquipmentVO
88
- */
89
- 'deviceCode'?: string;
90
- /**
91
- * 设备name
92
- * @type {string}
93
- * @memberof SyncEquipmentVO
94
- */
95
- 'deviceName'?: string;
96
- /**
97
- * 外部设备id
98
- * @type {string}
99
- * @memberof SyncEquipmentVO
100
- */
101
- 'outDeviceId'?: string;
102
- /**
103
- * 外部部件id
104
- * @type {string}
105
- * @memberof SyncEquipmentVO
106
- */
107
- 'outUnitId'?: string;
108
- /**
109
- * 设备部件编码
20
+ * 中心编码(C码)
110
21
  * @type {string}
111
- * @memberof SyncEquipmentVO
22
+ * @memberof SyncEquipmentVo
112
23
  */
113
- 'unitCode'?: string;
24
+ 'centerCode': string;
114
25
  /**
115
- * 设备部件名称
26
+ * 来源系统 [资产:FAM]
116
27
  * @type {string}
117
- * @memberof SyncEquipmentVO
118
- */
119
- 'unitName'?: string;
120
- /**
121
- * 部件卡号
122
- * @type {string}
123
- * @memberof SyncEquipmentVO
124
- */
125
- 'unitCard'?: string;
126
- /**
127
- * 部件源地址
128
- * @type {string}
129
- * @memberof SyncEquipmentVO
130
- */
131
- 'unitSource'?: string;
132
- /**
133
- * 部件状态
134
- * @type {string}
135
- * @memberof SyncEquipmentVO
136
- */
137
- 'status'?: string;
138
- /**
139
- * 最大阈值
140
- * @type {string}
141
- * @memberof SyncEquipmentVO
142
- */
143
- 'maxValue'?: string;
144
- /**
145
- * 最小阈值
146
- * @type {string}
147
- * @memberof SyncEquipmentVO
148
- */
149
- 'minValue'?: string;
150
- /**
151
- * 是否删除 1未删除 0删除
152
- * @type {number}
153
- * @memberof SyncEquipmentVO
154
- */
155
- 'isDelete'?: number;
156
- /**
157
- * 详细安装位置
158
- * @type {string}
159
- * @memberof SyncEquipmentVO
160
- */
161
- 'location'?: string;
162
- /**
163
- * 心跳时间
164
- * @type {string}
165
- * @memberof SyncEquipmentVO
166
- */
167
- 'heartBeatAt'?: string;
168
- /**
169
- * 下次心跳时间
170
- * @type {string}
171
- * @memberof SyncEquipmentVO
172
- */
173
- 'heartBeatExpiresAt'?: string;
174
- /**
175
- * 倍率
176
- * @type {number}
177
- * @memberof SyncEquipmentVO
178
- */
179
- 'magnification'?: number;
180
- /**
181
- * 记录id 暂时无用
182
- * @type {number}
183
- * @memberof SyncEquipmentVO
184
- */
185
- 'recordId'?: number;
186
- /**
187
- * 上传时间间隔
188
- * @type {number}
189
- * @memberof SyncEquipmentVO
28
+ * @memberof SyncEquipmentVo
190
29
  */
191
- 'uploadTimeInterval'?: number;
30
+ 'source': string;
192
31
  /**
193
- * 节点id
194
- * @type {number}
195
- * @memberof SyncEquipmentVO
32
+ * 设备列表
33
+ * @type {Array<Equipment>}
34
+ * @memberof SyncEquipmentVo
196
35
  */
197
- 'nodeId'?: number;
36
+ 'equipments'?: Array<Equipment>;
198
37
  }
@@ -0,0 +1,22 @@
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
+ /**
13
+ * 来源
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const ThirdPartySystemEnum: {
18
+ readonly Saas: "SAAS";
19
+ readonly Sqm: "SQM";
20
+ readonly Fam: "FAM";
21
+ };
22
+ export type ThirdPartySystemEnum = typeof ThirdPartySystemEnum[keyof typeof ThirdPartySystemEnum];
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ThirdPartySystemEnum = void 0;
17
+ /**
18
+ * 来源
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.ThirdPartySystemEnum = {
23
+ Saas: 'SAAS',
24
+ Sqm: 'SQM',
25
+ Fam: 'FAM'
26
+ };
@@ -29,8 +29,8 @@ export interface WorkOrderDeptSettingsAddOrUpdateVO {
29
29
  'keyConfig': string;
30
30
  /**
31
31
  * deptId
32
- * @type {number}
32
+ * @type {Array<number>}
33
33
  * @memberof WorkOrderDeptSettingsAddOrUpdateVO
34
34
  */
35
- 'deptId'?: number;
35
+ 'deptIds'?: Array<number>;
36
36
  }
@@ -36,10 +36,10 @@ export interface WorkOrderDeptSettingsEntity {
36
36
  'keyConfig'?: string;
37
37
  /**
38
38
  * 部门id
39
- * @type {number}
39
+ * @type {Array<number>}
40
40
  * @memberof WorkOrderDeptSettingsEntity
41
41
  */
42
- 'deptId'?: number;
42
+ 'deptIds'?: Array<number>;
43
43
  /**
44
44
  * 园区id
45
45
  * @type {number}
@@ -15,6 +15,7 @@ import type { WorkOrderHandlerDto } from './work-order-handler-dto';
15
15
  import type { WorkOrderIssueTypeEnum } from './work-order-issue-type-enum';
16
16
  import type { WorkOrderStatusEnum } from './work-order-status-enum';
17
17
  import type { WorkOrderTypeEnum } from './work-order-type-enum';
18
+ import type { WorkOrderTypeSubcategoryEnum } from './work-order-type-subcategory-enum';
18
19
  /**
19
20
  * 工单查询DTO
20
21
  * @export
@@ -135,6 +136,12 @@ export interface WorkOrderSearchDTO {
135
136
  * @memberof WorkOrderSearchDTO
136
137
  */
137
138
  'finishTime'?: string;
139
+ /**
140
+ *
141
+ * @type {WorkOrderTypeSubcategoryEnum}
142
+ * @memberof WorkOrderSearchDTO
143
+ */
144
+ 'workOrderTypeSubcategory'?: WorkOrderTypeSubcategoryEnum;
138
145
  }
139
146
  export declare const WorkOrderSearchDTOSamplingResultsEnum: {
140
147
  readonly Zero: "ZERO";
@@ -0,0 +1,31 @@
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
+ /**
13
+ * 工单类型小类
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const WorkOrderTypeSubcategoryEnum: {
18
+ readonly MoInspection: "MO_INSPECTION";
19
+ readonly KeyAreaInspection: "KEY_AREA_INSPECTION";
20
+ readonly SmartWarehouseEquipmentInspection: "SMART_WAREHOUSE_EQUIPMENT_INSPECTION";
21
+ readonly ColdStorageEquipmentInspection: "COLD_STORAGE_EQUIPMENT_INSPECTION";
22
+ readonly BuildingEquipmentInspection: "BUILDING_EQUIPMENT_INSPECTION";
23
+ readonly SixSInspection: "SIX_S_INSPECTION";
24
+ readonly PestControlInspection: "PEST_CONTROL_INSPECTION";
25
+ readonly ElectricalInspection: "ELECTRICAL_INSPECTION";
26
+ readonly CentralControlShiftHandover: "CENTRAL_CONTROL_SHIFT_HANDOVER";
27
+ readonly BuildingEquipmentMaintenance: "BUILDING_EQUIPMENT_MAINTENANCE";
28
+ readonly SmartWarehouseEquipmentMaintenance: "SMART_WAREHOUSE_EQUIPMENT_MAINTENANCE";
29
+ readonly ColdStorageEquipmentMaintenance: "COLD_STORAGE_EQUIPMENT_MAINTENANCE";
30
+ };
31
+ export type WorkOrderTypeSubcategoryEnum = typeof WorkOrderTypeSubcategoryEnum[keyof typeof WorkOrderTypeSubcategoryEnum];
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.WorkOrderTypeSubcategoryEnum = void 0;
17
+ /**
18
+ * 工单类型小类
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.WorkOrderTypeSubcategoryEnum = {
23
+ MoInspection: 'MO_INSPECTION',
24
+ KeyAreaInspection: 'KEY_AREA_INSPECTION',
25
+ SmartWarehouseEquipmentInspection: 'SMART_WAREHOUSE_EQUIPMENT_INSPECTION',
26
+ ColdStorageEquipmentInspection: 'COLD_STORAGE_EQUIPMENT_INSPECTION',
27
+ BuildingEquipmentInspection: 'BUILDING_EQUIPMENT_INSPECTION',
28
+ SixSInspection: 'SIX_S_INSPECTION',
29
+ PestControlInspection: 'PEST_CONTROL_INSPECTION',
30
+ ElectricalInspection: 'ELECTRICAL_INSPECTION',
31
+ CentralControlShiftHandover: 'CENTRAL_CONTROL_SHIFT_HANDOVER',
32
+ BuildingEquipmentMaintenance: 'BUILDING_EQUIPMENT_MAINTENANCE',
33
+ SmartWarehouseEquipmentMaintenance: 'SMART_WAREHOUSE_EQUIPMENT_MAINTENANCE',
34
+ ColdStorageEquipmentMaintenance: 'COLD_STORAGE_EQUIPMENT_MAINTENANCE'
35
+ };
@@ -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
  * 设备详情
@@ -37,7 +40,7 @@ export interface EquipmentDetailDTO {
37
40
  * @type {string}
38
41
  * @memberof EquipmentDetailDTO
39
42
  */
40
- 'equipmentStatus'?: string;
43
+ 'equipmentStatus'?: EquipmentDetailDTOEquipmentStatusEnum;
41
44
  /**
42
45
  * 设备系统
43
46
  * @type {string}
@@ -224,5 +227,35 @@ export interface EquipmentDetailDTO {
224
227
  * @memberof EquipmentDetailDTO
225
228
  */
226
229
  'relatedEquipmentIds'?: Array<number>;
230
+ /**
231
+ *
232
+ * @type {ThirdPartySystemEnum}
233
+ * @memberof EquipmentDetailDTO
234
+ */
235
+ 'source'?: ThirdPartySystemEnum;
236
+ /**
237
+ * 设备编码
238
+ * @type {string}
239
+ * @memberof EquipmentDetailDTO
240
+ */
241
+ 'equipmentCode'?: string;
242
+ /**
243
+ * 资产编码
244
+ * @type {string}
245
+ * @memberof EquipmentDetailDTO
246
+ */
247
+ 'famEquipmentCode'?: string;
227
248
  }
228
249
 
250
+ export const EquipmentDetailDTOEquipmentStatusEnum = {
251
+ InUse: 'IN_USE',
252
+ ToBeRepaired: 'TO_BE_REPAIRED',
253
+ ToBeScrapped: 'TO_BE_SCRAPPED',
254
+ Scrapped: 'SCRAPPED',
255
+ Disposed: 'DISPOSED',
256
+ Frozen: 'FROZEN'
257
+ } as const;
258
+
259
+ export type EquipmentDetailDTOEquipmentStatusEnum = typeof EquipmentDetailDTOEquipmentStatusEnum[keyof typeof EquipmentDetailDTOEquipmentStatusEnum];
260
+
261
+
@@ -31,7 +31,7 @@ export interface EquipmentEditBatchVo {
31
31
  * @type {string}
32
32
  * @memberof EquipmentEditBatchVo
33
33
  */
34
- 'equipmentStatus'?: string;
34
+ 'equipmentStatus'?: EquipmentEditBatchVoEquipmentStatusEnum;
35
35
  /**
36
36
  *
37
37
  * @type {Array<number>}
@@ -40,3 +40,15 @@ export interface EquipmentEditBatchVo {
40
40
  'superiorId'?: Array<number>;
41
41
  }
42
42
 
43
+ export const EquipmentEditBatchVoEquipmentStatusEnum = {
44
+ InUse: 'IN_USE',
45
+ ToBeRepaired: 'TO_BE_REPAIRED',
46
+ ToBeScrapped: 'TO_BE_SCRAPPED',
47
+ Scrapped: 'SCRAPPED',
48
+ Disposed: 'DISPOSED',
49
+ Frozen: 'FROZEN'
50
+ } as const;
51
+
52
+ export type EquipmentEditBatchVoEquipmentStatusEnum = typeof EquipmentEditBatchVoEquipmentStatusEnum[keyof typeof EquipmentEditBatchVoEquipmentStatusEnum];
53
+
54
+
@@ -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
  * 设备编辑参数
@@ -61,7 +64,7 @@ export interface EquipmentEditVo {
61
64
  * @type {string}
62
65
  * @memberof EquipmentEditVo
63
66
  */
64
- 'equipmentStatus'?: string;
67
+ 'equipmentStatus'?: EquipmentEditVoEquipmentStatusEnum;
65
68
  /**
66
69
  * 技术联系人
67
70
  * @type {string}
@@ -158,5 +161,29 @@ export interface EquipmentEditVo {
158
161
  * @memberof EquipmentEditVo
159
162
  */
160
163
  'relatedEquipmentIds'?: Array<number>;
164
+ /**
165
+ *
166
+ * @type {ThirdPartySystemEnum}
167
+ * @memberof EquipmentEditVo
168
+ */
169
+ 'source'?: ThirdPartySystemEnum;
170
+ /**
171
+ * 设备编码
172
+ * @type {string}
173
+ * @memberof EquipmentEditVo
174
+ */
175
+ 'equipmentCode'?: string;
161
176
  }
162
177
 
178
+ export const EquipmentEditVoEquipmentStatusEnum = {
179
+ InUse: 'IN_USE',
180
+ ToBeRepaired: 'TO_BE_REPAIRED',
181
+ ToBeScrapped: 'TO_BE_SCRAPPED',
182
+ Scrapped: 'SCRAPPED',
183
+ Disposed: 'DISPOSED',
184
+ Frozen: 'FROZEN'
185
+ } as const;
186
+
187
+ export type EquipmentEditVoEquipmentStatusEnum = typeof EquipmentEditVoEquipmentStatusEnum[keyof typeof EquipmentEditVoEquipmentStatusEnum];
188
+
189
+
@@ -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'?: string;
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 {number}
97
+ * @type {string}
98
98
  * @memberof EquipmentSearchVo
99
99
  */
100
- 'equipmentStatus'?: number;
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 {number}
40
+ * @type {string}
38
41
  * @memberof EquipmentTreeDetailsDTO
39
42
  */
40
- 'equipmentStatus'?: number;
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
+