@seedtactics/insight-client 17.0.1-beta.7 → 17.0.1-beta.8
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/dist/assets/index-MFZreX-b.js +388 -0
- package/dist/cell-status/inspections.js +0 -20
- package/dist/cell-status/material-summary.js +1 -87
- package/dist/cell-status/station-cycles.d.ts +1 -0
- package/dist/cell-status/station-cycles.js +11 -14
- package/dist/components/operations/AllMaterial.js +2 -4
- package/dist/components/station-monitor/BasketLoadStationWork.js +7 -4
- package/dist/components/station-monitor/InvalidateCycle.d.ts +1 -17
- package/dist/components/station-monitor/InvalidateCycle.js +1 -91
- package/dist/components/station-monitor/LoadStation.js +3 -5
- package/dist/components/station-monitor/Material.js +5 -3
- package/dist/components/station-monitor/SystemOverview.js +2 -4
- package/dist/index.html +1 -1
- package/dist/network/api.d.ts +2 -32
- package/dist/network/api.js +2 -116
- package/dist/network/backend-mock.js +0 -3
- package/dist/network/backend.d.ts +0 -1
- package/docs/operator-procedures.md +6 -6
- package/package.json +1 -1
- package/dist/assets/index-CNJT3DX_.js +0 -388
package/dist/network/api.js
CHANGED
|
@@ -1033,45 +1033,6 @@ export class JobsClient {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
return Promise.resolve(null);
|
|
1035
1035
|
}
|
|
1036
|
-
swapMaterialOnPallet(materialId, operName, mat, signal) {
|
|
1037
|
-
let url_ = this.baseUrl + "/api/v1/jobs/material/{materialId}/swap-off-pallet?";
|
|
1038
|
-
if (materialId === undefined || materialId === null)
|
|
1039
|
-
throw new globalThis.Error("The parameter 'materialId' must be defined.");
|
|
1040
|
-
url_ = url_.replace("{materialId}", encodeURIComponent("" + materialId));
|
|
1041
|
-
if (operName !== undefined && operName !== null)
|
|
1042
|
-
url_ += "operName=" + encodeURIComponent("" + operName) + "&";
|
|
1043
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
1044
|
-
const content_ = JSON.stringify(mat);
|
|
1045
|
-
let options_ = {
|
|
1046
|
-
body: content_,
|
|
1047
|
-
method: "PUT",
|
|
1048
|
-
signal,
|
|
1049
|
-
headers: {
|
|
1050
|
-
"Content-Type": "application/json",
|
|
1051
|
-
},
|
|
1052
|
-
};
|
|
1053
|
-
return this.http.fetch(url_, options_).then((_response) => {
|
|
1054
|
-
return this.processSwapMaterialOnPallet(_response);
|
|
1055
|
-
});
|
|
1056
|
-
}
|
|
1057
|
-
processSwapMaterialOnPallet(response) {
|
|
1058
|
-
const status = response.status;
|
|
1059
|
-
let _headers = {};
|
|
1060
|
-
if (response.headers && response.headers.forEach) {
|
|
1061
|
-
response.headers.forEach((v, k) => (_headers[k] = v));
|
|
1062
|
-
}
|
|
1063
|
-
if (status === 200) {
|
|
1064
|
-
return response.text().then((_responseText) => {
|
|
1065
|
-
return;
|
|
1066
|
-
});
|
|
1067
|
-
}
|
|
1068
|
-
else if (status !== 200 && status !== 204) {
|
|
1069
|
-
return response.text().then((_responseText) => {
|
|
1070
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1071
|
-
});
|
|
1072
|
-
}
|
|
1073
|
-
return Promise.resolve(null);
|
|
1074
|
-
}
|
|
1075
1036
|
bulkRemoveMaterialFromQueues(operName, id, signal) {
|
|
1076
1037
|
let url_ = this.baseUrl + "/api/v1/jobs/material?";
|
|
1077
1038
|
if (operName !== undefined && operName !== null)
|
|
@@ -2376,7 +2337,6 @@ export class FMSInfo {
|
|
|
2376
2337
|
this.customStationMonitorDialogUrl = _data["CustomStationMonitorDialogUrl"];
|
|
2377
2338
|
this.supportsRebookings = _data["SupportsRebookings"];
|
|
2378
2339
|
this.allowChangeWorkorderAtLoadStation = _data["AllowChangeWorkorderAtLoadStation"];
|
|
2379
|
-
this.allowSwapSerialAtLoadStation = _data["AllowSwapSerialAtLoadStation"];
|
|
2380
2340
|
this.allowInvalidateMaterialAtLoadStation = _data["AllowInvalidateMaterialAtLoadStation"];
|
|
2381
2341
|
if (_data["LoadStationNames"]) {
|
|
2382
2342
|
this.loadStationNames = {};
|
|
@@ -2423,7 +2383,6 @@ export class FMSInfo {
|
|
|
2423
2383
|
data["CustomStationMonitorDialogUrl"] = this.customStationMonitorDialogUrl;
|
|
2424
2384
|
data["SupportsRebookings"] = this.supportsRebookings;
|
|
2425
2385
|
data["AllowChangeWorkorderAtLoadStation"] = this.allowChangeWorkorderAtLoadStation;
|
|
2426
|
-
data["AllowSwapSerialAtLoadStation"] = this.allowSwapSerialAtLoadStation;
|
|
2427
2386
|
data["AllowInvalidateMaterialAtLoadStation"] = this.allowInvalidateMaterialAtLoadStation;
|
|
2428
2387
|
if (this.loadStationNames) {
|
|
2429
2388
|
data["LoadStationNames"] = {};
|
|
@@ -2467,9 +2426,6 @@ export class ServerEvent {
|
|
|
2467
2426
|
this.newCurrentStatus = _data["NewCurrentStatus"]
|
|
2468
2427
|
? CurrentStatus.fromJS(_data["NewCurrentStatus"])
|
|
2469
2428
|
: undefined;
|
|
2470
|
-
this.editMaterialInLog = _data["EditMaterialInLog"]
|
|
2471
|
-
? EditMaterialInLogEvents.fromJS(_data["EditMaterialInLog"])
|
|
2472
|
-
: undefined;
|
|
2473
2429
|
}
|
|
2474
2430
|
}
|
|
2475
2431
|
static fromJS(data) {
|
|
@@ -2485,9 +2441,6 @@ export class ServerEvent {
|
|
|
2485
2441
|
data["NewCurrentStatus"] = this.newCurrentStatus
|
|
2486
2442
|
? this.newCurrentStatus.toJSON()
|
|
2487
2443
|
: undefined;
|
|
2488
|
-
data["EditMaterialInLog"] = this.editMaterialInLog
|
|
2489
|
-
? this.editMaterialInLog.toJSON()
|
|
2490
|
-
: undefined;
|
|
2491
2444
|
return data;
|
|
2492
2445
|
}
|
|
2493
2446
|
}
|
|
@@ -4470,6 +4423,7 @@ export class BasketLoadStationWork {
|
|
|
4470
4423
|
this.workId = _data["WorkId"];
|
|
4471
4424
|
this.type = _data["Type"];
|
|
4472
4425
|
this.readyToConfirm = _data["ReadyToConfirm"];
|
|
4426
|
+
this.confirmationBlockedReason = _data["ConfirmationBlockedReason"];
|
|
4473
4427
|
if (Array.isArray(_data["AwaitingMaterialSlots"])) {
|
|
4474
4428
|
this.awaitingMaterialSlots = [];
|
|
4475
4429
|
for (let item of _data["AwaitingMaterialSlots"])
|
|
@@ -4488,6 +4442,7 @@ export class BasketLoadStationWork {
|
|
|
4488
4442
|
data["WorkId"] = this.workId;
|
|
4489
4443
|
data["Type"] = this.type;
|
|
4490
4444
|
data["ReadyToConfirm"] = this.readyToConfirm;
|
|
4445
|
+
data["ConfirmationBlockedReason"] = this.confirmationBlockedReason;
|
|
4491
4446
|
if (Array.isArray(this.awaitingMaterialSlots)) {
|
|
4492
4447
|
data["AwaitingMaterialSlots"] = [];
|
|
4493
4448
|
for (let item of this.awaitingMaterialSlots)
|
|
@@ -4594,47 +4549,6 @@ export var BasketMoveReason;
|
|
|
4594
4549
|
BasketMoveReason["RemoveForCorrection"] = "RemoveForCorrection";
|
|
4595
4550
|
BasketMoveReason["Other"] = "Other";
|
|
4596
4551
|
})(BasketMoveReason || (BasketMoveReason = {}));
|
|
4597
|
-
export class EditMaterialInLogEvents {
|
|
4598
|
-
constructor(data) {
|
|
4599
|
-
if (data) {
|
|
4600
|
-
for (var property in data) {
|
|
4601
|
-
if (data.hasOwnProperty(property))
|
|
4602
|
-
this[property] = data[property];
|
|
4603
|
-
}
|
|
4604
|
-
}
|
|
4605
|
-
if (!data) {
|
|
4606
|
-
this.editedEvents = [];
|
|
4607
|
-
}
|
|
4608
|
-
}
|
|
4609
|
-
init(_data) {
|
|
4610
|
-
if (_data) {
|
|
4611
|
-
this.oldMaterialID = _data["OldMaterialID"];
|
|
4612
|
-
this.newMaterialID = _data["NewMaterialID"];
|
|
4613
|
-
if (Array.isArray(_data["EditedEvents"])) {
|
|
4614
|
-
this.editedEvents = [];
|
|
4615
|
-
for (let item of _data["EditedEvents"])
|
|
4616
|
-
this.editedEvents.push(LogEntry.fromJS(item));
|
|
4617
|
-
}
|
|
4618
|
-
}
|
|
4619
|
-
}
|
|
4620
|
-
static fromJS(data) {
|
|
4621
|
-
data = typeof data === "object" ? data : {};
|
|
4622
|
-
let result = new EditMaterialInLogEvents();
|
|
4623
|
-
result.init(data);
|
|
4624
|
-
return result;
|
|
4625
|
-
}
|
|
4626
|
-
toJSON(data) {
|
|
4627
|
-
data = typeof data === "object" ? data : {};
|
|
4628
|
-
data["OldMaterialID"] = this.oldMaterialID;
|
|
4629
|
-
data["NewMaterialID"] = this.newMaterialID;
|
|
4630
|
-
if (Array.isArray(this.editedEvents)) {
|
|
4631
|
-
data["EditedEvents"] = [];
|
|
4632
|
-
for (let item of this.editedEvents)
|
|
4633
|
-
data["EditedEvents"].push(item ? item.toJSON() : undefined);
|
|
4634
|
-
}
|
|
4635
|
-
return data;
|
|
4636
|
-
}
|
|
4637
|
-
}
|
|
4638
4552
|
export class ProblemDetails {
|
|
4639
4553
|
constructor(data) {
|
|
4640
4554
|
if (data) {
|
|
@@ -5251,34 +5165,6 @@ export class CancelLoadRequest {
|
|
|
5251
5165
|
return data;
|
|
5252
5166
|
}
|
|
5253
5167
|
}
|
|
5254
|
-
export class MatToPutOnPallet {
|
|
5255
|
-
constructor(data) {
|
|
5256
|
-
if (data) {
|
|
5257
|
-
for (var property in data) {
|
|
5258
|
-
if (data.hasOwnProperty(property))
|
|
5259
|
-
this[property] = data[property];
|
|
5260
|
-
}
|
|
5261
|
-
}
|
|
5262
|
-
}
|
|
5263
|
-
init(_data) {
|
|
5264
|
-
if (_data) {
|
|
5265
|
-
this.pallet = _data["Pallet"];
|
|
5266
|
-
this.materialIDToSetOnPallet = _data["MaterialIDToSetOnPallet"];
|
|
5267
|
-
}
|
|
5268
|
-
}
|
|
5269
|
-
static fromJS(data) {
|
|
5270
|
-
data = typeof data === "object" ? data : {};
|
|
5271
|
-
let result = new MatToPutOnPallet();
|
|
5272
|
-
result.init(data);
|
|
5273
|
-
return result;
|
|
5274
|
-
}
|
|
5275
|
-
toJSON(data) {
|
|
5276
|
-
data = typeof data === "object" ? data : {};
|
|
5277
|
-
data["Pallet"] = this.pallet;
|
|
5278
|
-
data["MaterialIDToSetOnPallet"] = this.materialIDToSetOnPallet;
|
|
5279
|
-
return data;
|
|
5280
|
-
}
|
|
5281
|
-
}
|
|
5282
5168
|
export class JobAndDecrementQuantity {
|
|
5283
5169
|
constructor(data) {
|
|
5284
5170
|
if (data) {
|
|
@@ -232,9 +232,6 @@ export function registerMockBackend(offsetSeconds, mockD, mockEvts) {
|
|
|
232
232
|
cancelLoad() {
|
|
233
233
|
return Promise.resolve();
|
|
234
234
|
},
|
|
235
|
-
swapMaterialOnPallet() {
|
|
236
|
-
return Promise.resolve();
|
|
237
|
-
},
|
|
238
235
|
invalidatePalletCycle() {
|
|
239
236
|
return Promise.resolve(null);
|
|
240
237
|
},
|
|
@@ -13,7 +13,6 @@ export interface JobAPI {
|
|
|
13
13
|
signalMaterialForQuarantine(materialId: number, operName: string | null, reason: string | undefined): Promise<void>;
|
|
14
14
|
quarantineQueuedMaterial(materialId: number, operName: string | null, reason: string | undefined): Promise<void>;
|
|
15
15
|
cancelLoad(materialId: number, operName: string | null, request: Readonly<api.ICancelLoadRequest>): Promise<void>;
|
|
16
|
-
swapMaterialOnPallet(materialId: number, operName: string | null, mat: Readonly<api.IMatToPutOnPallet>): Promise<void>;
|
|
17
16
|
invalidatePalletCycle(materialId: number, operName: string | null | undefined, changeCastingTo: string | null | undefined, changeJobUniqueTo: string | null | undefined, process: number): Promise<Readonly<api.IMaterialDetails> | null | undefined>;
|
|
18
17
|
unscheduledRebookings(signal?: AbortSignal): Promise<ReadonlyArray<Readonly<api.IRebooking>> | null>;
|
|
19
18
|
}
|
|
@@ -94,9 +94,9 @@ quarantine queue. That material can then be re-introduced back into the queue so
|
|
|
94
94
|
FMS Insight matches the material on the shop floor. In addition, FMS Insight allows the ability to
|
|
95
95
|
invalidate the inadvertent load events that were created.
|
|
96
96
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
97
|
+
Insight does not reassign recorded pallet manufacturing history from one material identity to
|
|
98
|
+
another. If machining was attributed to the wrong identity, record an explanatory operator note and
|
|
99
|
+
use the installation's traceability exception procedure. Quarantine, invalidation, and readmission
|
|
100
|
+
do not transfer that manufacturing result to a different identity. Do not repeat machining solely to
|
|
101
|
+
repair the record. Ordinary serial-label assignment remains available when the tracked material
|
|
102
|
+
identity is correct and only its label needs correction.
|