@seedtactics/insight-client 16.4.0
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/README.md +37 -0
- package/dist/cell-status/buffers.d.ts +36 -0
- package/dist/cell-status/buffers.js +127 -0
- package/dist/cell-status/current-status.d.ts +30 -0
- package/dist/cell-status/current-status.js +200 -0
- package/dist/cell-status/estimated-cycle-times.d.ts +41 -0
- package/dist/cell-status/estimated-cycle-times.js +257 -0
- package/dist/cell-status/inspections.d.ts +55 -0
- package/dist/cell-status/inspections.js +213 -0
- package/dist/cell-status/loading.d.ts +26 -0
- package/dist/cell-status/loading.js +112 -0
- package/dist/cell-status/material-details.d.ts +116 -0
- package/dist/cell-status/material-details.js +422 -0
- package/dist/cell-status/material-summary.d.ts +52 -0
- package/dist/cell-status/material-summary.js +312 -0
- package/dist/cell-status/names.d.ts +19 -0
- package/dist/cell-status/names.js +134 -0
- package/dist/cell-status/pallet-cycles.d.ts +24 -0
- package/dist/cell-status/pallet-cycles.js +78 -0
- package/dist/cell-status/rebookings.d.ts +30 -0
- package/dist/cell-status/rebookings.js +139 -0
- package/dist/cell-status/scheduled-jobs.d.ts +18 -0
- package/dist/cell-status/scheduled-jobs.js +94 -0
- package/dist/cell-status/sim-day-usage.d.ts +14 -0
- package/dist/cell-status/sim-day-usage.js +54 -0
- package/dist/cell-status/sim-production.d.ts +22 -0
- package/dist/cell-status/sim-production.js +91 -0
- package/dist/cell-status/sim-station-use.d.ts +25 -0
- package/dist/cell-status/sim-station-use.js +71 -0
- package/dist/cell-status/station-cycles.d.ts +34 -0
- package/dist/cell-status/station-cycles.js +145 -0
- package/dist/cell-status/tool-replacements.d.ts +44 -0
- package/dist/cell-status/tool-replacements.js +155 -0
- package/dist/cell-status/tool-usage.d.ts +25 -0
- package/dist/cell-status/tool-usage.js +95 -0
- package/dist/components/App.d.ts +15 -0
- package/dist/components/App.js +549 -0
- package/dist/components/AxisAndGrid.d.ts +51 -0
- package/dist/components/AxisAndGrid.js +47 -0
- package/dist/components/BarcodeScanning.d.ts +6 -0
- package/dist/components/BarcodeScanning.js +150 -0
- package/dist/components/ChartTooltip.d.ts +28 -0
- package/dist/components/ChartTooltip.js +95 -0
- package/dist/components/ChooseMode.d.ts +18 -0
- package/dist/components/ChooseMode.js +136 -0
- package/dist/components/ChooseOperator.d.ts +1 -0
- package/dist/components/ChooseOperator.js +93 -0
- package/dist/components/ErrorsAndLoading.d.ts +9 -0
- package/dist/components/ErrorsAndLoading.js +55 -0
- package/dist/components/LoadingIcon.d.ts +1 -0
- package/dist/components/LoadingIcon.js +48 -0
- package/dist/components/LogEntry.d.ts +16 -0
- package/dist/components/LogEntry.js +365 -0
- package/dist/components/ManualSerialEntry.d.ts +5 -0
- package/dist/components/ManualSerialEntry.js +91 -0
- package/dist/components/MonthSelect.d.ts +6 -0
- package/dist/components/MonthSelect.js +67 -0
- package/dist/components/Navigation.d.ts +23 -0
- package/dist/components/Navigation.js +120 -0
- package/dist/components/VerboseLogging.d.ts +1 -0
- package/dist/components/VerboseLogging.js +47 -0
- package/dist/components/analysis/AnalysisSelectToolbar.d.ts +1 -0
- package/dist/components/analysis/AnalysisSelectToolbar.js +55 -0
- package/dist/components/analysis/BufferChart.d.ts +1 -0
- package/dist/components/analysis/BufferChart.js +139 -0
- package/dist/components/analysis/CostPerPiece.d.ts +2 -0
- package/dist/components/analysis/CostPerPiece.js +175 -0
- package/dist/components/analysis/CycleChart.d.ts +42 -0
- package/dist/components/analysis/CycleChart.js +281 -0
- package/dist/components/analysis/DataTable.d.ts +83 -0
- package/dist/components/analysis/DataTable.js +215 -0
- package/dist/components/analysis/EfficiencyPage.d.ts +2 -0
- package/dist/components/analysis/EfficiencyPage.js +138 -0
- package/dist/components/analysis/HeatChart.d.ts +22 -0
- package/dist/components/analysis/HeatChart.js +161 -0
- package/dist/components/analysis/InspectionDataTable.d.ts +10 -0
- package/dist/components/analysis/InspectionDataTable.js +148 -0
- package/dist/components/analysis/InspectionSankey.d.ts +12 -0
- package/dist/components/analysis/InspectionSankey.js +140 -0
- package/dist/components/analysis/PalletCycleCards.d.ts +1 -0
- package/dist/components/analysis/PalletCycleCards.js +137 -0
- package/dist/components/analysis/PartCycleCards.d.ts +2 -0
- package/dist/components/analysis/PartCycleCards.js +331 -0
- package/dist/components/analysis/QualityPage.d.ts +1 -0
- package/dist/components/analysis/QualityPage.js +49 -0
- package/dist/components/analysis/ScheduleHistory.d.ts +3 -0
- package/dist/components/analysis/ScheduleHistory.js +108 -0
- package/dist/components/analysis/StationDataTable.d.ts +25 -0
- package/dist/components/analysis/StationDataTable.js +246 -0
- package/dist/components/analysis/ToolReplacements.d.ts +1 -0
- package/dist/components/analysis/ToolReplacements.js +370 -0
- package/dist/components/operations/AllMaterial.d.ts +5 -0
- package/dist/components/operations/AllMaterial.js +267 -0
- package/dist/components/operations/ChartRangeEdit.d.ts +4 -0
- package/dist/components/operations/ChartRangeEdit.js +148 -0
- package/dist/components/operations/CloseoutReport.d.ts +2 -0
- package/dist/components/operations/CloseoutReport.js +172 -0
- package/dist/components/operations/CompletedParts.d.ts +2 -0
- package/dist/components/operations/CompletedParts.js +286 -0
- package/dist/components/operations/CurrentWorkorders.d.ts +3 -0
- package/dist/components/operations/CurrentWorkorders.js +368 -0
- package/dist/components/operations/Dashboard.d.ts +2 -0
- package/dist/components/operations/Dashboard.js +90 -0
- package/dist/components/operations/OEEChart.d.ts +10 -0
- package/dist/components/operations/OEEChart.js +173 -0
- package/dist/components/operations/Outliers.d.ts +4 -0
- package/dist/components/operations/Outliers.js +69 -0
- package/dist/components/operations/ProgramHighlight.d.ts +1 -0
- package/dist/components/operations/ProgramHighlight.js +9 -0
- package/dist/components/operations/Programs.d.ts +5 -0
- package/dist/components/operations/Programs.js +363 -0
- package/dist/components/operations/Rebookings.d.ts +1 -0
- package/dist/components/operations/Rebookings.js +213 -0
- package/dist/components/operations/RecentCycleChart.d.ts +4 -0
- package/dist/components/operations/RecentCycleChart.js +240 -0
- package/dist/components/operations/RecentProduction.d.ts +2 -0
- package/dist/components/operations/RecentProduction.js +213 -0
- package/dist/components/operations/RecentSchedules.d.ts +12 -0
- package/dist/components/operations/RecentSchedules.js +180 -0
- package/dist/components/operations/RecentStationCycles.d.ts +4 -0
- package/dist/components/operations/RecentStationCycles.js +159 -0
- package/dist/components/operations/ShiftSettings.d.ts +6 -0
- package/dist/components/operations/ShiftSettings.js +134 -0
- package/dist/components/operations/SimDayUsage.d.ts +1 -0
- package/dist/components/operations/SimDayUsage.js +133 -0
- package/dist/components/operations/ToolReport.d.ts +3 -0
- package/dist/components/operations/ToolReport.js +233 -0
- package/dist/components/operations/WorkorderGantt.d.ts +1 -0
- package/dist/components/operations/WorkorderGantt.js +124 -0
- package/dist/components/quality/QualityMaterial.d.ts +2 -0
- package/dist/components/quality/QualityMaterial.js +169 -0
- package/dist/components/quality/QualityPaths.d.ts +1 -0
- package/dist/components/quality/QualityPaths.js +53 -0
- package/dist/components/quality/RecentFailedInspections.d.ts +1 -0
- package/dist/components/quality/RecentFailedInspections.js +123 -0
- package/dist/components/routes.d.ts +170 -0
- package/dist/components/routes.js +301 -0
- package/dist/components/station-monitor/BulkRawMaterial.d.ts +11 -0
- package/dist/components/station-monitor/BulkRawMaterial.js +251 -0
- package/dist/components/station-monitor/Closeout.d.ts +5 -0
- package/dist/components/station-monitor/Closeout.js +162 -0
- package/dist/components/station-monitor/CustomStationMonitorDialog.d.ts +1 -0
- package/dist/components/station-monitor/CustomStationMonitorDialog.js +55 -0
- package/dist/components/station-monitor/Inspection.d.ts +8 -0
- package/dist/components/station-monitor/Inspection.js +164 -0
- package/dist/components/station-monitor/InvalidateCycle.d.ts +33 -0
- package/dist/components/station-monitor/InvalidateCycle.js +262 -0
- package/dist/components/station-monitor/JobDetails.d.ts +7 -0
- package/dist/components/station-monitor/JobDetails.js +108 -0
- package/dist/components/station-monitor/LoadStation.d.ts +10 -0
- package/dist/components/station-monitor/LoadStation.js +450 -0
- package/dist/components/station-monitor/Material.d.ts +77 -0
- package/dist/components/station-monitor/Material.js +489 -0
- package/dist/components/station-monitor/MoveMaterialArrows.d.ts +11 -0
- package/dist/components/station-monitor/MoveMaterialArrows.js +118 -0
- package/dist/components/station-monitor/PrintedLabel.d.ts +29 -0
- package/dist/components/station-monitor/PrintedLabel.js +166 -0
- package/dist/components/station-monitor/QuarantineButton.d.ts +4 -0
- package/dist/components/station-monitor/QuarantineButton.js +184 -0
- package/dist/components/station-monitor/Queues.d.ts +23 -0
- package/dist/components/station-monitor/Queues.js +312 -0
- package/dist/components/station-monitor/QueuesAddMaterial.d.ts +30 -0
- package/dist/components/station-monitor/QueuesAddMaterial.js +248 -0
- package/dist/components/station-monitor/SelectInspType.d.ts +2 -0
- package/dist/components/station-monitor/SelectInspType.js +99 -0
- package/dist/components/station-monitor/SelectWorkorder.d.ts +4 -0
- package/dist/components/station-monitor/SelectWorkorder.js +100 -0
- package/dist/components/station-monitor/StationToolbar.d.ts +3 -0
- package/dist/components/station-monitor/StationToolbar.js +168 -0
- package/dist/components/station-monitor/SystemOverview.d.ts +46 -0
- package/dist/components/station-monitor/SystemOverview.js +439 -0
- package/dist/components/station-monitor/Whiteboard.d.ts +10 -0
- package/dist/components/station-monitor/Whiteboard.js +67 -0
- package/dist/data/all-material-bins.d.ts +45 -0
- package/dist/data/all-material-bins.js +224 -0
- package/dist/data/chart-times.d.ts +20 -0
- package/dist/data/chart-times.js +99 -0
- package/dist/data/cost-per-piece.d.ts +32 -0
- package/dist/data/cost-per-piece.js +183 -0
- package/dist/data/current-cycles.d.ts +13 -0
- package/dist/data/current-cycles.js +144 -0
- package/dist/data/inspection-sankey.d.ts +15 -0
- package/dist/data/inspection-sankey.js +147 -0
- package/dist/data/move-arrows.d.ts +48 -0
- package/dist/data/move-arrows.js +217 -0
- package/dist/data/operators.d.ts +2 -0
- package/dist/data/operators.js +44 -0
- package/dist/data/part-summary.d.ts +17 -0
- package/dist/data/part-summary.js +107 -0
- package/dist/data/path-lookup.d.ts +13 -0
- package/dist/data/path-lookup.js +107 -0
- package/dist/data/queue-material.d.ts +46 -0
- package/dist/data/queue-material.js +256 -0
- package/dist/data/results.bufferchart.d.ts +10 -0
- package/dist/data/results.bufferchart.js +90 -0
- package/dist/data/results.completed-parts.d.ts +26 -0
- package/dist/data/results.completed-parts.js +181 -0
- package/dist/data/results.cycles.d.ts +86 -0
- package/dist/data/results.cycles.js +454 -0
- package/dist/data/results.inspection.d.ts +36 -0
- package/dist/data/results.inspection.js +188 -0
- package/dist/data/results.oee.d.ts +40 -0
- package/dist/data/results.oee.js +330 -0
- package/dist/data/results.schedules.d.ts +23 -0
- package/dist/data/results.schedules.js +157 -0
- package/dist/data/tools-programs.d.ts +78 -0
- package/dist/data/tools-programs.js +376 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +60 -0
- package/dist/network/api.d.ts +1390 -0
- package/dist/network/api.js +4971 -0
- package/dist/network/backend-mock.d.ts +11 -0
- package/dist/network/backend-mock.js +512 -0
- package/dist/network/backend.d.ts +57 -0
- package/dist/network/backend.js +77 -0
- package/dist/network/load-specific-month.d.ts +13 -0
- package/dist/network/load-specific-month.js +77 -0
- package/dist/network/server-settings.d.ts +12 -0
- package/dist/network/server-settings.js +92 -0
- package/dist/network/websocket.d.ts +4 -0
- package/dist/network/websocket.js +165 -0
- package/dist/renderer.d.ts +8 -0
- package/dist/renderer.js +55 -0
- package/dist/seedtactics-logo.d.ts +2 -0
- package/dist/seedtactics-logo.js +4 -0
- package/dist/util/chart-colors.d.ts +1 -0
- package/dist/util/chart-colors.js +116 -0
- package/dist/util/chart-helpers.d.ts +3 -0
- package/dist/util/chart-helpers.js +51 -0
- package/dist/util/parseISODuration.d.ts +4 -0
- package/dist/util/parseISODuration.js +40 -0
- package/docs/client-efficiency.md +355 -0
- package/docs/client-engineering.md +54 -0
- package/docs/client-launch.md +55 -0
- package/docs/client-operations.md +88 -0
- package/docs/client-quality.md +74 -0
- package/docs/client-sales.md +61 -0
- package/docs/client-scanners.md +41 -0
- package/docs/client-station-monitor.md +149 -0
- package/docs/client-tools-programs.md +74 -0
- package/docs/improve-fms.md +141 -0
- package/docs/makino.md +40 -0
- package/docs/material-quarantine.md +82 -0
- package/docs/material-tracking.md +236 -0
- package/docs/mazak.md +115 -0
- package/docs/niigata.md +228 -0
- package/docs/operator-procedures.md +106 -0
- package/docs/part-instructions.md +63 -0
- package/docs/screenshots/insight-all-material.png +0 -0
- package/docs/screenshots/insight-analysis-pallets.png +0 -0
- package/docs/screenshots/insight-analysis-part-completed.png +0 -0
- package/docs/screenshots/insight-analysis-sankey.png +0 -0
- package/docs/screenshots/insight-analysis-station-oee.png +0 -0
- package/docs/screenshots/insight-buffer-occupancy.png +0 -0
- package/docs/screenshots/insight-choose-analysis-month.png +0 -0
- package/docs/screenshots/insight-closeout.png +0 -0
- package/docs/screenshots/insight-cost-percentages.png +0 -0
- package/docs/screenshots/insight-dashboard.png +0 -0
- package/docs/screenshots/insight-event-custom-view.jpg +0 -0
- package/docs/screenshots/insight-event-viewer.jpg +0 -0
- package/docs/screenshots/insight-inspection.png +0 -0
- package/docs/screenshots/insight-load-station-details.png +0 -0
- package/docs/screenshots/insight-load-station.png +0 -0
- package/docs/screenshots/insight-loadcycle-graph.png +0 -0
- package/docs/screenshots/insight-loadstation-small.jpg +0 -0
- package/docs/screenshots/insight-machinecycle-graph.png +0 -0
- package/docs/screenshots/insight-machinecycle-table.png +0 -0
- package/docs/screenshots/insight-machinecycles.png +0 -0
- package/docs/screenshots/insight-machinehours.png +0 -0
- package/docs/screenshots/insight-machineoutliers.png +0 -0
- package/docs/screenshots/insight-monthly-schedules.png +0 -0
- package/docs/screenshots/insight-operations-material.png +0 -0
- package/docs/screenshots/insight-operations-overview.png +0 -0
- package/docs/screenshots/insight-operations-reports.png +0 -0
- package/docs/screenshots/insight-part-cost.png +0 -0
- package/docs/screenshots/insight-program-report.png +0 -0
- package/docs/screenshots/insight-quality-material-details.png +0 -0
- package/docs/screenshots/insight-quality-material.png +0 -0
- package/docs/screenshots/insight-quality-quarantine.png +0 -0
- package/docs/screenshots/insight-quality-sankey.png +0 -0
- package/docs/screenshots/insight-quality-similar-paths.png +0 -0
- package/docs/screenshots/insight-queue-details.png +0 -0
- package/docs/screenshots/insight-queues-jobs-table.png +0 -0
- package/docs/screenshots/insight-queues.png +0 -0
- package/docs/screenshots/insight-sim-day-usage.png +0 -0
- package/docs/screenshots/insight-station-system-overview-buttons.png +0 -0
- package/docs/screenshots/insight-station-system-overview.png +0 -0
- package/docs/screenshots/insight-system-overview.png +0 -0
- package/docs/screenshots/insight-tool-replacements.png +0 -0
- package/docs/screenshots/insight-tool-report.png +0 -0
- package/docs/screenshots/insight-toolbar-btns.png +0 -0
- package/docs/screenshots/insight-workorder-gantt.png +0 -0
- package/docs/screenshots/insight-workorders.png +0 -0
- package/docs/security.md +131 -0
- package/docs/server-config.md +56 -0
- package/docs/server-errors.md +44 -0
- package/package.json +90 -0
- package/src/index.ts +65 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/* Copyright (c) 2018, John Lenz
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
* Redistributions of source code must retain the above copyright
|
|
10
|
+
notice, this list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
* Redistributions in binary form must reproduce the above
|
|
13
|
+
copyright notice, this list of conditions and the following
|
|
14
|
+
disclaimer in the documentation and/or other materials provided
|
|
15
|
+
with the distribution.
|
|
16
|
+
|
|
17
|
+
* Neither the name of John Lenz, Black Maple Software, SeedTactics,
|
|
18
|
+
nor the names of other contributors may be used to endorse or
|
|
19
|
+
promote products derived from this software without specific
|
|
20
|
+
prior written permission.
|
|
21
|
+
|
|
22
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
23
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
24
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
25
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
26
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
27
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
28
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
29
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
30
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
31
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
32
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
33
|
+
*/
|
|
34
|
+
import { useState, memo } from "react";
|
|
35
|
+
import { Button, ListItemButton } from "@mui/material";
|
|
36
|
+
import { List } from "@mui/material";
|
|
37
|
+
import { ListItem } from "@mui/material";
|
|
38
|
+
import { ListItemText } from "@mui/material";
|
|
39
|
+
import { ListItemIcon } from "@mui/material";
|
|
40
|
+
import { Dialog } from "@mui/material";
|
|
41
|
+
import { DialogActions } from "@mui/material";
|
|
42
|
+
import { DialogContent } from "@mui/material";
|
|
43
|
+
import { DialogTitle } from "@mui/material";
|
|
44
|
+
import { Search as SearchIcon } from "@mui/icons-material";
|
|
45
|
+
import { TextField } from "@mui/material";
|
|
46
|
+
import * as matDetails from "../../cell-status/material-details.js";
|
|
47
|
+
import { last30InspectionTypes } from "../../cell-status/names.js";
|
|
48
|
+
import { LazySeq } from "@seedtactics/immutable-collections";
|
|
49
|
+
import { DisplayLoadingAndError } from "../ErrorsAndLoading.js";
|
|
50
|
+
import { atom, useAtom, useAtomValue, useSetAtom } from "jotai";
|
|
51
|
+
const selectInspTypeDialogOpen = atom(false);
|
|
52
|
+
function ManualInspTypeEntry() {
|
|
53
|
+
const [inspType, setInspType] = useState(null);
|
|
54
|
+
const mat = useAtomValue(matDetails.materialInDialogInfo);
|
|
55
|
+
const [forceInsp] = matDetails.useForceInspection();
|
|
56
|
+
const close = useSetAtom(selectInspTypeDialogOpen);
|
|
57
|
+
return (_jsx(TextField, { sx: { mt: "5px" }, label: inspType === "" || inspType === null ? "Inspection Type" : "Inspection Type (press enter)", value: inspType ?? "", onChange: (e) => setInspType(e.target.value), onKeyPress: (e) => {
|
|
58
|
+
if (e.key === "Enter" && mat && inspType && inspType !== "") {
|
|
59
|
+
e.preventDefault();
|
|
60
|
+
forceInsp({
|
|
61
|
+
mat: mat,
|
|
62
|
+
inspType: inspType,
|
|
63
|
+
inspect: true,
|
|
64
|
+
});
|
|
65
|
+
close(false);
|
|
66
|
+
}
|
|
67
|
+
} }));
|
|
68
|
+
}
|
|
69
|
+
function InspectionList() {
|
|
70
|
+
const mat = useAtomValue(matDetails.materialInDialogInfo);
|
|
71
|
+
const [forceInsp] = matDetails.useForceInspection();
|
|
72
|
+
const inspTypes = useAtomValue(last30InspectionTypes);
|
|
73
|
+
const sortedInspTypes = LazySeq.of(inspTypes).sortBy((x) => x);
|
|
74
|
+
const close = useSetAtom(selectInspTypeDialogOpen);
|
|
75
|
+
if (mat === null)
|
|
76
|
+
return null;
|
|
77
|
+
return (_jsx(List, { children: sortedInspTypes.map((iType) => (_jsx(ListItem, { children: _jsxs(ListItemButton, { onClick: () => {
|
|
78
|
+
forceInsp({ mat, inspType: iType, inspect: true });
|
|
79
|
+
close(false);
|
|
80
|
+
}, children: [_jsx(ListItemIcon, { children: _jsx(SearchIcon, {}) }), _jsx(ListItemText, { primary: iType })] }) }, iType))) }));
|
|
81
|
+
}
|
|
82
|
+
export function SignalInspectionButton() {
|
|
83
|
+
const setForceInspOpen = useSetAtom(selectInspTypeDialogOpen);
|
|
84
|
+
const curMat = useAtomValue(matDetails.inProcessMaterialInDialog);
|
|
85
|
+
if (curMat === null || curMat.materialID < 0)
|
|
86
|
+
return null;
|
|
87
|
+
return (_jsx(Button, { color: "primary", onClick: () => setForceInspOpen(true), children: "Signal Inspection" }));
|
|
88
|
+
}
|
|
89
|
+
export const SelectInspTypeDialog = memo(function SelectInspTypeDialog() {
|
|
90
|
+
const [dialogOpen, setDialogOpen] = useAtom(selectInspTypeDialogOpen);
|
|
91
|
+
let body;
|
|
92
|
+
if (dialogOpen === false) {
|
|
93
|
+
body = _jsx("p", { children: "None" });
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
body = (_jsxs(_Fragment, { children: [_jsx(DialogTitle, { children: "Select Inspection Type" }), _jsx(DialogContent, { children: _jsxs(DisplayLoadingAndError, { children: [_jsx(ManualInspTypeEntry, {}), _jsx(InspectionList, {})] }) }), _jsx(DialogActions, { children: _jsx(Button, { onClick: () => setDialogOpen(false), color: "primary", children: "Cancel" }) })] }));
|
|
97
|
+
}
|
|
98
|
+
return (_jsx(Dialog, { open: dialogOpen, onClose: () => setDialogOpen(false), maxWidth: "md", children: body }));
|
|
99
|
+
});
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/* Copyright (c) 2021, John Lenz
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
* Redistributions of source code must retain the above copyright
|
|
10
|
+
notice, this list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
* Redistributions in binary form must reproduce the above
|
|
13
|
+
copyright notice, this list of conditions and the following
|
|
14
|
+
disclaimer in the documentation and/or other materials provided
|
|
15
|
+
with the distribution.
|
|
16
|
+
|
|
17
|
+
* Neither the name of John Lenz, Black Maple Software, SeedTactics,
|
|
18
|
+
nor the names of other contributors may be used to endorse or
|
|
19
|
+
promote products derived from this software without specific
|
|
20
|
+
prior written permission.
|
|
21
|
+
|
|
22
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
23
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
24
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
25
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
26
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
27
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
28
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
29
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
30
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
31
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
32
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
33
|
+
*/
|
|
34
|
+
import { useState, memo } from "react";
|
|
35
|
+
import { Button, ListItemButton } from "@mui/material";
|
|
36
|
+
import { List } from "@mui/material";
|
|
37
|
+
import { ListItem } from "@mui/material";
|
|
38
|
+
import { ListItemText } from "@mui/material";
|
|
39
|
+
import { ListItemIcon } from "@mui/material";
|
|
40
|
+
import { Dialog } from "@mui/material";
|
|
41
|
+
import { DialogActions } from "@mui/material";
|
|
42
|
+
import { DialogContent } from "@mui/material";
|
|
43
|
+
import { DialogTitle } from "@mui/material";
|
|
44
|
+
import { TextField } from "@mui/material";
|
|
45
|
+
import { Check as CheckmarkIcon, ShoppingBasket as ShoppingBasketIcon } from "@mui/icons-material";
|
|
46
|
+
import * as matDetails from "../../cell-status/material-details.js";
|
|
47
|
+
import { DisplayLoadingAndError } from "../ErrorsAndLoading.js";
|
|
48
|
+
import { atom, useAtom, useAtomValue, useSetAtom } from "jotai";
|
|
49
|
+
export const selectWorkorderDialogOpen = atom(false);
|
|
50
|
+
function workorderComplete(w) {
|
|
51
|
+
let comment = "";
|
|
52
|
+
if (w.comments && w.comments.length > 0) {
|
|
53
|
+
comment = "; " + w.comments[w.comments.length - 1].comment;
|
|
54
|
+
}
|
|
55
|
+
return `Due ${w.dueDate.toLocaleDateString()}; Completed ${w.completedQuantity} of ${w.plannedQuantity}${comment}`;
|
|
56
|
+
}
|
|
57
|
+
function WorkorderIcon({ work }) {
|
|
58
|
+
if (work.plannedQuantity <= work.completedQuantity) {
|
|
59
|
+
return _jsx(CheckmarkIcon, {});
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
return _jsx(ShoppingBasketIcon, {});
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function ManualWorkorderEntry() {
|
|
66
|
+
const [workorder, setWorkorder] = useState(null);
|
|
67
|
+
const mat = useAtomValue(matDetails.materialInDialogInfo);
|
|
68
|
+
const [assignWorkorder] = matDetails.useAssignWorkorder();
|
|
69
|
+
const setWorkDialogOpen = useSetAtom(selectWorkorderDialogOpen);
|
|
70
|
+
return (_jsx(TextField, { sx: { mt: "5px" }, label: workorder === null || workorder === "" ? "Workorder" : "Workorder (press enter)", value: workorder ?? "", onChange: (e) => setWorkorder(e.target.value), onKeyPress: (e) => {
|
|
71
|
+
if (e.key === "Enter" && mat && workorder && workorder !== "") {
|
|
72
|
+
e.preventDefault();
|
|
73
|
+
assignWorkorder(mat, workorder);
|
|
74
|
+
setWorkDialogOpen(false);
|
|
75
|
+
}
|
|
76
|
+
} }));
|
|
77
|
+
}
|
|
78
|
+
function WorkorderList() {
|
|
79
|
+
const mat = useAtomValue(matDetails.materialInDialogInfo);
|
|
80
|
+
const workorders = useAtomValue(matDetails.possibleWorkordersForMaterialInDialog);
|
|
81
|
+
const setWorkDialogOpen = useSetAtom(selectWorkorderDialogOpen);
|
|
82
|
+
const [assignWorkorder] = matDetails.useAssignWorkorder();
|
|
83
|
+
return (_jsx(List, { children: (workorders ?? []).map((w) => (_jsx(ListItem, { children: _jsxs(ListItemButton, { onClick: () => {
|
|
84
|
+
if (mat) {
|
|
85
|
+
assignWorkorder(mat, w.workorderId);
|
|
86
|
+
}
|
|
87
|
+
setWorkDialogOpen(false);
|
|
88
|
+
}, children: [_jsx(ListItemIcon, { children: _jsx(WorkorderIcon, { work: w }) }), _jsx(ListItemText, { primary: w.workorderId, secondary: workorderComplete(w) })] }) }, w.workorderId))) }));
|
|
89
|
+
}
|
|
90
|
+
export const SelectWorkorderDialog = memo(function SelectWorkorderDialog() {
|
|
91
|
+
const [workDialogOpen, setWorkDialogOpen] = useAtom(selectWorkorderDialogOpen);
|
|
92
|
+
let body;
|
|
93
|
+
if (workDialogOpen === false) {
|
|
94
|
+
body = _jsx("p", { children: "None" });
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
body = (_jsxs(_Fragment, { children: [_jsx(DialogTitle, { children: "Select Workorder" }), _jsx(DialogContent, { children: _jsxs(DisplayLoadingAndError, { children: [_jsx(ManualWorkorderEntry, {}), _jsx(WorkorderList, {})] }) }), _jsx(DialogActions, { children: _jsx(Button, { onClick: () => setWorkDialogOpen(false), color: "primary", children: "Cancel" }) })] }));
|
|
98
|
+
}
|
|
99
|
+
return (_jsx(Dialog, { open: workDialogOpen, onClose: () => setWorkDialogOpen(false), maxWidth: "md", children: body }));
|
|
100
|
+
});
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/* Copyright (c) 2023, John Lenz
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
* Redistributions of source code must retain the above copyright
|
|
10
|
+
notice, this list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
* Redistributions in binary form must reproduce the above
|
|
13
|
+
copyright notice, this list of conditions and the following
|
|
14
|
+
disclaimer in the documentation and/or other materials provided
|
|
15
|
+
with the distribution.
|
|
16
|
+
|
|
17
|
+
* Neither the name of John Lenz, Black Maple Software, SeedTactics,
|
|
18
|
+
nor the names of other contributors may be used to endorse or
|
|
19
|
+
promote products derived from this software without specific
|
|
20
|
+
prior written permission.
|
|
21
|
+
|
|
22
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
23
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
24
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
25
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
26
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
27
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
28
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
29
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
30
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
31
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
32
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
33
|
+
*/
|
|
34
|
+
import { Box, Select, useMediaQuery, useTheme } from "@mui/material";
|
|
35
|
+
import { MenuItem } from "@mui/material";
|
|
36
|
+
import { Input } from "@mui/material";
|
|
37
|
+
import { FormControl } from "@mui/material";
|
|
38
|
+
import { currentStatus } from "../../cell-status/current-status.js";
|
|
39
|
+
import { RouteLocation, currentRoute } from "../routes.js";
|
|
40
|
+
import { last30InspectionTypes } from "../../cell-status/names.js";
|
|
41
|
+
import { LazySeq } from "@seedtactics/immutable-collections";
|
|
42
|
+
import { SystemOverviewDialogButton } from "./SystemOverview.js";
|
|
43
|
+
import { useAtom, useAtomValue } from "jotai";
|
|
44
|
+
const toolbarStyle = {
|
|
45
|
+
display: "flex",
|
|
46
|
+
backgroundColor: "#E0E0E0",
|
|
47
|
+
paddingLeft: "24px",
|
|
48
|
+
paddingRight: "24px",
|
|
49
|
+
paddingBottom: "4px",
|
|
50
|
+
height: "2.5em",
|
|
51
|
+
alignItems: "flex-end",
|
|
52
|
+
};
|
|
53
|
+
const inHeaderStyle = {
|
|
54
|
+
display: "flex",
|
|
55
|
+
alignSelf: "center",
|
|
56
|
+
alignItems: "flex-end",
|
|
57
|
+
};
|
|
58
|
+
const allInspSym = "@@all_inspection_display@@";
|
|
59
|
+
const completedSym = "@@recent_completed_material@@";
|
|
60
|
+
var StationMonitorType;
|
|
61
|
+
(function (StationMonitorType) {
|
|
62
|
+
StationMonitorType["LoadUnload"] = "LoadUnload";
|
|
63
|
+
StationMonitorType["Inspection"] = "Inspection";
|
|
64
|
+
StationMonitorType["CloseOut"] = "CloseOut";
|
|
65
|
+
StationMonitorType["Queues"] = "Queues";
|
|
66
|
+
StationMonitorType["AllMaterial"] = "AllMaterial";
|
|
67
|
+
})(StationMonitorType || (StationMonitorType = {}));
|
|
68
|
+
export function StationToolbar() {
|
|
69
|
+
const [route, setRoute] = useAtom(currentRoute);
|
|
70
|
+
const inspTypes = useAtomValue(last30InspectionTypes);
|
|
71
|
+
const queueNames = Object.keys(useAtomValue(currentStatus).queues).sort((a, b) => a.localeCompare(b));
|
|
72
|
+
const theme = useTheme();
|
|
73
|
+
const full = useMediaQuery(theme.breakpoints.down("md"));
|
|
74
|
+
function setLoadNumber(valStr) {
|
|
75
|
+
const val = parseFloat(valStr);
|
|
76
|
+
if (!isNaN(val) && isFinite(val)) {
|
|
77
|
+
if (route.route === RouteLocation.Station_LoadMonitor) {
|
|
78
|
+
setRoute({
|
|
79
|
+
route: RouteLocation.Station_LoadMonitor,
|
|
80
|
+
loadNum: val,
|
|
81
|
+
queues: route.queues,
|
|
82
|
+
completed: route.completed,
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
setRoute({ route: RouteLocation.Station_LoadMonitor, loadNum: val, queues: [], completed: false });
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function setInspType(type) {
|
|
91
|
+
if (type === allInspSym) {
|
|
92
|
+
setRoute({ route: RouteLocation.Station_InspectionMonitor });
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
setRoute({ route: RouteLocation.Station_InspectionMonitorWithType, inspType: type });
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
function setLoadQueues(newQueues) {
|
|
99
|
+
const completed = newQueues.includes(completedSym);
|
|
100
|
+
newQueues = newQueues.filter((q) => q !== completedSym).slice(0, 2);
|
|
101
|
+
if (route.route === RouteLocation.Station_LoadMonitor) {
|
|
102
|
+
setRoute({
|
|
103
|
+
route: RouteLocation.Station_LoadMonitor,
|
|
104
|
+
loadNum: route.loadNum,
|
|
105
|
+
queues: newQueues,
|
|
106
|
+
completed: completed,
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
setRoute({ route: RouteLocation.Station_LoadMonitor, loadNum: 1, queues: newQueues, completed });
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
function setStandaloneQueues(newQueues) {
|
|
114
|
+
setRoute({ route: RouteLocation.Station_Queues, queues: newQueues });
|
|
115
|
+
}
|
|
116
|
+
let curType = StationMonitorType.LoadUnload;
|
|
117
|
+
let loadNum = 1;
|
|
118
|
+
let curInspType = null;
|
|
119
|
+
let currentQueues = [];
|
|
120
|
+
switch (route.route) {
|
|
121
|
+
case RouteLocation.Station_LoadMonitor:
|
|
122
|
+
curType = StationMonitorType.LoadUnload;
|
|
123
|
+
loadNum = route.loadNum;
|
|
124
|
+
currentQueues = route.queues;
|
|
125
|
+
if (route.completed) {
|
|
126
|
+
currentQueues = currentQueues.concat(completedSym);
|
|
127
|
+
}
|
|
128
|
+
break;
|
|
129
|
+
case RouteLocation.Station_InspectionMonitor:
|
|
130
|
+
curType = StationMonitorType.Inspection;
|
|
131
|
+
curInspType = "";
|
|
132
|
+
break;
|
|
133
|
+
case RouteLocation.Station_InspectionMonitorWithType:
|
|
134
|
+
curType = StationMonitorType.Inspection;
|
|
135
|
+
curInspType = route.inspType;
|
|
136
|
+
break;
|
|
137
|
+
case RouteLocation.Station_Queues:
|
|
138
|
+
curType = StationMonitorType.Queues;
|
|
139
|
+
currentQueues = route.queues;
|
|
140
|
+
break;
|
|
141
|
+
case RouteLocation.Station_Closeout:
|
|
142
|
+
curType = StationMonitorType.CloseOut;
|
|
143
|
+
break;
|
|
144
|
+
default:
|
|
145
|
+
curType = StationMonitorType.AllMaterial;
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
return (_jsxs(Box, { component: "nav", sx: full ? toolbarStyle : inHeaderStyle, children: [curType === StationMonitorType.LoadUnload ? (_jsx(Input, { type: "number", placeholder: "Load Station Number", value: loadNum, onChange: (e) => setLoadNumber(e.target.value), style: { width: "3em", marginLeft: "1em" } }, "loadnumselect")) : undefined, curType === StationMonitorType.Inspection ? (_jsxs(Select, { value: curInspType || allInspSym, onChange: (e) => setInspType(e.target.value), variant: "standard", style: { marginLeft: "1em" }, children: [_jsx(MenuItem, { value: allInspSym, children: _jsx("em", { children: "All" }) }, allInspSym), LazySeq.of(inspTypes)
|
|
149
|
+
.sortBy((x) => x)
|
|
150
|
+
.map((ty) => (_jsx(MenuItem, { value: ty, children: ty }, ty)))] }, "inspselect")) : undefined, curType === StationMonitorType.LoadUnload ? (_jsxs(FormControl, { style: { marginLeft: "1em" }, children: [currentQueues.length === 0 ? (_jsx("label", { style: {
|
|
151
|
+
position: "absolute",
|
|
152
|
+
top: "10px",
|
|
153
|
+
left: 0,
|
|
154
|
+
color: "rgba(0,0,0,0.54)",
|
|
155
|
+
fontSize: "0.9rem",
|
|
156
|
+
}, children: "Display queue(s)" })) : undefined, _jsxs(Select, { multiple: true, displayEmpty: true, variant: "standard", value: currentQueues, inputProps: { id: "queueselect" }, style: { minWidth: "10em", marginTop: "0" }, onChange: (e) => setLoadQueues(e.target.value), children: [queueNames.map((q, idx) => (_jsx(MenuItem, { value: q, children: q }, idx))), _jsx(MenuItem, { value: completedSym, children: _jsx("i", { children: "Completed" }) })] })] })) : undefined, curType === StationMonitorType.Queues ? (_jsxs(FormControl, { style: { marginLeft: "1em", minWidth: "10em" }, children: [currentQueues.length === 0 ? (_jsx("label", { style: {
|
|
157
|
+
position: "absolute",
|
|
158
|
+
top: "10px",
|
|
159
|
+
left: 0,
|
|
160
|
+
color: "rgba(0,0,0,0.54)",
|
|
161
|
+
fontSize: "0.9rem",
|
|
162
|
+
}, children: "Select queue(s)" })) : undefined, _jsx(Select, { multiple: true, displayEmpty: true, variant: "standard", value: currentQueues, inputProps: { id: "queueselect" }, style: { marginTop: "0" }, onChange: (e) => setStandaloneQueues(e.target.value), children: queueNames.map((q, idx) => (_jsx(MenuItem, { value: q, children: q }, idx))) })] })) : undefined] }));
|
|
163
|
+
}
|
|
164
|
+
export function StationToolbarOverviewButton() {
|
|
165
|
+
const theme = useTheme();
|
|
166
|
+
const full = useMediaQuery(theme.breakpoints.down("md"));
|
|
167
|
+
return (_jsx(Box, { display: "flex", alignItems: "center", height: "100%", bgcolor: full ? "#E0E0E0" : undefined, children: _jsx(SystemOverviewDialogButton, { full: full }) }));
|
|
168
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IInProcessMaterial, IPalletStatus } from "../../network/api.js";
|
|
2
|
+
import { OrderedMap } from "@seedtactics/immutable-collections";
|
|
3
|
+
type PalletAndMaterial = {
|
|
4
|
+
readonly pallet: Readonly<IPalletStatus>;
|
|
5
|
+
readonly mats: ReadonlyArray<Readonly<IInProcessMaterial>>;
|
|
6
|
+
};
|
|
7
|
+
type MachineStatus = {
|
|
8
|
+
readonly name: string;
|
|
9
|
+
readonly inbound: PalletAndMaterial | null;
|
|
10
|
+
readonly worktable: PalletAndMaterial | null;
|
|
11
|
+
readonly outbound: PalletAndMaterial | null;
|
|
12
|
+
};
|
|
13
|
+
type LoadStatus = {
|
|
14
|
+
readonly lulNum: number;
|
|
15
|
+
readonly pal: PalletAndMaterial | null;
|
|
16
|
+
};
|
|
17
|
+
type MachineAtLoadStatus = {
|
|
18
|
+
readonly lulNum: number;
|
|
19
|
+
readonly machineMoving: boolean;
|
|
20
|
+
readonly machineCurrentlyAtLoad: {
|
|
21
|
+
readonly group: string;
|
|
22
|
+
readonly num: number;
|
|
23
|
+
} | null;
|
|
24
|
+
readonly readyMats: ReadonlyArray<Readonly<IInProcessMaterial>>;
|
|
25
|
+
readonly machiningMats: ReadonlyArray<Readonly<IInProcessMaterial>>;
|
|
26
|
+
readonly loadingMats: ReadonlyArray<Readonly<IInProcessMaterial>>;
|
|
27
|
+
};
|
|
28
|
+
type CellOverview = {
|
|
29
|
+
readonly machines: OrderedMap<string, ReadonlyArray<MachineStatus>>;
|
|
30
|
+
readonly loads: ReadonlyArray<LoadStatus>;
|
|
31
|
+
readonly stockerPals: ReadonlyArray<PalletAndMaterial>;
|
|
32
|
+
readonly machineAtLoad: ReadonlyArray<MachineAtLoadStatus>;
|
|
33
|
+
readonly maxNumFacesOnPallet: number;
|
|
34
|
+
};
|
|
35
|
+
export declare function formatSeconds(totalSeconds: number): string;
|
|
36
|
+
export declare const SystemOverview: import("react").NamedExoticComponent<{
|
|
37
|
+
overview: CellOverview;
|
|
38
|
+
}>;
|
|
39
|
+
export declare function SystemOverviewPage({ ignoreOperator, whiteBackground, }: {
|
|
40
|
+
ignoreOperator?: boolean;
|
|
41
|
+
whiteBackground?: boolean;
|
|
42
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
export declare const SystemOverviewDialogButton: import("react").NamedExoticComponent<{
|
|
44
|
+
full: boolean;
|
|
45
|
+
}>;
|
|
46
|
+
export {};
|