@gizone/rrs-client 4.1.2-alpha.170 → 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.
Files changed (83) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/apis/equipment-api.ts +0 -91
  3. package/apis/open-api-api.ts +312 -0
  4. package/dist/apis/equipment-api.d.ts +0 -47
  5. package/dist/apis/equipment-api.js +0 -70
  6. package/dist/apis/open-api-api.d.ts +166 -0
  7. package/dist/apis/open-api-api.js +226 -0
  8. package/dist/esm/apis/equipment-api.d.ts +0 -47
  9. package/dist/esm/apis/equipment-api.js +0 -70
  10. package/dist/esm/apis/open-api-api.d.ts +166 -0
  11. package/dist/esm/apis/open-api-api.js +227 -1
  12. package/dist/esm/models/equipment-detail-dto.d.ts +29 -1
  13. package/dist/esm/models/equipment-detail-dto.js +8 -1
  14. package/dist/esm/models/equipment-edit-batch-vo.d.ts +10 -1
  15. package/dist/esm/models/equipment-edit-batch-vo.js +8 -1
  16. package/dist/esm/models/equipment-edit-vo.d.ts +23 -1
  17. package/dist/esm/models/equipment-edit-vo.js +8 -1
  18. package/dist/esm/models/equipment-search-system-dto.d.ts +29 -1
  19. package/dist/esm/models/equipment-search-system-dto.js +8 -1
  20. package/dist/esm/models/equipment-search-vo.d.ts +11 -2
  21. package/dist/esm/models/equipment-search-vo.js +8 -1
  22. package/dist/esm/models/equipment-status.d.ts +30 -0
  23. package/dist/esm/models/equipment-status.js +14 -0
  24. package/dist/esm/models/equipment-tree-details-dto.d.ts +30 -2
  25. package/dist/esm/models/equipment-tree-details-dto.js +8 -1
  26. package/dist/esm/models/equipment.d.ts +62 -8
  27. package/dist/esm/models/get-user-wx200-response.d.ts +4 -4
  28. package/dist/esm/models/index.d.ts +3 -0
  29. package/dist/esm/models/index.js +3 -0
  30. package/dist/esm/models/ipage-access-vo.d.ts +7 -7
  31. package/dist/esm/models/park-info-dto.d.ts +6 -0
  32. package/dist/esm/models/sync-equipment-status-vo.d.ts +37 -0
  33. package/dist/esm/models/sync-equipment-status-vo.js +14 -0
  34. package/dist/esm/models/sync-equipment-vo.d.ts +13 -174
  35. package/dist/esm/models/third-party-system-enum.d.ts +22 -0
  36. package/dist/esm/models/third-party-system-enum.js +23 -0
  37. package/dist/esm/models/work-order-dept-settings-add-or-update-vo.d.ts +2 -2
  38. package/dist/esm/models/work-order-dept-settings-entity.d.ts +2 -2
  39. package/dist/models/equipment-detail-dto.d.ts +29 -1
  40. package/dist/models/equipment-detail-dto.js +9 -0
  41. package/dist/models/equipment-edit-batch-vo.d.ts +10 -1
  42. package/dist/models/equipment-edit-batch-vo.js +9 -0
  43. package/dist/models/equipment-edit-vo.d.ts +23 -1
  44. package/dist/models/equipment-edit-vo.js +9 -0
  45. package/dist/models/equipment-search-system-dto.d.ts +29 -1
  46. package/dist/models/equipment-search-system-dto.js +9 -0
  47. package/dist/models/equipment-search-vo.d.ts +11 -2
  48. package/dist/models/equipment-search-vo.js +9 -0
  49. package/dist/models/equipment-status.d.ts +30 -0
  50. package/dist/models/equipment-status.js +15 -0
  51. package/dist/models/equipment-tree-details-dto.d.ts +30 -2
  52. package/dist/models/equipment-tree-details-dto.js +9 -0
  53. package/dist/models/equipment.d.ts +62 -8
  54. package/dist/models/get-user-wx200-response.d.ts +4 -4
  55. package/dist/models/index.d.ts +3 -0
  56. package/dist/models/index.js +3 -0
  57. package/dist/models/ipage-access-vo.d.ts +7 -7
  58. package/dist/models/park-info-dto.d.ts +6 -0
  59. package/dist/models/sync-equipment-status-vo.d.ts +37 -0
  60. package/dist/models/sync-equipment-status-vo.js +15 -0
  61. package/dist/models/sync-equipment-vo.d.ts +13 -174
  62. package/dist/models/third-party-system-enum.d.ts +22 -0
  63. package/dist/models/third-party-system-enum.js +26 -0
  64. package/dist/models/work-order-dept-settings-add-or-update-vo.d.ts +2 -2
  65. package/dist/models/work-order-dept-settings-entity.d.ts +2 -2
  66. package/models/equipment-detail-dto.ts +34 -1
  67. package/models/equipment-edit-batch-vo.ts +13 -1
  68. package/models/equipment-edit-vo.ts +28 -1
  69. package/models/equipment-search-system-dto.ts +34 -1
  70. package/models/equipment-search-vo.ts +14 -2
  71. package/models/equipment-status.ts +36 -0
  72. package/models/equipment-tree-details-dto.ts +35 -2
  73. package/models/equipment.ts +62 -8
  74. package/models/get-user-wx200-response.ts +4 -4
  75. package/models/index.ts +3 -0
  76. package/models/ipage-access-vo.ts +7 -7
  77. package/models/park-info-dto.ts +6 -0
  78. package/models/sync-equipment-status-vo.ts +45 -0
  79. package/models/sync-equipment-vo.ts +15 -174
  80. package/models/third-party-system-enum.ts +32 -0
  81. package/models/work-order-dept-settings-add-or-update-vo.ts +2 -2
  82. package/models/work-order-dept-settings-entity.ts +2 -2
  83. package/package.json +1 -1
@@ -10,27 +10,81 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * 设备详情
13
+ * 设备信息
14
14
  * @export
15
15
  * @interface Equipment
16
16
  */
17
17
  export interface Equipment {
18
18
  /**
19
- * 设备id
20
- * @type {number}
19
+ * 设备编码
20
+ * @type {string}
21
21
  * @memberof Equipment
22
22
  */
23
- 'equipmentId'?: number;
23
+ 'equipmentCode': string;
24
24
  /**
25
25
  * 设备名称
26
26
  * @type {string}
27
27
  * @memberof Equipment
28
28
  */
29
- 'equipmentName'?: string;
29
+ 'equipmentName': string;
30
+ /**
31
+ * 设备系统
32
+ * @type {string}
33
+ * @memberof Equipment
34
+ */
35
+ 'equipmentSystem'?: string;
36
+ /**
37
+ * 设备状态 1:再用,2:待维修,3:待报废,4:已报废,5:已处置,6:已冻结
38
+ * @type {number}
39
+ * @memberof Equipment
40
+ */
41
+ 'equipmentStatus': number;
42
+ /**
43
+ * 维保类型
44
+ * @type {string}
45
+ * @memberof Equipment
46
+ */
47
+ 'maintenanceType'?: string;
48
+ /**
49
+ * 维保公司
50
+ * @type {string}
51
+ * @memberof Equipment
52
+ */
53
+ 'maintenanceCompany'?: string;
54
+ /**
55
+ * 维保等级
56
+ * @type {string}
57
+ * @memberof Equipment
58
+ */
59
+ 'maintenanceLevel'?: string;
60
+ /**
61
+ * 维保联系人
62
+ * @type {string}
63
+ * @memberof Equipment
64
+ */
65
+ 'maintenanceContact'?: string;
66
+ /**
67
+ * 设备手册
68
+ * @type {Array<string>}
69
+ * @memberof Equipment
70
+ */
71
+ 'equipmentManuals'?: Array<string>;
30
72
  /**
31
- * 关联设备
32
- * @type {Array<number>}
73
+ * 出厂时间(格式:yyyy-MM-dd HH:mm:ss)
74
+ * @type {string}
75
+ * @memberof Equipment
76
+ */
77
+ 'deliveryTime'?: string;
78
+ /**
79
+ * 安装时间(格式:yyyy-MM-dd HH:mm:ss)
80
+ * @type {string}
81
+ * @memberof Equipment
82
+ */
83
+ 'installTime'?: string;
84
+ /**
85
+ * 质保到期时间(格式:yyyy-MM-dd HH:mm:ss)
86
+ * @type {string}
33
87
  * @memberof Equipment
34
88
  */
35
- 'relatedEquipmentIds'?: Array<number>;
89
+ 'warrantyTime'?: string;
36
90
  }
@@ -37,16 +37,16 @@ export interface GetUserWx200Response {
37
37
  'trailerFields'?: object;
38
38
  /**
39
39
  *
40
- * @type {number}
40
+ * @type {GetUserWx200ResponseLocale}
41
41
  * @memberof GetUserWx200Response
42
42
  */
43
- 'bufferSize'?: number;
43
+ 'locale'?: GetUserWx200ResponseLocale;
44
44
  /**
45
45
  *
46
- * @type {GetUserWx200ResponseLocale}
46
+ * @type {number}
47
47
  * @memberof GetUserWx200Response
48
48
  */
49
- 'locale'?: GetUserWx200ResponseLocale;
49
+ 'bufferSize'?: number;
50
50
  /**
51
51
  *
52
52
  * @type {string}
@@ -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';
@@ -196,6 +196,7 @@ __exportStar(require("./equipment-qr-code-vo"), exports);
196
196
  __exportStar(require("./equipment-search-system-dto"), exports);
197
197
  __exportStar(require("./equipment-search-vo"), exports);
198
198
  __exportStar(require("./equipment-space-search-vo"), exports);
199
+ __exportStar(require("./equipment-status"), exports);
199
200
  __exportStar(require("./equipment-system-add-vo"), exports);
200
201
  __exportStar(require("./equipment-system-edit-vo"), exports);
201
202
  __exportStar(require("./equipment-system-entity"), exports);
@@ -806,6 +807,7 @@ __exportStar(require("./switch-pak-body"), exports);
806
807
  __exportStar(require("./switch-pak-body-v2-vo"), exports);
807
808
  __exportStar(require("./switch-park-v2-dto"), exports);
808
809
  __exportStar(require("./sync-device-unit-vo"), exports);
810
+ __exportStar(require("./sync-equipment-status-vo"), exports);
809
811
  __exportStar(require("./sync-equipment-vo"), exports);
810
812
  __exportStar(require("./sys-config"), exports);
811
813
  __exportStar(require("./sys-dept"), exports);
@@ -831,6 +833,7 @@ __exportStar(require("./system-user-msg-source-type-enum"), exports);
831
833
  __exportStar(require("./system-user-msg-type-enum"), exports);
832
834
  __exportStar(require("./table-data-info"), exports);
833
835
  __exportStar(require("./tenant-surrender-vo"), exports);
836
+ __exportStar(require("./third-party-system-enum"), exports);
834
837
  __exportStar(require("./unit-item"), exports);
835
838
  __exportStar(require("./unloading-area-add-vo"), exports);
836
839
  __exportStar(require("./unloading-area-entity"), exports);
@@ -24,16 +24,16 @@ export interface IPageAccessVO {
24
24
  'total'?: number;
25
25
  /**
26
26
  *
27
- * @type {Array<AccessVO>}
27
+ * @type {number}
28
28
  * @memberof IPageAccessVO
29
29
  */
30
- 'records'?: Array<AccessVO>;
30
+ 'current'?: number;
31
31
  /**
32
32
  *
33
- * @type {number}
33
+ * @type {Array<AccessVO>}
34
34
  * @memberof IPageAccessVO
35
35
  */
36
- 'current'?: number;
36
+ 'records'?: Array<AccessVO>;
37
37
  /**
38
38
  *
39
39
  * @type {number}
@@ -44,15 +44,15 @@ export interface IPageAccessVO {
44
44
  *
45
45
  * @type {boolean}
46
46
  * @memberof IPageAccessVO
47
+ * @deprecated
47
48
  */
48
- 'searchCount'?: boolean;
49
+ 'hitCount'?: boolean;
49
50
  /**
50
51
  *
51
52
  * @type {boolean}
52
53
  * @memberof IPageAccessVO
53
- * @deprecated
54
54
  */
55
- 'hitCount'?: boolean;
55
+ 'searchCount'?: boolean;
56
56
  /**
57
57
  *
58
58
  * @type {number}
@@ -16,6 +16,12 @@ import type { DeptRelationDTO } from './dept-relation-dto';
16
16
  * @interface ParkInfoDTO
17
17
  */
18
18
  export interface ParkInfoDTO {
19
+ /**
20
+ * 园区ID
21
+ * @type {number}
22
+ * @memberof ParkInfoDTO
23
+ */
24
+ 'parkId'?: number;
19
25
  /**
20
26
  * 园区名称
21
27
  * @type {string}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { EquipmentStatus } from './equipment-status';
13
+ /**
14
+ * 同步设备状态参数
15
+ * @export
16
+ * @interface SyncEquipmentStatusVo
17
+ */
18
+ export interface SyncEquipmentStatusVo {
19
+ /**
20
+ * 中心编码(C码)
21
+ * @type {string}
22
+ * @memberof SyncEquipmentStatusVo
23
+ */
24
+ 'centerCode': string;
25
+ /**
26
+ * 来源系统
27
+ * @type {string}
28
+ * @memberof SyncEquipmentStatusVo
29
+ */
30
+ 'source': string;
31
+ /**
32
+ * 设备列表
33
+ * @type {Array<EquipmentStatus>}
34
+ * @memberof SyncEquipmentStatusVo
35
+ */
36
+ 'equipments'?: Array<EquipmentStatus>;
37
+ }
@@ -0,0 +1,15 @@
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 });
@@ -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}
@@ -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
+