@ignos/api-client 20250827.0.12448-alpha → 20250829.0.12463
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/lib/ignosportal-api.d.ts +83 -108
- package/lib/ignosportal-api.js +232 -343
- package/package.json +1 -1
- package/src/ignosportal-api.ts +305 -442
package/src/ignosportal-api.ts
CHANGED
|
@@ -707,6 +707,8 @@ export interface IMachineUtilizationClient {
|
|
|
707
707
|
*/
|
|
708
708
|
getUtilizationDetailsForMachine(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
709
709
|
|
|
710
|
+
getResourceTimelines(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
|
|
711
|
+
|
|
710
712
|
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
711
713
|
|
|
712
714
|
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
@@ -882,6 +884,53 @@ export class MachineUtilizationClient extends AuthorizedApiBase implements IMach
|
|
|
882
884
|
return Promise.resolve<MachineStatesSummaryDto>(null as any);
|
|
883
885
|
}
|
|
884
886
|
|
|
887
|
+
getResourceTimelines(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto> {
|
|
888
|
+
let url_ = this.baseUrl + "/machineutilization/{id}/resource/timelines?";
|
|
889
|
+
if (id === undefined || id === null)
|
|
890
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
891
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
892
|
+
if (startTime !== undefined && startTime !== null)
|
|
893
|
+
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
894
|
+
if (endTime !== undefined && endTime !== null)
|
|
895
|
+
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
896
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
897
|
+
|
|
898
|
+
const content_ = JSON.stringify(filter);
|
|
899
|
+
|
|
900
|
+
let options_: RequestInit = {
|
|
901
|
+
body: content_,
|
|
902
|
+
method: "POST",
|
|
903
|
+
headers: {
|
|
904
|
+
"Content-Type": "application/json",
|
|
905
|
+
"Accept": "application/json"
|
|
906
|
+
}
|
|
907
|
+
};
|
|
908
|
+
|
|
909
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
910
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
911
|
+
}).then((_response: Response) => {
|
|
912
|
+
return this.processGetResourceTimelines(_response);
|
|
913
|
+
});
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
protected processGetResourceTimelines(response: Response): Promise<TimelinesDto> {
|
|
917
|
+
const status = response.status;
|
|
918
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
919
|
+
if (status === 200) {
|
|
920
|
+
return response.text().then((_responseText) => {
|
|
921
|
+
let result200: any = null;
|
|
922
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
923
|
+
result200 = TimelinesDto.fromJS(resultData200);
|
|
924
|
+
return result200;
|
|
925
|
+
});
|
|
926
|
+
} else if (status !== 200 && status !== 204) {
|
|
927
|
+
return response.text().then((_responseText) => {
|
|
928
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
929
|
+
});
|
|
930
|
+
}
|
|
931
|
+
return Promise.resolve<TimelinesDto>(null as any);
|
|
932
|
+
}
|
|
933
|
+
|
|
885
934
|
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]> {
|
|
886
935
|
let url_ = this.baseUrl + "/machineutilization/{id}/machine-states?";
|
|
887
936
|
if (id === undefined || id === null)
|
|
@@ -6016,14 +6065,6 @@ export interface IDowntimeReasonsAdminClient {
|
|
|
6016
6065
|
deleteDowntimeReason(id: string): Promise<void>;
|
|
6017
6066
|
|
|
6018
6067
|
listMachineTypes(): Promise<MachineTypeDto[]>;
|
|
6019
|
-
|
|
6020
|
-
listParentTopics(): Promise<ParentTopicDto[]>;
|
|
6021
|
-
|
|
6022
|
-
createParentTopic(request: CreateParentTopicRequest): Promise<ParentTopicDto>;
|
|
6023
|
-
|
|
6024
|
-
updateParentTopic(id: string, request: UpdateParentTopicRequest): Promise<ParentTopicDto>;
|
|
6025
|
-
|
|
6026
|
-
deleteParentTopic(id: string): Promise<void>;
|
|
6027
6068
|
}
|
|
6028
6069
|
|
|
6029
6070
|
export class DowntimeReasonsAdminClient extends AuthorizedApiBase implements IDowntimeReasonsAdminClient {
|
|
@@ -6234,164 +6275,6 @@ export class DowntimeReasonsAdminClient extends AuthorizedApiBase implements IDo
|
|
|
6234
6275
|
}
|
|
6235
6276
|
return Promise.resolve<MachineTypeDto[]>(null as any);
|
|
6236
6277
|
}
|
|
6237
|
-
|
|
6238
|
-
listParentTopics(): Promise<ParentTopicDto[]> {
|
|
6239
|
-
let url_ = this.baseUrl + "/downtimereasonsadmin/downtimereasons/parents";
|
|
6240
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
6241
|
-
|
|
6242
|
-
let options_: RequestInit = {
|
|
6243
|
-
method: "GET",
|
|
6244
|
-
headers: {
|
|
6245
|
-
"Accept": "application/json"
|
|
6246
|
-
}
|
|
6247
|
-
};
|
|
6248
|
-
|
|
6249
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6250
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
6251
|
-
}).then((_response: Response) => {
|
|
6252
|
-
return this.processListParentTopics(_response);
|
|
6253
|
-
});
|
|
6254
|
-
}
|
|
6255
|
-
|
|
6256
|
-
protected processListParentTopics(response: Response): Promise<ParentTopicDto[]> {
|
|
6257
|
-
const status = response.status;
|
|
6258
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6259
|
-
if (status === 200) {
|
|
6260
|
-
return response.text().then((_responseText) => {
|
|
6261
|
-
let result200: any = null;
|
|
6262
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
6263
|
-
if (Array.isArray(resultData200)) {
|
|
6264
|
-
result200 = [] as any;
|
|
6265
|
-
for (let item of resultData200)
|
|
6266
|
-
result200!.push(ParentTopicDto.fromJS(item));
|
|
6267
|
-
}
|
|
6268
|
-
return result200;
|
|
6269
|
-
});
|
|
6270
|
-
} else if (status !== 200 && status !== 204) {
|
|
6271
|
-
return response.text().then((_responseText) => {
|
|
6272
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6273
|
-
});
|
|
6274
|
-
}
|
|
6275
|
-
return Promise.resolve<ParentTopicDto[]>(null as any);
|
|
6276
|
-
}
|
|
6277
|
-
|
|
6278
|
-
createParentTopic(request: CreateParentTopicRequest): Promise<ParentTopicDto> {
|
|
6279
|
-
let url_ = this.baseUrl + "/downtimereasonsadmin/downtimereasons/parents";
|
|
6280
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
6281
|
-
|
|
6282
|
-
const content_ = JSON.stringify(request);
|
|
6283
|
-
|
|
6284
|
-
let options_: RequestInit = {
|
|
6285
|
-
body: content_,
|
|
6286
|
-
method: "POST",
|
|
6287
|
-
headers: {
|
|
6288
|
-
"Content-Type": "application/json",
|
|
6289
|
-
"Accept": "application/json"
|
|
6290
|
-
}
|
|
6291
|
-
};
|
|
6292
|
-
|
|
6293
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6294
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
6295
|
-
}).then((_response: Response) => {
|
|
6296
|
-
return this.processCreateParentTopic(_response);
|
|
6297
|
-
});
|
|
6298
|
-
}
|
|
6299
|
-
|
|
6300
|
-
protected processCreateParentTopic(response: Response): Promise<ParentTopicDto> {
|
|
6301
|
-
const status = response.status;
|
|
6302
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6303
|
-
if (status === 200) {
|
|
6304
|
-
return response.text().then((_responseText) => {
|
|
6305
|
-
let result200: any = null;
|
|
6306
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
6307
|
-
result200 = ParentTopicDto.fromJS(resultData200);
|
|
6308
|
-
return result200;
|
|
6309
|
-
});
|
|
6310
|
-
} else if (status !== 200 && status !== 204) {
|
|
6311
|
-
return response.text().then((_responseText) => {
|
|
6312
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6313
|
-
});
|
|
6314
|
-
}
|
|
6315
|
-
return Promise.resolve<ParentTopicDto>(null as any);
|
|
6316
|
-
}
|
|
6317
|
-
|
|
6318
|
-
updateParentTopic(id: string, request: UpdateParentTopicRequest): Promise<ParentTopicDto> {
|
|
6319
|
-
let url_ = this.baseUrl + "/downtimereasonsadmin/downtimereasons/parents/{id}";
|
|
6320
|
-
if (id === undefined || id === null)
|
|
6321
|
-
throw new Error("The parameter 'id' must be defined.");
|
|
6322
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
6323
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
6324
|
-
|
|
6325
|
-
const content_ = JSON.stringify(request);
|
|
6326
|
-
|
|
6327
|
-
let options_: RequestInit = {
|
|
6328
|
-
body: content_,
|
|
6329
|
-
method: "PUT",
|
|
6330
|
-
headers: {
|
|
6331
|
-
"Content-Type": "application/json",
|
|
6332
|
-
"Accept": "application/json"
|
|
6333
|
-
}
|
|
6334
|
-
};
|
|
6335
|
-
|
|
6336
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6337
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
6338
|
-
}).then((_response: Response) => {
|
|
6339
|
-
return this.processUpdateParentTopic(_response);
|
|
6340
|
-
});
|
|
6341
|
-
}
|
|
6342
|
-
|
|
6343
|
-
protected processUpdateParentTopic(response: Response): Promise<ParentTopicDto> {
|
|
6344
|
-
const status = response.status;
|
|
6345
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6346
|
-
if (status === 200) {
|
|
6347
|
-
return response.text().then((_responseText) => {
|
|
6348
|
-
let result200: any = null;
|
|
6349
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
6350
|
-
result200 = ParentTopicDto.fromJS(resultData200);
|
|
6351
|
-
return result200;
|
|
6352
|
-
});
|
|
6353
|
-
} else if (status !== 200 && status !== 204) {
|
|
6354
|
-
return response.text().then((_responseText) => {
|
|
6355
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6356
|
-
});
|
|
6357
|
-
}
|
|
6358
|
-
return Promise.resolve<ParentTopicDto>(null as any);
|
|
6359
|
-
}
|
|
6360
|
-
|
|
6361
|
-
deleteParentTopic(id: string): Promise<void> {
|
|
6362
|
-
let url_ = this.baseUrl + "/downtimereasonsadmin/downtimereasons/parents/{id}";
|
|
6363
|
-
if (id === undefined || id === null)
|
|
6364
|
-
throw new Error("The parameter 'id' must be defined.");
|
|
6365
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
6366
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
6367
|
-
|
|
6368
|
-
let options_: RequestInit = {
|
|
6369
|
-
method: "DELETE",
|
|
6370
|
-
headers: {
|
|
6371
|
-
}
|
|
6372
|
-
};
|
|
6373
|
-
|
|
6374
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6375
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
6376
|
-
}).then((_response: Response) => {
|
|
6377
|
-
return this.processDeleteParentTopic(_response);
|
|
6378
|
-
});
|
|
6379
|
-
}
|
|
6380
|
-
|
|
6381
|
-
protected processDeleteParentTopic(response: Response): Promise<void> {
|
|
6382
|
-
const status = response.status;
|
|
6383
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6384
|
-
if (status === 204) {
|
|
6385
|
-
return response.text().then((_responseText) => {
|
|
6386
|
-
return;
|
|
6387
|
-
});
|
|
6388
|
-
} else if (status !== 200 && status !== 204) {
|
|
6389
|
-
return response.text().then((_responseText) => {
|
|
6390
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6391
|
-
});
|
|
6392
|
-
}
|
|
6393
|
-
return Promise.resolve<void>(null as any);
|
|
6394
|
-
}
|
|
6395
6278
|
}
|
|
6396
6279
|
|
|
6397
6280
|
export interface IDowntimeReasonsClient {
|
|
@@ -7170,6 +7053,11 @@ export interface IMachinesClient {
|
|
|
7170
7053
|
|
|
7171
7054
|
getMachineErpData(id: number): Promise<MachineErpDataDto>;
|
|
7172
7055
|
|
|
7056
|
+
/**
|
|
7057
|
+
* @param startTime (optional)
|
|
7058
|
+
* @param endTime (optional)
|
|
7059
|
+
* @deprecated
|
|
7060
|
+
*/
|
|
7173
7061
|
getWorkOrderTimeline(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<WorkOrderDatapoint[]>;
|
|
7174
7062
|
|
|
7175
7063
|
getMachineUtilizationSummary(): Promise<UtilizationSummaryDto>;
|
|
@@ -7689,6 +7577,11 @@ export class MachinesClient extends AuthorizedApiBase implements IMachinesClient
|
|
|
7689
7577
|
return Promise.resolve<MachineErpDataDto>(null as any);
|
|
7690
7578
|
}
|
|
7691
7579
|
|
|
7580
|
+
/**
|
|
7581
|
+
* @param startTime (optional)
|
|
7582
|
+
* @param endTime (optional)
|
|
7583
|
+
* @deprecated
|
|
7584
|
+
*/
|
|
7692
7585
|
getWorkOrderTimeline(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<WorkOrderDatapoint[]> {
|
|
7693
7586
|
let url_ = this.baseUrl + "/machines/{id}/workorder/timeline?";
|
|
7694
7587
|
if (id === undefined || id === null)
|
|
@@ -25474,6 +25367,92 @@ export interface IStateDto {
|
|
|
25474
25367
|
seconds: number;
|
|
25475
25368
|
}
|
|
25476
25369
|
|
|
25370
|
+
export class TimelinesDto implements ITimelinesDto {
|
|
25371
|
+
machineStateTimeline!: MachineStateDatapoint[];
|
|
25372
|
+
workorderTimeline!: WorkOrderDatapoint[];
|
|
25373
|
+
downtimeReasonsTimeline!: DowntimePeriodReasonDto[];
|
|
25374
|
+
programTimeline!: ProgramDatapoint[];
|
|
25375
|
+
|
|
25376
|
+
constructor(data?: ITimelinesDto) {
|
|
25377
|
+
if (data) {
|
|
25378
|
+
for (var property in data) {
|
|
25379
|
+
if (data.hasOwnProperty(property))
|
|
25380
|
+
(<any>this)[property] = (<any>data)[property];
|
|
25381
|
+
}
|
|
25382
|
+
}
|
|
25383
|
+
if (!data) {
|
|
25384
|
+
this.machineStateTimeline = [];
|
|
25385
|
+
this.workorderTimeline = [];
|
|
25386
|
+
this.downtimeReasonsTimeline = [];
|
|
25387
|
+
this.programTimeline = [];
|
|
25388
|
+
}
|
|
25389
|
+
}
|
|
25390
|
+
|
|
25391
|
+
init(_data?: any) {
|
|
25392
|
+
if (_data) {
|
|
25393
|
+
if (Array.isArray(_data["machineStateTimeline"])) {
|
|
25394
|
+
this.machineStateTimeline = [] as any;
|
|
25395
|
+
for (let item of _data["machineStateTimeline"])
|
|
25396
|
+
this.machineStateTimeline!.push(MachineStateDatapoint.fromJS(item));
|
|
25397
|
+
}
|
|
25398
|
+
if (Array.isArray(_data["workorderTimeline"])) {
|
|
25399
|
+
this.workorderTimeline = [] as any;
|
|
25400
|
+
for (let item of _data["workorderTimeline"])
|
|
25401
|
+
this.workorderTimeline!.push(WorkOrderDatapoint.fromJS(item));
|
|
25402
|
+
}
|
|
25403
|
+
if (Array.isArray(_data["downtimeReasonsTimeline"])) {
|
|
25404
|
+
this.downtimeReasonsTimeline = [] as any;
|
|
25405
|
+
for (let item of _data["downtimeReasonsTimeline"])
|
|
25406
|
+
this.downtimeReasonsTimeline!.push(DowntimePeriodReasonDto.fromJS(item));
|
|
25407
|
+
}
|
|
25408
|
+
if (Array.isArray(_data["programTimeline"])) {
|
|
25409
|
+
this.programTimeline = [] as any;
|
|
25410
|
+
for (let item of _data["programTimeline"])
|
|
25411
|
+
this.programTimeline!.push(ProgramDatapoint.fromJS(item));
|
|
25412
|
+
}
|
|
25413
|
+
}
|
|
25414
|
+
}
|
|
25415
|
+
|
|
25416
|
+
static fromJS(data: any): TimelinesDto {
|
|
25417
|
+
data = typeof data === 'object' ? data : {};
|
|
25418
|
+
let result = new TimelinesDto();
|
|
25419
|
+
result.init(data);
|
|
25420
|
+
return result;
|
|
25421
|
+
}
|
|
25422
|
+
|
|
25423
|
+
toJSON(data?: any) {
|
|
25424
|
+
data = typeof data === 'object' ? data : {};
|
|
25425
|
+
if (Array.isArray(this.machineStateTimeline)) {
|
|
25426
|
+
data["machineStateTimeline"] = [];
|
|
25427
|
+
for (let item of this.machineStateTimeline)
|
|
25428
|
+
data["machineStateTimeline"].push(item.toJSON());
|
|
25429
|
+
}
|
|
25430
|
+
if (Array.isArray(this.workorderTimeline)) {
|
|
25431
|
+
data["workorderTimeline"] = [];
|
|
25432
|
+
for (let item of this.workorderTimeline)
|
|
25433
|
+
data["workorderTimeline"].push(item.toJSON());
|
|
25434
|
+
}
|
|
25435
|
+
if (Array.isArray(this.downtimeReasonsTimeline)) {
|
|
25436
|
+
data["downtimeReasonsTimeline"] = [];
|
|
25437
|
+
for (let item of this.downtimeReasonsTimeline)
|
|
25438
|
+
data["downtimeReasonsTimeline"].push(item.toJSON());
|
|
25439
|
+
}
|
|
25440
|
+
if (Array.isArray(this.programTimeline)) {
|
|
25441
|
+
data["programTimeline"] = [];
|
|
25442
|
+
for (let item of this.programTimeline)
|
|
25443
|
+
data["programTimeline"].push(item.toJSON());
|
|
25444
|
+
}
|
|
25445
|
+
return data;
|
|
25446
|
+
}
|
|
25447
|
+
}
|
|
25448
|
+
|
|
25449
|
+
export interface ITimelinesDto {
|
|
25450
|
+
machineStateTimeline: MachineStateDatapoint[];
|
|
25451
|
+
workorderTimeline: WorkOrderDatapoint[];
|
|
25452
|
+
downtimeReasonsTimeline: DowntimePeriodReasonDto[];
|
|
25453
|
+
programTimeline: ProgramDatapoint[];
|
|
25454
|
+
}
|
|
25455
|
+
|
|
25477
25456
|
export class MachineStateDatapoint implements IMachineStateDatapoint {
|
|
25478
25457
|
machineStateText!: string;
|
|
25479
25458
|
machineState!: MachineState;
|
|
@@ -25663,6 +25642,166 @@ export interface IEmployeeDto {
|
|
|
25663
25642
|
azureAdObjectId?: string | null;
|
|
25664
25643
|
}
|
|
25665
25644
|
|
|
25645
|
+
export class WorkOrderDatapoint implements IWorkOrderDatapoint {
|
|
25646
|
+
workOrder!: string;
|
|
25647
|
+
id!: number;
|
|
25648
|
+
externalId!: string;
|
|
25649
|
+
subType?: string | null;
|
|
25650
|
+
startTime!: number;
|
|
25651
|
+
endTime?: number | null;
|
|
25652
|
+
metaData?: { [key: string]: string; } | null;
|
|
25653
|
+
|
|
25654
|
+
constructor(data?: IWorkOrderDatapoint) {
|
|
25655
|
+
if (data) {
|
|
25656
|
+
for (var property in data) {
|
|
25657
|
+
if (data.hasOwnProperty(property))
|
|
25658
|
+
(<any>this)[property] = (<any>data)[property];
|
|
25659
|
+
}
|
|
25660
|
+
}
|
|
25661
|
+
}
|
|
25662
|
+
|
|
25663
|
+
init(_data?: any) {
|
|
25664
|
+
if (_data) {
|
|
25665
|
+
this.workOrder = _data["workOrder"];
|
|
25666
|
+
this.id = _data["id"];
|
|
25667
|
+
this.externalId = _data["externalId"];
|
|
25668
|
+
this.subType = _data["subType"];
|
|
25669
|
+
this.startTime = _data["startTime"];
|
|
25670
|
+
this.endTime = _data["endTime"];
|
|
25671
|
+
if (_data["metaData"]) {
|
|
25672
|
+
this.metaData = {} as any;
|
|
25673
|
+
for (let key in _data["metaData"]) {
|
|
25674
|
+
if (_data["metaData"].hasOwnProperty(key))
|
|
25675
|
+
(<any>this.metaData)![key] = _data["metaData"][key];
|
|
25676
|
+
}
|
|
25677
|
+
}
|
|
25678
|
+
}
|
|
25679
|
+
}
|
|
25680
|
+
|
|
25681
|
+
static fromJS(data: any): WorkOrderDatapoint {
|
|
25682
|
+
data = typeof data === 'object' ? data : {};
|
|
25683
|
+
let result = new WorkOrderDatapoint();
|
|
25684
|
+
result.init(data);
|
|
25685
|
+
return result;
|
|
25686
|
+
}
|
|
25687
|
+
|
|
25688
|
+
toJSON(data?: any) {
|
|
25689
|
+
data = typeof data === 'object' ? data : {};
|
|
25690
|
+
data["workOrder"] = this.workOrder;
|
|
25691
|
+
data["id"] = this.id;
|
|
25692
|
+
data["externalId"] = this.externalId;
|
|
25693
|
+
data["subType"] = this.subType;
|
|
25694
|
+
data["startTime"] = this.startTime;
|
|
25695
|
+
data["endTime"] = this.endTime;
|
|
25696
|
+
if (this.metaData) {
|
|
25697
|
+
data["metaData"] = {};
|
|
25698
|
+
for (let key in this.metaData) {
|
|
25699
|
+
if (this.metaData.hasOwnProperty(key))
|
|
25700
|
+
(<any>data["metaData"])[key] = (<any>this.metaData)[key];
|
|
25701
|
+
}
|
|
25702
|
+
}
|
|
25703
|
+
return data;
|
|
25704
|
+
}
|
|
25705
|
+
}
|
|
25706
|
+
|
|
25707
|
+
export interface IWorkOrderDatapoint {
|
|
25708
|
+
workOrder: string;
|
|
25709
|
+
id: number;
|
|
25710
|
+
externalId: string;
|
|
25711
|
+
subType?: string | null;
|
|
25712
|
+
startTime: number;
|
|
25713
|
+
endTime?: number | null;
|
|
25714
|
+
metaData?: { [key: string]: string; } | null;
|
|
25715
|
+
}
|
|
25716
|
+
|
|
25717
|
+
export class ProgramDatapoint implements IProgramDatapoint {
|
|
25718
|
+
timestamp?: number;
|
|
25719
|
+
programValue?: string;
|
|
25720
|
+
|
|
25721
|
+
constructor(data?: IProgramDatapoint) {
|
|
25722
|
+
if (data) {
|
|
25723
|
+
for (var property in data) {
|
|
25724
|
+
if (data.hasOwnProperty(property))
|
|
25725
|
+
(<any>this)[property] = (<any>data)[property];
|
|
25726
|
+
}
|
|
25727
|
+
}
|
|
25728
|
+
}
|
|
25729
|
+
|
|
25730
|
+
init(_data?: any) {
|
|
25731
|
+
if (_data) {
|
|
25732
|
+
this.timestamp = _data["timestamp"];
|
|
25733
|
+
this.programValue = _data["programValue"];
|
|
25734
|
+
}
|
|
25735
|
+
}
|
|
25736
|
+
|
|
25737
|
+
static fromJS(data: any): ProgramDatapoint {
|
|
25738
|
+
data = typeof data === 'object' ? data : {};
|
|
25739
|
+
let result = new ProgramDatapoint();
|
|
25740
|
+
result.init(data);
|
|
25741
|
+
return result;
|
|
25742
|
+
}
|
|
25743
|
+
|
|
25744
|
+
toJSON(data?: any) {
|
|
25745
|
+
data = typeof data === 'object' ? data : {};
|
|
25746
|
+
data["timestamp"] = this.timestamp;
|
|
25747
|
+
data["programValue"] = this.programValue;
|
|
25748
|
+
return data;
|
|
25749
|
+
}
|
|
25750
|
+
}
|
|
25751
|
+
|
|
25752
|
+
export interface IProgramDatapoint {
|
|
25753
|
+
timestamp?: number;
|
|
25754
|
+
programValue?: string;
|
|
25755
|
+
}
|
|
25756
|
+
|
|
25757
|
+
export class TimelineFilterDto implements ITimelineFilterDto {
|
|
25758
|
+
includeMachineState?: boolean | null;
|
|
25759
|
+
includeWorkorder?: boolean | null;
|
|
25760
|
+
includeDowntimeReasons?: boolean | null;
|
|
25761
|
+
includeProgram?: boolean | null;
|
|
25762
|
+
|
|
25763
|
+
constructor(data?: ITimelineFilterDto) {
|
|
25764
|
+
if (data) {
|
|
25765
|
+
for (var property in data) {
|
|
25766
|
+
if (data.hasOwnProperty(property))
|
|
25767
|
+
(<any>this)[property] = (<any>data)[property];
|
|
25768
|
+
}
|
|
25769
|
+
}
|
|
25770
|
+
}
|
|
25771
|
+
|
|
25772
|
+
init(_data?: any) {
|
|
25773
|
+
if (_data) {
|
|
25774
|
+
this.includeMachineState = _data["includeMachineState"];
|
|
25775
|
+
this.includeWorkorder = _data["includeWorkorder"];
|
|
25776
|
+
this.includeDowntimeReasons = _data["includeDowntimeReasons"];
|
|
25777
|
+
this.includeProgram = _data["includeProgram"];
|
|
25778
|
+
}
|
|
25779
|
+
}
|
|
25780
|
+
|
|
25781
|
+
static fromJS(data: any): TimelineFilterDto {
|
|
25782
|
+
data = typeof data === 'object' ? data : {};
|
|
25783
|
+
let result = new TimelineFilterDto();
|
|
25784
|
+
result.init(data);
|
|
25785
|
+
return result;
|
|
25786
|
+
}
|
|
25787
|
+
|
|
25788
|
+
toJSON(data?: any) {
|
|
25789
|
+
data = typeof data === 'object' ? data : {};
|
|
25790
|
+
data["includeMachineState"] = this.includeMachineState;
|
|
25791
|
+
data["includeWorkorder"] = this.includeWorkorder;
|
|
25792
|
+
data["includeDowntimeReasons"] = this.includeDowntimeReasons;
|
|
25793
|
+
data["includeProgram"] = this.includeProgram;
|
|
25794
|
+
return data;
|
|
25795
|
+
}
|
|
25796
|
+
}
|
|
25797
|
+
|
|
25798
|
+
export interface ITimelineFilterDto {
|
|
25799
|
+
includeMachineState?: boolean | null;
|
|
25800
|
+
includeWorkorder?: boolean | null;
|
|
25801
|
+
includeDowntimeReasons?: boolean | null;
|
|
25802
|
+
includeProgram?: boolean | null;
|
|
25803
|
+
}
|
|
25804
|
+
|
|
25666
25805
|
export class MachineUptimesAggregateDto implements IMachineUptimesAggregateDto {
|
|
25667
25806
|
machineUptimes!: MachineUptimeDto[];
|
|
25668
25807
|
sum!: MachineUptimeSumDto;
|
|
@@ -25991,46 +26130,6 @@ export interface INumericNullableValueWithTimestamp {
|
|
|
25991
26130
|
value?: number | null;
|
|
25992
26131
|
}
|
|
25993
26132
|
|
|
25994
|
-
export class ProgramDatapoint implements IProgramDatapoint {
|
|
25995
|
-
timestamp?: number;
|
|
25996
|
-
programValue?: string;
|
|
25997
|
-
|
|
25998
|
-
constructor(data?: IProgramDatapoint) {
|
|
25999
|
-
if (data) {
|
|
26000
|
-
for (var property in data) {
|
|
26001
|
-
if (data.hasOwnProperty(property))
|
|
26002
|
-
(<any>this)[property] = (<any>data)[property];
|
|
26003
|
-
}
|
|
26004
|
-
}
|
|
26005
|
-
}
|
|
26006
|
-
|
|
26007
|
-
init(_data?: any) {
|
|
26008
|
-
if (_data) {
|
|
26009
|
-
this.timestamp = _data["timestamp"];
|
|
26010
|
-
this.programValue = _data["programValue"];
|
|
26011
|
-
}
|
|
26012
|
-
}
|
|
26013
|
-
|
|
26014
|
-
static fromJS(data: any): ProgramDatapoint {
|
|
26015
|
-
data = typeof data === 'object' ? data : {};
|
|
26016
|
-
let result = new ProgramDatapoint();
|
|
26017
|
-
result.init(data);
|
|
26018
|
-
return result;
|
|
26019
|
-
}
|
|
26020
|
-
|
|
26021
|
-
toJSON(data?: any) {
|
|
26022
|
-
data = typeof data === 'object' ? data : {};
|
|
26023
|
-
data["timestamp"] = this.timestamp;
|
|
26024
|
-
data["programValue"] = this.programValue;
|
|
26025
|
-
return data;
|
|
26026
|
-
}
|
|
26027
|
-
}
|
|
26028
|
-
|
|
26029
|
-
export interface IProgramDatapoint {
|
|
26030
|
-
timestamp?: number;
|
|
26031
|
-
programValue?: string;
|
|
26032
|
-
}
|
|
26033
|
-
|
|
26034
26133
|
export class UserAppDto implements IUserAppDto {
|
|
26035
26134
|
key!: string;
|
|
26036
26135
|
name!: string;
|
|
@@ -33845,8 +33944,6 @@ export class DowntimeReasonDto implements IDowntimeReasonDto {
|
|
|
33845
33944
|
machineTypes!: string[];
|
|
33846
33945
|
reasonType!: DowntimeReasonTypeDto;
|
|
33847
33946
|
description?: string | null;
|
|
33848
|
-
parentId?: string | null;
|
|
33849
|
-
displayOrder?: number | null;
|
|
33850
33947
|
|
|
33851
33948
|
constructor(data?: IDowntimeReasonDto) {
|
|
33852
33949
|
if (data) {
|
|
@@ -33871,8 +33968,6 @@ export class DowntimeReasonDto implements IDowntimeReasonDto {
|
|
|
33871
33968
|
}
|
|
33872
33969
|
this.reasonType = _data["reasonType"];
|
|
33873
33970
|
this.description = _data["description"];
|
|
33874
|
-
this.parentId = _data["parentId"];
|
|
33875
|
-
this.displayOrder = _data["displayOrder"];
|
|
33876
33971
|
}
|
|
33877
33972
|
}
|
|
33878
33973
|
|
|
@@ -33894,8 +33989,6 @@ export class DowntimeReasonDto implements IDowntimeReasonDto {
|
|
|
33894
33989
|
}
|
|
33895
33990
|
data["reasonType"] = this.reasonType;
|
|
33896
33991
|
data["description"] = this.description;
|
|
33897
|
-
data["parentId"] = this.parentId;
|
|
33898
|
-
data["displayOrder"] = this.displayOrder;
|
|
33899
33992
|
return data;
|
|
33900
33993
|
}
|
|
33901
33994
|
}
|
|
@@ -33906,8 +33999,6 @@ export interface IDowntimeReasonDto {
|
|
|
33906
33999
|
machineTypes: string[];
|
|
33907
34000
|
reasonType: DowntimeReasonTypeDto;
|
|
33908
34001
|
description?: string | null;
|
|
33909
|
-
parentId?: string | null;
|
|
33910
|
-
displayOrder?: number | null;
|
|
33911
34002
|
}
|
|
33912
34003
|
|
|
33913
34004
|
export class CreateDowntimeReason implements ICreateDowntimeReason {
|
|
@@ -33974,8 +34065,6 @@ export class UpdateDowntimeReasonRequest implements IUpdateDowntimeReasonRequest
|
|
|
33974
34065
|
machineTypes!: string[];
|
|
33975
34066
|
reasonType!: DowntimeReasonTypeDto;
|
|
33976
34067
|
description?: string | null;
|
|
33977
|
-
parentId?: string | null;
|
|
33978
|
-
displayOrder?: number | null;
|
|
33979
34068
|
|
|
33980
34069
|
constructor(data?: IUpdateDowntimeReasonRequest) {
|
|
33981
34070
|
if (data) {
|
|
@@ -33999,8 +34088,6 @@ export class UpdateDowntimeReasonRequest implements IUpdateDowntimeReasonRequest
|
|
|
33999
34088
|
}
|
|
34000
34089
|
this.reasonType = _data["reasonType"];
|
|
34001
34090
|
this.description = _data["description"];
|
|
34002
|
-
this.parentId = _data["parentId"];
|
|
34003
|
-
this.displayOrder = _data["displayOrder"];
|
|
34004
34091
|
}
|
|
34005
34092
|
}
|
|
34006
34093
|
|
|
@@ -34021,8 +34108,6 @@ export class UpdateDowntimeReasonRequest implements IUpdateDowntimeReasonRequest
|
|
|
34021
34108
|
}
|
|
34022
34109
|
data["reasonType"] = this.reasonType;
|
|
34023
34110
|
data["description"] = this.description;
|
|
34024
|
-
data["parentId"] = this.parentId;
|
|
34025
|
-
data["displayOrder"] = this.displayOrder;
|
|
34026
34111
|
return data;
|
|
34027
34112
|
}
|
|
34028
34113
|
}
|
|
@@ -34032,8 +34117,6 @@ export interface IUpdateDowntimeReasonRequest {
|
|
|
34032
34117
|
machineTypes: string[];
|
|
34033
34118
|
reasonType: DowntimeReasonTypeDto;
|
|
34034
34119
|
description?: string | null;
|
|
34035
|
-
parentId?: string | null;
|
|
34036
|
-
displayOrder?: number | null;
|
|
34037
34120
|
}
|
|
34038
34121
|
|
|
34039
34122
|
export class MachineTypeDto implements IMachineTypeDto {
|
|
@@ -34072,154 +34155,6 @@ export interface IMachineTypeDto {
|
|
|
34072
34155
|
machineType: string;
|
|
34073
34156
|
}
|
|
34074
34157
|
|
|
34075
|
-
export class ParentTopicDto implements IParentTopicDto {
|
|
34076
|
-
id!: string;
|
|
34077
|
-
name!: string;
|
|
34078
|
-
reasonType!: DowntimeReasonTypeDto;
|
|
34079
|
-
description?: string | null;
|
|
34080
|
-
displayOrder?: number;
|
|
34081
|
-
|
|
34082
|
-
constructor(data?: IParentTopicDto) {
|
|
34083
|
-
if (data) {
|
|
34084
|
-
for (var property in data) {
|
|
34085
|
-
if (data.hasOwnProperty(property))
|
|
34086
|
-
(<any>this)[property] = (<any>data)[property];
|
|
34087
|
-
}
|
|
34088
|
-
}
|
|
34089
|
-
}
|
|
34090
|
-
|
|
34091
|
-
init(_data?: any) {
|
|
34092
|
-
if (_data) {
|
|
34093
|
-
this.id = _data["id"];
|
|
34094
|
-
this.name = _data["name"];
|
|
34095
|
-
this.reasonType = _data["reasonType"];
|
|
34096
|
-
this.description = _data["description"];
|
|
34097
|
-
this.displayOrder = _data["displayOrder"];
|
|
34098
|
-
}
|
|
34099
|
-
}
|
|
34100
|
-
|
|
34101
|
-
static fromJS(data: any): ParentTopicDto {
|
|
34102
|
-
data = typeof data === 'object' ? data : {};
|
|
34103
|
-
let result = new ParentTopicDto();
|
|
34104
|
-
result.init(data);
|
|
34105
|
-
return result;
|
|
34106
|
-
}
|
|
34107
|
-
|
|
34108
|
-
toJSON(data?: any) {
|
|
34109
|
-
data = typeof data === 'object' ? data : {};
|
|
34110
|
-
data["id"] = this.id;
|
|
34111
|
-
data["name"] = this.name;
|
|
34112
|
-
data["reasonType"] = this.reasonType;
|
|
34113
|
-
data["description"] = this.description;
|
|
34114
|
-
data["displayOrder"] = this.displayOrder;
|
|
34115
|
-
return data;
|
|
34116
|
-
}
|
|
34117
|
-
}
|
|
34118
|
-
|
|
34119
|
-
export interface IParentTopicDto {
|
|
34120
|
-
id: string;
|
|
34121
|
-
name: string;
|
|
34122
|
-
reasonType: DowntimeReasonTypeDto;
|
|
34123
|
-
description?: string | null;
|
|
34124
|
-
displayOrder?: number;
|
|
34125
|
-
}
|
|
34126
|
-
|
|
34127
|
-
export class CreateParentTopicRequest implements ICreateParentTopicRequest {
|
|
34128
|
-
name!: string;
|
|
34129
|
-
reasonType!: DowntimeReasonTypeDto;
|
|
34130
|
-
description?: string | null;
|
|
34131
|
-
displayOrder?: number | null;
|
|
34132
|
-
|
|
34133
|
-
constructor(data?: ICreateParentTopicRequest) {
|
|
34134
|
-
if (data) {
|
|
34135
|
-
for (var property in data) {
|
|
34136
|
-
if (data.hasOwnProperty(property))
|
|
34137
|
-
(<any>this)[property] = (<any>data)[property];
|
|
34138
|
-
}
|
|
34139
|
-
}
|
|
34140
|
-
}
|
|
34141
|
-
|
|
34142
|
-
init(_data?: any) {
|
|
34143
|
-
if (_data) {
|
|
34144
|
-
this.name = _data["name"];
|
|
34145
|
-
this.reasonType = _data["reasonType"];
|
|
34146
|
-
this.description = _data["description"];
|
|
34147
|
-
this.displayOrder = _data["displayOrder"];
|
|
34148
|
-
}
|
|
34149
|
-
}
|
|
34150
|
-
|
|
34151
|
-
static fromJS(data: any): CreateParentTopicRequest {
|
|
34152
|
-
data = typeof data === 'object' ? data : {};
|
|
34153
|
-
let result = new CreateParentTopicRequest();
|
|
34154
|
-
result.init(data);
|
|
34155
|
-
return result;
|
|
34156
|
-
}
|
|
34157
|
-
|
|
34158
|
-
toJSON(data?: any) {
|
|
34159
|
-
data = typeof data === 'object' ? data : {};
|
|
34160
|
-
data["name"] = this.name;
|
|
34161
|
-
data["reasonType"] = this.reasonType;
|
|
34162
|
-
data["description"] = this.description;
|
|
34163
|
-
data["displayOrder"] = this.displayOrder;
|
|
34164
|
-
return data;
|
|
34165
|
-
}
|
|
34166
|
-
}
|
|
34167
|
-
|
|
34168
|
-
export interface ICreateParentTopicRequest {
|
|
34169
|
-
name: string;
|
|
34170
|
-
reasonType: DowntimeReasonTypeDto;
|
|
34171
|
-
description?: string | null;
|
|
34172
|
-
displayOrder?: number | null;
|
|
34173
|
-
}
|
|
34174
|
-
|
|
34175
|
-
export class UpdateParentTopicRequest implements IUpdateParentTopicRequest {
|
|
34176
|
-
name!: string;
|
|
34177
|
-
reasonType!: DowntimeReasonTypeDto;
|
|
34178
|
-
description?: string | null;
|
|
34179
|
-
displayOrder?: number | null;
|
|
34180
|
-
|
|
34181
|
-
constructor(data?: IUpdateParentTopicRequest) {
|
|
34182
|
-
if (data) {
|
|
34183
|
-
for (var property in data) {
|
|
34184
|
-
if (data.hasOwnProperty(property))
|
|
34185
|
-
(<any>this)[property] = (<any>data)[property];
|
|
34186
|
-
}
|
|
34187
|
-
}
|
|
34188
|
-
}
|
|
34189
|
-
|
|
34190
|
-
init(_data?: any) {
|
|
34191
|
-
if (_data) {
|
|
34192
|
-
this.name = _data["name"];
|
|
34193
|
-
this.reasonType = _data["reasonType"];
|
|
34194
|
-
this.description = _data["description"];
|
|
34195
|
-
this.displayOrder = _data["displayOrder"];
|
|
34196
|
-
}
|
|
34197
|
-
}
|
|
34198
|
-
|
|
34199
|
-
static fromJS(data: any): UpdateParentTopicRequest {
|
|
34200
|
-
data = typeof data === 'object' ? data : {};
|
|
34201
|
-
let result = new UpdateParentTopicRequest();
|
|
34202
|
-
result.init(data);
|
|
34203
|
-
return result;
|
|
34204
|
-
}
|
|
34205
|
-
|
|
34206
|
-
toJSON(data?: any) {
|
|
34207
|
-
data = typeof data === 'object' ? data : {};
|
|
34208
|
-
data["name"] = this.name;
|
|
34209
|
-
data["reasonType"] = this.reasonType;
|
|
34210
|
-
data["description"] = this.description;
|
|
34211
|
-
data["displayOrder"] = this.displayOrder;
|
|
34212
|
-
return data;
|
|
34213
|
-
}
|
|
34214
|
-
}
|
|
34215
|
-
|
|
34216
|
-
export interface IUpdateParentTopicRequest {
|
|
34217
|
-
name: string;
|
|
34218
|
-
reasonType: DowntimeReasonTypeDto;
|
|
34219
|
-
description?: string | null;
|
|
34220
|
-
displayOrder?: number | null;
|
|
34221
|
-
}
|
|
34222
|
-
|
|
34223
34158
|
export class CreateDowntimePeriodReason implements ICreateDowntimePeriodReason {
|
|
34224
34159
|
reasonId!: string;
|
|
34225
34160
|
assetId!: number;
|
|
@@ -36124,78 +36059,6 @@ export interface IWorkOrderProjectDto {
|
|
|
36124
36059
|
projectManager?: string | null;
|
|
36125
36060
|
}
|
|
36126
36061
|
|
|
36127
|
-
export class WorkOrderDatapoint implements IWorkOrderDatapoint {
|
|
36128
|
-
workOrder!: string;
|
|
36129
|
-
id!: number;
|
|
36130
|
-
externalId!: string;
|
|
36131
|
-
subType?: string | null;
|
|
36132
|
-
startTime!: number;
|
|
36133
|
-
endTime?: number | null;
|
|
36134
|
-
metaData?: { [key: string]: string; } | null;
|
|
36135
|
-
|
|
36136
|
-
constructor(data?: IWorkOrderDatapoint) {
|
|
36137
|
-
if (data) {
|
|
36138
|
-
for (var property in data) {
|
|
36139
|
-
if (data.hasOwnProperty(property))
|
|
36140
|
-
(<any>this)[property] = (<any>data)[property];
|
|
36141
|
-
}
|
|
36142
|
-
}
|
|
36143
|
-
}
|
|
36144
|
-
|
|
36145
|
-
init(_data?: any) {
|
|
36146
|
-
if (_data) {
|
|
36147
|
-
this.workOrder = _data["workOrder"];
|
|
36148
|
-
this.id = _data["id"];
|
|
36149
|
-
this.externalId = _data["externalId"];
|
|
36150
|
-
this.subType = _data["subType"];
|
|
36151
|
-
this.startTime = _data["startTime"];
|
|
36152
|
-
this.endTime = _data["endTime"];
|
|
36153
|
-
if (_data["metaData"]) {
|
|
36154
|
-
this.metaData = {} as any;
|
|
36155
|
-
for (let key in _data["metaData"]) {
|
|
36156
|
-
if (_data["metaData"].hasOwnProperty(key))
|
|
36157
|
-
(<any>this.metaData)![key] = _data["metaData"][key];
|
|
36158
|
-
}
|
|
36159
|
-
}
|
|
36160
|
-
}
|
|
36161
|
-
}
|
|
36162
|
-
|
|
36163
|
-
static fromJS(data: any): WorkOrderDatapoint {
|
|
36164
|
-
data = typeof data === 'object' ? data : {};
|
|
36165
|
-
let result = new WorkOrderDatapoint();
|
|
36166
|
-
result.init(data);
|
|
36167
|
-
return result;
|
|
36168
|
-
}
|
|
36169
|
-
|
|
36170
|
-
toJSON(data?: any) {
|
|
36171
|
-
data = typeof data === 'object' ? data : {};
|
|
36172
|
-
data["workOrder"] = this.workOrder;
|
|
36173
|
-
data["id"] = this.id;
|
|
36174
|
-
data["externalId"] = this.externalId;
|
|
36175
|
-
data["subType"] = this.subType;
|
|
36176
|
-
data["startTime"] = this.startTime;
|
|
36177
|
-
data["endTime"] = this.endTime;
|
|
36178
|
-
if (this.metaData) {
|
|
36179
|
-
data["metaData"] = {};
|
|
36180
|
-
for (let key in this.metaData) {
|
|
36181
|
-
if (this.metaData.hasOwnProperty(key))
|
|
36182
|
-
(<any>data["metaData"])[key] = (<any>this.metaData)[key];
|
|
36183
|
-
}
|
|
36184
|
-
}
|
|
36185
|
-
return data;
|
|
36186
|
-
}
|
|
36187
|
-
}
|
|
36188
|
-
|
|
36189
|
-
export interface IWorkOrderDatapoint {
|
|
36190
|
-
workOrder: string;
|
|
36191
|
-
id: number;
|
|
36192
|
-
externalId: string;
|
|
36193
|
-
subType?: string | null;
|
|
36194
|
-
startTime: number;
|
|
36195
|
-
endTime?: number | null;
|
|
36196
|
-
metaData?: { [key: string]: string; } | null;
|
|
36197
|
-
}
|
|
36198
|
-
|
|
36199
36062
|
export class UtilizationSummaryDto implements IUtilizationSummaryDto {
|
|
36200
36063
|
factory!: FactoryUtilizationDto;
|
|
36201
36064
|
groups!: MachineGroupUtilizationDto[];
|