diff --git a/backend/src/main/java/com/workbenchclassic/TranSql.java b/backend/src/main/java/com/workbenchclassic/TranSql.java new file mode 100644 index 0000000..21b2162 --- /dev/null +++ b/backend/src/main/java/com/workbenchclassic/TranSql.java @@ -0,0 +1,53 @@ +package com.workbenchclassic; + +import java.sql.Connection; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Statement; + +final class TranSql { + private TranSql() { + } + + static String schema(boolean isOracle) { + return isOracle ? "tran" : "xtran"; + } + + static String timestamp(boolean isMSSQL) { + return isMSSQL ? "GETDATE()" : "SYSDATE"; + } + + static long nextSequenceValue(Connection conn, boolean isMSSQL, boolean isOracle, + String mssqlSequence, String oracleSequence) throws SQLException { + String sql = isMSSQL + ? "SELECT NEXT VALUE FOR " + mssqlSequence + : "SELECT " + oracleSequence + ".NEXTVAL FROM DUAL"; + + try (Statement stmt = conn.createStatement(); + ResultSet rs = stmt.executeQuery(sql)) { + if (!rs.next()) { + throw new SQLException("No value returned for sequence " + (isOracle ? oracleSequence : mssqlSequence)); + } + return rs.getLong(1); + } + } + + static long insertIdocStatus(Connection conn, boolean isMSSQL, boolean isOracle, int interfaceNo) + throws SQLException { + long idocId = nextSequenceValue(conn, isMSSQL, isOracle, + "xtran.SEQ_TRAN_IDOC_STATUS", + "tran.SEQ_TRAN_IDOC_STATUS"); + String schema = schema(isOracle); + String sql = "INSERT INTO " + schema + + ".tran_idoc_status (IDOC_ID, INTERFACE_NO, SOURCE, STATUS, CREATED, STAMP) " + + "VALUES (?, ?, 0, 0, " + timestamp(isMSSQL) + ", " + timestamp(isMSSQL) + ")"; + + try (PreparedStatement ps = conn.prepareStatement(sql)) { + ps.setLong(1, idocId); + ps.setInt(2, interfaceNo); + ps.executeUpdate(); + } + return idocId; + } +} diff --git a/backend/src/main/webapp/BOMImport.html b/backend/src/main/webapp/BOMImport.html index 6fbb0b1..99cf49b 100644 --- a/backend/src/main/webapp/BOMImport.html +++ b/backend/src/main/webapp/BOMImport.html @@ -1,208 +1,133 @@ - -BOM Import - - - - - - + + + Excel BOM Import + + + + + - - -
- -
-

Excel BOM Import

-
Export, Import und Übertragung der BOM-Daten
-
- -
- - - -
- -
-
-
- -
+
+

Excel Export & Import

+ + + +
+
- - + diff --git a/backend/src/main/webapp/Config.html b/backend/src/main/webapp/Config.html index f01c6a3..7cf62d8 100644 --- a/backend/src/main/webapp/Config.html +++ b/backend/src/main/webapp/Config.html @@ -1,152 +1,40 @@ - -Station Config - - - + - -
+

Station

- -
-
-

- Station Config - Station -

- -
-
- -
-
-
+ -
+ + +
+ + + + - - - - + + + Excel Contact Import & Export + + + + + - - -
- - -
-
-

Contacts – Excel Import / Export

-
- - -
+
+

Excel Export & Import

+ + + +
-
- - -
-
- -
-
-
- -
- diff --git a/backend/src/main/webapp/ErpAdd.html b/backend/src/main/webapp/ErpAdd.html index 19446a1..8c68c68 100644 --- a/backend/src/main/webapp/ErpAdd.html +++ b/backend/src/main/webapp/ErpAdd.html @@ -2,9 +2,12 @@ - Excel Contact Import & Export - - + + Excel Contact Import & Export + + + + -
@@ -44,11 +46,11 @@
+ document.getElementById("export-button").addEventListener("click", exportExcel); + document.getElementById("file-input").addEventListener("change", importExcelData); + document.getElementById("send-button").addEventListener("click", sendExcelData); + }); + diff --git a/backend/src/main/webapp/PARTImport.html b/backend/src/main/webapp/PARTImport.html index 7a174fc..3388eb7 100644 --- a/backend/src/main/webapp/PARTImport.html +++ b/backend/src/main/webapp/PARTImport.html @@ -1,219 +1,126 @@ - -PART – Excel Import - - - - - - + + + Excel PART Import + + + + + - - -
- - -
-
-

PART – Excel Import / Export

-
- - -
+
+

Excel Export & Import

+ + + +
-
- - -
-
- -
-
-
- -
- - + diff --git a/backend/src/main/webapp/Station.html b/backend/src/main/webapp/Station.html index 02e485f..914ca54 100644 --- a/backend/src/main/webapp/Station.html +++ b/backend/src/main/webapp/Station.html @@ -3,10 +3,13 @@ - Fertigungsbaum - - + + Fertigungsbaum + + + + @@ -134,7 +137,6 @@ overflow: hidden; /* Kein Scrollen auf dem Container selbst */ } -
@@ -236,38 +238,29 @@ }); } - function importExcelData() { + function importExcelData() { const fileInput = document.getElementById("file-input"); if (!fileInput.files.length) return; const reader = new FileReader(); - reader.onload = function (event) { + reader.onload = function(event) { const workbook = XLSX.read(event.target.result, { type: "binary" }); const sheet = workbook.Sheets[workbook.SheetNames[0]]; + const data = XLSX.utils.sheet_to_json(sheet); + rawTable = data; - // Rohdaten als Objekte - const data = XLSX.utils.sheet_to_json(sheet, { defval: "" }); - - // ✅ Leere Zeilen ignorieren - rawTable = data.filter(row => - Object.values(row).some( - val => val !== null && val !== undefined && String(val).trim() !== "" - ) - ); - - if (rawTable.length === 0) { - alert("Keine gültigen Daten gefunden."); - return; - } - - const container = document.getElementById("import-table"); - const headers = Object.keys(rawTable[0]); - const rows = rawTable.map(row => headers.map(header => row[header])); - WorkbenchExcelPreview.render("import-table", headers, rows); - }; - + const container = document.getElementById("import-table"); + new Handsontable(container, { + data, + colHeaders: Object.keys(data[0]), + rowHeaders: true, + width: '100%', + height: 300, + licenseKey: 'non-commercial-and-evaluation' + }); + }; reader.readAsBinaryString(fileInput.files[0]); - } + } function sendExcelData() { const stationNumber = sessionStorage.getItem("stationNumber") || "TEST"; diff --git a/backend/src/main/webapp/Useradd.html b/backend/src/main/webapp/Useradd.html index b3bd95a..88afb75 100644 --- a/backend/src/main/webapp/Useradd.html +++ b/backend/src/main/webapp/Useradd.html @@ -1,229 +1,146 @@ - -User – Excel Import / Export - - - - - - + + + Excel Contact Import & Export + + + + + - - -
- - -
-
-

User – Excel Import / Export

-
- - -
+
+

Excel Export & Import

+ + + +
-
- - -
-
- -
-
-
- -
- diff --git a/backend/src/main/webapp/Workorder.html b/backend/src/main/webapp/Workorder.html index 85a446f..0df092e 100644 --- a/backend/src/main/webapp/Workorder.html +++ b/backend/src/main/webapp/Workorder.html @@ -1,7 +1,8 @@ - + + Workorder Activation diff --git a/backend/src/main/webapp/assets/calc.js b/backend/src/main/webapp/assets/calc.js new file mode 100644 index 0000000..08f0043 --- /dev/null +++ b/backend/src/main/webapp/assets/calc.js @@ -0,0 +1,158 @@ + +/* Shopfloor-taugliche, einfache Offline-Rechner (kein Framework) */ +(function(){ + function n(v){ + const x = Number(String(v).replace(",", ".")); + return Number.isFinite(x) ? x : NaN; + } + + function clamp01(x){ return Math.max(0, Math.min(1, x)); } + + function fmtPct(x){ + if (!Number.isFinite(x)) return "—"; + return (x*100).toFixed(1).replace(".", ",") + " %"; + } + + function fmtNum(x){ + if (!Number.isFinite(x)) return "—"; + // ohne Tausendertrennzeichen, dafür robust auf HMIs + const s = (Math.round(x*1000)/1000).toString(); + return s.replace(".", ","); + } + + function setText(id, text){ + const el = document.getElementById(id); + if (el) el.textContent = text; + } + + function setBadge(id, kind, text){ + const el = document.getElementById(id); + if (!el) return; + el.classList.remove("ok","warn","bad"); + if (kind) el.classList.add(kind); + el.textContent = text; + } + + // ----- OEE ----- + function calcOEE(){ + // Inputs: geplante Zeit, Stillstand, Idealzyklus, Total Count, Good Count + const plannedMin = n(document.getElementById("oee_planned_min").value); + const stopMin = n(document.getElementById("oee_stop_min").value); + const idealCycleSec = n(document.getElementById("oee_ideal_cycle_sec").value); + const totalCount = n(document.getElementById("oee_total").value); + const goodCount = n(document.getElementById("oee_good").value); + + const runtimeMin = plannedMin - stopMin; + const runtimeSec = runtimeMin * 60; + + const availability = plannedMin > 0 ? clamp01(runtimeMin / plannedMin) : NaN; + // Performance: (Ideal Cycle Time × Total Count) / Run Time + const performance = (idealCycleSec > 0 && runtimeSec > 0 && totalCount >= 0) + ? clamp01((idealCycleSec * totalCount) / runtimeSec) + : NaN; + const quality = (totalCount > 0 && goodCount >= 0) ? clamp01(goodCount / totalCount) : NaN; + + const oee = (Number.isFinite(availability) && Number.isFinite(performance) && Number.isFinite(quality)) + ? availability * performance * quality + : NaN; + + setText("oee_runtime_min", fmtNum(runtimeMin)); + setText("oee_availability", fmtPct(availability)); + setText("oee_performance", fmtPct(performance)); + setText("oee_quality", fmtPct(quality)); + setText("oee_total_oee", fmtPct(oee)); + + // Diagnosis badges (grobe Shopfloor-Einordnung) + // >85% sehr gut, 70-85 ok, <70 kritisch (nur Richtwert) + if (!Number.isFinite(oee)){ + setBadge("oee_badge","", "Bitte Eingaben prüfen"); + return; + } + if (oee >= 0.85) setBadge("oee_badge","ok","Sehr gut (≥ 85%)"); + else if (oee >= 0.70) setBadge("oee_badge","warn","OK (70–85%)"); + else setBadge("oee_badge","bad","Kritisch (< 70%)"); + + const formula = +`Verfügbarkeit = Laufzeit / Geplante Zeit + = ${fmtNum(runtimeMin)} / ${fmtNum(plannedMin)} = ${fmtPct(availability)} + +Leistung = (Idealzyklus × Gesamt) / Laufzeit + = (${fmtNum(idealCycleSec)}s × ${fmtNum(totalCount)}) / ${fmtNum(runtimeSec)}s = ${fmtPct(performance)} + +Qualität = Gut / Gesamt + = ${fmtNum(goodCount)} / ${fmtNum(totalCount)} = ${fmtPct(quality)} + +OEE = V × L × Q + = ${fmtPct(availability)} × ${fmtPct(performance)} × ${fmtPct(quality)} = ${fmtPct(oee)}`; + setText("oee_formula", formula); + } + + function resetOEE(){ + const ids = ["oee_planned_min","oee_stop_min","oee_ideal_cycle_sec","oee_total","oee_good"]; + ids.forEach(id => { const el = document.getElementById(id); if (el) el.value = ""; }); + ["oee_runtime_min","oee_availability","oee_performance","oee_quality","oee_total_oee","oee_formula"].forEach(id => setText(id,"—")); + setBadge("oee_badge","", "Bereit"); + } + + // ----- FPY ----- + function calcFPY(){ + const total = n(document.getElementById("fpy_total").value); + const rework = n(document.getElementById("fpy_rework").value); + const scrap = n(document.getElementById("fpy_scrap").value); + + const firstPassGood = total - rework - scrap; + const fpy = (total > 0) ? clamp01(firstPassGood / total) : NaN; + + setText("fpy_firstpass", fmtNum(firstPassGood)); + setText("fpy_result", fmtPct(fpy)); + + if (!Number.isFinite(fpy)){ + setBadge("fpy_badge","", "Bitte Eingaben prüfen"); + return; + } + if (fpy >= 0.98) setBadge("fpy_badge","ok","Sehr gut (≥ 98%)"); + else if (fpy >= 0.95) setBadge("fpy_badge","warn","OK (95–98%)"); + else setBadge("fpy_badge","bad","Kritisch (< 95%)"); + + const formula = +`First Pass Good = Gesamt − Nacharbeit − Ausschuss + = ${fmtNum(total)} − ${fmtNum(rework)} − ${fmtNum(scrap)} = ${fmtNum(firstPassGood)} + +FPY = First Pass Good / Gesamt + = ${fmtNum(firstPassGood)} / ${fmtNum(total)} = ${fmtPct(fpy)}`; + setText("fpy_formula", formula); + } + + function resetFPY(){ + const ids = ["fpy_total","fpy_rework","fpy_scrap"]; + ids.forEach(id => { const el = document.getElementById(id); if (el) el.value = ""; }); + ["fpy_firstpass","fpy_result","fpy_formula"].forEach(id => setText(id,"—")); + setBadge("fpy_badge","", "Bereit"); + } + + // wiring (only if elements exist on page) + document.addEventListener("DOMContentLoaded", function(){ + // OEE buttons + const oeeCalcBtn = document.getElementById("oee_calc_btn"); + const oeeResetBtn = document.getElementById("oee_reset_btn"); + if (oeeCalcBtn) oeeCalcBtn.addEventListener("click", calcOEE); + if (oeeResetBtn) oeeResetBtn.addEventListener("click", resetOEE); + + // FPY buttons + const fpyCalcBtn = document.getElementById("fpy_calc_btn"); + const fpyResetBtn = document.getElementById("fpy_reset_btn"); + if (fpyCalcBtn) fpyCalcBtn.addEventListener("click", calcFPY); + if (fpyResetBtn) fpyResetBtn.addEventListener("click", resetFPY); + + // Optional: auto-calc on Enter + document.addEventListener("keydown", function(e){ + if (e.key !== "Enter") return; + if (document.getElementById("oee_calc_btn")) calcOEE(); + if (document.getElementById("fpy_calc_btn")) calcFPY(); + }); + + // initial state badges + if (document.getElementById("oee_badge")) setBadge("oee_badge","", "Bereit"); + if (document.getElementById("fpy_badge")) setBadge("fpy_badge","", "Bereit"); + }); +})(); diff --git a/backend/src/main/webapp/assets/i18n.js b/backend/src/main/webapp/assets/i18n.js new file mode 100644 index 0000000..8f48838 --- /dev/null +++ b/backend/src/main/webapp/assets/i18n.js @@ -0,0 +1,99 @@ +// i18n.js - Internationalization Module +let currentLang = localStorage.getItem('language') || 'de'; +let translations = {}; + +// Load translations +async function loadTranslations() { + try { + const response = await fetch('assets/translations.json'); + translations = await response.json(); + } catch (error) { + console.error('Failed to load translations:', error); + } +} + +// Get translation by key path (e.g., "index.title") +function t(keyPath) { + const keys = keyPath.split('.'); + let value = translations[currentLang]; + + for (const key of keys) { + value = value?.[key]; + } + + return value || keyPath; +} + +// Change language +function setLanguage(lang) { + currentLang = lang; + localStorage.setItem('language', lang); + translatePage(); +} + +// Translate all elements with data-i18n attribute +function translatePage() { + document.querySelectorAll('[data-i18n]').forEach(element => { + const key = element.getAttribute('data-i18n'); + const translation = t(key); + + // Skip if translation is just the key (not found) + if (translation === key) { + console.warn(`Translation not found for key: ${key}`); + return; + } + + if (element.tagName === 'INPUT' || element.tagName === 'TEXTAREA') { + element.placeholder = translation; + } else if (element.tagName === 'SMALL') { + // For tags, use innerHTML to preserve and
tags + element.innerHTML = translation; + } else if (element.tagName === 'SPAN') { + // For tags, check if translation contains HTML + if (translation.includes('') || translation.includes('') || translation.includes('
')) { + element.innerHTML = translation; + } else { + element.textContent = translation; + } + } else if (element.tagName === 'P') { + // For paragraphs, check if they contain tags + if (translation.includes('')) { + element.innerHTML = translation; + } else { + element.textContent = translation; + } + } else { + // Default: use textContent for simple text + element.textContent = translation; + } + }); + + // Update page title + const titleElement = document.querySelector('[data-i18n-title]'); + if (titleElement) { + const titleKey = titleElement.getAttribute('data-i18n-title'); + document.title = t(titleKey); + } + + // Update active language indicator + document.querySelectorAll('.lang-switch').forEach(btn => { + btn.classList.remove('active'); + if (btn.getAttribute('data-lang') === currentLang) { + btn.classList.add('active'); + } + }); +} + +// Initialize on page load +document.addEventListener('DOMContentLoaded', async () => { + await loadTranslations(); + translatePage(); + + // Setup language switcher + document.querySelectorAll('.lang-switch').forEach(btn => { + btn.addEventListener('click', () => { + const lang = btn.getAttribute('data-lang'); + setLanguage(lang); + }); + }); +}); diff --git a/backend/src/main/webapp/assets/navigation.js b/backend/src/main/webapp/assets/navigation.js new file mode 100644 index 0000000..4125971 --- /dev/null +++ b/backend/src/main/webapp/assets/navigation.js @@ -0,0 +1,44 @@ +const navContent = ` +
+
+ + iiot-factory.com +
+ +
+`; + +document.addEventListener("DOMContentLoaded", function() { + const navContainer = document.getElementById('global-nav'); + if(navContainer) { + navContainer.innerHTML = navContent; + + // Markiert automatisch die aktuelle Seite + const currentPage = window.location.pathname.split("/").pop() || 'index.html'; + const links = navContainer.querySelectorAll('.pill'); + links.forEach(link => { + if (link.getAttribute('href') === currentPage) { + link.style.borderColor = "var(--accent)"; + link.style.background = "rgba(79,124,255,0.1)"; + } + }); + } +}); diff --git a/backend/src/main/webapp/assets/navigation.js1.js b/backend/src/main/webapp/assets/navigation.js1.js new file mode 100644 index 0000000..1cfbfe4 --- /dev/null +++ b/backend/src/main/webapp/assets/navigation.js1.js @@ -0,0 +1,44 @@ +const navContent = ` +
+
+ + iiot-factory.com +
+ +
+`; + +document.addEventListener("DOMContentLoaded", function() { + const navContainer = document.getElementById('global-nav'); + if(navContainer) { + navContainer.innerHTML = navContent; + + // Markiert automatisch die aktuelle Seite + const currentPage = window.location.pathname.split("/").pop() || 'index.html'; + const links = navContainer.querySelectorAll('.pill'); + links.forEach(link => { + if (link.getAttribute('href') === currentPage) { + link.style.borderColor = "var(--accent)"; + link.style.background = "rgba(79,124,255,0.1)"; + } + }); + } +}); \ No newline at end of file diff --git a/backend/src/main/webapp/assets/style.css b/backend/src/main/webapp/assets/style.css new file mode 100644 index 0000000..f9fda5d --- /dev/null +++ b/backend/src/main/webapp/assets/style.css @@ -0,0 +1,301 @@ + +/* ===== BASE THEME (Workbench / HMI) ===== */ +:root{ + --bg:#0b1020; + --card:rgba(255,255,255,0.08); + --border:rgba(255,255,255,0.14); + --text:rgba(255,255,255,0.92); + --muted:rgba(255,255,255,0.6); + --accent:#4f7cff; + --ok:#22c55e; + --warn:#f59e0b; + --bad:#ef4444; + --shadow:0 16px 60px rgba(0,0,0,.4); + --radius:20px; +} + +*{box-sizing:border-box} +html,body{height:100%} + +body{ + margin:0; + padding:16px; + font-family:-apple-system,system-ui,Segoe UI,Roboto; + background: + radial-gradient(900px 600px at 20% 10%, rgba(79,124,255,.35), transparent 60%), + var(--bg); + color:var(--text); +} + +a{color:inherit;text-decoration:none} +p{color:var(--muted);line-height:1.6} +small{color:var(--muted)} + +/* ===== LAYOUT ===== */ +.app{ + max-width:1600px; + margin:0 auto; + min-height:100%; + display:flex; + flex-direction:column; + gap:16px; +} + +.topbar{ + display:flex; + align-items:center; + justify-content:space-between; + gap:12px; +} + +.brand{ + display:flex; + align-items:center; + gap:10px; + font-weight:700; + letter-spacing:.2px; +} +.logo{ + width:34px;height:34px;border-radius:14px; + background:linear-gradient(135deg,#4f7cff,#22c55e); + box-shadow:0 12px 35px rgba(0,0,0,.45); + border:1px solid rgba(255,255,255,.18); +} + +.nav{ + display:flex; + flex-wrap:wrap; + gap:10px; + justify-content:flex-end; +} +.pill{ + padding:8px 12px; + border-radius:999px; + border:1px solid var(--border); + background:rgba(255,255,255,.06); +} +.pill:hover{filter:brightness(1.08)} + +.panel{ + background:linear-gradient(180deg,var(--card),rgba(255,255,255,.04)); + border:1px solid var(--border); + border-radius:var(--radius); + box-shadow:var(--shadow); + overflow:hidden; +} + +.header{ + padding:14px 18px; + display:flex; + align-items:center; + justify-content:space-between; + gap:12px; + border-bottom:1px solid var(--border); +} + +.header h1{ + margin:0; + font-size:18px; +} + +.content{padding:18px} + +.grid{ + display:grid; + grid-template-columns:repeat(12,1fr); + gap:14px; +} + +.card{ + background:rgba(0,0,0,.12); + border:1px solid var(--border); + border-radius:var(--radius); + padding:16px; +} + +.col-12{grid-column:span 12} +.col-8{grid-column:span 8} +.col-6{grid-column:span 6} +.col-4{grid-column:span 4} + +@media (max-width: 920px){ + .col-8,.col-6,.col-4{grid-column:span 12} +} + +/* ===== CONTROLS ===== */ +.controls{ + display:flex; + gap:12px; + align-items:flex-end; + flex-wrap:wrap; +} + +.field{ + display:flex; + flex-direction:column; + gap:6px; + min-width:220px; + flex:1 1 240px; +} + +label{font-size:12px;color:var(--muted)} + +input, select{ + height:44px; + padding:10px 14px; + border-radius:14px; + border:1px solid var(--border); + background:rgba(255,255,255,.06); + color:var(--text); + outline:none; +} + +input::placeholder{color:rgba(255,255,255,.35)} + +.btnrow{ + display:flex; + gap:10px; + flex-wrap:wrap; +} + +button{ + height:44px; + padding:10px 18px; + border-radius:14px; + border:0; + background:var(--accent); + color:#fff; + cursor:pointer; + font-weight:650; +} + +button.secondary{ + background:rgba(255,255,255,.10); + border:1px solid var(--border); +} + +button:hover{filter:brightness(1.1)} + +.kpi{ + display:flex; + align-items:baseline; + justify-content:space-between; + gap:12px; + padding:14px 14px; + border-radius:18px; + border:1px solid var(--border); + background:rgba(255,255,255,.05); +} + +.kpi .name{color:var(--muted);font-size:12px} +.kpi .value{font-size:26px;font-weight:800;letter-spacing:-.3px} +.kpi .hint{color:var(--muted);font-size:12px} + +.badge{ + padding:6px 10px; + border-radius:999px; + border:1px solid var(--border); + background:rgba(0,0,0,.14); + font-size:12px; + color:var(--muted); + white-space:nowrap; +} + +.badge.ok{background:rgba(34,197,94,.16); color:rgba(34,197,94,.95); border-color:rgba(34,197,94,.25)} +.badge.warn{background:rgba(245,158,11,.16); color:rgba(245,158,11,.95); border-color:rgba(245,158,11,.25)} +.badge.bad{background:rgba(239,68,68,.16); color:rgba(239,68,68,.95); border-color:rgba(239,68,68,.25)} + +/* Language Switcher */ +.lang-switcher{ + display:flex; + gap:6px; + align-items:center; +} +.lang-switch{ + padding:4px 8px; + border-radius:8px; + border:1px solid var(--border); + background:rgba(255,255,255,.04); + font-size:11px; + cursor:pointer; + transition:all .2s; + color:var(--muted); +} +.lang-switch:hover{ + background:rgba(255,255,255,.08); + color:var(--text); +} +.lang-switch.active{ + background:var(--accent); + border-color:var(--accent); + color:#fff; +} + +.hr{height:1px;background:var(--border);margin:14px 0} + +.mono{ + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace; + color:rgba(255,255,255,.85); + font-size:13px; + background:rgba(0,0,0,.18); + border:1px solid var(--border); + border-radius:16px; + padding:12px 14px; + overflow:auto; +} + +.footer-note{ + color:var(--muted); + font-size:12px; +} + +/* ===== MODAL (Workbench style) ===== */ +/* ===== MODAL (Workbench / HMI style) ===== */ +.modal{ + position:fixed; + inset:0; + + /* dunkler + weniger transparent */ + background:rgba(5, 8, 18, 0.75); + + /* Hintergrund verwischen */ + backdrop-filter: blur(8px) saturate(110%); + -webkit-backdrop-filter: blur(8px) saturate(110%); + + display:flex; + align-items:center; + justify-content:center; + padding:16px; + z-index:9999; +} + +.modal.hidden{ + display:none; +} + +.modal-card{ + width:min(980px, 96vw); + max-height:86vh; + overflow:auto; + + /* bleibt klar lesbar */ + background:linear-gradient( + 180deg, + rgba(20,25,45,0.95), + rgba(12,16,32,0.92) + ); + + border:1px solid var(--border); + border-radius:var(--radius); + box-shadow: + 0 30px 90px rgba(0,0,0,.65), + 0 0 0 1px rgba(255,255,255,.04); + + /* subtiler iOS/HMI Look */ + backdrop-filter: blur(2px); +} + +/* Make card tiles clickable but keep theme */ +.card .btnrow{ + margin-top:10px; +} diff --git a/backend/src/main/webapp/assets/translations.json b/backend/src/main/webapp/assets/translations.json new file mode 100644 index 0000000..e13a594 --- /dev/null +++ b/backend/src/main/webapp/assets/translations.json @@ -0,0 +1,1018 @@ +{ + "de": { + "siteName": "iiot-factory.com", + "nav": { + "home": "Home", + "aboutMe": "Über Mich", + "iiot": "IIoT", + "trends": "Trends", + "cra": "Cyber Resilience Act", + "guide": "Guide", + "oeeCalc": "OEE Rechner", + "fpyCalc": "FPY Rechner", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "Kontakt" + }, + "index": { + "title": "IIoT Factory – Workbench", + "pageTitle": "IIoT Factory – Workbench", + "badge": "Bereit", + "shopfloorTitle": "Shopfloor-KPIs in Echtzeit", + "shopfloorDesc": "Diese Seiten sind offline-fähig und für Touchscreens ausgelegt: große Felder, klare Formeln, schnelle Ergebnisse.", + "oeeTitle": "OEE Rechner", + "oeeDesc": "Verfügbarkeit × Leistung × Qualität – inklusive Diagnose und Formel-Output.", + "fpyTitle": "FPY Rechner", + "fpyDesc": "First Pass Yield – erkennt Nacharbeit/Ausschuss direkt im Prozess.", + "open": "Öffnen", + "quickStart": "Quick Start", + "step1": "Werte eingeben → Berechnen", + "step2": "Enter-Taste berechnet ebenfalls", + "step3": "Formeln werden live ausgegeben", + "note": "Hinweis: Schwellenwerte (OK/Kritisch) sind Richtwerte und können pro Werk angepasst werden." + }, + "oee": { + "title": "Multi-Station Linien-OEE", + "badge": "HMI V2.6", + "config": "Konfiguration", + "addStation": "+ Station", + "station": "Station", + "bottleneck": "(Bottleneck)", + "remove": "Entfernen", + "planned": "Geplant (min)", + "stop": "Stop (min)", + "cycle": "Zyklus (sek)", + "reject": "Ausschuss (Stk)", + "finalOutput": "Output am Linienende (Gutteile)", + "calculate": "LINIE BERECHNEN", + "kpiTitle": "Linien-KPI", + "availability": "Verfügbarkeit (min)", + "performance": "Leistung (min)", + "quality": "Qualität (FPY)", + "totalOEE": "Gesamt-OEE", + "calcLogic": "Berechnungslogik", + "formula": "OEE_Linie = A_bottleneck × P_bottleneck × FPY" + }, + "fpy": { + "title": "FPY Live-Rechner", + "badge": "Bereit", + "inputs": "Eingaben", + "totalParts": "Gesamtstücke", + "totalPlaceholder": "z. B. 1000", + "rework": "Nacharbeit (Stück)", + "reworkPlaceholder": "z. B. 80", + "scrap": "Ausschuss (Stück)", + "scrapPlaceholder": "z. B. 10", + "calculate": "Berechnen", + "result": "Ergebnis", + "fpy": "FPY", + "status": "Status", + "formula": "Formel", + "description": "First Pass Yield (FPY) zeigt, wie viel Prozent der Teile direkt beim ersten Durchlauf ohne Nacharbeit oder Ausschuss gut waren.", + "info": "Interpretation", + "good": "FPY > 95% ist ausgezeichnet und zeigt stabile Prozesse.", + "medium": "FPY 85-95% ist akzeptabel, aber optimierbar.", + "bad": "FPY < 85% weist auf Qualitätsprobleme hin." + }, + "iiot": { + "title": "IIoT Grundlagen", + "badge": "Bereit", + "mainTitle": "Industrial Internet of Things (IIoT)", + "mainDesc": "IIoT vernetzt Maschinen, Sensoren und IT-Systeme, um Zustände, Zähler und Qualitätsdaten in Echtzeit zu erfassen.", + "dataPoints": "Typische Datenpunkte", + "dp1": "Maschinenstatus (Run/Stop/Alarm)", + "dp2": "Zyklen / Stückzähler", + "dp3": "Prozesswerte (z. B. Temperatur, Druck, Drehmoment)", + "dp4": "Qualitätsmerkmale / Prüfresultate", + "kpiTitle": "Ergebnis-KPIs", + "kpi1": "OEE (Verfügbarkeit, Leistung, Qualität)", + "kpi2": "FPY (ohne Nacharbeit)", + "kpi3": "Stillstandsgründe", + "kpi4": "Traceability" + }, + "opcua": { + "title": "OPC UA - Industrie 4.0 Kommunikationsstandard", + "pageTitle": "OPC UA - Open Platform Communications Unified Architecture", + "badge": "Bereit", + "mainTitle": "OPC UA – Standardisierte, semantische Maschinenkommunikation", + "intro": "OPC UA (Open Platform Communications Unified Architecture) ist ein herstellerunabhängiger Industriestandard für den strukturierten, sicheren und semantisch eindeutigen Datenaustausch. Er bildet die Grundlage für moderne, vernetzte Produktionsarchitekturen und Industrie 4.0.", + "whatMakesSpecial": "Was OPC UA besonders macht", + "contextExplanation": "Im Gegensatz zu einfachen Protokollen überträgt OPC UA nicht nur einzelne Werte, sondern Informationen mit Kontext und Bedeutung. Dies ermöglicht eine selbstbeschreibende Kommunikation zwischen Systemen.", + "feature1": "Messwert inklusive Einheit, Genauigkeit und Gültigkeitsbereich", + "feature2": "Grenz- und Sollwerte mit automatischen Alarmen", + "feature3": "Zeitstempel und Qualitätsstatus für jede Messung", + "feature4": "Funktionen, Methoden und Zustände einer Maschine", + "feature5": "Historische Daten und Trends", + "feature6": "Ereignisse und Alarme mit Prioritäten", + "interpretable": "Dadurch sind Daten sofort interpretierbar – ohne zusätzliche Dokumentation oder projektspezifische Annahmen. Das Informationsmodell beschreibt sich selbst.", + "corePillars": "Die zentralen Säulen von OPC UA", + "pillar1Title": "Plattformunabhängigkeit:", + "pillar1Desc": "Einsatz auf SPS, Industrie-PCs, Edge-Geräten, Servern und Cloud-Systemen. Verfügbar für Windows, Linux, RTOS und weitere Plattformen.", + "pillar2Title": "Integrierte Sicherheit:", + "pillar2Desc": "Authentifizierung über Zertifikate, Signierung und Verschlüsselung sind fester Bestandteil der Spezifikation. Unterstützt Transport Layer Security (TLS).", + "pillar3Title": "Flexible Kommunikationsmodelle:", + "pillar3Desc": "Klassisches Client/Server-Modell sowie Publish/Subscribe für Echtzeitkommunikation. Unterstützt verschiedene Transport-Protokolle (TCP, HTTPS, MQTT, AMQP).", + "pillar4Title": "Skalierbarkeit:", + "pillar4Desc": "Von einfachen Sensoren bis zu komplexen Produktionslinien. Optimiert für verschiedene Bandbreiten und Latenzanforderungen.", + "architectureTitle": "Architekturprinzip", + "architectureIntro": "OPC UA trennt bewusst den Transport der Daten von deren Bedeutung. Dies ermöglicht maximale Flexibilität bei der Implementierung:", + "arch1Title": "Transport-Schicht:", + "arch1Desc": "TCP/IP für Echtzeitkommunikation, HTTPS für Firewall-freundliche Verbindungen, Pub/Sub für ereignisgesteuerte Architekturen (MQTT, AMQP, UDP Multicast)", + "arch2Title": "Informationsmodell:", + "arch2Desc": "Objektorientierte Struktur mit klarer Semantik. Standardisierte Companion Specifications für verschiedene Branchen (EUROMAP, PackML, Robotik, CNC, etc.)", + "arch3Title": "Services:", + "arch3Desc": "Lesen, Schreiben, Abonnieren (Subscriptions mit Monitoring), Methodenaufrufe, History Access, Alarms & Conditions, Query Services", + "arch4Title": "Datenkodierung:", + "arch4Desc": "Binär (UA Binary) für Effizienz oder JSON/XML für einfache Integration", + "informationModelTitle": "Informationsmodell - Der Kern von OPC UA", + "informationModelDesc": "Das Informationsmodell ist eine objektorientierte Beschreibung der Maschinen- und Prozessdaten. Es definiert nicht nur die Werte selbst, sondern auch ihre Beziehungen, Hierarchien und Bedeutungen.", + "im1": "Nodes:", + "im1Desc": "Grundelemente (Objekte, Variablen, Methoden, Events)", + "im2": "References:", + "im2Desc": "Verbindungen zwischen Nodes (z.B. HasComponent, Organizes)", + "im3": "NodeClasses:", + "im3Desc": "ObjectType, VariableType, DataType, ReferenceType, Method, View", + "im4": "Namespaces:", + "im4Desc": "Trennung zwischen Standard-Modellen und herstellerspezifischen Erweiterungen", + "securityTitle": "Sicherheitskonzept", + "securityIntro": "OPC UA implementiert Security auf mehreren Ebenen nach dem Defense-in-Depth Prinzip:", + "sec1": "Transport Security:", + "sec1Desc": "TLS-Verschlüsselung auf Netzwerkebene", + "sec2": "Message Security:", + "sec2Desc": "Signierung und Verschlüsselung jeder einzelnen Nachricht", + "sec3": "Application Authentication:", + "sec3Desc": "X.509-Zertifikate für Server und Clients", + "sec4": "User Authentication:", + "sec4Desc": "Username/Password, X.509 User Certificates, oder externe Systeme (LDAP, Kerberos)", + "sec5": "Authorization:", + "sec5Desc": "Rollenbasierte Zugriffsrechte auf Node-Ebene", + "sec6": "Audit Trail:", + "sec6Desc": "Protokollierung sicherheitsrelevanter Ereignisse", + "useCasesTitle": "Typische Anwendungsfälle", + "use1": "Vertikale Integration:", + "use1Desc": "Verbindung von Shopfloor (SPS, Sensoren) mit IT-Systemen (MES, ERP, Cloud)", + "use2": "Horizontale Integration:", + "use2Desc": "Kommunikation zwischen Maschinen verschiedener Hersteller", + "use3": "Edge Computing:", + "use3Desc": "Datenvorverarbeitung und -aggregation am Rand des Netzwerks", + "use4": "Predictive Maintenance:", + "use4Desc": "Zustandsüberwachung und vorausschauende Wartung", + "use5": "Digital Twin:", + "use5Desc": "Digitale Abbilder physischer Assets mit Echtzeitdaten", + "use6": "Condition Monitoring:", + "use6Desc": "Überwachung von Alarms & Conditions mit Historie", + "whyCompaniesTitle": "Warum Unternehmen auf OPC UA setzen", + "whyCompaniesDesc1": "In heterogenen Produktionsumgebungen mit Maschinen unterschiedlicher Hersteller fungiert OPC UA als universeller Übersetzer. Systeme können sich selbst beschreiben und ihre Fähigkeiten standardisiert mitteilen.", + "whyCompaniesDesc2": "Damit ist OPC UA der Schlüssel für die vertikale Integration – von der Sensor- und Maschinenebene bis hin zu MES-, Cloud- und ERP-Systemen. Die Investition in OPC UA schützt vor Vendor Lock-in und ermöglicht langfristige Flexibilität.", + "implementationTitle": "Implementierung & Tools", + "implementationDesc": "Für die Implementierung von OPC UA stehen zahlreiche kommerzielle und Open-Source-Lösungen zur Verfügung:", + "impl1": "OPC Foundation SDKs:", + "impl1Desc": "Referenzimplementierungen in C, C++, .NET, Java", + "impl2": "Open-Source Stacks:", + "impl2Desc": "open62541 (C), node-opcua (JavaScript), Python-opcua", + "impl3": "Testing Tools:", + "impl3Desc": "UaExpert (Client), Prosys OPC UA Simulator, Compliance Test Tool (CTT)", + "impl4": "Gateways & Bridges:", + "impl4Desc": "Verbindung zu Modbus, PROFINET, EtherNet/IP, etc.", + "futureTitle": "Zukunft & Entwicklungen", + "future1": "OPC UA FX (Field eXchange):", + "future1Desc": "Erweiterung für Feldbus-Ebene und deterministisches Ethernet", + "future2": "OPC UA over TSN:", + "future2Desc": "Time-Sensitive Networking für Echtzeitanwendungen (<1ms)", + "future3": "Cloud Integration:", + "future3Desc": "Native Integration mit Azure IoT, AWS IoT, Google Cloud IoT", + "future4": "Companion Specifications:", + "future4Desc": "Branchenspezifische Standards (Robotik, Kunststoffmaschinen, Verpackung, etc.)", + "comparisonTitle": "Vergleich OPC UA vs. MQTT", + "tableFeature": "Merkmal", + "tableFocus": "Fokus", + "tableFocusOPC": "Semantik & Integration", + "tableFocusMQTT": "Leichtgewichtig & IoT", + "tableDataModel": "Datenmodell", + "tableDataModelOPC": "Objektorientiert", + "tableDataModelMQTT": "Topic-basiert", + "tableSecurity": "Sicherheit", + "tableSecurityOPC": "Integriert (Zertifikate)", + "tableSecurityMQTT": "Optional (TLS)", + "tableUseCase": "Einsatz", + "tableUseCaseOPC": "Maschine ↔ MES/IT", + "tableUseCaseMQTT": "Sensor → Cloud", + "tableComplexity": "Komplexität", + "tableComplexityOPC": "Hoch (umfassend)", + "tableComplexityMQTT": "Niedrig (einfach)", + "tableOverhead": "Overhead", + "tableOverheadOPC": "Mittel-Hoch", + "tableOverheadMQTT": "Sehr niedrig", + "keyFactsTitle": "Key Facts", + "fact1": "Standard: IEC 62541", + "fact2": "Organisation: OPC Foundation (1996)", + "fact3": "Mitglieder: 900+ Unternehmen", + "fact4": "Zertifiziert: 4000+ Produkte", + "fact5": "Lizenz: Royalty-free", + "fact6": "Ports: 4840 (unsicher), 4843 (HTTPS)", + "recommendationTitle": "Business-Empfehlung", + "recommendationText": "OPC UA ist die ideale Basis für standardisierte, langfristig wartbare Industriearchitekturen. Die initiale Komplexität wird durch Herstellerunabhängigkeit, Zukunftssicherheit und Interoperabilität kompensiert.

In Kombination mit MQTT lassen sich semantische Maschinendaten effizient in Cloud- und Analytics-Plattformen integrieren – OPC UA für die Semantik, MQTT für den effizienten Transport.", + "linksTitle": "Weiterführende Links", + "linkMQTT": "MQTT Vergleich" + }, + "contact": { + "title": "Kontakt", + "badge": "Nachricht senden", + "intro": "Haben Sie Fragen zu IIoT, MES oder Prozessoptimierung? Ich freue mich auf Ihre Nachricht!", + "name": "Name", + "namePlaceholder": "Ihr Name", + "email": "E-Mail", + "emailPlaceholder": "ihre@email.de", + "subject": "Betreff", + "subjectPlaceholder": "Worum geht es?", + "message": "Nachricht", + "messagePlaceholder": "Ihre Nachricht an mich...", + "send": "Nachricht senden", + "sending": "Wird gesendet...", + "success": "Nachricht erfolgreich gesendet!", + "error": "Fehler beim Senden. Bitte versuchen Sie es erneut.", + "required": "Bitte füllen Sie alle Pflichtfelder aus." + }, + "common": { + "ready": "Bereit", + "ok": "OK", + "warning": "Warnung", + "critical": "Kritisch" + }, + "mqtt": { + "title": "MQTT", + "pageTitle": "MQTT - Message Queuing Telemetry Transport", + "badge": "Bereit", + "mainTitle": "MQTT - Effiziente Datenkommunikation für IoT", + "comparisonTitle": "Vergleich MQTT vs. OPC UA", + "tableFeature": "Merkmal", + "tableFocus": "Fokus", + "keyFactsTitle": "Key Facts", + "recommendationTitle": "Empfehlung", + "linksTitle": "Weiterführende Links", + "linkOPCUA": "OPC UA Vergleich" + } + }, + "en": { + "siteName": "iiot-factory.com", + "nav": { + "home": "Home", + "aboutMe": "About Me", + "iiot": "IIoT", + "trends": "Trends", + "cra": "Cyber Resilience Act", + "guide": "Guide", + "oeeCalc": "OEE Calculator", + "fpyCalc": "FPY Calculator", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "Contact" + }, + "index": { + "title": "IIoT Factory – Workbench", + "pageTitle": "IIoT Factory – Workbench", + "badge": "Ready", + "shopfloorTitle": "Real-time Shopfloor KPIs", + "shopfloorDesc": "These pages are offline-capable and designed for touchscreens: large fields, clear formulas, fast results.", + "oeeTitle": "OEE Calculator", + "oeeDesc": "Availability × Performance × Quality – including diagnostics and formula output.", + "fpyTitle": "FPY Calculator", + "fpyDesc": "First Pass Yield – detects rework/scrap directly in the process.", + "open": "Open", + "quickStart": "Quick Start", + "step1": "Enter values → Calculate", + "step2": "Enter key also calculates", + "step3": "Formulas are output live", + "note": "Note: Threshold values (OK/Critical) are guidelines and can be adjusted per plant." + }, + "oee": { + "title": "Multi-Station Line OEE", + "badge": "HMI V2.6", + "config": "Configuration", + "addStation": "+ Station", + "station": "Station", + "bottleneck": "(Bottleneck)", + "remove": "Remove", + "planned": "Planned (min)", + "stop": "Stop (min)", + "cycle": "Cycle (sec)", + "reject": "Reject (pcs)", + "finalOutput": "Line End Output (Good Parts)", + "calculate": "CALCULATE LINE", + "kpiTitle": "Line KPI", + "availability": "Availability (min)", + "performance": "Performance (min)", + "quality": "Quality (FPY)", + "totalOEE": "Total OEE", + "calcLogic": "Calculation Logic", + "formula": "OEE_Line = A_bottleneck × P_bottleneck × FPY" + }, + "fpy": { + "title": "FPY Live Calculator", + "badge": "Ready", + "inputs": "Inputs", + "totalParts": "Total Parts", + "totalPlaceholder": "e.g. 1000", + "rework": "Rework (pcs)", + "reworkPlaceholder": "e.g. 80", + "scrap": "Scrap (pcs)", + "scrapPlaceholder": "e.g. 10", + "calculate": "Calculate", + "result": "Result", + "fpy": "FPY", + "status": "Status", + "formula": "Formula", + "description": "First Pass Yield (FPY) shows what percentage of parts passed the first time without rework or scrap.", + "info": "Interpretation", + "good": "FPY > 95% is excellent and shows stable processes.", + "medium": "FPY 85-95% is acceptable but can be optimized.", + "bad": "FPY < 85% indicates quality issues." + }, + "iiot": { + "title": "IIoT Basics", + "badge": "Ready", + "mainTitle": "Industrial Internet of Things (IIoT)", + "mainDesc": "IIoT connects machines, sensors, and IT systems to capture states, counters, and quality data in real-time.", + "dataPoints": "Typical Data Points", + "dp1": "Machine status (Run/Stop/Alarm)", + "dp2": "Cycles / Part counters", + "dp3": "Process values (e.g. Temperature, Pressure, Torque)", + "dp4": "Quality characteristics / Test results", + "kpiTitle": "Result KPIs", + "kpi1": "OEE (Availability, Performance, Quality)", + "kpi2": "FPY (without rework)", + "kpi3": "Downtime reasons", + "kpi4": "Traceability" + }, + "opcua": { + "title": "OPC UA - Industry 4.0 Communication Standard", + "pageTitle": "OPC UA - Open Platform Communications Unified Architecture", + "badge": "Ready", + "mainTitle": "OPC UA – Standardized, Semantic Machine Communication", + "intro": "OPC UA (Open Platform Communications Unified Architecture) is a vendor-independent industrial standard for structured, secure, and semantically unambiguous data exchange. It forms the foundation for modern, networked production architectures and Industry 4.0.", + "whatMakesSpecial": "What Makes OPC UA Special", + "contextExplanation": "Unlike simple protocols, OPC UA transmits not just individual values, but information with context and meaning. This enables self-describing communication between systems.", + "feature1": "Measured value including unit, accuracy, and validity range", + "feature2": "Limit and target values with automatic alarms", + "feature3": "Timestamp and quality status for each measurement", + "feature4": "Functions, methods, and states of a machine", + "feature5": "Historical data and trends", + "feature6": "Events and alarms with priorities", + "interpretable": "This makes data immediately interpretable – without additional documentation or project-specific assumptions. The information model is self-describing.", + "corePillars": "Core Pillars of OPC UA", + "pillar1Title": "Platform Independence:", + "pillar1Desc": "Deployment on PLCs, industrial PCs, edge devices, servers, and cloud systems. Available for Windows, Linux, RTOS, and other platforms.", + "pillar2Title": "Integrated Security:", + "pillar2Desc": "Authentication via certificates, signing, and encryption are integral parts of the specification. Supports Transport Layer Security (TLS).", + "pillar3Title": "Flexible Communication Models:", + "pillar3Desc": "Classic client/server model as well as publish/subscribe for real-time communication. Supports various transport protocols (TCP, HTTPS, MQTT, AMQP).", + "pillar4Title": "Scalability:", + "pillar4Desc": "From simple sensors to complex production lines. Optimized for various bandwidth and latency requirements.", + "architectureTitle": "Architecture Principle", + "architectureIntro": "OPC UA deliberately separates data transport from its meaning. This enables maximum flexibility in implementation:", + "arch1Title": "Transport Layer:", + "arch1Desc": "TCP/IP for real-time communication, HTTPS for firewall-friendly connections, Pub/Sub for event-driven architectures (MQTT, AMQP, UDP Multicast)", + "arch2Title": "Information Model:", + "arch2Desc": "Object-oriented structure with clear semantics. Standardized Companion Specifications for various industries (EUROMAP, PackML, Robotics, CNC, etc.)", + "arch3Title": "Services:", + "arch3Desc": "Read, Write, Subscribe (Subscriptions with Monitoring), Method Calls, History Access, Alarms & Conditions, Query Services", + "arch4Title": "Data Encoding:", + "arch4Desc": "Binary (UA Binary) for efficiency or JSON/XML for easy integration", + "informationModelTitle": "Information Model - The Core of OPC UA", + "informationModelDesc": "The information model is an object-oriented description of machine and process data. It defines not only the values themselves but also their relationships, hierarchies, and meanings.", + "im1": "Nodes:", + "im1Desc": "Basic elements (Objects, Variables, Methods, Events)", + "im2": "References:", + "im2Desc": "Connections between nodes (e.g., HasComponent, Organizes)", + "im3": "NodeClasses:", + "im3Desc": "ObjectType, VariableType, DataType, ReferenceType, Method, View", + "im4": "Namespaces:", + "im4Desc": "Separation between standard models and vendor-specific extensions", + "securityTitle": "Security Concept", + "securityIntro": "OPC UA implements security at multiple levels following the Defense-in-Depth principle:", + "sec1": "Transport Security:", + "sec1Desc": "TLS encryption at network level", + "sec2": "Message Security:", + "sec2Desc": "Signing and encryption of each individual message", + "sec3": "Application Authentication:", + "sec3Desc": "X.509 certificates for servers and clients", + "sec4": "User Authentication:", + "sec4Desc": "Username/Password, X.509 User Certificates, or external systems (LDAP, Kerberos)", + "sec5": "Authorization:", + "sec5Desc": "Role-based access rights at node level", + "sec6": "Audit Trail:", + "sec6Desc": "Logging of security-relevant events", + "useCasesTitle": "Typical Use Cases", + "use1": "Vertical Integration:", + "use1Desc": "Connection of shop floor (PLCs, sensors) with IT systems (MES, ERP, Cloud)", + "use2": "Horizontal Integration:", + "use2Desc": "Communication between machines from different manufacturers", + "use3": "Edge Computing:", + "use3Desc": "Data preprocessing and aggregation at the edge of the network", + "use4": "Predictive Maintenance:", + "use4Desc": "Condition monitoring and predictive maintenance", + "use5": "Digital Twin:", + "use5Desc": "Digital representations of physical assets with real-time data", + "use6": "Condition Monitoring:", + "use6Desc": "Monitoring of Alarms & Conditions with history", + "whyCompaniesTitle": "Why Companies Choose OPC UA", + "whyCompaniesDesc1": "In heterogeneous production environments with machines from different manufacturers, OPC UA acts as a universal translator. Systems can describe themselves and communicate their capabilities in a standardized way.", + "whyCompaniesDesc2": "This makes OPC UA the key to vertical integration – from the sensor and machine level to MES, cloud, and ERP systems. Investment in OPC UA protects against vendor lock-in and enables long-term flexibility.", + "implementationTitle": "Implementation & Tools", + "implementationDesc": "Numerous commercial and open-source solutions are available for implementing OPC UA:", + "impl1": "OPC Foundation SDKs:", + "impl1Desc": "Reference implementations in C, C++, .NET, Java", + "impl2": "Open-Source Stacks:", + "impl2Desc": "open62541 (C), node-opcua (JavaScript), Python-opcua", + "impl3": "Testing Tools:", + "impl3Desc": "UaExpert (Client), Prosys OPC UA Simulator, Compliance Test Tool (CTT)", + "impl4": "Gateways & Bridges:", + "impl4Desc": "Connection to Modbus, PROFINET, EtherNet/IP, etc.", + "futureTitle": "Future & Developments", + "future1": "OPC UA FX (Field eXchange):", + "future1Desc": "Extension for fieldbus level and deterministic Ethernet", + "future2": "OPC UA over TSN:", + "future2Desc": "Time-Sensitive Networking for real-time applications (<1ms)", + "future3": "Cloud Integration:", + "future3Desc": "Native integration with Azure IoT, AWS IoT, Google Cloud IoT", + "future4": "Companion Specifications:", + "future4Desc": "Industry-specific standards (Robotics, Plastics Machinery, Packaging, etc.)", + "comparisonTitle": "Comparison OPC UA vs. MQTT", + "tableFeature": "Feature", + "tableFocus": "Focus", + "tableFocusOPC": "Semantics & Integration", + "tableFocusMQTT": "Lightweight & IoT", + "tableDataModel": "Data Model", + "tableDataModelOPC": "Object-oriented", + "tableDataModelMQTT": "Topic-based", + "tableSecurity": "Security", + "tableSecurityOPC": "Integrated (Certificates)", + "tableSecurityMQTT": "Optional (TLS)", + "tableUseCase": "Use Case", + "tableUseCaseOPC": "Machine ↔ MES/IT", + "tableUseCaseMQTT": "Sensor → Cloud", + "tableComplexity": "Complexity", + "tableComplexityOPC": "High (comprehensive)", + "tableComplexityMQTT": "Low (simple)", + "tableOverhead": "Overhead", + "tableOverheadOPC": "Medium-High", + "tableOverheadMQTT": "Very low", + "keyFactsTitle": "Key Facts", + "fact1": "Standard: IEC 62541", + "fact2": "Organization: OPC Foundation (1996)", + "fact3": "Members: 900+ companies", + "fact4": "Certified: 4000+ products", + "fact5": "License: Royalty-free", + "fact6": "Ports: 4840 (unsecured), 4843 (HTTPS)", + "recommendationTitle": "Business Recommendation", + "recommendationText": "OPC UA is the ideal foundation for standardized, long-term maintainable industrial architectures. The initial complexity is compensated by vendor independence, future-proofing, and interoperability.

Combined with MQTT, semantic machine data can be efficiently integrated into cloud and analytics platforms – OPC UA for semantics, MQTT for efficient transport.", + "linksTitle": "Further Links", + "linkMQTT": "MQTT Comparison" + }, + "contact": { + "title": "Contact", + "badge": "Send Message", + "intro": "Have questions about IIoT, MES or process optimization? I look forward to your message!", + "name": "Name", + "namePlaceholder": "Your Name", + "email": "Email", + "emailPlaceholder": "your@email.com", + "subject": "Subject", + "subjectPlaceholder": "What is it about?", + "message": "Message", + "messagePlaceholder": "Your message to me...", + "send": "Send Message", + "sending": "Sending...", + "success": "Message sent successfully!", + "error": "Error sending. Please try again.", + "required": "Please fill in all required fields." + }, + "common": { + "ready": "Ready", + "ok": "OK", + "warning": "Warning", + "critical": "Critical" + }, + "mqtt": { + "title": "MQTT", + "pageTitle": "MQTT - Message Queuing Telemetry Transport", + "badge": "Ready", + "mainTitle": "MQTT - Efficient Data Communication for IoT", + "comparisonTitle": "Comparison MQTT vs. OPC UA", + "tableFeature": "Feature", + "tableFocus": "Focus", + "keyFactsTitle": "Key Facts", + "recommendationTitle": "Recommendation", + "linksTitle": "Further Links", + "linkOPCUA": "OPC UA Comparison" + } + }, + "fr": { + "siteName": "iiot-factory.com", + "nav": { + "home": "Accueil", + "aboutMe": "À Propos", + "iiot": "IIoT", + "trends": "Tendances", + "cra": "Cyber Resilience Act", + "guide": "Guide", + "oeeCalc": "Calculateur TRS", + "fpyCalc": "Calculateur FPY", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "Contact" + }, + "index": { + "title": "IIoT Factory – Atelier", + "pageTitle": "IIoT Factory – Atelier", + "badge": "Prêt", + "shopfloorTitle": "KPI d'atelier en temps réel", + "shopfloorDesc": "Ces pages fonctionnent hors ligne et sont conçues pour les écrans tactiles : grands champs, formules claires, résultats rapides.", + "oeeTitle": "Calculateur TRS", + "oeeDesc": "Disponibilité × Performance × Qualité – y compris diagnostic et sortie de formule.", + "fpyTitle": "Calculateur FPY", + "fpyDesc": "First Pass Yield – détecte les retouches/rebuts directement dans le processus.", + "open": "Ouvrir", + "quickStart": "Démarrage Rapide", + "step1": "Entrer les valeurs → Calculer", + "step2": "La touche Entrée calcule également", + "step3": "Les formules sont affichées en direct", + "note": "Remarque : Les valeurs seuils (OK/Critique) sont des directives et peuvent être ajustées par usine." + }, + "oee": { + "title": "TRS de Ligne Multi-Stations", + "badge": "HMI V2.6", + "config": "Configuration", + "addStation": "+ Station", + "station": "Station", + "bottleneck": "(Goulot)", + "remove": "Supprimer", + "planned": "Planifié (min)", + "stop": "Arrêt (min)", + "cycle": "Cycle (sec)", + "reject": "Rebut (pcs)", + "finalOutput": "Production Finale (Bonnes Pièces)", + "calculate": "CALCULER LA LIGNE", + "kpiTitle": "KPI de Ligne", + "availability": "Disponibilité (min)", + "performance": "Performance (min)", + "quality": "Qualité (FPY)", + "totalOEE": "TRS Total", + "calcLogic": "Logique de Calcul", + "formula": "TRS_Ligne = A_goulot × P_goulot × FPY" + }, + "fpy": { + "title": "Calculateur FPY en Direct", + "badge": "Prêt", + "inputs": "Entrées", + "totalParts": "Pièces Totales", + "totalPlaceholder": "p. ex. 1000", + "rework": "Retouche (pcs)", + "reworkPlaceholder": "p. ex. 80", + "scrap": "Rebut (pcs)", + "scrapPlaceholder": "p. ex. 10", + "calculate": "Calculer", + "result": "Résultat", + "fpy": "FPY", + "status": "Statut", + "formula": "Formule", + "description": "First Pass Yield (FPY) montre quel pourcentage de pièces a réussi du premier coup sans retouche ni rebut.", + "info": "Interprétation", + "good": "FPY > 95% est excellent et montre des processus stables.", + "medium": "FPY 85-95% est acceptable mais optimisable.", + "bad": "FPY < 85% indique des problèmes de qualité." + }, + "iiot": { + "title": "Bases IIoT", + "badge": "Prêt", + "mainTitle": "Internet Industriel des Objets (IIoT)", + "mainDesc": "L'IIoT connecte machines, capteurs et systèmes informatiques pour capturer états, compteurs et données de qualité en temps réel.", + "dataPoints": "Points de Données Typiques", + "dp1": "État de la machine (Marche/Arrêt/Alarme)", + "dp2": "Cycles / Compteurs de pièces", + "dp3": "Valeurs de processus (ex. Température, Pression, Couple)", + "dp4": "Caractéristiques de qualité / Résultats de test", + "kpiTitle": "KPI de Résultat", + "kpi1": "TRS (Disponibilité, Performance, Qualité)", + "kpi2": "FPY (sans retouche)", + "kpi3": "Causes d'arrêt", + "kpi4": "Traçabilité" + }, + "opcua": { + "title": "OPC UA - Standard de Communication Industrie 4.0", + "pageTitle": "OPC UA - Open Platform Communications Unified Architecture", + "badge": "Prêt", + "mainTitle": "OPC UA – Communication Machine Standardisée et Sémantique", + "intro": "OPC UA (Open Platform Communications Unified Architecture) est un standard industriel indépendant des fournisseurs pour l'échange de données structuré, sécurisé et sémantiquement sans ambiguïté. Il constitue la base des architectures de production modernes et connectées et de l'Industrie 4.0.", + "whatMakesSpecial": "Ce qui Rend OPC UA Spécial", + "contextExplanation": "Contrairement aux protocoles simples, OPC UA ne transmet pas seulement des valeurs individuelles, mais des informations avec contexte et signification. Cela permet une communication auto-descriptive entre systèmes.", + "feature1": "Valeur mesurée incluant l'unité, la précision et la plage de validité", + "feature2": "Valeurs limites et cibles avec alarmes automatiques", + "feature3": "Horodatage et statut de qualité pour chaque mesure", + "feature4": "Fonctions, méthodes et états d'une machine", + "feature5": "Données historiques et tendances", + "feature6": "Événements et alarmes avec priorités", + "interpretable": "Cela rend les données immédiatement interprétables – sans documentation supplémentaire ni hypothèses spécifiques au projet. Le modèle d'information est auto-descriptif.", + "corePillars": "Piliers Fondamentaux d'OPC UA", + "pillar1Title": "Indépendance de Plateforme:", + "pillar1Desc": "Déploiement sur automates, PC industriels, dispositifs edge, serveurs et systèmes cloud. Disponible pour Windows, Linux, RTOS et autres plateformes.", + "pillar2Title": "Sécurité Intégrée:", + "pillar2Desc": "L'authentification via certificats, la signature et le chiffrement font partie intégrante de la spécification. Prend en charge Transport Layer Security (TLS).", + "pillar3Title": "Modèles de Communication Flexibles:", + "pillar3Desc": "Modèle client/serveur classique ainsi que publish/subscribe pour la communication temps réel. Prend en charge divers protocoles de transport (TCP, HTTPS, MQTT, AMQP).", + "pillar4Title": "Évolutivité:", + "pillar4Desc": "Des capteurs simples aux lignes de production complexes. Optimisé pour diverses exigences de bande passante et de latence.", + "architectureTitle": "Principe d'Architecture", + "architectureIntro": "OPC UA sépare délibérément le transport des données de leur signification. Cela permet une flexibilité maximale dans l'implémentation:", + "arch1Title": "Couche Transport:", + "arch1Desc": "TCP/IP pour communication temps réel, HTTPS pour connexions compatibles pare-feu, Pub/Sub pour architectures événementielles (MQTT, AMQP, UDP Multicast)", + "arch2Title": "Modèle d'Information:", + "arch2Desc": "Structure orientée objet avec sémantique claire. Companion Specifications standardisées pour diverses industries (EUROMAP, PackML, Robotique, CNC, etc.)", + "arch3Title": "Services:", + "arch3Desc": "Lecture, Écriture, Abonnement (Subscriptions avec surveillance), Appels de méthodes, Accès historique, Alarmes & Conditions, Services de requête", + "arch4Title": "Encodage de Données:", + "arch4Desc": "Binaire (UA Binary) pour l'efficacité ou JSON/XML pour une intégration facile", + "informationModelTitle": "Modèle d'Information - Le Cœur d'OPC UA", + "informationModelDesc": "Le modèle d'information est une description orientée objet des données machine et processus. Il définit non seulement les valeurs elles-mêmes mais aussi leurs relations, hiérarchies et significations.", + "im1": "Nœuds:", + "im1Desc": "Éléments de base (Objets, Variables, Méthodes, Événements)", + "im2": "Références:", + "im2Desc": "Connexions entre nœuds (ex. HasComponent, Organizes)", + "im3": "Classes de Nœuds:", + "im3Desc": "ObjectType, VariableType, DataType, ReferenceType, Method, View", + "im4": "Espaces de Noms:", + "im4Desc": "Séparation entre modèles standards et extensions spécifiques au fournisseur", + "securityTitle": "Concept de Sécurité", + "securityIntro": "OPC UA implémente la sécurité à plusieurs niveaux selon le principe Defense-in-Depth:", + "sec1": "Sécurité du Transport:", + "sec1Desc": "Chiffrement TLS au niveau réseau", + "sec2": "Sécurité des Messages:", + "sec2Desc": "Signature et chiffrement de chaque message individuel", + "sec3": "Authentification des Applications:", + "sec3Desc": "Certificats X.509 pour serveurs et clients", + "sec4": "Authentification des Utilisateurs:", + "sec4Desc": "Nom d'utilisateur/Mot de passe, Certificats utilisateur X.509, ou systèmes externes (LDAP, Kerberos)", + "sec5": "Autorisation:", + "sec5Desc": "Droits d'accès basés sur les rôles au niveau du nœud", + "sec6": "Piste d'Audit:", + "sec6Desc": "Journalisation des événements pertinents pour la sécurité", + "useCasesTitle": "Cas d'Usage Typiques", + "use1": "Intégration Verticale:", + "use1Desc": "Connexion de l'atelier (automates, capteurs) avec systèmes IT (MES, ERP, Cloud)", + "use2": "Intégration Horizontale:", + "use2Desc": "Communication entre machines de différents fabricants", + "use3": "Edge Computing:", + "use3Desc": "Prétraitement et agrégation des données en périphérie du réseau", + "use4": "Maintenance Prédictive:", + "use4Desc": "Surveillance d'état et maintenance prédictive", + "use5": "Jumeau Numérique:", + "use5Desc": "Représentations numériques d'actifs physiques avec données temps réel", + "use6": "Surveillance d'État:", + "use6Desc": "Surveillance des Alarmes & Conditions avec historique", + "whyCompaniesTitle": "Pourquoi les Entreprises Choisissent OPC UA", + "whyCompaniesDesc1": "Dans des environnements de production hétérogènes avec machines de différents fabricants, OPC UA agit comme un traducteur universel. Les systèmes peuvent se décrire eux-mêmes et communiquer leurs capacités de manière standardisée.", + "whyCompaniesDesc2": "Cela fait d'OPC UA la clé de l'intégration verticale – du niveau capteur et machine aux systèmes MES, cloud et ERP. L'investissement dans OPC UA protège contre le verrouillage fournisseur et permet une flexibilité à long terme.", + "implementationTitle": "Implémentation & Outils", + "implementationDesc": "De nombreuses solutions commerciales et open-source sont disponibles pour implémenter OPC UA:", + "impl1": "SDKs OPC Foundation:", + "impl1Desc": "Implémentations de référence en C, C++, .NET, Java", + "impl2": "Piles Open-Source:", + "impl2Desc": "open62541 (C), node-opcua (JavaScript), Python-opcua", + "impl3": "Outils de Test:", + "impl3Desc": "UaExpert (Client), Prosys OPC UA Simulator, Compliance Test Tool (CTT)", + "impl4": "Passerelles & Ponts:", + "impl4Desc": "Connexion à Modbus, PROFINET, EtherNet/IP, etc.", + "futureTitle": "Avenir & Développements", + "future1": "OPC UA FX (Field eXchange):", + "future1Desc": "Extension pour niveau bus de terrain et Ethernet déterministe", + "future2": "OPC UA over TSN:", + "future2Desc": "Time-Sensitive Networking pour applications temps réel (<1ms)", + "future3": "Intégration Cloud:", + "future3Desc": "Intégration native avec Azure IoT, AWS IoT, Google Cloud IoT", + "future4": "Companion Specifications:", + "future4Desc": "Standards spécifiques à l'industrie (Robotique, Machines plastiques, Emballage, etc.)", + "comparisonTitle": "Comparaison OPC UA vs. MQTT", + "tableFeature": "Caractéristique", + "tableFocus": "Focus", + "tableFocusOPC": "Sémantique & Intégration", + "tableFocusMQTT": "Léger & IoT", + "tableDataModel": "Modèle de Données", + "tableDataModelOPC": "Orienté objet", + "tableDataModelMQTT": "Basé sur topics", + "tableSecurity": "Sécurité", + "tableSecurityOPC": "Intégrée (Certificats)", + "tableSecurityMQTT": "Optionnelle (TLS)", + "tableUseCase": "Cas d'Usage", + "tableUseCaseOPC": "Machine ↔ MES/IT", + "tableUseCaseMQTT": "Capteur → Cloud", + "tableComplexity": "Complexité", + "tableComplexityOPC": "Élevée (complète)", + "tableComplexityMQTT": "Faible (simple)", + "tableOverhead": "Surcharge", + "tableOverheadOPC": "Moyen-Élevé", + "tableOverheadMQTT": "Très faible", + "keyFactsTitle": "Faits Clés", + "fact1": "Standard: IEC 62541", + "fact2": "Organisation: OPC Foundation (1996)", + "fact3": "Membres: 900+ entreprises", + "fact4": "Certifiés: 4000+ produits", + "fact5": "Licence: Royalty-free", + "fact6": "Ports: 4840 (non sécurisé), 4843 (HTTPS)", + "recommendationTitle": "Recommandation Business", + "recommendationText": "OPC UA est la base idéale pour des architectures industrielles standardisées et maintenables à long terme. La complexité initiale est compensée par l'indépendance des fournisseurs, la pérennité et l'interopérabilité.

Combiné avec MQTT, les données machine sémantiques peuvent être intégrées efficacement dans les plateformes cloud et d'analyse – OPC UA pour la sémantique, MQTT pour le transport efficace.", + "linksTitle": "Liens Supplémentaires", + "linkMQTT": "Comparaison MQTT" + }, + "contact": { + "title": "Contact", + "badge": "Envoyer un Message", + "intro": "Vous avez des questions sur l'IIoT, le MES ou l'optimisation des processus ? J'attends votre message avec impatience !", + "name": "Nom", + "namePlaceholder": "Votre Nom", + "email": "E-mail", + "emailPlaceholder": "votre@email.fr", + "subject": "Sujet", + "subjectPlaceholder": "De quoi s'agit-il ?", + "message": "Message", + "messagePlaceholder": "Votre message...", + "send": "Envoyer le Message", + "sending": "Envoi en cours...", + "success": "Message envoyé avec succès !", + "error": "Erreur lors de l'envoi. Veuillez réessayer.", + "required": "Veuillez remplir tous les champs obligatoires." + }, + "common": { + "ready": "Prêt", + "ok": "OK", + "warning": "Attention", + "critical": "Critique" + }, + "mqtt": { + "title": "MQTT", + "pageTitle": "MQTT - Message Queuing Telemetry Transport", + "badge": "Prêt", + "mainTitle": "MQTT - Communication de Données Efficace pour IoT", + "comparisonTitle": "Comparaison MQTT vs. OPC UA", + "tableFeature": "Caractéristique", + "tableFocus": "Focus", + "keyFactsTitle": "Key Facts", + "recommendationTitle": "Recommandation", + "linksTitle": "Liens Supplémentaires", + "linkOPCUA": "Comparaison OPC UA" + } + }, + "zh": { + "siteName": "iiot-factory.com", + "nav": { + "home": "首页", + "aboutMe": "关于我", + "iiot": "工业物联网", + "trends": "趋势", + "cra": "网络弹性法案", + "guide": "指南", + "oeeCalc": "OEE计算器", + "fpyCalc": "FPY计算器", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "联系" + }, + "index": { + "title": "工业物联网工厂 – 工作台", + "pageTitle": "工业物联网工厂 – 工作台", + "badge": "就绪", + "shopfloorTitle": "实时车间KPI", + "shopfloorDesc": "这些页面支持离线使用,专为触摸屏设计:大字段、清晰公式、快速结果。", + "oeeTitle": "OEE计算器", + "oeeDesc": "可用性 × 性能 × 质量 – 包括诊断和公式输出。", + "fpyTitle": "FPY计算器", + "fpyDesc": "首次通过率 – 直接在过程中检测返工/废品。", + "open": "打开", + "quickStart": "快速入门", + "step1": "输入数值 → 计算", + "step2": "回车键也可以计算", + "step3": "实时输出公式", + "note": "注意:阈值(正常/严重)仅供参考,可根据工厂调整。" + }, + "oee": { + "title": "多工位产线OEE", + "badge": "HMI V2.6", + "config": "配置", + "addStation": "+ 工位", + "station": "工位", + "bottleneck": "(瓶颈)", + "remove": "删除", + "planned": "计划时间(分钟)", + "stop": "停机时间(分钟)", + "cycle": "周期(秒)", + "reject": "废品(件)", + "finalOutput": "产线末端产出(良品)", + "calculate": "计算产线", + "kpiTitle": "产线KPI", + "availability": "可用性(分钟)", + "performance": "性能(分钟)", + "quality": "质量(FPY)", + "totalOEE": "总OEE", + "calcLogic": "计算逻辑", + "formula": "产线OEE = A瓶颈 × P瓶颈 × FPY" + }, + "fpy": { + "title": "FPY实时计算器", + "badge": "就绪", + "inputs": "输入", + "totalParts": "总数量", + "totalPlaceholder": "例如 1000", + "rework": "返工(件)", + "reworkPlaceholder": "例如 80", + "scrap": "废品(件)", + "scrapPlaceholder": "例如 10", + "calculate": "计算", + "result": "结果", + "fpy": "FPY", + "status": "状态", + "formula": "公式", + "description": "首次通过率(FPY)显示无需返工或废品即可第一次通过的零件百分比。", + "info": "解释", + "good": "FPY > 95% 优秀,显示过程稳定。", + "medium": "FPY 85-95% 可接受但可优化。", + "bad": "FPY < 85% 表明质量问题。" + }, + "iiot": { + "title": "工业物联网基础", + "badge": "就绪", + "mainTitle": "工业物联网(IIoT)", + "mainDesc": "工业物联网连接机器、传感器和IT系统,实时捕获状态、计数器和质量数据。", + "dataPoints": "典型数据点", + "dp1": "机器状态(运行/停止/报警)", + "dp2": "周期 / 零件计数器", + "dp3": "过程值(如温度、压力、扭矩)", + "dp4": "质量特征 / 测试结果", + "kpiTitle": "结果KPI", + "kpi1": "OEE(可用性、性能、质量)", + "kpi2": "FPY(无返工)", + "kpi3": "停机原因", + "kpi4": "可追溯性" + }, + "opcua": { + "title": "OPC UA - 工业4.0通信标准", + "pageTitle": "OPC UA - 开放平台通信统一架构", + "badge": "就绪", + "mainTitle": "OPC UA – 标准化语义机器通信", + "intro": "OPC UA(开放平台通信统一架构)是一个供应商独立的工业标准,用于结构化、安全和语义明确的数据交换。它构成了现代互联生产架构和工业4.0的基础。", + "whatMakesSpecial": "OPC UA的特别之处", + "contextExplanation": "与简单协议不同,OPC UA不仅传输单个值,而是传输带有上下文和含义的信息。这使系统之间能够进行自描述通信。", + "feature1": "包含单位、精度和有效范围的测量值", + "feature2": "带自动报警的限值和目标值", + "feature3": "每次测量的时间戳和质量状态", + "feature4": "机器的功能、方法和状态", + "feature5": "历史数据和趋势", + "feature6": "带优先级的事件和报警", + "interpretable": "这使数据立即可解释 – 无需额外文档或项目特定假设。信息模型是自描述的。", + "corePillars": "OPC UA的核心支柱", + "pillar1Title": "平台独立性:", + "pillar1Desc": "可部署在PLC、工业PC、边缘设备、服务器和云系统上。适用于Windows、Linux、RTOS和其他平台。", + "pillar2Title": "集成安全性:", + "pillar2Desc": "通过证书的身份验证、签名和加密是规范的组成部分。支持传输层安全(TLS)。", + "pillar3Title": "灵活的通信模型:", + "pillar3Desc": "经典的客户端/服务器模型以及用于实时通信的发布/订阅。支持各种传输协议(TCP、HTTPS、MQTT、AMQP)。", + "pillar4Title": "可扩展性:", + "pillar4Desc": "从简单传感器到复杂生产线。针对各种带宽和延迟要求进行了优化。", + "architectureTitle": "架构原理", + "architectureIntro": "OPC UA有意将数据传输与其含义分离。这在实现中提供了最大的灵活性:", + "arch1Title": "传输层:", + "arch1Desc": "用于实时通信的TCP/IP,用于防火墙友好连接的HTTPS,用于事件驱动架构的发布/订阅(MQTT、AMQP、UDP多播)", + "arch2Title": "信息模型:", + "arch2Desc": "具有清晰语义的面向对象结构。针对各行业的标准化配套规范(EUROMAP、PackML、机器人、CNC等)", + "arch3Title": "服务:", + "arch3Desc": "读取、写入、订阅(带监控的订阅)、方法调用、历史访问、报警和条件、查询服务", + "arch4Title": "数据编码:", + "arch4Desc": "二进制(UA Binary)用于效率,或JSON/XML用于简单集成", + "informationModelTitle": "信息模型 - OPC UA的核心", + "informationModelDesc": "信息模型是机器和过程数据的面向对象描述。它不仅定义值本身,还定义它们的关系、层次结构和含义。", + "im1": "节点:", + "im1Desc": "基本元素(对象、变量、方法、事件)", + "im2": "引用:", + "im2Desc": "节点之间的连接(例如HasComponent、Organizes)", + "im3": "节点类:", + "im3Desc": "ObjectType、VariableType、DataType、ReferenceType、Method、View", + "im4": "命名空间:", + "im4Desc": "标准模型和供应商特定扩展之间的分离", + "securityTitle": "安全概念", + "securityIntro": "OPC UA按照深度防御原则在多个级别实现安全性:", + "sec1": "传输安全:", + "sec1Desc": "网络级TLS加密", + "sec2": "消息安全:", + "sec2Desc": "每条消息的签名和加密", + "sec3": "应用程序身份验证:", + "sec3Desc": "服务器和客户端的X.509证书", + "sec4": "用户身份验证:", + "sec4Desc": "用户名/密码、X.509用户证书或外部系统(LDAP、Kerberos)", + "sec5": "授权:", + "sec5Desc": "节点级别基于角色的访问权限", + "sec6": "审计跟踪:", + "sec6Desc": "记录安全相关事件", + "useCasesTitle": "典型用例", + "use1": "垂直集成:", + "use1Desc": "车间(PLC、传感器)与IT系统(MES、ERP、云)的连接", + "use2": "水平集成:", + "use2Desc": "不同制造商机器之间的通信", + "use3": "边缘计算:", + "use3Desc": "网络边缘的数据预处理和聚合", + "use4": "预测性维护:", + "use4Desc": "状态监控和预测性维护", + "use5": "数字孪生:", + "use5Desc": "具有实时数据的物理资产的数字表示", + "use6": "状态监控:", + "use6Desc": "带历史记录的报警和条件监控", + "whyCompaniesTitle": "为什么企业选择OPC UA", + "whyCompaniesDesc1": "在具有不同制造商机器的异构生产环境中,OPC UA充当通用翻译器。系统可以自我描述并以标准化方式传达其功能。", + "whyCompaniesDesc2": "这使OPC UA成为垂直集成的关键 – 从传感器和机器级别到MES、云和ERP系统。对OPC UA的投资可防止供应商锁定并实现长期灵活性。", + "implementationTitle": "实施与工具", + "implementationDesc": "有许多商业和开源解决方案可用于实施OPC UA:", + "impl1": "OPC基金会SDK:", + "impl1Desc": "C、C++、.NET、Java的参考实现", + "impl2": "开源堆栈:", + "impl2Desc": "open62541(C)、node-opcua(JavaScript)、Python-opcua", + "impl3": "测试工具:", + "impl3Desc": "UaExpert(客户端)、Prosys OPC UA模拟器、合规性测试工具(CTT)", + "impl4": "网关和桥接:", + "impl4Desc": "连接到Modbus、PROFINET、EtherNet/IP等", + "futureTitle": "未来与发展", + "future1": "OPC UA FX(现场交换):", + "future1Desc": "现场总线级别和确定性以太网的扩展", + "future2": "OPC UA over TSN:", + "future2Desc": "用于实时应用的时间敏感网络(<1ms)", + "future3": "云集成:", + "future3Desc": "与Azure IoT、AWS IoT、Google Cloud IoT的原生集成", + "future4": "配套规范:", + "future4Desc": "特定行业标准(机器人、塑料机械、包装等)", + "comparisonTitle": "OPC UA与MQTT比较", + "tableFeature": "特征", + "tableFocus": "重点", + "tableFocusOPC": "语义与集成", + "tableFocusMQTT": "轻量级与物联网", + "tableDataModel": "数据模型", + "tableDataModelOPC": "面向对象", + "tableDataModelMQTT": "基于主题", + "tableSecurity": "安全性", + "tableSecurityOPC": "集成(证书)", + "tableSecurityMQTT": "可选(TLS)", + "tableUseCase": "用例", + "tableUseCaseOPC": "机器 ↔ MES/IT", + "tableUseCaseMQTT": "传感器 → 云", + "tableComplexity": "复杂性", + "tableComplexityOPC": "高(全面)", + "tableComplexityMQTT": "低(简单)", + "tableOverhead": "开销", + "tableOverheadOPC": "中-高", + "tableOverheadMQTT": "非常低", + "keyFactsTitle": "关键事实", + "fact1": "标准: IEC 62541", + "fact2": "组织: OPC基金会(1996)", + "fact3": "成员: 900+家公司", + "fact4": "认证: 4000+产品", + "fact5": "许可证: 免版税", + "fact6": "端口: 4840(不安全), 4843(HTTPS)", + "recommendationTitle": "业务建议", + "recommendationText": "OPC UA是标准化、长期可维护工业架构的理想基础。初始复杂性通过供应商独立性、面向未来和互操作性得到补偿。

与MQTT结合,语义机器数据可以有效集成到云和分析平台中 – OPC UA用于语义,MQTT用于高效传输。", + "linksTitle": "更多链接", + "linkMQTT": "MQTT比较" + }, + "contact": { + "title": "联系", + "badge": "发送消息", + "intro": "对工业物联网、MES或流程优化有疑问?期待您的消息!", + "name": "姓名", + "namePlaceholder": "您的姓名", + "email": "电子邮件", + "emailPlaceholder": "your@email.com", + "subject": "主题", + "subjectPlaceholder": "关于什么?", + "message": "消息", + "messagePlaceholder": "您的消息...", + "send": "发送消息", + "sending": "发送中...", + "success": "消息发送成功!", + "error": "发送错误。请重试。", + "required": "请填写所有必填字段。" + }, + "common": { + "ready": "就绪", + "ok": "正常", + "warning": "警告", + "critical": "严重" + }, + "mqtt": { + "title": "MQTT", + "pageTitle": "MQTT - Message Queuing Telemetry Transport", + "badge": "就绪", + "mainTitle": "MQTT - 物联网高效数据通信", + "comparisonTitle": "MQTT与OPC UA比较", + "tableFeature": "特征", + "tableFocus": "重点", + "keyFactsTitle": "Key Facts", + "recommendationTitle": "建议", + "linksTitle": "更多链接", + "linkOPCUA": "OPC UA比较" + } + } +} \ No newline at end of file diff --git a/backend/src/main/webapp/assets/translations.json1.json b/backend/src/main/webapp/assets/translations.json1.json new file mode 100644 index 0000000..6f1b79a --- /dev/null +++ b/backend/src/main/webapp/assets/translations.json1.json @@ -0,0 +1,466 @@ +{ + "de": { + "siteName": "iiot-factory.com", + "nav": { + "home": "Home", + "aboutMe": "Über Mich", + "iiot": "IIoT", + "trends": "Trends", + "cra": "Cyber Resilience Act", + "guide": "Guide", + "oeeCalc": "OEE Rechner", + "fpyCalc": "FPY Rechner", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "Kontakt" + }, + "index": { + "title": "IIoT Factory – Workbench", + "pageTitle": "IIoT Factory – Workbench", + "badge": "Bereit", + "shopfloorTitle": "Shopfloor-KPIs in Echtzeit", + "shopfloorDesc": "Diese Seiten sind offline-fähig und für Touchscreens ausgelegt: große Felder, klare Formeln, schnelle Ergebnisse.", + "oeeTitle": "OEE Rechner", + "oeeDesc": "Verfügbarkeit × Leistung × Qualität – inklusive Diagnose und Formel-Output.", + "fpyTitle": "FPY Rechner", + "fpyDesc": "First Pass Yield – erkennt Nacharbeit/Ausschuss direkt im Prozess.", + "open": "Öffnen", + "quickStart": "Quick Start", + "step1": "Werte eingeben → Berechnen", + "step2": "Enter-Taste berechnet ebenfalls", + "step3": "Formeln werden live ausgegeben", + "note": "Hinweis: Schwellenwerte (OK/Kritisch) sind Richtwerte und können pro Werk angepasst werden." + }, + "oee": { + "title": "Multi-Station Linien-OEE", + "badge": "HMI V2.6", + "config": "Konfiguration", + "addStation": "+ Station", + "station": "Station", + "bottleneck": "(Bottleneck)", + "remove": "Entfernen", + "planned": "Geplant (min)", + "stop": "Stop (min)", + "cycle": "Zyklus (sek)", + "reject": "Ausschuss (Stk)", + "finalOutput": "Output am Linienende (Gutteile)", + "calculate": "LINIE BERECHNEN", + "kpiTitle": "Linien-KPI", + "availability": "Verfügbarkeit (min)", + "performance": "Leistung (min)", + "quality": "Qualität (FPY)", + "totalOEE": "Gesamt-OEE", + "calcLogic": "Berechnungslogik", + "formula": "OEE_Linie = A_bottleneck × P_bottleneck × FPY" + }, + "fpy": { + "title": "FPY Live-Rechner", + "badge": "Bereit", + "inputs": "Eingaben", + "totalParts": "Gesamtstücke", + "totalPlaceholder": "z. B. 1000", + "rework": "Nacharbeit (Stück)", + "reworkPlaceholder": "z. B. 80", + "scrap": "Ausschuss (Stück)", + "scrapPlaceholder": "z. B. 10", + "calculate": "Berechnen", + "result": "Ergebnis", + "fpy": "FPY", + "status": "Status", + "formula": "Formel", + "description": "First Pass Yield (FPY) zeigt, wie viel Prozent der Teile direkt beim ersten Durchlauf ohne Nacharbeit oder Ausschuss gut waren.", + "info": "Interpretation", + "good": "FPY > 95% ist ausgezeichnet und zeigt stabile Prozesse.", + "medium": "FPY 85-95% ist akzeptabel, aber optimierbar.", + "bad": "FPY < 85% weist auf Qualitätsprobleme hin." + }, + "iiot": { + "title": "IIoT Grundlagen", + "badge": "Bereit", + "mainTitle": "Industrial Internet of Things (IIoT)", + "mainDesc": "IIoT vernetzt Maschinen, Sensoren und IT-Systeme, um Zustände, Zähler und Qualitätsdaten in Echtzeit zu erfassen.", + "dataPoints": "Typische Datenpunkte", + "dp1": "Maschinenstatus (Run/Stop/Alarm)", + "dp2": "Zyklen / Stückzähler", + "dp3": "Prozesswerte (z. B. Temperatur, Druck, Drehmoment)", + "dp4": "Qualitätsmerkmale / Prüfresultate", + "kpiTitle": "Ergebnis-KPIs", + "kpi1": "OEE (Verfügbarkeit, Leistung, Qualität)", + "kpi2": "FPY (ohne Nacharbeit)", + "kpi3": "Stillstandsgründe", + "kpi4": "Traceability" + }, + "contact": { + "title": "Kontakt", + "badge": "Nachricht senden", + "intro": "Haben Sie Fragen zu IIoT, MES oder Prozessoptimierung? Ich freue mich auf Ihre Nachricht!", + "name": "Name", + "namePlaceholder": "Ihr Name", + "email": "E-Mail", + "emailPlaceholder": "ihre@email.de", + "subject": "Betreff", + "subjectPlaceholder": "Worum geht es?", + "message": "Nachricht", + "messagePlaceholder": "Ihre Nachricht an mich...", + "send": "Nachricht senden", + "sending": "Wird gesendet...", + "success": "Nachricht erfolgreich gesendet!", + "error": "Fehler beim Senden. Bitte versuchen Sie es erneut.", + "required": "Bitte füllen Sie alle Pflichtfelder aus." + }, + "common": { + "ready": "Bereit", + "ok": "OK", + "warning": "Warnung", + "critical": "Kritisch" + } + }, + "en": { + "siteName": "iiot-factory.com", + "nav": { + "home": "Home", + "aboutMe": "About Me", + "iiot": "IIoT", + "trends": "Trends", + "cra": "Cyber Resilience Act", + "guide": "Guide", + "oeeCalc": "OEE Calculator", + "fpyCalc": "FPY Calculator", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "Contact" + }, + "index": { + "title": "IIoT Factory – Workbench", + "pageTitle": "IIoT Factory – Workbench", + "badge": "Ready", + "shopfloorTitle": "Real-time Shopfloor KPIs", + "shopfloorDesc": "These pages are offline-capable and designed for touchscreens: large fields, clear formulas, fast results.", + "oeeTitle": "OEE Calculator", + "oeeDesc": "Availability × Performance × Quality – including diagnostics and formula output.", + "fpyTitle": "FPY Calculator", + "fpyDesc": "First Pass Yield – detects rework/scrap directly in the process.", + "open": "Open", + "quickStart": "Quick Start", + "step1": "Enter values → Calculate", + "step2": "Enter key also calculates", + "step3": "Formulas are output live", + "note": "Note: Threshold values (OK/Critical) are guidelines and can be adjusted per plant." + }, + "oee": { + "title": "Multi-Station Line OEE", + "badge": "HMI V2.6", + "config": "Configuration", + "addStation": "+ Station", + "station": "Station", + "bottleneck": "(Bottleneck)", + "remove": "Remove", + "planned": "Planned (min)", + "stop": "Stop (min)", + "cycle": "Cycle (sec)", + "reject": "Reject (pcs)", + "finalOutput": "Line End Output (Good Parts)", + "calculate": "CALCULATE LINE", + "kpiTitle": "Line KPI", + "availability": "Availability (min)", + "performance": "Performance (min)", + "quality": "Quality (FPY)", + "totalOEE": "Total OEE", + "calcLogic": "Calculation Logic", + "formula": "OEE_Line = A_bottleneck × P_bottleneck × FPY" + }, + "fpy": { + "title": "FPY Live Calculator", + "badge": "Ready", + "inputs": "Inputs", + "totalParts": "Total Parts", + "totalPlaceholder": "e.g. 1000", + "rework": "Rework (pcs)", + "reworkPlaceholder": "e.g. 80", + "scrap": "Scrap (pcs)", + "scrapPlaceholder": "e.g. 10", + "calculate": "Calculate", + "result": "Result", + "fpy": "FPY", + "status": "Status", + "formula": "Formula", + "description": "First Pass Yield (FPY) shows what percentage of parts passed the first time without rework or scrap.", + "info": "Interpretation", + "good": "FPY > 95% is excellent and shows stable processes.", + "medium": "FPY 85-95% is acceptable but can be optimized.", + "bad": "FPY < 85% indicates quality issues." + }, + "iiot": { + "title": "IIoT Basics", + "badge": "Ready", + "mainTitle": "Industrial Internet of Things (IIoT)", + "mainDesc": "IIoT connects machines, sensors, and IT systems to capture states, counters, and quality data in real-time.", + "dataPoints": "Typical Data Points", + "dp1": "Machine status (Run/Stop/Alarm)", + "dp2": "Cycles / Part counters", + "dp3": "Process values (e.g. Temperature, Pressure, Torque)", + "dp4": "Quality characteristics / Test results", + "kpiTitle": "Result KPIs", + "kpi1": "OEE (Availability, Performance, Quality)", + "kpi2": "FPY (without rework)", + "kpi3": "Downtime reasons", + "kpi4": "Traceability" + }, + "contact": { + "title": "Contact", + "badge": "Send Message", + "intro": "Have questions about IIoT, MES or process optimization? I look forward to your message!", + "name": "Name", + "namePlaceholder": "Your Name", + "email": "Email", + "emailPlaceholder": "your@email.com", + "subject": "Subject", + "subjectPlaceholder": "What is it about?", + "message": "Message", + "messagePlaceholder": "Your message to me...", + "send": "Send Message", + "sending": "Sending...", + "success": "Message sent successfully!", + "error": "Error sending. Please try again.", + "required": "Please fill in all required fields." + }, + "common": { + "ready": "Ready", + "ok": "OK", + "warning": "Warning", + "critical": "Critical" + } + }, + "fr": { + "siteName": "iiot-factory.com", + "nav": { + "home": "Accueil", + "aboutMe": "À Propos", + "iiot": "IIoT", + "trends": "Tendances", + "cra": "Loi sur la Cyber-Résilience", + "guide": "Guide", + "oeeCalc": "Calculateur TRS", + "fpyCalc": "Calculateur FPY", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "Contact" + }, + "index": { + "title": "IIoT Factory – Atelier", + "pageTitle": "IIoT Factory – Atelier", + "badge": "Prêt", + "shopfloorTitle": "KPI d'atelier en temps réel", + "shopfloorDesc": "Ces pages fonctionnent hors ligne et sont conçues pour les écrans tactiles : grands champs, formules claires, résultats rapides.", + "oeeTitle": "Calculateur TRS", + "oeeDesc": "Disponibilité × Performance × Qualité – y compris diagnostic et sortie de formule.", + "fpyTitle": "Calculateur FPY", + "fpyDesc": "First Pass Yield – détecte les retouches/rebuts directement dans le processus.", + "open": "Ouvrir", + "quickStart": "Démarrage Rapide", + "step1": "Entrer les valeurs → Calculer", + "step2": "La touche Entrée calcule également", + "step3": "Les formules sont affichées en direct", + "note": "Remarque : Les valeurs seuils (OK/Critique) sont des directives et peuvent être ajustées par usine." + }, + "oee": { + "title": "TRS de Ligne Multi-Stations", + "badge": "HMI V2.6", + "config": "Configuration", + "addStation": "+ Station", + "station": "Station", + "bottleneck": "(Goulot)", + "remove": "Supprimer", + "planned": "Planifié (min)", + "stop": "Arrêt (min)", + "cycle": "Cycle (sec)", + "reject": "Rebut (pcs)", + "finalOutput": "Production Finale (Bonnes Pièces)", + "calculate": "CALCULER LA LIGNE", + "kpiTitle": "KPI de Ligne", + "availability": "Disponibilité (min)", + "performance": "Performance (min)", + "quality": "Qualité (FPY)", + "totalOEE": "TRS Total", + "calcLogic": "Logique de Calcul", + "formula": "TRS_Ligne = A_goulot × P_goulot × FPY" + }, + "fpy": { + "title": "Calculateur FPY en Direct", + "badge": "Prêt", + "inputs": "Entrées", + "totalParts": "Pièces Totales", + "totalPlaceholder": "p. ex. 1000", + "rework": "Retouche (pcs)", + "reworkPlaceholder": "p. ex. 80", + "scrap": "Rebut (pcs)", + "scrapPlaceholder": "p. ex. 10", + "calculate": "Calculer", + "result": "Résultat", + "fpy": "FPY", + "status": "Statut", + "formula": "Formule", + "description": "First Pass Yield (FPY) montre quel pourcentage de pièces a réussi du premier coup sans retouche ni rebut.", + "info": "Interprétation", + "good": "FPY > 95% est excellent et montre des processus stables.", + "medium": "FPY 85-95% est acceptable mais optimisable.", + "bad": "FPY < 85% indique des problèmes de qualité." + }, + "iiot": { + "title": "Bases IIoT", + "badge": "Prêt", + "mainTitle": "Internet Industriel des Objets (IIoT)", + "mainDesc": "L'IIoT connecte machines, capteurs et systèmes informatiques pour capturer états, compteurs et données de qualité en temps réel.", + "dataPoints": "Points de Données Typiques", + "dp1": "État de la machine (Marche/Arrêt/Alarme)", + "dp2": "Cycles / Compteurs de pièces", + "dp3": "Valeurs de processus (ex. Température, Pression, Couple)", + "dp4": "Caractéristiques de qualité / Résultats de test", + "kpiTitle": "KPI de Résultat", + "kpi1": "TRS (Disponibilité, Performance, Qualité)", + "kpi2": "FPY (sans retouche)", + "kpi3": "Causes d'arrêt", + "kpi4": "Traçabilité" + }, + "contact": { + "title": "Contact", + "badge": "Envoyer un Message", + "intro": "Vous avez des questions sur l'IIoT, le MES ou l'optimisation des processus ? J'attends votre message avec impatience !", + "name": "Nom", + "namePlaceholder": "Votre Nom", + "email": "E-mail", + "emailPlaceholder": "votre@email.fr", + "subject": "Sujet", + "subjectPlaceholder": "De quoi s'agit-il ?", + "message": "Message", + "messagePlaceholder": "Votre message...", + "send": "Envoyer le Message", + "sending": "Envoi en cours...", + "success": "Message envoyé avec succès !", + "error": "Erreur lors de l'envoi. Veuillez réessayer.", + "required": "Veuillez remplir tous les champs obligatoires." + }, + "common": { + "ready": "Prêt", + "ok": "OK", + "warning": "Attention", + "critical": "Critique" + } + }, + "zh": { + "siteName": "iiot-factory.com", + "nav": { + "home": "首页", + "aboutMe": "关于我", + "iiot": "工业物联网", + "trends": "趋势", + "cra": "网络弹性法案", + "guide": "指南", + "oeeCalc": "OEE计算器", + "fpyCalc": "FPY计算器", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "联系" + }, + "index": { + "title": "工业物联网工厂 – 工作台", + "pageTitle": "工业物联网工厂 – 工作台", + "badge": "就绪", + "shopfloorTitle": "实时车间KPI", + "shopfloorDesc": "这些页面支持离线使用,专为触摸屏设计:大字段、清晰公式、快速结果。", + "oeeTitle": "OEE计算器", + "oeeDesc": "可用性 × 性能 × 质量 – 包括诊断和公式输出。", + "fpyTitle": "FPY计算器", + "fpyDesc": "首次通过率 – 直接在过程中检测返工/废品。", + "open": "打开", + "quickStart": "快速入门", + "step1": "输入数值 → 计算", + "step2": "回车键也可以计算", + "step3": "实时输出公式", + "note": "注意:阈值(正常/严重)仅供参考,可根据工厂调整。" + }, + "oee": { + "title": "多工位产线OEE", + "badge": "HMI V2.6", + "config": "配置", + "addStation": "+ 工位", + "station": "工位", + "bottleneck": "(瓶颈)", + "remove": "删除", + "planned": "计划时间(分钟)", + "stop": "停机时间(分钟)", + "cycle": "周期(秒)", + "reject": "废品(件)", + "finalOutput": "产线末端产出(良品)", + "calculate": "计算产线", + "kpiTitle": "产线KPI", + "availability": "可用性(分钟)", + "performance": "性能(分钟)", + "quality": "质量(FPY)", + "totalOEE": "总OEE", + "calcLogic": "计算逻辑", + "formula": "产线OEE = A瓶颈 × P瓶颈 × FPY" + }, + "fpy": { + "title": "FPY实时计算器", + "badge": "就绪", + "inputs": "输入", + "totalParts": "总数量", + "totalPlaceholder": "例如 1000", + "rework": "返工(件)", + "reworkPlaceholder": "例如 80", + "scrap": "废品(件)", + "scrapPlaceholder": "例如 10", + "calculate": "计算", + "result": "结果", + "fpy": "FPY", + "status": "状态", + "formula": "公式", + "description": "首次通过率(FPY)显示无需返工或废品即可第一次通过的零件百分比。", + "info": "解释", + "good": "FPY > 95% 优秀,显示过程稳定。", + "medium": "FPY 85-95% 可接受但可优化。", + "bad": "FPY < 85% 表明质量问题。" + }, + "iiot": { + "title": "工业物联网基础", + "badge": "就绪", + "mainTitle": "工业物联网(IIoT)", + "mainDesc": "工业物联网连接机器、传感器和IT系统,实时捕获状态、计数器和质量数据。", + "dataPoints": "典型数据点", + "dp1": "机器状态(运行/停止/报警)", + "dp2": "周期 / 零件计数器", + "dp3": "过程值(如温度、压力、扭矩)", + "dp4": "质量特征 / 测试结果", + "kpiTitle": "结果KPI", + "kpi1": "OEE(可用性、性能、质量)", + "kpi2": "FPY(无返工)", + "kpi3": "停机原因", + "kpi4": "可追溯性" + }, + "contact": { + "title": "联系", + "badge": "发送消息", + "intro": "对工业物联网、MES或流程优化有疑问?期待您的消息!", + "name": "姓名", + "namePlaceholder": "您的姓名", + "email": "电子邮件", + "emailPlaceholder": "your@email.com", + "subject": "主题", + "subjectPlaceholder": "关于什么?", + "message": "消息", + "messagePlaceholder": "您的消息...", + "send": "发送消息", + "sending": "发送中...", + "success": "消息发送成功!", + "error": "发送错误。请重试。", + "required": "请填写所有必填字段。" + }, + "common": { + "ready": "就绪", + "ok": "正常", + "warning": "警告", + "critical": "严重" + } + } +} diff --git a/backend/src/main/webapp/excel-preview.js b/backend/src/main/webapp/excel-preview.js new file mode 100644 index 0000000..637b09b --- /dev/null +++ b/backend/src/main/webapp/excel-preview.js @@ -0,0 +1,58 @@ +(function () { + function isFilled(cell) { + return cell !== null && cell !== undefined && String(cell).trim() !== ""; + } + + function escapeText(value) { + return String(value ?? "") + .replace(/&/g, "&") + .replace(//g, ">") + .replace(/"/g, """) + .replace(/'/g, "'"); + } + + window.WorkbenchExcelPreview = { + filledRows(rows) { + return rows.filter(row => Array.isArray(row) && row.some(isFilled)); + }, + + render(containerId, headers, rows) { + const container = document.getElementById(containerId); + if (!container) return; + + if (!rows || rows.length === 0) { + container.innerHTML = '
Keine Excel-Daten geladen.
'; + return; + } + + const headerHtml = headers + .map(header => `${escapeText(header)}`) + .join(""); + + const bodyHtml = rows + .map(row => `${headers.map((_, index) => `${escapeText(row[index])}`).join("")}`) + .join(""); + + container.innerHTML = ` +
+ + ${headerHtml} + ${bodyHtml} +
+
+
${rows.length} Zeilen geladen
+ `; + }, + + rowsToObjects(headers, rows) { + return rows.map(row => { + const obj = {}; + headers.forEach((header, index) => { + obj[header] = row[index] || ""; + }); + return obj; + }); + } + }; +})(); diff --git a/backend/src/main/webapp/index.html b/backend/src/main/webapp/index.html index 150d53c..a8bc847 100644 --- a/backend/src/main/webapp/index.html +++ b/backend/src/main/webapp/index.html @@ -1,421 +1,293 @@ - - - - -Workbench – HMI Base - - - - - - - - - - -
- -
-
-

Workbench

- -
-
- -
- - - -
- -
- -
- -
- - - - - - - - + + + + + + Workbench + + + + + + + + +
+

Workbench

+ Logo +
+ +
+ + + +
+ + + + + + + + + + + + diff --git a/backend/src/main/webapp/index1.html b/backend/src/main/webapp/index1.html index 7845a26..de6bf22 100644 --- a/backend/src/main/webapp/index1.html +++ b/backend/src/main/webapp/index1.html @@ -1,7 +1,8 @@ - + + Workbench diff --git a/backend/src/main/webapp/ios.css b/backend/src/main/webapp/ios.css new file mode 100644 index 0000000..e893bb2 --- /dev/null +++ b/backend/src/main/webapp/ios.css @@ -0,0 +1,394 @@ +/* iTAC-inspired iOS polish for the static Workbench webapp. + Visual-only override: keep page scripts and data flows unchanged. */ + +:root { + --itac-red: #a40640; + --itac-red-light: #bd0749; + --itac-red-dark: #73042d; + --itac-blue: #00488e; + --itac-ink: #243746; + --itac-slate: #375169; + --itac-muted: #838c93; + --itac-border: #dfe5eb; + --itac-soft: #f6f7fb; + --itac-surface: #ffffff; + --itac-shadow: 0 12px 34px rgba(36, 55, 70, 0.16); + --itac-radius: 8px; + --ios-tap: 44px; + color-scheme: light; +} + +* { + box-sizing: border-box; + -webkit-tap-highlight-color: rgba(164, 6, 64, 0.16); +} + +html { + min-height: 100%; + -webkit-text-size-adjust: 100%; + text-size-adjust: 100%; +} + +body { + min-height: 100%; + margin: 0; + color: var(--itac-ink); + background: + linear-gradient(180deg, rgba(246, 247, 251, 0.98), rgba(255, 255, 255, 0.96)), + var(--itac-soft) !important; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important; + line-height: 1.45; + padding-left: max(16px, env(safe-area-inset-left)) !important; + padding-right: max(16px, env(safe-area-inset-right)) !important; + overflow-x: hidden; +} + +body::before { + content: ""; + position: fixed; + inset: 0 0 auto 0; + height: 5px; + z-index: 10000; + background: linear-gradient(90deg, var(--itac-red), var(--itac-blue)); + pointer-events: none; +} + +h1, +h2, +h3 { + color: var(--itac-ink) !important; + letter-spacing: 0; +} + +h1, +h2 { + font-weight: 650; +} + +a { + color: var(--itac-blue); +} + +p, +small, +label, +td, +th { + color: inherit; +} + +header { + min-height: 72px; + height: auto !important; + padding: max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 14px max(16px, env(safe-area-inset-left)) !important; + background: var(--itac-surface) !important; + border-radius: 0 !important; + border-bottom: 1px solid var(--itac-border); + box-shadow: 0 8px 24px rgba(36, 55, 70, 0.08); + gap: 16px; +} + +header img, +header svg { + max-height: 52px; + width: auto; + object-fit: contain; +} + +nav { + background: #e7eff1 !important; + border-right: 1px solid var(--itac-border); +} + +#container { + min-height: 0; + background: var(--itac-soft); +} + +#contentFrame, +iframe { + background: var(--itac-surface); +} + +.app { + width: min(100%, 1600px); + min-height: 100%; + margin-inline: auto; +} + +.container, +#tree-container, +.panel, +.modal-content, +#config-modal-content, +.card { + width: min(100%, 980px) !important; + max-width: 100%; + color: var(--itac-ink); + background: var(--itac-surface) !important; + border: 1px solid var(--itac-border) !important; + border-radius: var(--itac-radius) !important; + box-shadow: var(--itac-shadow) !important; +} + +.container { + display: block !important; + margin: 0 auto; + text-align: left; +} + +#tree-container { + padding: 18px !important; +} + +button, +input, +select, +textarea, +.pill, +.lang-switch { + min-height: var(--ios-tap); + font: inherit; + border-radius: var(--itac-radius) !important; +} + +button { + border: 1px solid var(--itac-red) !important; + background: linear-gradient(180deg, var(--itac-red-light), var(--itac-red)) !important; + color: #fff !important; + font-weight: 650; + box-shadow: 0 8px 18px rgba(164, 6, 64, 0.2); + touch-action: manipulation; + -webkit-user-select: none; + user-select: none; +} + +button:hover, +button:focus { + background: var(--itac-red-dark) !important; + border-color: var(--itac-red-dark) !important; +} + +button.secondary, +.pill, +.lang-switch { + background: var(--itac-surface) !important; + color: var(--itac-slate) !important; + border: 1px solid var(--itac-border) !important; + box-shadow: none; +} + +input, +select, +textarea { + max-width: 100%; + border: 1px solid #c8d1da !important; + background: #fff !important; + color: var(--itac-ink) !important; + padding: 10px 12px; + outline: none; + -webkit-appearance: none; + appearance: none; +} + +input:focus, +select:focus, +textarea:focus { + border-color: var(--itac-blue) !important; + box-shadow: 0 0 0 3px rgba(0, 72, 142, 0.14); +} + +input[type="file"] { + min-height: var(--ios-tap); + padding: 10px 0; + border: 0 !important; +} + +#import-table, +#hot, +#tree, +.table-wrap { + max-width: 100%; + overflow: auto; + -webkit-overflow-scrolling: touch; +} + +table { + min-width: 680px; +} + +thead th, +tbody td { + color: var(--itac-ink) !important; + border-color: var(--itac-border) !important; +} + +thead th { + background: #e7eff1 !important; + color: var(--itac-slate) !important; +} + +tbody tr:hover { + background: rgba(0, 72, 142, 0.06) !important; +} + +.button-container { + right: max(16px, env(safe-area-inset-right)) !important; + bottom: max(16px, env(safe-area-inset-bottom)) !important; + left: max(16px, env(safe-area-inset-left)); + justify-content: flex-end; + flex-wrap: wrap; +} + +.modal { + padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); + background: rgba(36, 55, 70, 0.56) !important; +} + +.close, +#config-modal-close { + min-width: var(--ios-tap); + min-height: var(--ios-tap); + display: inline-flex; + align-items: center; + justify-content: center; + color: var(--itac-red); +} + +.handsontable, +.ht_master, +.ht_clone_top, +.ht_clone_left { + color: var(--itac-ink); +} + +.handsontable th { + background: #e7eff1 !important; + color: var(--itac-slate) !important; +} + +.handsontable td { + color: var(--itac-ink); +} + +.jstree-default .jstree-anchor { + min-height: 34px; + line-height: 34px; + color: var(--itac-ink); + border-radius: 6px; +} + +.jstree-default .jstree-clicked, +.jstree-default .jstree-hovered { + background: #fff !important; + box-shadow: inset 3px 0 0 var(--itac-red); +} + +@media (max-width: 820px) { + body { + padding-top: max(12px, env(safe-area-inset-top)) !important; + padding-bottom: max(18px, env(safe-area-inset-bottom)) !important; + } + + header { + gap: 12px; + flex-wrap: wrap; + align-items: center; + justify-content: center !important; + text-align: center; + } + + header h1 { + width: 100%; + margin: 0 !important; + font-size: 1.5rem !important; + } + + #container { + flex-direction: column; + height: auto; + } + + nav { + width: 100% !important; + max-height: 38vh; + border-right: 0; + border-bottom: 1px solid var(--itac-border); + } + + #contentFrame { + min-height: 62vh; + width: 100%; + } + + .container, + #tree-container, + .panel, + .modal-content, + #config-modal-content { + width: 100% !important; + padding: 16px !important; + } + + .app { + display: flex !important; + flex-direction: column; + height: auto !important; + min-height: 100%; + gap: 12px; + } + + .controls, + .info, + .header { + display: flex !important; + flex-direction: column; + align-items: stretch !important; + } + + .controls input, + .controls button, + .info input, + .container input, + .container button { + width: 100%; + } + + .button-container { + position: sticky !important; + margin-top: 16px; + } + + .button-container button, + .container button { + flex: 1 1 180px; + } + + .modal-content { + width: 100% !important; + max-height: calc(100vh - 32px); + overflow: auto; + -webkit-overflow-scrolling: touch; + } +} + +@media (max-width: 480px) { + body { + padding-left: max(12px, env(safe-area-inset-left)) !important; + padding-right: max(12px, env(safe-area-inset-right)) !important; + } + + h1 { + font-size: 1.35rem !important; + } + + h2 { + font-size: 1.2rem !important; + } + + .container, + #tree-container, + .panel { + box-shadow: 0 8px 22px rgba(36, 55, 70, 0.12) !important; + } +} diff --git a/backend/target/HMIKonzept.js b/backend/target/HMIKonzept.js deleted file mode 100644 index 55d9ac1..0000000 --- a/backend/target/HMIKonzept.js +++ /dev/null @@ -1,893 +0,0 @@ -importPackage(com.itac.mes.api.custom); -importPackage(java.lang); -importPackage(java.util); -importPackage(java.text); -importPackage(com.itac.mes.imsapi.domain.container); -importPackage(com.itac.persistence.producer); -importPackage(javax.inject.inject); -importPackage(javax.naming); -importPackage(java.io); -importPackage(javax.resource); -importPackage(javax.sql); -importPackage(javax.naming); - -function getFailuresForStation(stationNumber){ - var failureDataResultKeys =["FAILURE_TYPE_CODE","FAILURE_TYPE_DESC" ] - var result_mdataGetFailureDataForStation = imsApiService.mdataGetFailureDataForStation(imsApiSessionContext, - stationNumber, - 0, -failureDataResultKeys) - -var result = _createStructuredResults(result_mdataGetFailureDataForStation.failureDataResultValues, failureDataResultKeys); -var resultjson = JSON.stringify(result); -return _getErrorForText("0", "Done", [resultjson]); - -} - -function getActivities(stationNumber, workorder){ - - - var workplanFilter = new Array( - new KeyValue("FUNC_MODE", 0), - new KeyValue("WORKORDER_NUMBER", workorder), - new KeyValue("STATION_BASED_WORKSTEPS", 0) - ); - var workplanDataResultHMI = [ "AVO", "Arbeitsschritt", "Prozesschritt", "Beschreibung", "Rueckmeldepflichtig", "Artikelnummer", "Skill"]; - var workplanDataResultKeys = [ "WORKSTEP_AVO", "WORKSTEP_NUMBER", "PROCESS_LAYER", "WORKSTEP_DESC", "OBLIGATORY_CONFIRM_FLAG", "PART_NUMBER", "SKILL_LEVEL"]; - var result_mdataGetWorkplanData = imsApiService.mdataGetWorkplanData( - imsApiSessionContext, - stationNumber, // String - workplanFilter, // KeyValue[] - workplanDataResultKeys // String[] - ); -var result = _createStructuredResults(result_mdataGetWorkplanData.workplanDataResultValues, workplanDataResultHMI); -var resultWorkplan = JSON.stringify(result); -var partNumber = result[0].Artikelnummer; -var recipe = _getRecipe(stationNumber, partNumber) -var resultrecipe = JSON.stringify(recipe); - -return _getErrorForText("0", "Done", [resultWorkplan, resultrecipe]); - -} - -function _getRecipe(stationNumber, part){ -var recipeResult=[ "MEASURE_NAME", "FUNCTION", "FUNCTION_DESC", - "FUNCTION_STEP", "FUNCTION_STEP_DESC", - "LOWER_LIMIT", "UPPER_LIMIT", "NOMINAL", "UNIT" ] - -var recipeResultKeys =[ "MEASURE_NAME", "FUNCTION", "FUNCTION_DESC", - "FUNCTION_STEP", "FUNCTION_STEP_DESC", - "MIN_VALUE", "MAX_VALUE", "NOMINAL", "UNIT" ] - var resultRezept = imsApiService.mdaGetRecipeData( - imsApiSessionContext, - stationNumber, // String - "-1", - "-1", - "-1", - "-1", - "-1", - "-1", - "-1", - "1", - [new KeyValue("PART_NUMBER", part), new KeyValue("STATION_NUMBER", stationNumber)], - recipeResultKeys) - - var tempresult = _createStructuredResults(resultRezept.recipeResultValues, recipeResult) - return tempresult; -}; - - -function _errorText(retCode){ - result = imsApiService.imsapiGetErrorText(imsApiSessionContext, retCode); -return result.errorString; -} -function _getErrorForText(returnValue, errorString, outArgs) { - var returnvalue = parseInt(returnValue); - var result = new Result_customFunctionCommon(); - result.outArgs = new Array(outArgs.length); - result.return_value = returnvalue; - result.errorString = errorString; - for (var i = 0; i < outArgs.length; i++) { - result.outArgs[i] = outArgs[i]; - } - return result; -} -function _createStructuredResults(valuesArray, resultKeys) { - var structuredResults = []; - - // Fall: Objekt mit numerischen Keys, das in ein Array gewandelt werden muss - if (typeof valuesArray === "object" && !Array.isArray(valuesArray) && valuesArray !== null) { - logHandler.logMessage("valuesArray ist ein Objekt - Versuch, daraus flaches Array zu generieren mit resultKeys."); - - var tempArray = []; - for (var i = 0; valuesArray.hasOwnProperty(i); i++) { - tempArray.push("" + valuesArray[i]); // Werte als Strings sichern - } - - // JSON-Struktur aufbauen, wenn resultKeys vorhanden sind - if (Array.isArray(resultKeys) && resultKeys.length > 0) { - var entrySize = resultKeys.length; - - for (var i = 0; i < tempArray.length; i += entrySize) { - var entry = {}; - for (var j = 0; j < entrySize && (i + j) < tempArray.length; j++) { - entry[resultKeys[j]] = "" + tempArray[i + j]; - } - structuredResults.push(entry); - } - - logHandler.logMessage("JSON wurde direkt aus Object und resultKeys generiert."); - return structuredResults; - } else { - logHandler.logMessage("Keine resultKeys vorhanden - Rückgabe als flaches Array."); - return tempArray; - } - } - - // Fall: Bereits ein Array von Objekten - if (Array.isArray(valuesArray) && valuesArray.length > 0 && typeof valuesArray[0] === "object") { - return valuesArray; - } - - // Fall: Flaches echtes Array mit resultKeys - if (Array.isArray(valuesArray) && valuesArray.length > 0 && Array.isArray(resultKeys) && resultKeys.length > 0) { - var entrySize = resultKeys.length; - for (var i = 0; i < valuesArray.length; i += entrySize) { - var entry = {}; - for (var j = 0; j < entrySize && (i + j) < valuesArray.length; j++) { - entry[resultKeys[j]] = "" + valuesArray[i + j]; - } - structuredResults.push(entry); - } - return structuredResults; - } - - logHandler.logMessage("valuesArray ist leer oder unbrauchbar."); - return []; -} - -function getToDOs(stationNumber, serialNumber) { - - /////////////////////////////////////////////////////////////// - // Helper (iTAC-safe) - /////////////////////////////////////////////////////////////// - function safeResults(values, keys) { - if (!values || !values.length) return []; - return _createStructuredResults(values, keys); - } - - function safeStringify(obj) { - try { - return JSON.stringify(obj || []); - } catch (e) { - return "[]"; - } - } -try{ - /////////////////////////////////////////////////////////////// - // Result Keys - /////////////////////////////////////////////////////////////// - var bookingResultKeys = [ - "SERIAL_NUMBER","SERIAL_NUMBER_POS","STATION_DESC","STATION_DIAG_NUMBER", - "STATION_NUMBER","WORKORDER_NUMBER","WORKSTEP_DESC","WORKSTEP_NUMBER", - "BOOK_DATE","BOOK_STATE","CYCLE_TIME","PROCESS_LAYER" - ]; - - var failureDataResultKeys = [ - "BOOK_REFERENCE","COMP_NAME","FAILURE_ACTION_CODE","FAILURE_ACTION_INFO", - "FAILURE_CAUSE_CODE","FAILURE_CAUSE_DESC","FAILURE_CAUSE_INFO", - "FAILURE_IMAGE_CODE","FAILURE_IMAGE_DESC","FAILURE_MEASURE_CODE", - "FAILURE_MEASURE_INFO","FAILURE_SEQUENCE_NUMBER","FAILURE_TYPE_CODE", - "FAILURE_TYPE_DESC","FAILURE_TYPE_INFO","INFO","INFO_TXT_REPAIR", - "MAJOR_FAILURE","PART_DESC","PART_NUMBER","REPAIRED","REPAIRED_DATE", - "SERIAL_NUMBER","SERIAL_NUMBER_POS","STATION_DIAG_NUMBER", - "STATION_NUMBER","STATION_REPAIR_DESC","WORKORDER_NUMBER" - ]; - - var failureSlipDataResultKeys = [ - "BOOK_DATE","BOOK_REFERENCE","COMP_NAME","FAILURE_SLIP_REFERENCE", - "SEQUENCE_NUMBER","STATION_NUMBER","TEST_STEP_NAME", - "WORKORDER_NUMBER","WORKSTEP_NUMBER" - ]; - - var measureDataResultKeys = [ - "FUNCTION","FUNCTION_DESC","FUNCTION_STEP","LOWER_LIMIT", - "MEASURE_FAIL_CODE","MEASURE_NAME","MEASURE_TYPE","MEASURE_VALUE", - "NOMINAL","SEQUENCE_NUMBER","SERIAL_NUMBER","SERIAL_NUMBER_POS", - "STATION_DESC","STATION_NUMBER","TOLERANCE","UNIT","UPPER_LIMIT", - "WORKORDER_NUMBER","WORKSTEP_NUMBER" - ]; - - var mergedPartsKeys = [ - "SERIAL_NUMBER","SERIAL_NUMBER_POS","SERIAL_SLAVE_NUMBER", - "PART_NUMBER","PART_DESC","BOM_VERSION","BOM_VARIANT", - "STATION_NUMBER","WORKORDER_NUMBER" - ]; - - var setupResultKeys = [ - "COMP_NAME","PART_NUMBER","MATERIAL_BIN_NUMBER","BOOK_DATE", - "SETUP_POSITION", "WORKSTEP_NUMBER","STATION_NUMBER","STATION_DESC","WORKORDER_NUMBER" - ]; - - /////////////////////////////////////////////////////////////// - // Serial History - /////////////////////////////////////////////////////////////// -var result = imsApiService.trGetSerialNumberHistoryData( - imsApiSessionContext, - stationNumber, - serialNumber, - -1, // serialNumberPos - 2, // processLayer - 1, // desolvingSerialNumber - 0, // desolvingLevel - bookingResultKeys, - failureDataResultKeys, - failureSlipDataResultKeys, - measureDataResultKeys -); -var layer =_getConfig(stationNumber); - -var result_setupGetSetupDataBySerialNumber =imsApiService.setupGetSetupDataBySerialNumber( imsApiSessionContext, stationNumber, serialNumber,"-1", "-1", "-1", setupResultKeys ); - - - /////////////////////////////////////////////////////////////// - // Safe Result Parsing - /////////////////////////////////////////////////////////////// - var bookingResult = safeResults(result.bookingResultValues, bookingResultKeys); - var failureResult = safeResults(result.failureDataResultValues, failureDataResultKeys); - var failureSlip = safeResults(result.failureSlipDataResultValues, failureSlipDataResultKeys); - var measurement = safeResults(result.measureDataResultValues, measureDataResultKeys); - var setup = safeResults(result_setupGetSetupDataBySerialNumber.setupResultValues, setupResultKeys); - var attributes = _attributes(stationNumber, result.workOrderNumber); - var attributesSNR = _attributesSNR(stationNumber,serialNumber); - var snrHist = _getSerialNumberHistoryDataBySql(serialNumber); - - var workorder = result.workOrderNumber; - if (!workorder) { - return _getErrorForText(result.return_value, _errorText(result.return_value), []); - } - - /////////////////////////////////////////////////////////////// - // Workplan - /////////////////////////////////////////////////////////////// - var workplanFilter = [ - new KeyValue("FUNC_MODE", 0), - new KeyValue("WORKORDER_NUMBER", workorder), - new KeyValue("WORKSTEP_FLAG", 1) - ]; - - var workplanDataResultHMI = [ - "AVO","Arbeitsschritt","Prozesslage", "Beschreibung", - "Rueckmeldepflichtig","Artikelnummer","Skill" - ]; - - var workplanDataResultKeys = [ - "WORKSTEP_AVO","WORKSTEP_NUMBER","PROCESS_LAYER", "WORKSTEP_DESC", - "OBLIGATORY_CONFIRM_FLAG","PART_NUMBER","SKILL_LEVEL" - ]; - - var wpResult = imsApiService.mdataGetWorkplanData( - imsApiSessionContext, - stationNumber, - workplanFilter, - workplanDataResultKeys - ); - - var resultwp = safeResults(wpResult.workplanDataResultValues, workplanDataResultHMI); - - if (!resultwp.length) { - return _getErrorForText(wpResult.return_value, _errorText(wpResult.return_value), []); - } - - /////////////////////////////////////////////////////////////// - // Recipe (safe) - /////////////////////////////////////////////////////////////// - var partNumber = resultwp[0].Artikelnummer; - var recipe = []; - - try { - if (partNumber) { - recipe = _getRecipe(stationNumber, partNumber); - } - } catch (e) { - recipe = []; - logHandler.logMessage("getRecipe failed: " + e); - } - - /////////////////////////////////////////////////////////////// - // SetupCheck - /////////////////////////////////////////////////////////////// - - - //var result_setupCheck = imsApiService.setupCheck( - // imsApiSessionContext, - // stationNumber, - // "-1", - // "-1", - // workorder, - // "-1", - // 0, - // 2 - // ); -var result_setupCheck = - imsApiService.setupGetMaterialSetup( - imsApiSessionContext, - stationNumber, - "-1", - 0, - "-1", - "-1", - [ - "PART_NUMBER", - "MATERIAL_BIN_NUMBER", - "MATERIAL_BIN_QTY_ACTUAL", - "MATERIAL_BIN_STATE", - "EXPIRATION_DATE", - "SETUP_POSITION" - ], - [] - ); - -var setupOutput = []; - -if ( - result_setupCheck.setupResultValues && - result_setupCheck.setupResultValues.length > 0 -) { - - var values = result_setupCheck.setupResultValues; - var COLS = 6; // Anzahl der ResultKeys - - if (values.length % COLS !== 0) { - throw "setupGetMaterialSetup: Value count mismatch"; - } - - for (var i = 0; i < values.length; i += COLS) { - - setupOutput.push({ - partNumber: String(values[i]).trim(), - materialBinNumber: String(values[i + 1]).trim(), - materialBinQtyActual: String(values[i + 2]).trim(), - materialBinState: String(values[i + 3]).trim(), - expirationDate: String(values[i + 4]).trim(), - setupPosition: String(values[i + 5]).trim() - }); - } -} - - - var bomDataResultKeys = ["COMP_NAME", "PART_NUMBER", "PART_DESC", "PROCESS_LAYER","QUANTITY", "PRODUCT_FLAG", "SETUP_FLAG", "UNIT", "WORKSTEP_NUMBER" ,"SETUP_POSITION"]; -var result_bomData = imsApiService.mdataGetBomData( - imsApiSessionContext, - stationNumber, - [ new KeyValue("SERIAL_NUMBER", serialNumber)], - bomDataResultKeys - ); -var createBomStructResults= _createStructuredResults(result_bomData.bomDataResultValues,bomDataResultKeys ); - - - - - - -var setupOutputMerged= _mergeSetupToBom(createBomStructResults, setupOutput); - /////////////////////////////////////////////////////////////// - // Final Return (safe) - /////////////////////////////////////////////////////////////// - return _getErrorForText( - "0", - "Done", - [ - safeStringify(resultwp), - safeStringify(recipe), - safeStringify(bookingResult), - safeStringify(failureResult), - safeStringify(failureSlip), - safeStringify(measurement), - safeStringify(setup), - safeStringify(setupOutputMerged), - safeStringify(attributes), - safeStringify(attributesSNR), - JSON.stringify(snrHist), - result_setupCheck.return_value, - layer - - ] - ); -}catch (e){ - return _getErrorForText( - "-1", - "error", - [e]) -} -} - - - -function clearSetup(stationNumber){ - var result_trGSS = imsApiService.trGetStationSetting( - imsApiSessionContext, - stationNumber, - ["PART_NUMBER", "BOM_VERSION_ERP", "PROCESS_LAYER", "WORKORDER_NUMBER", "QUANTITY"] - ); - - if (result_trGSS.return_value != 0) { - Result(result_trGSS.return_value, getImsApiErrorText(result_trGSS.return_value), "") - } - var result_setupStateChange = imsApiService.setupStateChange(imsApiSessionContext, - stationNumber, - result_trGSS.stationSettingResultValues[2], - result_trGSS.stationSettingResultValues[3], - "-1", - -1, - 2); - - return _getErrorForText("0", "Done", []); - - -} - -function activateSetup(stationNumber){ - var result_trGSS = imsApiService.trGetStationSetting( - imsApiSessionContext, - stationNumber, - ["PART_NUMBER", "BOM_VERSION_ERP", "PROCESS_LAYER", "WORKORDER_NUMBER", "QUANTITY"] - ); - - if (result_trGSS.return_value != 0) { - Result(result_trGSS.return_value, getImsApiErrorText(result_trGSS.return_value), "") - } - var result_setupStateChange = imsApiService.setupStateChange(imsApiSessionContext, - stationNumber, - result_trGSS.stationSettingResultValues[2], - result_trGSS.stationSettingResultValues[3], - "-1", - -1, - 0); -if (result_setupStateChange.return_value != 0) { - return _getErrorForText(result_setupStateChange.return_value, getImsApiErrorText(result_setupStateChange.return_value), "") - } - return _getErrorForText("0", "Done", []); - - -} - -function setSetup(stationNumber,uniqueid, pos , mode){ - var setupstate = 0; - if (mode==="setup"){ -setupstate = 0 - } else { - setupstate = 1 - } - var result_setupUpdateMaterialSetup = imsApiService.setupUpdateMaterialSetup( - imsApiSessionContext, - stationNumber, - -1, - "-1", - "-1", - "SMT", - ["ERROR_CODE", "MATERIAL_BIN_NUMBER", "SETUP_POSITION", "SETUP_STATE"], - [0, uniqueid, pos, setupstate], - ["COMP_REFERENCE"], - []); - - - - if (result_setupUpdateMaterialSetup.return_value != 0) { - return _getErrorForText(result_setupUpdateMaterialSetup.return_value, getImsApiErrorText(result_setupUpdateMaterialSetup.return_value), "") - } - return _getErrorForText("0", "Done", []); - - - - -} - - -function _getConfig(stationNumber) { - var result = imsApiService.mdataGetStationConfiguration( - imsApiSessionContext, - stationNumber, - [new KeyValue("CODE_NUMBER", 8310)], - ["CODE_VALUE", "IS_USED"], - [], - [] - ); - - var values = result.stationConfigCodeResultValues; - - if (values && values.length >= 2) { - var codeValue = String(values[0]).trim(); - var isUsed = Number(values[1]); - - logHandler.logMessage( - "used : " + isUsed + " | codeValue : " + codeValue - ); - - if (isUsed === 1 && codeValue === "A") { - logHandler.logMessage("Return : A"); - return "A"; - } - } - - logHandler.logMessage("Return : L"); - return "L"; -} - - - function getImsApiErrorText(retCode) { - logHandler.logMessage( - "ClientController.getImsApiErrorText() Code: " + retCode - ); - var errorText = ""; - var result; - try { - result = imsApiService.imsapiGetErrorText(imsApiSessionContext, retCode); - } catch (th) { - logHandler.logMessage("custom function resetPipe failed: " + th); - result.outArgs = logHandler.getMessages(); - result.return_value = 0; - result.errorString = th; - return result; - } - if (result != null) { - errorText = result.errorString; - } - return errorText; - } - -function activateWorkorder(stationNumber, snr, avo, layer){ - var result_trGSNI = imsApiService.trGetSerialNumberInfo( - imsApiSessionContext, - stationNumber, - snr, - "-1", - ["WORKORDER_NUMBER"] - ); -var wo = result_trGSNI.serialNumberResultValues[0]; -var layermapping; - var config = String(_getConfig(stationNumber)).trim(); - if (config === "A") { - layermapping = String(avo).trim(); - } else { - layermapping = String(layer).trim(); - } - -var result_trGetStationSetting= imsApiService.trGetStationSetting(imsApiSessionContext, - stationNumber, - ["WORKORDER_NUMBER", "PROCESS_LAYER"]); - var wostation = String(result_trGetStationSetting.stationSettingResultValues[0]); - var layerStation = String(result_trGetStationSetting.stationSettingResultValues[0]); -if (wo !=wostation && layerStation!=layermapping){ - var result_trActivateWorkOrder = imsApiService.trActivateWorkOrder(imsApiSessionContext, - stationNumber, - wo, - "-1", - "-1", - layermapping, - 1); - return _getErrorForText(result_trActivateWorkOrder.return_value, "Done", []); - } else { - return _getErrorForText(0, "Done", []); - } -} - -function _mergeSetupToBom(bomResults, setupOutput) { -logHandler.logMessage("setupOutput.length:"+ setupOutput.length); -logHandler.logMessage("bomResults.length:"+ bomResults.length); - for (var i = 0; i < bomResults.length; i++) { - var bom = bomResults[i]; - var partNumber = String(bom.PART_NUMBER).trim(); - - var matches = []; - - for (var j = 0; j < setupOutput.length; j++) { - var s = setupOutput[j]; - var spart = String(s.partNumber); - logHandler.logMessage("Setuppart " +s.partNumber + "| BomPart :" +partNumber) - if (spart === partNumber) { - matches.push(s); - } - } - - if (matches.length > 0) { - var positions = []; - var binNumbers = []; - var binQtys = []; - var binStates = []; - var expirationDates = []; - - for (var k = 0; k < matches.length; k++) { - var m = matches[k]; - positions.push(m.setupPosition); - binNumbers.push(m.materialBinNumber); - binQtys.push(m.materialBinQtyActual); - binStates.push(m.materialBinState); - expirationDates.push(m.expirationDate); - } - - bom.SETUP_POSITIONS = positions.join(", "); - bom.MATERIAL_BIN_NUMBERS = binNumbers.join(", "); - bom.MATERIAL_BIN_QTYS = binQtys.join(", "); - bom.MATERIAL_BIN_STATES = binStates.join(", "); - bom.EXPIRATION_DATES = expirationDates.join(", "); - } else { - bom.SETUP_POSITIONS = ""; - bom.MATERIAL_BIN_NUMBERS = ""; - bom.MATERIAL_BIN_QTYS = ""; - bom.MATERIAL_BIN_STATES = ""; - bom.EXPIRATION_DATES = ""; - } - } - - return bomResults; -} - - - - - - -function _attributes(stationNumber, workorderNumber){ - -var wpIDresult = imsApiService.mdataGetWorkplanData(imsApiSessionContext, stationNumber, [new KeyValue("WORKORDER_NUMBER", workorderNumber)],["WORKPLAN_ID"]); -var wpID = wpIDresult.workplanDataResultValues[wpIDresult.workplanDataResultValues.length -1 ]; - - -var attributeResult = ["ATTRIBUTE_CODE", "ATTRIBUTE_VALUE", "WORKSTEP_AVO", "WORKSTEP_NUMBER", "ERROR_CODE"]; - - var attribGetAttributeCode_result = imsApiService.attribGetAttributeValues(imsApiSessionContext, - stationNumber, - 12, - wpID, - -1, - [], - 0, - attributeResult); - - - - -var structAtrrib = _createStructuredResults(attribGetAttributeCode_result.attributeResultValues, attributeResult); - - - - return structAtrrib; - -} - - -function _attributesSNR(stationNumber, serialNumber){ - - -var attributeResult = ["ATTRIBUTE_CODE", "ATTRIBUTE_VALUE", "ERROR_CODE"]; - - var attribGetAttributeCode_result = imsApiService.attribGetAttributeValues(imsApiSessionContext, - stationNumber, - 0, - serialNumber, - -1, - [], - 0, - attributeResult); - - - - -var structAtrrib = _createStructuredResults(attribGetAttributeCode_result.attributeResultValues, attributeResult); - - - - return structAtrrib; - -} - - - -function _getSerialNumberHistoryDataBySql(refSNR) { - var connection = null; - var pstmt = null; - var rs = null; - - var serialNumberArray = []; - - try { - if (!refSNR) { - return serialNumberArray; - } - - // DB-Verbindung - var InitialContext = javax.naming.InitialContext; - var ctx = new InitialContext(); - var access = ctx.doLookup("dsMesMiiNJTA"); - connection = access.getConnection(); - - // SQL holen - var sql = _buildSerialHistorySql(); - - pstmt = connection.prepareStatement(sql); - - // Parameter binden - var paramIndex = 1; - pstmt.setString(paramIndex++, String(refSNR)); - - rs = pstmt.executeQuery(); - - while (rs.next()) { - var snr = rs.getString("SNR"); - var lastBookStation = rs.getString("STATION_NUMBER"); - var bookState = rs.getString("BOOK_STATE"); - var positionFromDb = rs.getString("POSITION"); - var ws = rs.getString("ARBEITSSCHRITT"); - - serialNumberArray.push({ - serialNumber: String(snr), - serialNumberPos: String(positionFromDb), - bookState: String(bookState), - workstep: String(ws), - lastBookStation: String(lastBookStation) - }); - } - - return serialNumberArray; - - - - } finally { - if (rs !== null) try { rs.close(); } catch (e) {} - if (pstmt !== null) try { pstmt.close(); } catch (e) {} - if (connection !== null) try { connection.close(); } catch (e) {} - } -} - -function _buildSerialHistorySql() { - return "" - + "SELECT " - + " t.STATION_NUMBER, " - + " t.SNR, " - + " t.POSITION, " - + " t.BOOK_STATE, " - + " t.ARBEITSSCHRITT " - + "FROM ( " - + " SELECT " - + " kst.KAP_NR AS STATION_NUMBER, " - + " cs.SNR_EXT AS SNR, " - + " cs.NUTZEN_POS AS POSITION, " - + " qs.AS_NR AS ARBEITSSCHRITT, " - + " (qs.GUT_NA - 10001) AS BOOK_STATE, " - + " ROW_NUMBER() OVER ( " - + " PARTITION BY cs.SNR_EXT, qs.AS_NR " - + " ORDER BY qs.SEQ_NR DESC " - + " ) AS RN " - + " FROM glo.qs_haupt qs " - + " JOIN glo.charge_snr cs " - + " ON cs.SNR_ID = qs.SNR_ID " - + " JOIN bde.kast kst " - + " ON kst.KAP_ID = qs.KAP_ID " - + " WHERE cs.AKTIV = 'J' " - + " AND cs.REF_SNR_ID = ( " - + " SELECT REF_SNR_ID " - + " FROM glo.charge_snr " - + " WHERE SNR_EXT = ? " - + " ) " - + ") t " - + "WHERE t.RN = 1 " - + "ORDER BY t.SNR, t.ARBEITSSCHRITT"; -} - - -function searchMeasurementData(inArgs) { - - var payload = JSON.parse(inArgs); - - var partNumber = payload.partNumber || ""; - var workorderNumber = payload.workorderNumber || ""; - - var startDate = payload.startDate ? java.sql.Timestamp.valueOf(payload.startDate) : null; - var endDate = payload.endDate ? java.sql.Timestamp.valueOf(payload.endDate) : null; - - - var connection = null; - var pstmt = null; - var rs = null; - - var resultList = []; -function getStringSafe(rs, column) { - var val = rs.getObject(column); - return val != null ? String(val) : null; -} - try { - var InitialContext = javax.naming.InitialContext; - var ctx = new InitialContext(); - var access = ctx.doLookup("dsMesMiiNJTA"); - connection = access.getConnection(); - - var sql = "" - + "SELECT " - + " STATION_NUMBER, STATION_DESC, PART_NUMBER, WORKORDER_NUMBER, " - + " WORKORDER_DESC, SEQUENCE_NUMBER, BOOK_DATE, MEASURE_STEP_NUMBER, " - + " MEASURE_NAME, UNIT, MEASURE_VALUE, LOWER_LIMIT, UPPER_LIMIT, " - + " NOMINAL, TOLERANCE, MEASURE_FAIL_CODE, MEASURE_TYPE " - + "FROM IMS_VIEW.V_MEASUREMENT_DATA " - + "WHERE 1 = 1 "; - - var params = []; - - if (partNumber != null && String(partNumber).trim() !== "") { - sql += " AND PART_NUMBER = ? "; - params.push({ type: "string", value: String(partNumber).trim() }); - } - - if (workorderNumber != null && String(workorderNumber).trim() !== "") { - sql += " AND WORKORDER_NUMBER = ? "; - params.push({ type: "string", value: String(workorderNumber).trim() }); - } - - if (startDate != null && endDate != null) { - sql += " AND BOOK_DATE BETWEEN ? AND ? "; - params.push({ type: "timestamp", value: new java.sql.Timestamp(startDate.getTime()) }); - params.push({ type: "timestamp", value: new java.sql.Timestamp(endDate.getTime()) }); - } else if (startDate != null) { - sql += " AND BOOK_DATE >= ? "; - params.push({ type: "timestamp", value: new java.sql.Timestamp(startDate.getTime()) }); - } else if (endDate != null) { - sql += " AND BOOK_DATE <= ? "; - params.push({ type: "timestamp", value: new java.sql.Timestamp(endDate.getTime()) }); - } - - sql += " ORDER BY BOOK_DATE ASC"; - - pstmt = connection.prepareStatement(sql); - - for (var i = 0; i < params.length; i++) { - var paramIndex = i + 1; - if (params[i].type === "string") { - pstmt.setString(paramIndex, params[i].value); - } else if (params[i].type === "timestamp") { - pstmt.setTimestamp(paramIndex, params[i].value); - } - } - - rs = pstmt.executeQuery(); - - while (rs.next()) { - resultList.push({ - stationNumber: getStringSafe(rs, "STATION_NUMBER"), - stationDesc: getStringSafe(rs, "STATION_DESC"), - partNumber: getStringSafe(rs, "PART_NUMBER"), - workorderNumber: getStringSafe(rs, "WORKORDER_NUMBER"), - workorderDesc: getStringSafe(rs, "WORKORDER_DESC"), - sequenceNumber: getStringSafe(rs, "SEQUENCE_NUMBER"), - bookDate: getStringSafe(rs, "BOOK_DATE"), - measureStep: getStringSafe(rs, "MEASURE_STEP_NUMBER"), - measureName: getStringSafe(rs, "MEASURE_NAME"), - unit: getStringSafe(rs, "UNIT"), - measureValue: getStringSafe(rs, "MEASURE_VALUE"), - lowerLimit: getStringSafe(rs, "LOWER_LIMIT"), - upperLimit: getStringSafe(rs, "UPPER_LIMIT"), - nominal: getStringSafe(rs, "NOMINAL"), - tolerance: getStringSafe(rs, "TOLERANCE"), - failCode: getStringSafe(rs, "MEASURE_FAIL_CODE"), - measureType: getStringSafe(rs, "MEASURE_TYPE") -}); - } - - return _getErrorForText( - "0", - "Done", - [JSON.stringify(resultList)]) ; - - } catch (e) { - throw new Error("Fehler in _searchMeasurementData: " + e); - } finally { - if (rs !== null) { - try { rs.close(); } catch (e1) {} - } - if (pstmt !== null) { - try { pstmt.close(); } catch (e2) {} - } - if (connection !== null) { - try { connection.close(); } catch (e3) {} - } - } -} \ No newline at end of file diff --git a/backend/target/backend-1.war b/backend/target/backend-1.war index 803161a..e2024ee 100644 Binary files a/backend/target/backend-1.war and b/backend/target/backend-1.war differ diff --git a/backend/target/backend-1/BOMImport.html b/backend/target/backend-1/BOMImport.html index 6fbb0b1..99cf49b 100644 --- a/backend/target/backend-1/BOMImport.html +++ b/backend/target/backend-1/BOMImport.html @@ -1,208 +1,133 @@ - -BOM Import - - - - - - + + + Excel BOM Import + + + + + - - -
- -
-

Excel BOM Import

-
Export, Import und Übertragung der BOM-Daten
-
- -
- - - -
- -
-
-
- -
+
+

Excel Export & Import

+ + + +
+
- - + diff --git a/backend/target/backend-1/Config.html b/backend/target/backend-1/Config.html index f01c6a3..7cf62d8 100644 --- a/backend/target/backend-1/Config.html +++ b/backend/target/backend-1/Config.html @@ -1,152 +1,40 @@ - -Station Config - - - + - -
+

Station

- -
-
-

- Station Config - Station -

- -
-
- -
-
-
+ -
+ + +
+ + + + - - - - + + + Excel Contact Import & Export + + + + + - - -
- - -
-
-

Contacts – Excel Import / Export

-
- - -
+
+

Excel Export & Import

+ + + +
-
- - -
-
- -
-
-
- -
- diff --git a/backend/target/backend-1/ErpAdd.html b/backend/target/backend-1/ErpAdd.html index 19446a1..8c68c68 100644 --- a/backend/target/backend-1/ErpAdd.html +++ b/backend/target/backend-1/ErpAdd.html @@ -2,9 +2,12 @@ - Excel Contact Import & Export - - + + Excel Contact Import & Export + + + + -
@@ -44,11 +46,11 @@
+ document.getElementById("export-button").addEventListener("click", exportExcel); + document.getElementById("file-input").addEventListener("change", importExcelData); + document.getElementById("send-button").addEventListener("click", sendExcelData); + }); + diff --git a/backend/target/backend-1/PARTImport.html b/backend/target/backend-1/PARTImport.html index 7a174fc..3388eb7 100644 --- a/backend/target/backend-1/PARTImport.html +++ b/backend/target/backend-1/PARTImport.html @@ -1,219 +1,126 @@ - -PART – Excel Import - - - - - - + + + Excel PART Import + + + + + - - -
- - -
-
-

PART – Excel Import / Export

-
- - -
+
+

Excel Export & Import

+ + + +
-
- - -
-
- -
-
-
- -
- - + diff --git a/backend/target/backend-1/Station.html b/backend/target/backend-1/Station.html index 02e485f..914ca54 100644 --- a/backend/target/backend-1/Station.html +++ b/backend/target/backend-1/Station.html @@ -3,10 +3,13 @@ - Fertigungsbaum - - + + Fertigungsbaum + + + + @@ -134,7 +137,6 @@ overflow: hidden; /* Kein Scrollen auf dem Container selbst */ } -
@@ -236,38 +238,29 @@ }); } - function importExcelData() { + function importExcelData() { const fileInput = document.getElementById("file-input"); if (!fileInput.files.length) return; const reader = new FileReader(); - reader.onload = function (event) { + reader.onload = function(event) { const workbook = XLSX.read(event.target.result, { type: "binary" }); const sheet = workbook.Sheets[workbook.SheetNames[0]]; + const data = XLSX.utils.sheet_to_json(sheet); + rawTable = data; - // Rohdaten als Objekte - const data = XLSX.utils.sheet_to_json(sheet, { defval: "" }); - - // ✅ Leere Zeilen ignorieren - rawTable = data.filter(row => - Object.values(row).some( - val => val !== null && val !== undefined && String(val).trim() !== "" - ) - ); - - if (rawTable.length === 0) { - alert("Keine gültigen Daten gefunden."); - return; - } - - const container = document.getElementById("import-table"); - const headers = Object.keys(rawTable[0]); - const rows = rawTable.map(row => headers.map(header => row[header])); - WorkbenchExcelPreview.render("import-table", headers, rows); - }; - + const container = document.getElementById("import-table"); + new Handsontable(container, { + data, + colHeaders: Object.keys(data[0]), + rowHeaders: true, + width: '100%', + height: 300, + licenseKey: 'non-commercial-and-evaluation' + }); + }; reader.readAsBinaryString(fileInput.files[0]); - } + } function sendExcelData() { const stationNumber = sessionStorage.getItem("stationNumber") || "TEST"; diff --git a/backend/target/backend-1/Useradd.html b/backend/target/backend-1/Useradd.html index b3bd95a..88afb75 100644 --- a/backend/target/backend-1/Useradd.html +++ b/backend/target/backend-1/Useradd.html @@ -1,229 +1,146 @@ - -User – Excel Import / Export - - - - - - + + + Excel Contact Import & Export + + + + + - - -
- - -
-
-

User – Excel Import / Export

-
- - -
+
+

Excel Export & Import

+ + + +
-
- - -
-
- -
-
-
- -
- diff --git a/backend/target/backend-1/WEB-INF/classes/com/workbenchclassic/TranSql.class b/backend/target/backend-1/WEB-INF/classes/com/workbenchclassic/TranSql.class new file mode 100644 index 0000000..e377481 Binary files /dev/null and b/backend/target/backend-1/WEB-INF/classes/com/workbenchclassic/TranSql.class differ diff --git a/backend/target/backend-1/WEB-INF/classes/com/workbenchclassic/UpdateBOM$BomContext.class b/backend/target/backend-1/WEB-INF/classes/com/workbenchclassic/UpdateBOM$BomContext.class new file mode 100644 index 0000000..ac649bd Binary files /dev/null and b/backend/target/backend-1/WEB-INF/classes/com/workbenchclassic/UpdateBOM$BomContext.class differ diff --git a/backend/target/backend-1/Workorder.html b/backend/target/backend-1/Workorder.html index 85a446f..0df092e 100644 --- a/backend/target/backend-1/Workorder.html +++ b/backend/target/backend-1/Workorder.html @@ -1,7 +1,8 @@ - + + Workorder Activation diff --git a/backend/target/backend-1/assets/calc.js b/backend/target/backend-1/assets/calc.js new file mode 100644 index 0000000..08f0043 --- /dev/null +++ b/backend/target/backend-1/assets/calc.js @@ -0,0 +1,158 @@ + +/* Shopfloor-taugliche, einfache Offline-Rechner (kein Framework) */ +(function(){ + function n(v){ + const x = Number(String(v).replace(",", ".")); + return Number.isFinite(x) ? x : NaN; + } + + function clamp01(x){ return Math.max(0, Math.min(1, x)); } + + function fmtPct(x){ + if (!Number.isFinite(x)) return "—"; + return (x*100).toFixed(1).replace(".", ",") + " %"; + } + + function fmtNum(x){ + if (!Number.isFinite(x)) return "—"; + // ohne Tausendertrennzeichen, dafür robust auf HMIs + const s = (Math.round(x*1000)/1000).toString(); + return s.replace(".", ","); + } + + function setText(id, text){ + const el = document.getElementById(id); + if (el) el.textContent = text; + } + + function setBadge(id, kind, text){ + const el = document.getElementById(id); + if (!el) return; + el.classList.remove("ok","warn","bad"); + if (kind) el.classList.add(kind); + el.textContent = text; + } + + // ----- OEE ----- + function calcOEE(){ + // Inputs: geplante Zeit, Stillstand, Idealzyklus, Total Count, Good Count + const plannedMin = n(document.getElementById("oee_planned_min").value); + const stopMin = n(document.getElementById("oee_stop_min").value); + const idealCycleSec = n(document.getElementById("oee_ideal_cycle_sec").value); + const totalCount = n(document.getElementById("oee_total").value); + const goodCount = n(document.getElementById("oee_good").value); + + const runtimeMin = plannedMin - stopMin; + const runtimeSec = runtimeMin * 60; + + const availability = plannedMin > 0 ? clamp01(runtimeMin / plannedMin) : NaN; + // Performance: (Ideal Cycle Time × Total Count) / Run Time + const performance = (idealCycleSec > 0 && runtimeSec > 0 && totalCount >= 0) + ? clamp01((idealCycleSec * totalCount) / runtimeSec) + : NaN; + const quality = (totalCount > 0 && goodCount >= 0) ? clamp01(goodCount / totalCount) : NaN; + + const oee = (Number.isFinite(availability) && Number.isFinite(performance) && Number.isFinite(quality)) + ? availability * performance * quality + : NaN; + + setText("oee_runtime_min", fmtNum(runtimeMin)); + setText("oee_availability", fmtPct(availability)); + setText("oee_performance", fmtPct(performance)); + setText("oee_quality", fmtPct(quality)); + setText("oee_total_oee", fmtPct(oee)); + + // Diagnosis badges (grobe Shopfloor-Einordnung) + // >85% sehr gut, 70-85 ok, <70 kritisch (nur Richtwert) + if (!Number.isFinite(oee)){ + setBadge("oee_badge","", "Bitte Eingaben prüfen"); + return; + } + if (oee >= 0.85) setBadge("oee_badge","ok","Sehr gut (≥ 85%)"); + else if (oee >= 0.70) setBadge("oee_badge","warn","OK (70–85%)"); + else setBadge("oee_badge","bad","Kritisch (< 70%)"); + + const formula = +`Verfügbarkeit = Laufzeit / Geplante Zeit + = ${fmtNum(runtimeMin)} / ${fmtNum(plannedMin)} = ${fmtPct(availability)} + +Leistung = (Idealzyklus × Gesamt) / Laufzeit + = (${fmtNum(idealCycleSec)}s × ${fmtNum(totalCount)}) / ${fmtNum(runtimeSec)}s = ${fmtPct(performance)} + +Qualität = Gut / Gesamt + = ${fmtNum(goodCount)} / ${fmtNum(totalCount)} = ${fmtPct(quality)} + +OEE = V × L × Q + = ${fmtPct(availability)} × ${fmtPct(performance)} × ${fmtPct(quality)} = ${fmtPct(oee)}`; + setText("oee_formula", formula); + } + + function resetOEE(){ + const ids = ["oee_planned_min","oee_stop_min","oee_ideal_cycle_sec","oee_total","oee_good"]; + ids.forEach(id => { const el = document.getElementById(id); if (el) el.value = ""; }); + ["oee_runtime_min","oee_availability","oee_performance","oee_quality","oee_total_oee","oee_formula"].forEach(id => setText(id,"—")); + setBadge("oee_badge","", "Bereit"); + } + + // ----- FPY ----- + function calcFPY(){ + const total = n(document.getElementById("fpy_total").value); + const rework = n(document.getElementById("fpy_rework").value); + const scrap = n(document.getElementById("fpy_scrap").value); + + const firstPassGood = total - rework - scrap; + const fpy = (total > 0) ? clamp01(firstPassGood / total) : NaN; + + setText("fpy_firstpass", fmtNum(firstPassGood)); + setText("fpy_result", fmtPct(fpy)); + + if (!Number.isFinite(fpy)){ + setBadge("fpy_badge","", "Bitte Eingaben prüfen"); + return; + } + if (fpy >= 0.98) setBadge("fpy_badge","ok","Sehr gut (≥ 98%)"); + else if (fpy >= 0.95) setBadge("fpy_badge","warn","OK (95–98%)"); + else setBadge("fpy_badge","bad","Kritisch (< 95%)"); + + const formula = +`First Pass Good = Gesamt − Nacharbeit − Ausschuss + = ${fmtNum(total)} − ${fmtNum(rework)} − ${fmtNum(scrap)} = ${fmtNum(firstPassGood)} + +FPY = First Pass Good / Gesamt + = ${fmtNum(firstPassGood)} / ${fmtNum(total)} = ${fmtPct(fpy)}`; + setText("fpy_formula", formula); + } + + function resetFPY(){ + const ids = ["fpy_total","fpy_rework","fpy_scrap"]; + ids.forEach(id => { const el = document.getElementById(id); if (el) el.value = ""; }); + ["fpy_firstpass","fpy_result","fpy_formula"].forEach(id => setText(id,"—")); + setBadge("fpy_badge","", "Bereit"); + } + + // wiring (only if elements exist on page) + document.addEventListener("DOMContentLoaded", function(){ + // OEE buttons + const oeeCalcBtn = document.getElementById("oee_calc_btn"); + const oeeResetBtn = document.getElementById("oee_reset_btn"); + if (oeeCalcBtn) oeeCalcBtn.addEventListener("click", calcOEE); + if (oeeResetBtn) oeeResetBtn.addEventListener("click", resetOEE); + + // FPY buttons + const fpyCalcBtn = document.getElementById("fpy_calc_btn"); + const fpyResetBtn = document.getElementById("fpy_reset_btn"); + if (fpyCalcBtn) fpyCalcBtn.addEventListener("click", calcFPY); + if (fpyResetBtn) fpyResetBtn.addEventListener("click", resetFPY); + + // Optional: auto-calc on Enter + document.addEventListener("keydown", function(e){ + if (e.key !== "Enter") return; + if (document.getElementById("oee_calc_btn")) calcOEE(); + if (document.getElementById("fpy_calc_btn")) calcFPY(); + }); + + // initial state badges + if (document.getElementById("oee_badge")) setBadge("oee_badge","", "Bereit"); + if (document.getElementById("fpy_badge")) setBadge("fpy_badge","", "Bereit"); + }); +})(); diff --git a/backend/target/backend-1/assets/i18n.js b/backend/target/backend-1/assets/i18n.js new file mode 100644 index 0000000..8f48838 --- /dev/null +++ b/backend/target/backend-1/assets/i18n.js @@ -0,0 +1,99 @@ +// i18n.js - Internationalization Module +let currentLang = localStorage.getItem('language') || 'de'; +let translations = {}; + +// Load translations +async function loadTranslations() { + try { + const response = await fetch('assets/translations.json'); + translations = await response.json(); + } catch (error) { + console.error('Failed to load translations:', error); + } +} + +// Get translation by key path (e.g., "index.title") +function t(keyPath) { + const keys = keyPath.split('.'); + let value = translations[currentLang]; + + for (const key of keys) { + value = value?.[key]; + } + + return value || keyPath; +} + +// Change language +function setLanguage(lang) { + currentLang = lang; + localStorage.setItem('language', lang); + translatePage(); +} + +// Translate all elements with data-i18n attribute +function translatePage() { + document.querySelectorAll('[data-i18n]').forEach(element => { + const key = element.getAttribute('data-i18n'); + const translation = t(key); + + // Skip if translation is just the key (not found) + if (translation === key) { + console.warn(`Translation not found for key: ${key}`); + return; + } + + if (element.tagName === 'INPUT' || element.tagName === 'TEXTAREA') { + element.placeholder = translation; + } else if (element.tagName === 'SMALL') { + // For tags, use innerHTML to preserve and
tags + element.innerHTML = translation; + } else if (element.tagName === 'SPAN') { + // For tags, check if translation contains HTML + if (translation.includes('') || translation.includes('') || translation.includes('
')) { + element.innerHTML = translation; + } else { + element.textContent = translation; + } + } else if (element.tagName === 'P') { + // For paragraphs, check if they contain tags + if (translation.includes('')) { + element.innerHTML = translation; + } else { + element.textContent = translation; + } + } else { + // Default: use textContent for simple text + element.textContent = translation; + } + }); + + // Update page title + const titleElement = document.querySelector('[data-i18n-title]'); + if (titleElement) { + const titleKey = titleElement.getAttribute('data-i18n-title'); + document.title = t(titleKey); + } + + // Update active language indicator + document.querySelectorAll('.lang-switch').forEach(btn => { + btn.classList.remove('active'); + if (btn.getAttribute('data-lang') === currentLang) { + btn.classList.add('active'); + } + }); +} + +// Initialize on page load +document.addEventListener('DOMContentLoaded', async () => { + await loadTranslations(); + translatePage(); + + // Setup language switcher + document.querySelectorAll('.lang-switch').forEach(btn => { + btn.addEventListener('click', () => { + const lang = btn.getAttribute('data-lang'); + setLanguage(lang); + }); + }); +}); diff --git a/backend/target/backend-1/assets/navigation.js b/backend/target/backend-1/assets/navigation.js new file mode 100644 index 0000000..4125971 --- /dev/null +++ b/backend/target/backend-1/assets/navigation.js @@ -0,0 +1,44 @@ +const navContent = ` +
+
+ + iiot-factory.com +
+ +
+`; + +document.addEventListener("DOMContentLoaded", function() { + const navContainer = document.getElementById('global-nav'); + if(navContainer) { + navContainer.innerHTML = navContent; + + // Markiert automatisch die aktuelle Seite + const currentPage = window.location.pathname.split("/").pop() || 'index.html'; + const links = navContainer.querySelectorAll('.pill'); + links.forEach(link => { + if (link.getAttribute('href') === currentPage) { + link.style.borderColor = "var(--accent)"; + link.style.background = "rgba(79,124,255,0.1)"; + } + }); + } +}); diff --git a/backend/target/backend-1/assets/navigation.js1.js b/backend/target/backend-1/assets/navigation.js1.js new file mode 100644 index 0000000..1cfbfe4 --- /dev/null +++ b/backend/target/backend-1/assets/navigation.js1.js @@ -0,0 +1,44 @@ +const navContent = ` +
+
+ + iiot-factory.com +
+ +
+`; + +document.addEventListener("DOMContentLoaded", function() { + const navContainer = document.getElementById('global-nav'); + if(navContainer) { + navContainer.innerHTML = navContent; + + // Markiert automatisch die aktuelle Seite + const currentPage = window.location.pathname.split("/").pop() || 'index.html'; + const links = navContainer.querySelectorAll('.pill'); + links.forEach(link => { + if (link.getAttribute('href') === currentPage) { + link.style.borderColor = "var(--accent)"; + link.style.background = "rgba(79,124,255,0.1)"; + } + }); + } +}); \ No newline at end of file diff --git a/backend/target/backend-1/assets/style.css b/backend/target/backend-1/assets/style.css new file mode 100644 index 0000000..f9fda5d --- /dev/null +++ b/backend/target/backend-1/assets/style.css @@ -0,0 +1,301 @@ + +/* ===== BASE THEME (Workbench / HMI) ===== */ +:root{ + --bg:#0b1020; + --card:rgba(255,255,255,0.08); + --border:rgba(255,255,255,0.14); + --text:rgba(255,255,255,0.92); + --muted:rgba(255,255,255,0.6); + --accent:#4f7cff; + --ok:#22c55e; + --warn:#f59e0b; + --bad:#ef4444; + --shadow:0 16px 60px rgba(0,0,0,.4); + --radius:20px; +} + +*{box-sizing:border-box} +html,body{height:100%} + +body{ + margin:0; + padding:16px; + font-family:-apple-system,system-ui,Segoe UI,Roboto; + background: + radial-gradient(900px 600px at 20% 10%, rgba(79,124,255,.35), transparent 60%), + var(--bg); + color:var(--text); +} + +a{color:inherit;text-decoration:none} +p{color:var(--muted);line-height:1.6} +small{color:var(--muted)} + +/* ===== LAYOUT ===== */ +.app{ + max-width:1600px; + margin:0 auto; + min-height:100%; + display:flex; + flex-direction:column; + gap:16px; +} + +.topbar{ + display:flex; + align-items:center; + justify-content:space-between; + gap:12px; +} + +.brand{ + display:flex; + align-items:center; + gap:10px; + font-weight:700; + letter-spacing:.2px; +} +.logo{ + width:34px;height:34px;border-radius:14px; + background:linear-gradient(135deg,#4f7cff,#22c55e); + box-shadow:0 12px 35px rgba(0,0,0,.45); + border:1px solid rgba(255,255,255,.18); +} + +.nav{ + display:flex; + flex-wrap:wrap; + gap:10px; + justify-content:flex-end; +} +.pill{ + padding:8px 12px; + border-radius:999px; + border:1px solid var(--border); + background:rgba(255,255,255,.06); +} +.pill:hover{filter:brightness(1.08)} + +.panel{ + background:linear-gradient(180deg,var(--card),rgba(255,255,255,.04)); + border:1px solid var(--border); + border-radius:var(--radius); + box-shadow:var(--shadow); + overflow:hidden; +} + +.header{ + padding:14px 18px; + display:flex; + align-items:center; + justify-content:space-between; + gap:12px; + border-bottom:1px solid var(--border); +} + +.header h1{ + margin:0; + font-size:18px; +} + +.content{padding:18px} + +.grid{ + display:grid; + grid-template-columns:repeat(12,1fr); + gap:14px; +} + +.card{ + background:rgba(0,0,0,.12); + border:1px solid var(--border); + border-radius:var(--radius); + padding:16px; +} + +.col-12{grid-column:span 12} +.col-8{grid-column:span 8} +.col-6{grid-column:span 6} +.col-4{grid-column:span 4} + +@media (max-width: 920px){ + .col-8,.col-6,.col-4{grid-column:span 12} +} + +/* ===== CONTROLS ===== */ +.controls{ + display:flex; + gap:12px; + align-items:flex-end; + flex-wrap:wrap; +} + +.field{ + display:flex; + flex-direction:column; + gap:6px; + min-width:220px; + flex:1 1 240px; +} + +label{font-size:12px;color:var(--muted)} + +input, select{ + height:44px; + padding:10px 14px; + border-radius:14px; + border:1px solid var(--border); + background:rgba(255,255,255,.06); + color:var(--text); + outline:none; +} + +input::placeholder{color:rgba(255,255,255,.35)} + +.btnrow{ + display:flex; + gap:10px; + flex-wrap:wrap; +} + +button{ + height:44px; + padding:10px 18px; + border-radius:14px; + border:0; + background:var(--accent); + color:#fff; + cursor:pointer; + font-weight:650; +} + +button.secondary{ + background:rgba(255,255,255,.10); + border:1px solid var(--border); +} + +button:hover{filter:brightness(1.1)} + +.kpi{ + display:flex; + align-items:baseline; + justify-content:space-between; + gap:12px; + padding:14px 14px; + border-radius:18px; + border:1px solid var(--border); + background:rgba(255,255,255,.05); +} + +.kpi .name{color:var(--muted);font-size:12px} +.kpi .value{font-size:26px;font-weight:800;letter-spacing:-.3px} +.kpi .hint{color:var(--muted);font-size:12px} + +.badge{ + padding:6px 10px; + border-radius:999px; + border:1px solid var(--border); + background:rgba(0,0,0,.14); + font-size:12px; + color:var(--muted); + white-space:nowrap; +} + +.badge.ok{background:rgba(34,197,94,.16); color:rgba(34,197,94,.95); border-color:rgba(34,197,94,.25)} +.badge.warn{background:rgba(245,158,11,.16); color:rgba(245,158,11,.95); border-color:rgba(245,158,11,.25)} +.badge.bad{background:rgba(239,68,68,.16); color:rgba(239,68,68,.95); border-color:rgba(239,68,68,.25)} + +/* Language Switcher */ +.lang-switcher{ + display:flex; + gap:6px; + align-items:center; +} +.lang-switch{ + padding:4px 8px; + border-radius:8px; + border:1px solid var(--border); + background:rgba(255,255,255,.04); + font-size:11px; + cursor:pointer; + transition:all .2s; + color:var(--muted); +} +.lang-switch:hover{ + background:rgba(255,255,255,.08); + color:var(--text); +} +.lang-switch.active{ + background:var(--accent); + border-color:var(--accent); + color:#fff; +} + +.hr{height:1px;background:var(--border);margin:14px 0} + +.mono{ + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace; + color:rgba(255,255,255,.85); + font-size:13px; + background:rgba(0,0,0,.18); + border:1px solid var(--border); + border-radius:16px; + padding:12px 14px; + overflow:auto; +} + +.footer-note{ + color:var(--muted); + font-size:12px; +} + +/* ===== MODAL (Workbench style) ===== */ +/* ===== MODAL (Workbench / HMI style) ===== */ +.modal{ + position:fixed; + inset:0; + + /* dunkler + weniger transparent */ + background:rgba(5, 8, 18, 0.75); + + /* Hintergrund verwischen */ + backdrop-filter: blur(8px) saturate(110%); + -webkit-backdrop-filter: blur(8px) saturate(110%); + + display:flex; + align-items:center; + justify-content:center; + padding:16px; + z-index:9999; +} + +.modal.hidden{ + display:none; +} + +.modal-card{ + width:min(980px, 96vw); + max-height:86vh; + overflow:auto; + + /* bleibt klar lesbar */ + background:linear-gradient( + 180deg, + rgba(20,25,45,0.95), + rgba(12,16,32,0.92) + ); + + border:1px solid var(--border); + border-radius:var(--radius); + box-shadow: + 0 30px 90px rgba(0,0,0,.65), + 0 0 0 1px rgba(255,255,255,.04); + + /* subtiler iOS/HMI Look */ + backdrop-filter: blur(2px); +} + +/* Make card tiles clickable but keep theme */ +.card .btnrow{ + margin-top:10px; +} diff --git a/backend/target/backend-1/assets/translations.json b/backend/target/backend-1/assets/translations.json new file mode 100644 index 0000000..e13a594 --- /dev/null +++ b/backend/target/backend-1/assets/translations.json @@ -0,0 +1,1018 @@ +{ + "de": { + "siteName": "iiot-factory.com", + "nav": { + "home": "Home", + "aboutMe": "Über Mich", + "iiot": "IIoT", + "trends": "Trends", + "cra": "Cyber Resilience Act", + "guide": "Guide", + "oeeCalc": "OEE Rechner", + "fpyCalc": "FPY Rechner", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "Kontakt" + }, + "index": { + "title": "IIoT Factory – Workbench", + "pageTitle": "IIoT Factory – Workbench", + "badge": "Bereit", + "shopfloorTitle": "Shopfloor-KPIs in Echtzeit", + "shopfloorDesc": "Diese Seiten sind offline-fähig und für Touchscreens ausgelegt: große Felder, klare Formeln, schnelle Ergebnisse.", + "oeeTitle": "OEE Rechner", + "oeeDesc": "Verfügbarkeit × Leistung × Qualität – inklusive Diagnose und Formel-Output.", + "fpyTitle": "FPY Rechner", + "fpyDesc": "First Pass Yield – erkennt Nacharbeit/Ausschuss direkt im Prozess.", + "open": "Öffnen", + "quickStart": "Quick Start", + "step1": "Werte eingeben → Berechnen", + "step2": "Enter-Taste berechnet ebenfalls", + "step3": "Formeln werden live ausgegeben", + "note": "Hinweis: Schwellenwerte (OK/Kritisch) sind Richtwerte und können pro Werk angepasst werden." + }, + "oee": { + "title": "Multi-Station Linien-OEE", + "badge": "HMI V2.6", + "config": "Konfiguration", + "addStation": "+ Station", + "station": "Station", + "bottleneck": "(Bottleneck)", + "remove": "Entfernen", + "planned": "Geplant (min)", + "stop": "Stop (min)", + "cycle": "Zyklus (sek)", + "reject": "Ausschuss (Stk)", + "finalOutput": "Output am Linienende (Gutteile)", + "calculate": "LINIE BERECHNEN", + "kpiTitle": "Linien-KPI", + "availability": "Verfügbarkeit (min)", + "performance": "Leistung (min)", + "quality": "Qualität (FPY)", + "totalOEE": "Gesamt-OEE", + "calcLogic": "Berechnungslogik", + "formula": "OEE_Linie = A_bottleneck × P_bottleneck × FPY" + }, + "fpy": { + "title": "FPY Live-Rechner", + "badge": "Bereit", + "inputs": "Eingaben", + "totalParts": "Gesamtstücke", + "totalPlaceholder": "z. B. 1000", + "rework": "Nacharbeit (Stück)", + "reworkPlaceholder": "z. B. 80", + "scrap": "Ausschuss (Stück)", + "scrapPlaceholder": "z. B. 10", + "calculate": "Berechnen", + "result": "Ergebnis", + "fpy": "FPY", + "status": "Status", + "formula": "Formel", + "description": "First Pass Yield (FPY) zeigt, wie viel Prozent der Teile direkt beim ersten Durchlauf ohne Nacharbeit oder Ausschuss gut waren.", + "info": "Interpretation", + "good": "FPY > 95% ist ausgezeichnet und zeigt stabile Prozesse.", + "medium": "FPY 85-95% ist akzeptabel, aber optimierbar.", + "bad": "FPY < 85% weist auf Qualitätsprobleme hin." + }, + "iiot": { + "title": "IIoT Grundlagen", + "badge": "Bereit", + "mainTitle": "Industrial Internet of Things (IIoT)", + "mainDesc": "IIoT vernetzt Maschinen, Sensoren und IT-Systeme, um Zustände, Zähler und Qualitätsdaten in Echtzeit zu erfassen.", + "dataPoints": "Typische Datenpunkte", + "dp1": "Maschinenstatus (Run/Stop/Alarm)", + "dp2": "Zyklen / Stückzähler", + "dp3": "Prozesswerte (z. B. Temperatur, Druck, Drehmoment)", + "dp4": "Qualitätsmerkmale / Prüfresultate", + "kpiTitle": "Ergebnis-KPIs", + "kpi1": "OEE (Verfügbarkeit, Leistung, Qualität)", + "kpi2": "FPY (ohne Nacharbeit)", + "kpi3": "Stillstandsgründe", + "kpi4": "Traceability" + }, + "opcua": { + "title": "OPC UA - Industrie 4.0 Kommunikationsstandard", + "pageTitle": "OPC UA - Open Platform Communications Unified Architecture", + "badge": "Bereit", + "mainTitle": "OPC UA – Standardisierte, semantische Maschinenkommunikation", + "intro": "OPC UA (Open Platform Communications Unified Architecture) ist ein herstellerunabhängiger Industriestandard für den strukturierten, sicheren und semantisch eindeutigen Datenaustausch. Er bildet die Grundlage für moderne, vernetzte Produktionsarchitekturen und Industrie 4.0.", + "whatMakesSpecial": "Was OPC UA besonders macht", + "contextExplanation": "Im Gegensatz zu einfachen Protokollen überträgt OPC UA nicht nur einzelne Werte, sondern Informationen mit Kontext und Bedeutung. Dies ermöglicht eine selbstbeschreibende Kommunikation zwischen Systemen.", + "feature1": "Messwert inklusive Einheit, Genauigkeit und Gültigkeitsbereich", + "feature2": "Grenz- und Sollwerte mit automatischen Alarmen", + "feature3": "Zeitstempel und Qualitätsstatus für jede Messung", + "feature4": "Funktionen, Methoden und Zustände einer Maschine", + "feature5": "Historische Daten und Trends", + "feature6": "Ereignisse und Alarme mit Prioritäten", + "interpretable": "Dadurch sind Daten sofort interpretierbar – ohne zusätzliche Dokumentation oder projektspezifische Annahmen. Das Informationsmodell beschreibt sich selbst.", + "corePillars": "Die zentralen Säulen von OPC UA", + "pillar1Title": "Plattformunabhängigkeit:", + "pillar1Desc": "Einsatz auf SPS, Industrie-PCs, Edge-Geräten, Servern und Cloud-Systemen. Verfügbar für Windows, Linux, RTOS und weitere Plattformen.", + "pillar2Title": "Integrierte Sicherheit:", + "pillar2Desc": "Authentifizierung über Zertifikate, Signierung und Verschlüsselung sind fester Bestandteil der Spezifikation. Unterstützt Transport Layer Security (TLS).", + "pillar3Title": "Flexible Kommunikationsmodelle:", + "pillar3Desc": "Klassisches Client/Server-Modell sowie Publish/Subscribe für Echtzeitkommunikation. Unterstützt verschiedene Transport-Protokolle (TCP, HTTPS, MQTT, AMQP).", + "pillar4Title": "Skalierbarkeit:", + "pillar4Desc": "Von einfachen Sensoren bis zu komplexen Produktionslinien. Optimiert für verschiedene Bandbreiten und Latenzanforderungen.", + "architectureTitle": "Architekturprinzip", + "architectureIntro": "OPC UA trennt bewusst den Transport der Daten von deren Bedeutung. Dies ermöglicht maximale Flexibilität bei der Implementierung:", + "arch1Title": "Transport-Schicht:", + "arch1Desc": "TCP/IP für Echtzeitkommunikation, HTTPS für Firewall-freundliche Verbindungen, Pub/Sub für ereignisgesteuerte Architekturen (MQTT, AMQP, UDP Multicast)", + "arch2Title": "Informationsmodell:", + "arch2Desc": "Objektorientierte Struktur mit klarer Semantik. Standardisierte Companion Specifications für verschiedene Branchen (EUROMAP, PackML, Robotik, CNC, etc.)", + "arch3Title": "Services:", + "arch3Desc": "Lesen, Schreiben, Abonnieren (Subscriptions mit Monitoring), Methodenaufrufe, History Access, Alarms & Conditions, Query Services", + "arch4Title": "Datenkodierung:", + "arch4Desc": "Binär (UA Binary) für Effizienz oder JSON/XML für einfache Integration", + "informationModelTitle": "Informationsmodell - Der Kern von OPC UA", + "informationModelDesc": "Das Informationsmodell ist eine objektorientierte Beschreibung der Maschinen- und Prozessdaten. Es definiert nicht nur die Werte selbst, sondern auch ihre Beziehungen, Hierarchien und Bedeutungen.", + "im1": "Nodes:", + "im1Desc": "Grundelemente (Objekte, Variablen, Methoden, Events)", + "im2": "References:", + "im2Desc": "Verbindungen zwischen Nodes (z.B. HasComponent, Organizes)", + "im3": "NodeClasses:", + "im3Desc": "ObjectType, VariableType, DataType, ReferenceType, Method, View", + "im4": "Namespaces:", + "im4Desc": "Trennung zwischen Standard-Modellen und herstellerspezifischen Erweiterungen", + "securityTitle": "Sicherheitskonzept", + "securityIntro": "OPC UA implementiert Security auf mehreren Ebenen nach dem Defense-in-Depth Prinzip:", + "sec1": "Transport Security:", + "sec1Desc": "TLS-Verschlüsselung auf Netzwerkebene", + "sec2": "Message Security:", + "sec2Desc": "Signierung und Verschlüsselung jeder einzelnen Nachricht", + "sec3": "Application Authentication:", + "sec3Desc": "X.509-Zertifikate für Server und Clients", + "sec4": "User Authentication:", + "sec4Desc": "Username/Password, X.509 User Certificates, oder externe Systeme (LDAP, Kerberos)", + "sec5": "Authorization:", + "sec5Desc": "Rollenbasierte Zugriffsrechte auf Node-Ebene", + "sec6": "Audit Trail:", + "sec6Desc": "Protokollierung sicherheitsrelevanter Ereignisse", + "useCasesTitle": "Typische Anwendungsfälle", + "use1": "Vertikale Integration:", + "use1Desc": "Verbindung von Shopfloor (SPS, Sensoren) mit IT-Systemen (MES, ERP, Cloud)", + "use2": "Horizontale Integration:", + "use2Desc": "Kommunikation zwischen Maschinen verschiedener Hersteller", + "use3": "Edge Computing:", + "use3Desc": "Datenvorverarbeitung und -aggregation am Rand des Netzwerks", + "use4": "Predictive Maintenance:", + "use4Desc": "Zustandsüberwachung und vorausschauende Wartung", + "use5": "Digital Twin:", + "use5Desc": "Digitale Abbilder physischer Assets mit Echtzeitdaten", + "use6": "Condition Monitoring:", + "use6Desc": "Überwachung von Alarms & Conditions mit Historie", + "whyCompaniesTitle": "Warum Unternehmen auf OPC UA setzen", + "whyCompaniesDesc1": "In heterogenen Produktionsumgebungen mit Maschinen unterschiedlicher Hersteller fungiert OPC UA als universeller Übersetzer. Systeme können sich selbst beschreiben und ihre Fähigkeiten standardisiert mitteilen.", + "whyCompaniesDesc2": "Damit ist OPC UA der Schlüssel für die vertikale Integration – von der Sensor- und Maschinenebene bis hin zu MES-, Cloud- und ERP-Systemen. Die Investition in OPC UA schützt vor Vendor Lock-in und ermöglicht langfristige Flexibilität.", + "implementationTitle": "Implementierung & Tools", + "implementationDesc": "Für die Implementierung von OPC UA stehen zahlreiche kommerzielle und Open-Source-Lösungen zur Verfügung:", + "impl1": "OPC Foundation SDKs:", + "impl1Desc": "Referenzimplementierungen in C, C++, .NET, Java", + "impl2": "Open-Source Stacks:", + "impl2Desc": "open62541 (C), node-opcua (JavaScript), Python-opcua", + "impl3": "Testing Tools:", + "impl3Desc": "UaExpert (Client), Prosys OPC UA Simulator, Compliance Test Tool (CTT)", + "impl4": "Gateways & Bridges:", + "impl4Desc": "Verbindung zu Modbus, PROFINET, EtherNet/IP, etc.", + "futureTitle": "Zukunft & Entwicklungen", + "future1": "OPC UA FX (Field eXchange):", + "future1Desc": "Erweiterung für Feldbus-Ebene und deterministisches Ethernet", + "future2": "OPC UA over TSN:", + "future2Desc": "Time-Sensitive Networking für Echtzeitanwendungen (<1ms)", + "future3": "Cloud Integration:", + "future3Desc": "Native Integration mit Azure IoT, AWS IoT, Google Cloud IoT", + "future4": "Companion Specifications:", + "future4Desc": "Branchenspezifische Standards (Robotik, Kunststoffmaschinen, Verpackung, etc.)", + "comparisonTitle": "Vergleich OPC UA vs. MQTT", + "tableFeature": "Merkmal", + "tableFocus": "Fokus", + "tableFocusOPC": "Semantik & Integration", + "tableFocusMQTT": "Leichtgewichtig & IoT", + "tableDataModel": "Datenmodell", + "tableDataModelOPC": "Objektorientiert", + "tableDataModelMQTT": "Topic-basiert", + "tableSecurity": "Sicherheit", + "tableSecurityOPC": "Integriert (Zertifikate)", + "tableSecurityMQTT": "Optional (TLS)", + "tableUseCase": "Einsatz", + "tableUseCaseOPC": "Maschine ↔ MES/IT", + "tableUseCaseMQTT": "Sensor → Cloud", + "tableComplexity": "Komplexität", + "tableComplexityOPC": "Hoch (umfassend)", + "tableComplexityMQTT": "Niedrig (einfach)", + "tableOverhead": "Overhead", + "tableOverheadOPC": "Mittel-Hoch", + "tableOverheadMQTT": "Sehr niedrig", + "keyFactsTitle": "Key Facts", + "fact1": "Standard: IEC 62541", + "fact2": "Organisation: OPC Foundation (1996)", + "fact3": "Mitglieder: 900+ Unternehmen", + "fact4": "Zertifiziert: 4000+ Produkte", + "fact5": "Lizenz: Royalty-free", + "fact6": "Ports: 4840 (unsicher), 4843 (HTTPS)", + "recommendationTitle": "Business-Empfehlung", + "recommendationText": "OPC UA ist die ideale Basis für standardisierte, langfristig wartbare Industriearchitekturen. Die initiale Komplexität wird durch Herstellerunabhängigkeit, Zukunftssicherheit und Interoperabilität kompensiert.

In Kombination mit MQTT lassen sich semantische Maschinendaten effizient in Cloud- und Analytics-Plattformen integrieren – OPC UA für die Semantik, MQTT für den effizienten Transport.", + "linksTitle": "Weiterführende Links", + "linkMQTT": "MQTT Vergleich" + }, + "contact": { + "title": "Kontakt", + "badge": "Nachricht senden", + "intro": "Haben Sie Fragen zu IIoT, MES oder Prozessoptimierung? Ich freue mich auf Ihre Nachricht!", + "name": "Name", + "namePlaceholder": "Ihr Name", + "email": "E-Mail", + "emailPlaceholder": "ihre@email.de", + "subject": "Betreff", + "subjectPlaceholder": "Worum geht es?", + "message": "Nachricht", + "messagePlaceholder": "Ihre Nachricht an mich...", + "send": "Nachricht senden", + "sending": "Wird gesendet...", + "success": "Nachricht erfolgreich gesendet!", + "error": "Fehler beim Senden. Bitte versuchen Sie es erneut.", + "required": "Bitte füllen Sie alle Pflichtfelder aus." + }, + "common": { + "ready": "Bereit", + "ok": "OK", + "warning": "Warnung", + "critical": "Kritisch" + }, + "mqtt": { + "title": "MQTT", + "pageTitle": "MQTT - Message Queuing Telemetry Transport", + "badge": "Bereit", + "mainTitle": "MQTT - Effiziente Datenkommunikation für IoT", + "comparisonTitle": "Vergleich MQTT vs. OPC UA", + "tableFeature": "Merkmal", + "tableFocus": "Fokus", + "keyFactsTitle": "Key Facts", + "recommendationTitle": "Empfehlung", + "linksTitle": "Weiterführende Links", + "linkOPCUA": "OPC UA Vergleich" + } + }, + "en": { + "siteName": "iiot-factory.com", + "nav": { + "home": "Home", + "aboutMe": "About Me", + "iiot": "IIoT", + "trends": "Trends", + "cra": "Cyber Resilience Act", + "guide": "Guide", + "oeeCalc": "OEE Calculator", + "fpyCalc": "FPY Calculator", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "Contact" + }, + "index": { + "title": "IIoT Factory – Workbench", + "pageTitle": "IIoT Factory – Workbench", + "badge": "Ready", + "shopfloorTitle": "Real-time Shopfloor KPIs", + "shopfloorDesc": "These pages are offline-capable and designed for touchscreens: large fields, clear formulas, fast results.", + "oeeTitle": "OEE Calculator", + "oeeDesc": "Availability × Performance × Quality – including diagnostics and formula output.", + "fpyTitle": "FPY Calculator", + "fpyDesc": "First Pass Yield – detects rework/scrap directly in the process.", + "open": "Open", + "quickStart": "Quick Start", + "step1": "Enter values → Calculate", + "step2": "Enter key also calculates", + "step3": "Formulas are output live", + "note": "Note: Threshold values (OK/Critical) are guidelines and can be adjusted per plant." + }, + "oee": { + "title": "Multi-Station Line OEE", + "badge": "HMI V2.6", + "config": "Configuration", + "addStation": "+ Station", + "station": "Station", + "bottleneck": "(Bottleneck)", + "remove": "Remove", + "planned": "Planned (min)", + "stop": "Stop (min)", + "cycle": "Cycle (sec)", + "reject": "Reject (pcs)", + "finalOutput": "Line End Output (Good Parts)", + "calculate": "CALCULATE LINE", + "kpiTitle": "Line KPI", + "availability": "Availability (min)", + "performance": "Performance (min)", + "quality": "Quality (FPY)", + "totalOEE": "Total OEE", + "calcLogic": "Calculation Logic", + "formula": "OEE_Line = A_bottleneck × P_bottleneck × FPY" + }, + "fpy": { + "title": "FPY Live Calculator", + "badge": "Ready", + "inputs": "Inputs", + "totalParts": "Total Parts", + "totalPlaceholder": "e.g. 1000", + "rework": "Rework (pcs)", + "reworkPlaceholder": "e.g. 80", + "scrap": "Scrap (pcs)", + "scrapPlaceholder": "e.g. 10", + "calculate": "Calculate", + "result": "Result", + "fpy": "FPY", + "status": "Status", + "formula": "Formula", + "description": "First Pass Yield (FPY) shows what percentage of parts passed the first time without rework or scrap.", + "info": "Interpretation", + "good": "FPY > 95% is excellent and shows stable processes.", + "medium": "FPY 85-95% is acceptable but can be optimized.", + "bad": "FPY < 85% indicates quality issues." + }, + "iiot": { + "title": "IIoT Basics", + "badge": "Ready", + "mainTitle": "Industrial Internet of Things (IIoT)", + "mainDesc": "IIoT connects machines, sensors, and IT systems to capture states, counters, and quality data in real-time.", + "dataPoints": "Typical Data Points", + "dp1": "Machine status (Run/Stop/Alarm)", + "dp2": "Cycles / Part counters", + "dp3": "Process values (e.g. Temperature, Pressure, Torque)", + "dp4": "Quality characteristics / Test results", + "kpiTitle": "Result KPIs", + "kpi1": "OEE (Availability, Performance, Quality)", + "kpi2": "FPY (without rework)", + "kpi3": "Downtime reasons", + "kpi4": "Traceability" + }, + "opcua": { + "title": "OPC UA - Industry 4.0 Communication Standard", + "pageTitle": "OPC UA - Open Platform Communications Unified Architecture", + "badge": "Ready", + "mainTitle": "OPC UA – Standardized, Semantic Machine Communication", + "intro": "OPC UA (Open Platform Communications Unified Architecture) is a vendor-independent industrial standard for structured, secure, and semantically unambiguous data exchange. It forms the foundation for modern, networked production architectures and Industry 4.0.", + "whatMakesSpecial": "What Makes OPC UA Special", + "contextExplanation": "Unlike simple protocols, OPC UA transmits not just individual values, but information with context and meaning. This enables self-describing communication between systems.", + "feature1": "Measured value including unit, accuracy, and validity range", + "feature2": "Limit and target values with automatic alarms", + "feature3": "Timestamp and quality status for each measurement", + "feature4": "Functions, methods, and states of a machine", + "feature5": "Historical data and trends", + "feature6": "Events and alarms with priorities", + "interpretable": "This makes data immediately interpretable – without additional documentation or project-specific assumptions. The information model is self-describing.", + "corePillars": "Core Pillars of OPC UA", + "pillar1Title": "Platform Independence:", + "pillar1Desc": "Deployment on PLCs, industrial PCs, edge devices, servers, and cloud systems. Available for Windows, Linux, RTOS, and other platforms.", + "pillar2Title": "Integrated Security:", + "pillar2Desc": "Authentication via certificates, signing, and encryption are integral parts of the specification. Supports Transport Layer Security (TLS).", + "pillar3Title": "Flexible Communication Models:", + "pillar3Desc": "Classic client/server model as well as publish/subscribe for real-time communication. Supports various transport protocols (TCP, HTTPS, MQTT, AMQP).", + "pillar4Title": "Scalability:", + "pillar4Desc": "From simple sensors to complex production lines. Optimized for various bandwidth and latency requirements.", + "architectureTitle": "Architecture Principle", + "architectureIntro": "OPC UA deliberately separates data transport from its meaning. This enables maximum flexibility in implementation:", + "arch1Title": "Transport Layer:", + "arch1Desc": "TCP/IP for real-time communication, HTTPS for firewall-friendly connections, Pub/Sub for event-driven architectures (MQTT, AMQP, UDP Multicast)", + "arch2Title": "Information Model:", + "arch2Desc": "Object-oriented structure with clear semantics. Standardized Companion Specifications for various industries (EUROMAP, PackML, Robotics, CNC, etc.)", + "arch3Title": "Services:", + "arch3Desc": "Read, Write, Subscribe (Subscriptions with Monitoring), Method Calls, History Access, Alarms & Conditions, Query Services", + "arch4Title": "Data Encoding:", + "arch4Desc": "Binary (UA Binary) for efficiency or JSON/XML for easy integration", + "informationModelTitle": "Information Model - The Core of OPC UA", + "informationModelDesc": "The information model is an object-oriented description of machine and process data. It defines not only the values themselves but also their relationships, hierarchies, and meanings.", + "im1": "Nodes:", + "im1Desc": "Basic elements (Objects, Variables, Methods, Events)", + "im2": "References:", + "im2Desc": "Connections between nodes (e.g., HasComponent, Organizes)", + "im3": "NodeClasses:", + "im3Desc": "ObjectType, VariableType, DataType, ReferenceType, Method, View", + "im4": "Namespaces:", + "im4Desc": "Separation between standard models and vendor-specific extensions", + "securityTitle": "Security Concept", + "securityIntro": "OPC UA implements security at multiple levels following the Defense-in-Depth principle:", + "sec1": "Transport Security:", + "sec1Desc": "TLS encryption at network level", + "sec2": "Message Security:", + "sec2Desc": "Signing and encryption of each individual message", + "sec3": "Application Authentication:", + "sec3Desc": "X.509 certificates for servers and clients", + "sec4": "User Authentication:", + "sec4Desc": "Username/Password, X.509 User Certificates, or external systems (LDAP, Kerberos)", + "sec5": "Authorization:", + "sec5Desc": "Role-based access rights at node level", + "sec6": "Audit Trail:", + "sec6Desc": "Logging of security-relevant events", + "useCasesTitle": "Typical Use Cases", + "use1": "Vertical Integration:", + "use1Desc": "Connection of shop floor (PLCs, sensors) with IT systems (MES, ERP, Cloud)", + "use2": "Horizontal Integration:", + "use2Desc": "Communication between machines from different manufacturers", + "use3": "Edge Computing:", + "use3Desc": "Data preprocessing and aggregation at the edge of the network", + "use4": "Predictive Maintenance:", + "use4Desc": "Condition monitoring and predictive maintenance", + "use5": "Digital Twin:", + "use5Desc": "Digital representations of physical assets with real-time data", + "use6": "Condition Monitoring:", + "use6Desc": "Monitoring of Alarms & Conditions with history", + "whyCompaniesTitle": "Why Companies Choose OPC UA", + "whyCompaniesDesc1": "In heterogeneous production environments with machines from different manufacturers, OPC UA acts as a universal translator. Systems can describe themselves and communicate their capabilities in a standardized way.", + "whyCompaniesDesc2": "This makes OPC UA the key to vertical integration – from the sensor and machine level to MES, cloud, and ERP systems. Investment in OPC UA protects against vendor lock-in and enables long-term flexibility.", + "implementationTitle": "Implementation & Tools", + "implementationDesc": "Numerous commercial and open-source solutions are available for implementing OPC UA:", + "impl1": "OPC Foundation SDKs:", + "impl1Desc": "Reference implementations in C, C++, .NET, Java", + "impl2": "Open-Source Stacks:", + "impl2Desc": "open62541 (C), node-opcua (JavaScript), Python-opcua", + "impl3": "Testing Tools:", + "impl3Desc": "UaExpert (Client), Prosys OPC UA Simulator, Compliance Test Tool (CTT)", + "impl4": "Gateways & Bridges:", + "impl4Desc": "Connection to Modbus, PROFINET, EtherNet/IP, etc.", + "futureTitle": "Future & Developments", + "future1": "OPC UA FX (Field eXchange):", + "future1Desc": "Extension for fieldbus level and deterministic Ethernet", + "future2": "OPC UA over TSN:", + "future2Desc": "Time-Sensitive Networking for real-time applications (<1ms)", + "future3": "Cloud Integration:", + "future3Desc": "Native integration with Azure IoT, AWS IoT, Google Cloud IoT", + "future4": "Companion Specifications:", + "future4Desc": "Industry-specific standards (Robotics, Plastics Machinery, Packaging, etc.)", + "comparisonTitle": "Comparison OPC UA vs. MQTT", + "tableFeature": "Feature", + "tableFocus": "Focus", + "tableFocusOPC": "Semantics & Integration", + "tableFocusMQTT": "Lightweight & IoT", + "tableDataModel": "Data Model", + "tableDataModelOPC": "Object-oriented", + "tableDataModelMQTT": "Topic-based", + "tableSecurity": "Security", + "tableSecurityOPC": "Integrated (Certificates)", + "tableSecurityMQTT": "Optional (TLS)", + "tableUseCase": "Use Case", + "tableUseCaseOPC": "Machine ↔ MES/IT", + "tableUseCaseMQTT": "Sensor → Cloud", + "tableComplexity": "Complexity", + "tableComplexityOPC": "High (comprehensive)", + "tableComplexityMQTT": "Low (simple)", + "tableOverhead": "Overhead", + "tableOverheadOPC": "Medium-High", + "tableOverheadMQTT": "Very low", + "keyFactsTitle": "Key Facts", + "fact1": "Standard: IEC 62541", + "fact2": "Organization: OPC Foundation (1996)", + "fact3": "Members: 900+ companies", + "fact4": "Certified: 4000+ products", + "fact5": "License: Royalty-free", + "fact6": "Ports: 4840 (unsecured), 4843 (HTTPS)", + "recommendationTitle": "Business Recommendation", + "recommendationText": "OPC UA is the ideal foundation for standardized, long-term maintainable industrial architectures. The initial complexity is compensated by vendor independence, future-proofing, and interoperability.

Combined with MQTT, semantic machine data can be efficiently integrated into cloud and analytics platforms – OPC UA for semantics, MQTT for efficient transport.", + "linksTitle": "Further Links", + "linkMQTT": "MQTT Comparison" + }, + "contact": { + "title": "Contact", + "badge": "Send Message", + "intro": "Have questions about IIoT, MES or process optimization? I look forward to your message!", + "name": "Name", + "namePlaceholder": "Your Name", + "email": "Email", + "emailPlaceholder": "your@email.com", + "subject": "Subject", + "subjectPlaceholder": "What is it about?", + "message": "Message", + "messagePlaceholder": "Your message to me...", + "send": "Send Message", + "sending": "Sending...", + "success": "Message sent successfully!", + "error": "Error sending. Please try again.", + "required": "Please fill in all required fields." + }, + "common": { + "ready": "Ready", + "ok": "OK", + "warning": "Warning", + "critical": "Critical" + }, + "mqtt": { + "title": "MQTT", + "pageTitle": "MQTT - Message Queuing Telemetry Transport", + "badge": "Ready", + "mainTitle": "MQTT - Efficient Data Communication for IoT", + "comparisonTitle": "Comparison MQTT vs. OPC UA", + "tableFeature": "Feature", + "tableFocus": "Focus", + "keyFactsTitle": "Key Facts", + "recommendationTitle": "Recommendation", + "linksTitle": "Further Links", + "linkOPCUA": "OPC UA Comparison" + } + }, + "fr": { + "siteName": "iiot-factory.com", + "nav": { + "home": "Accueil", + "aboutMe": "À Propos", + "iiot": "IIoT", + "trends": "Tendances", + "cra": "Cyber Resilience Act", + "guide": "Guide", + "oeeCalc": "Calculateur TRS", + "fpyCalc": "Calculateur FPY", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "Contact" + }, + "index": { + "title": "IIoT Factory – Atelier", + "pageTitle": "IIoT Factory – Atelier", + "badge": "Prêt", + "shopfloorTitle": "KPI d'atelier en temps réel", + "shopfloorDesc": "Ces pages fonctionnent hors ligne et sont conçues pour les écrans tactiles : grands champs, formules claires, résultats rapides.", + "oeeTitle": "Calculateur TRS", + "oeeDesc": "Disponibilité × Performance × Qualité – y compris diagnostic et sortie de formule.", + "fpyTitle": "Calculateur FPY", + "fpyDesc": "First Pass Yield – détecte les retouches/rebuts directement dans le processus.", + "open": "Ouvrir", + "quickStart": "Démarrage Rapide", + "step1": "Entrer les valeurs → Calculer", + "step2": "La touche Entrée calcule également", + "step3": "Les formules sont affichées en direct", + "note": "Remarque : Les valeurs seuils (OK/Critique) sont des directives et peuvent être ajustées par usine." + }, + "oee": { + "title": "TRS de Ligne Multi-Stations", + "badge": "HMI V2.6", + "config": "Configuration", + "addStation": "+ Station", + "station": "Station", + "bottleneck": "(Goulot)", + "remove": "Supprimer", + "planned": "Planifié (min)", + "stop": "Arrêt (min)", + "cycle": "Cycle (sec)", + "reject": "Rebut (pcs)", + "finalOutput": "Production Finale (Bonnes Pièces)", + "calculate": "CALCULER LA LIGNE", + "kpiTitle": "KPI de Ligne", + "availability": "Disponibilité (min)", + "performance": "Performance (min)", + "quality": "Qualité (FPY)", + "totalOEE": "TRS Total", + "calcLogic": "Logique de Calcul", + "formula": "TRS_Ligne = A_goulot × P_goulot × FPY" + }, + "fpy": { + "title": "Calculateur FPY en Direct", + "badge": "Prêt", + "inputs": "Entrées", + "totalParts": "Pièces Totales", + "totalPlaceholder": "p. ex. 1000", + "rework": "Retouche (pcs)", + "reworkPlaceholder": "p. ex. 80", + "scrap": "Rebut (pcs)", + "scrapPlaceholder": "p. ex. 10", + "calculate": "Calculer", + "result": "Résultat", + "fpy": "FPY", + "status": "Statut", + "formula": "Formule", + "description": "First Pass Yield (FPY) montre quel pourcentage de pièces a réussi du premier coup sans retouche ni rebut.", + "info": "Interprétation", + "good": "FPY > 95% est excellent et montre des processus stables.", + "medium": "FPY 85-95% est acceptable mais optimisable.", + "bad": "FPY < 85% indique des problèmes de qualité." + }, + "iiot": { + "title": "Bases IIoT", + "badge": "Prêt", + "mainTitle": "Internet Industriel des Objets (IIoT)", + "mainDesc": "L'IIoT connecte machines, capteurs et systèmes informatiques pour capturer états, compteurs et données de qualité en temps réel.", + "dataPoints": "Points de Données Typiques", + "dp1": "État de la machine (Marche/Arrêt/Alarme)", + "dp2": "Cycles / Compteurs de pièces", + "dp3": "Valeurs de processus (ex. Température, Pression, Couple)", + "dp4": "Caractéristiques de qualité / Résultats de test", + "kpiTitle": "KPI de Résultat", + "kpi1": "TRS (Disponibilité, Performance, Qualité)", + "kpi2": "FPY (sans retouche)", + "kpi3": "Causes d'arrêt", + "kpi4": "Traçabilité" + }, + "opcua": { + "title": "OPC UA - Standard de Communication Industrie 4.0", + "pageTitle": "OPC UA - Open Platform Communications Unified Architecture", + "badge": "Prêt", + "mainTitle": "OPC UA – Communication Machine Standardisée et Sémantique", + "intro": "OPC UA (Open Platform Communications Unified Architecture) est un standard industriel indépendant des fournisseurs pour l'échange de données structuré, sécurisé et sémantiquement sans ambiguïté. Il constitue la base des architectures de production modernes et connectées et de l'Industrie 4.0.", + "whatMakesSpecial": "Ce qui Rend OPC UA Spécial", + "contextExplanation": "Contrairement aux protocoles simples, OPC UA ne transmet pas seulement des valeurs individuelles, mais des informations avec contexte et signification. Cela permet une communication auto-descriptive entre systèmes.", + "feature1": "Valeur mesurée incluant l'unité, la précision et la plage de validité", + "feature2": "Valeurs limites et cibles avec alarmes automatiques", + "feature3": "Horodatage et statut de qualité pour chaque mesure", + "feature4": "Fonctions, méthodes et états d'une machine", + "feature5": "Données historiques et tendances", + "feature6": "Événements et alarmes avec priorités", + "interpretable": "Cela rend les données immédiatement interprétables – sans documentation supplémentaire ni hypothèses spécifiques au projet. Le modèle d'information est auto-descriptif.", + "corePillars": "Piliers Fondamentaux d'OPC UA", + "pillar1Title": "Indépendance de Plateforme:", + "pillar1Desc": "Déploiement sur automates, PC industriels, dispositifs edge, serveurs et systèmes cloud. Disponible pour Windows, Linux, RTOS et autres plateformes.", + "pillar2Title": "Sécurité Intégrée:", + "pillar2Desc": "L'authentification via certificats, la signature et le chiffrement font partie intégrante de la spécification. Prend en charge Transport Layer Security (TLS).", + "pillar3Title": "Modèles de Communication Flexibles:", + "pillar3Desc": "Modèle client/serveur classique ainsi que publish/subscribe pour la communication temps réel. Prend en charge divers protocoles de transport (TCP, HTTPS, MQTT, AMQP).", + "pillar4Title": "Évolutivité:", + "pillar4Desc": "Des capteurs simples aux lignes de production complexes. Optimisé pour diverses exigences de bande passante et de latence.", + "architectureTitle": "Principe d'Architecture", + "architectureIntro": "OPC UA sépare délibérément le transport des données de leur signification. Cela permet une flexibilité maximale dans l'implémentation:", + "arch1Title": "Couche Transport:", + "arch1Desc": "TCP/IP pour communication temps réel, HTTPS pour connexions compatibles pare-feu, Pub/Sub pour architectures événementielles (MQTT, AMQP, UDP Multicast)", + "arch2Title": "Modèle d'Information:", + "arch2Desc": "Structure orientée objet avec sémantique claire. Companion Specifications standardisées pour diverses industries (EUROMAP, PackML, Robotique, CNC, etc.)", + "arch3Title": "Services:", + "arch3Desc": "Lecture, Écriture, Abonnement (Subscriptions avec surveillance), Appels de méthodes, Accès historique, Alarmes & Conditions, Services de requête", + "arch4Title": "Encodage de Données:", + "arch4Desc": "Binaire (UA Binary) pour l'efficacité ou JSON/XML pour une intégration facile", + "informationModelTitle": "Modèle d'Information - Le Cœur d'OPC UA", + "informationModelDesc": "Le modèle d'information est une description orientée objet des données machine et processus. Il définit non seulement les valeurs elles-mêmes mais aussi leurs relations, hiérarchies et significations.", + "im1": "Nœuds:", + "im1Desc": "Éléments de base (Objets, Variables, Méthodes, Événements)", + "im2": "Références:", + "im2Desc": "Connexions entre nœuds (ex. HasComponent, Organizes)", + "im3": "Classes de Nœuds:", + "im3Desc": "ObjectType, VariableType, DataType, ReferenceType, Method, View", + "im4": "Espaces de Noms:", + "im4Desc": "Séparation entre modèles standards et extensions spécifiques au fournisseur", + "securityTitle": "Concept de Sécurité", + "securityIntro": "OPC UA implémente la sécurité à plusieurs niveaux selon le principe Defense-in-Depth:", + "sec1": "Sécurité du Transport:", + "sec1Desc": "Chiffrement TLS au niveau réseau", + "sec2": "Sécurité des Messages:", + "sec2Desc": "Signature et chiffrement de chaque message individuel", + "sec3": "Authentification des Applications:", + "sec3Desc": "Certificats X.509 pour serveurs et clients", + "sec4": "Authentification des Utilisateurs:", + "sec4Desc": "Nom d'utilisateur/Mot de passe, Certificats utilisateur X.509, ou systèmes externes (LDAP, Kerberos)", + "sec5": "Autorisation:", + "sec5Desc": "Droits d'accès basés sur les rôles au niveau du nœud", + "sec6": "Piste d'Audit:", + "sec6Desc": "Journalisation des événements pertinents pour la sécurité", + "useCasesTitle": "Cas d'Usage Typiques", + "use1": "Intégration Verticale:", + "use1Desc": "Connexion de l'atelier (automates, capteurs) avec systèmes IT (MES, ERP, Cloud)", + "use2": "Intégration Horizontale:", + "use2Desc": "Communication entre machines de différents fabricants", + "use3": "Edge Computing:", + "use3Desc": "Prétraitement et agrégation des données en périphérie du réseau", + "use4": "Maintenance Prédictive:", + "use4Desc": "Surveillance d'état et maintenance prédictive", + "use5": "Jumeau Numérique:", + "use5Desc": "Représentations numériques d'actifs physiques avec données temps réel", + "use6": "Surveillance d'État:", + "use6Desc": "Surveillance des Alarmes & Conditions avec historique", + "whyCompaniesTitle": "Pourquoi les Entreprises Choisissent OPC UA", + "whyCompaniesDesc1": "Dans des environnements de production hétérogènes avec machines de différents fabricants, OPC UA agit comme un traducteur universel. Les systèmes peuvent se décrire eux-mêmes et communiquer leurs capacités de manière standardisée.", + "whyCompaniesDesc2": "Cela fait d'OPC UA la clé de l'intégration verticale – du niveau capteur et machine aux systèmes MES, cloud et ERP. L'investissement dans OPC UA protège contre le verrouillage fournisseur et permet une flexibilité à long terme.", + "implementationTitle": "Implémentation & Outils", + "implementationDesc": "De nombreuses solutions commerciales et open-source sont disponibles pour implémenter OPC UA:", + "impl1": "SDKs OPC Foundation:", + "impl1Desc": "Implémentations de référence en C, C++, .NET, Java", + "impl2": "Piles Open-Source:", + "impl2Desc": "open62541 (C), node-opcua (JavaScript), Python-opcua", + "impl3": "Outils de Test:", + "impl3Desc": "UaExpert (Client), Prosys OPC UA Simulator, Compliance Test Tool (CTT)", + "impl4": "Passerelles & Ponts:", + "impl4Desc": "Connexion à Modbus, PROFINET, EtherNet/IP, etc.", + "futureTitle": "Avenir & Développements", + "future1": "OPC UA FX (Field eXchange):", + "future1Desc": "Extension pour niveau bus de terrain et Ethernet déterministe", + "future2": "OPC UA over TSN:", + "future2Desc": "Time-Sensitive Networking pour applications temps réel (<1ms)", + "future3": "Intégration Cloud:", + "future3Desc": "Intégration native avec Azure IoT, AWS IoT, Google Cloud IoT", + "future4": "Companion Specifications:", + "future4Desc": "Standards spécifiques à l'industrie (Robotique, Machines plastiques, Emballage, etc.)", + "comparisonTitle": "Comparaison OPC UA vs. MQTT", + "tableFeature": "Caractéristique", + "tableFocus": "Focus", + "tableFocusOPC": "Sémantique & Intégration", + "tableFocusMQTT": "Léger & IoT", + "tableDataModel": "Modèle de Données", + "tableDataModelOPC": "Orienté objet", + "tableDataModelMQTT": "Basé sur topics", + "tableSecurity": "Sécurité", + "tableSecurityOPC": "Intégrée (Certificats)", + "tableSecurityMQTT": "Optionnelle (TLS)", + "tableUseCase": "Cas d'Usage", + "tableUseCaseOPC": "Machine ↔ MES/IT", + "tableUseCaseMQTT": "Capteur → Cloud", + "tableComplexity": "Complexité", + "tableComplexityOPC": "Élevée (complète)", + "tableComplexityMQTT": "Faible (simple)", + "tableOverhead": "Surcharge", + "tableOverheadOPC": "Moyen-Élevé", + "tableOverheadMQTT": "Très faible", + "keyFactsTitle": "Faits Clés", + "fact1": "Standard: IEC 62541", + "fact2": "Organisation: OPC Foundation (1996)", + "fact3": "Membres: 900+ entreprises", + "fact4": "Certifiés: 4000+ produits", + "fact5": "Licence: Royalty-free", + "fact6": "Ports: 4840 (non sécurisé), 4843 (HTTPS)", + "recommendationTitle": "Recommandation Business", + "recommendationText": "OPC UA est la base idéale pour des architectures industrielles standardisées et maintenables à long terme. La complexité initiale est compensée par l'indépendance des fournisseurs, la pérennité et l'interopérabilité.

Combiné avec MQTT, les données machine sémantiques peuvent être intégrées efficacement dans les plateformes cloud et d'analyse – OPC UA pour la sémantique, MQTT pour le transport efficace.", + "linksTitle": "Liens Supplémentaires", + "linkMQTT": "Comparaison MQTT" + }, + "contact": { + "title": "Contact", + "badge": "Envoyer un Message", + "intro": "Vous avez des questions sur l'IIoT, le MES ou l'optimisation des processus ? J'attends votre message avec impatience !", + "name": "Nom", + "namePlaceholder": "Votre Nom", + "email": "E-mail", + "emailPlaceholder": "votre@email.fr", + "subject": "Sujet", + "subjectPlaceholder": "De quoi s'agit-il ?", + "message": "Message", + "messagePlaceholder": "Votre message...", + "send": "Envoyer le Message", + "sending": "Envoi en cours...", + "success": "Message envoyé avec succès !", + "error": "Erreur lors de l'envoi. Veuillez réessayer.", + "required": "Veuillez remplir tous les champs obligatoires." + }, + "common": { + "ready": "Prêt", + "ok": "OK", + "warning": "Attention", + "critical": "Critique" + }, + "mqtt": { + "title": "MQTT", + "pageTitle": "MQTT - Message Queuing Telemetry Transport", + "badge": "Prêt", + "mainTitle": "MQTT - Communication de Données Efficace pour IoT", + "comparisonTitle": "Comparaison MQTT vs. OPC UA", + "tableFeature": "Caractéristique", + "tableFocus": "Focus", + "keyFactsTitle": "Key Facts", + "recommendationTitle": "Recommandation", + "linksTitle": "Liens Supplémentaires", + "linkOPCUA": "Comparaison OPC UA" + } + }, + "zh": { + "siteName": "iiot-factory.com", + "nav": { + "home": "首页", + "aboutMe": "关于我", + "iiot": "工业物联网", + "trends": "趋势", + "cra": "网络弹性法案", + "guide": "指南", + "oeeCalc": "OEE计算器", + "fpyCalc": "FPY计算器", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "联系" + }, + "index": { + "title": "工业物联网工厂 – 工作台", + "pageTitle": "工业物联网工厂 – 工作台", + "badge": "就绪", + "shopfloorTitle": "实时车间KPI", + "shopfloorDesc": "这些页面支持离线使用,专为触摸屏设计:大字段、清晰公式、快速结果。", + "oeeTitle": "OEE计算器", + "oeeDesc": "可用性 × 性能 × 质量 – 包括诊断和公式输出。", + "fpyTitle": "FPY计算器", + "fpyDesc": "首次通过率 – 直接在过程中检测返工/废品。", + "open": "打开", + "quickStart": "快速入门", + "step1": "输入数值 → 计算", + "step2": "回车键也可以计算", + "step3": "实时输出公式", + "note": "注意:阈值(正常/严重)仅供参考,可根据工厂调整。" + }, + "oee": { + "title": "多工位产线OEE", + "badge": "HMI V2.6", + "config": "配置", + "addStation": "+ 工位", + "station": "工位", + "bottleneck": "(瓶颈)", + "remove": "删除", + "planned": "计划时间(分钟)", + "stop": "停机时间(分钟)", + "cycle": "周期(秒)", + "reject": "废品(件)", + "finalOutput": "产线末端产出(良品)", + "calculate": "计算产线", + "kpiTitle": "产线KPI", + "availability": "可用性(分钟)", + "performance": "性能(分钟)", + "quality": "质量(FPY)", + "totalOEE": "总OEE", + "calcLogic": "计算逻辑", + "formula": "产线OEE = A瓶颈 × P瓶颈 × FPY" + }, + "fpy": { + "title": "FPY实时计算器", + "badge": "就绪", + "inputs": "输入", + "totalParts": "总数量", + "totalPlaceholder": "例如 1000", + "rework": "返工(件)", + "reworkPlaceholder": "例如 80", + "scrap": "废品(件)", + "scrapPlaceholder": "例如 10", + "calculate": "计算", + "result": "结果", + "fpy": "FPY", + "status": "状态", + "formula": "公式", + "description": "首次通过率(FPY)显示无需返工或废品即可第一次通过的零件百分比。", + "info": "解释", + "good": "FPY > 95% 优秀,显示过程稳定。", + "medium": "FPY 85-95% 可接受但可优化。", + "bad": "FPY < 85% 表明质量问题。" + }, + "iiot": { + "title": "工业物联网基础", + "badge": "就绪", + "mainTitle": "工业物联网(IIoT)", + "mainDesc": "工业物联网连接机器、传感器和IT系统,实时捕获状态、计数器和质量数据。", + "dataPoints": "典型数据点", + "dp1": "机器状态(运行/停止/报警)", + "dp2": "周期 / 零件计数器", + "dp3": "过程值(如温度、压力、扭矩)", + "dp4": "质量特征 / 测试结果", + "kpiTitle": "结果KPI", + "kpi1": "OEE(可用性、性能、质量)", + "kpi2": "FPY(无返工)", + "kpi3": "停机原因", + "kpi4": "可追溯性" + }, + "opcua": { + "title": "OPC UA - 工业4.0通信标准", + "pageTitle": "OPC UA - 开放平台通信统一架构", + "badge": "就绪", + "mainTitle": "OPC UA – 标准化语义机器通信", + "intro": "OPC UA(开放平台通信统一架构)是一个供应商独立的工业标准,用于结构化、安全和语义明确的数据交换。它构成了现代互联生产架构和工业4.0的基础。", + "whatMakesSpecial": "OPC UA的特别之处", + "contextExplanation": "与简单协议不同,OPC UA不仅传输单个值,而是传输带有上下文和含义的信息。这使系统之间能够进行自描述通信。", + "feature1": "包含单位、精度和有效范围的测量值", + "feature2": "带自动报警的限值和目标值", + "feature3": "每次测量的时间戳和质量状态", + "feature4": "机器的功能、方法和状态", + "feature5": "历史数据和趋势", + "feature6": "带优先级的事件和报警", + "interpretable": "这使数据立即可解释 – 无需额外文档或项目特定假设。信息模型是自描述的。", + "corePillars": "OPC UA的核心支柱", + "pillar1Title": "平台独立性:", + "pillar1Desc": "可部署在PLC、工业PC、边缘设备、服务器和云系统上。适用于Windows、Linux、RTOS和其他平台。", + "pillar2Title": "集成安全性:", + "pillar2Desc": "通过证书的身份验证、签名和加密是规范的组成部分。支持传输层安全(TLS)。", + "pillar3Title": "灵活的通信模型:", + "pillar3Desc": "经典的客户端/服务器模型以及用于实时通信的发布/订阅。支持各种传输协议(TCP、HTTPS、MQTT、AMQP)。", + "pillar4Title": "可扩展性:", + "pillar4Desc": "从简单传感器到复杂生产线。针对各种带宽和延迟要求进行了优化。", + "architectureTitle": "架构原理", + "architectureIntro": "OPC UA有意将数据传输与其含义分离。这在实现中提供了最大的灵活性:", + "arch1Title": "传输层:", + "arch1Desc": "用于实时通信的TCP/IP,用于防火墙友好连接的HTTPS,用于事件驱动架构的发布/订阅(MQTT、AMQP、UDP多播)", + "arch2Title": "信息模型:", + "arch2Desc": "具有清晰语义的面向对象结构。针对各行业的标准化配套规范(EUROMAP、PackML、机器人、CNC等)", + "arch3Title": "服务:", + "arch3Desc": "读取、写入、订阅(带监控的订阅)、方法调用、历史访问、报警和条件、查询服务", + "arch4Title": "数据编码:", + "arch4Desc": "二进制(UA Binary)用于效率,或JSON/XML用于简单集成", + "informationModelTitle": "信息模型 - OPC UA的核心", + "informationModelDesc": "信息模型是机器和过程数据的面向对象描述。它不仅定义值本身,还定义它们的关系、层次结构和含义。", + "im1": "节点:", + "im1Desc": "基本元素(对象、变量、方法、事件)", + "im2": "引用:", + "im2Desc": "节点之间的连接(例如HasComponent、Organizes)", + "im3": "节点类:", + "im3Desc": "ObjectType、VariableType、DataType、ReferenceType、Method、View", + "im4": "命名空间:", + "im4Desc": "标准模型和供应商特定扩展之间的分离", + "securityTitle": "安全概念", + "securityIntro": "OPC UA按照深度防御原则在多个级别实现安全性:", + "sec1": "传输安全:", + "sec1Desc": "网络级TLS加密", + "sec2": "消息安全:", + "sec2Desc": "每条消息的签名和加密", + "sec3": "应用程序身份验证:", + "sec3Desc": "服务器和客户端的X.509证书", + "sec4": "用户身份验证:", + "sec4Desc": "用户名/密码、X.509用户证书或外部系统(LDAP、Kerberos)", + "sec5": "授权:", + "sec5Desc": "节点级别基于角色的访问权限", + "sec6": "审计跟踪:", + "sec6Desc": "记录安全相关事件", + "useCasesTitle": "典型用例", + "use1": "垂直集成:", + "use1Desc": "车间(PLC、传感器)与IT系统(MES、ERP、云)的连接", + "use2": "水平集成:", + "use2Desc": "不同制造商机器之间的通信", + "use3": "边缘计算:", + "use3Desc": "网络边缘的数据预处理和聚合", + "use4": "预测性维护:", + "use4Desc": "状态监控和预测性维护", + "use5": "数字孪生:", + "use5Desc": "具有实时数据的物理资产的数字表示", + "use6": "状态监控:", + "use6Desc": "带历史记录的报警和条件监控", + "whyCompaniesTitle": "为什么企业选择OPC UA", + "whyCompaniesDesc1": "在具有不同制造商机器的异构生产环境中,OPC UA充当通用翻译器。系统可以自我描述并以标准化方式传达其功能。", + "whyCompaniesDesc2": "这使OPC UA成为垂直集成的关键 – 从传感器和机器级别到MES、云和ERP系统。对OPC UA的投资可防止供应商锁定并实现长期灵活性。", + "implementationTitle": "实施与工具", + "implementationDesc": "有许多商业和开源解决方案可用于实施OPC UA:", + "impl1": "OPC基金会SDK:", + "impl1Desc": "C、C++、.NET、Java的参考实现", + "impl2": "开源堆栈:", + "impl2Desc": "open62541(C)、node-opcua(JavaScript)、Python-opcua", + "impl3": "测试工具:", + "impl3Desc": "UaExpert(客户端)、Prosys OPC UA模拟器、合规性测试工具(CTT)", + "impl4": "网关和桥接:", + "impl4Desc": "连接到Modbus、PROFINET、EtherNet/IP等", + "futureTitle": "未来与发展", + "future1": "OPC UA FX(现场交换):", + "future1Desc": "现场总线级别和确定性以太网的扩展", + "future2": "OPC UA over TSN:", + "future2Desc": "用于实时应用的时间敏感网络(<1ms)", + "future3": "云集成:", + "future3Desc": "与Azure IoT、AWS IoT、Google Cloud IoT的原生集成", + "future4": "配套规范:", + "future4Desc": "特定行业标准(机器人、塑料机械、包装等)", + "comparisonTitle": "OPC UA与MQTT比较", + "tableFeature": "特征", + "tableFocus": "重点", + "tableFocusOPC": "语义与集成", + "tableFocusMQTT": "轻量级与物联网", + "tableDataModel": "数据模型", + "tableDataModelOPC": "面向对象", + "tableDataModelMQTT": "基于主题", + "tableSecurity": "安全性", + "tableSecurityOPC": "集成(证书)", + "tableSecurityMQTT": "可选(TLS)", + "tableUseCase": "用例", + "tableUseCaseOPC": "机器 ↔ MES/IT", + "tableUseCaseMQTT": "传感器 → 云", + "tableComplexity": "复杂性", + "tableComplexityOPC": "高(全面)", + "tableComplexityMQTT": "低(简单)", + "tableOverhead": "开销", + "tableOverheadOPC": "中-高", + "tableOverheadMQTT": "非常低", + "keyFactsTitle": "关键事实", + "fact1": "标准: IEC 62541", + "fact2": "组织: OPC基金会(1996)", + "fact3": "成员: 900+家公司", + "fact4": "认证: 4000+产品", + "fact5": "许可证: 免版税", + "fact6": "端口: 4840(不安全), 4843(HTTPS)", + "recommendationTitle": "业务建议", + "recommendationText": "OPC UA是标准化、长期可维护工业架构的理想基础。初始复杂性通过供应商独立性、面向未来和互操作性得到补偿。

与MQTT结合,语义机器数据可以有效集成到云和分析平台中 – OPC UA用于语义,MQTT用于高效传输。", + "linksTitle": "更多链接", + "linkMQTT": "MQTT比较" + }, + "contact": { + "title": "联系", + "badge": "发送消息", + "intro": "对工业物联网、MES或流程优化有疑问?期待您的消息!", + "name": "姓名", + "namePlaceholder": "您的姓名", + "email": "电子邮件", + "emailPlaceholder": "your@email.com", + "subject": "主题", + "subjectPlaceholder": "关于什么?", + "message": "消息", + "messagePlaceholder": "您的消息...", + "send": "发送消息", + "sending": "发送中...", + "success": "消息发送成功!", + "error": "发送错误。请重试。", + "required": "请填写所有必填字段。" + }, + "common": { + "ready": "就绪", + "ok": "正常", + "warning": "警告", + "critical": "严重" + }, + "mqtt": { + "title": "MQTT", + "pageTitle": "MQTT - Message Queuing Telemetry Transport", + "badge": "就绪", + "mainTitle": "MQTT - 物联网高效数据通信", + "comparisonTitle": "MQTT与OPC UA比较", + "tableFeature": "特征", + "tableFocus": "重点", + "keyFactsTitle": "Key Facts", + "recommendationTitle": "建议", + "linksTitle": "更多链接", + "linkOPCUA": "OPC UA比较" + } + } +} \ No newline at end of file diff --git a/backend/target/backend-1/assets/translations.json1.json b/backend/target/backend-1/assets/translations.json1.json new file mode 100644 index 0000000..6f1b79a --- /dev/null +++ b/backend/target/backend-1/assets/translations.json1.json @@ -0,0 +1,466 @@ +{ + "de": { + "siteName": "iiot-factory.com", + "nav": { + "home": "Home", + "aboutMe": "Über Mich", + "iiot": "IIoT", + "trends": "Trends", + "cra": "Cyber Resilience Act", + "guide": "Guide", + "oeeCalc": "OEE Rechner", + "fpyCalc": "FPY Rechner", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "Kontakt" + }, + "index": { + "title": "IIoT Factory – Workbench", + "pageTitle": "IIoT Factory – Workbench", + "badge": "Bereit", + "shopfloorTitle": "Shopfloor-KPIs in Echtzeit", + "shopfloorDesc": "Diese Seiten sind offline-fähig und für Touchscreens ausgelegt: große Felder, klare Formeln, schnelle Ergebnisse.", + "oeeTitle": "OEE Rechner", + "oeeDesc": "Verfügbarkeit × Leistung × Qualität – inklusive Diagnose und Formel-Output.", + "fpyTitle": "FPY Rechner", + "fpyDesc": "First Pass Yield – erkennt Nacharbeit/Ausschuss direkt im Prozess.", + "open": "Öffnen", + "quickStart": "Quick Start", + "step1": "Werte eingeben → Berechnen", + "step2": "Enter-Taste berechnet ebenfalls", + "step3": "Formeln werden live ausgegeben", + "note": "Hinweis: Schwellenwerte (OK/Kritisch) sind Richtwerte und können pro Werk angepasst werden." + }, + "oee": { + "title": "Multi-Station Linien-OEE", + "badge": "HMI V2.6", + "config": "Konfiguration", + "addStation": "+ Station", + "station": "Station", + "bottleneck": "(Bottleneck)", + "remove": "Entfernen", + "planned": "Geplant (min)", + "stop": "Stop (min)", + "cycle": "Zyklus (sek)", + "reject": "Ausschuss (Stk)", + "finalOutput": "Output am Linienende (Gutteile)", + "calculate": "LINIE BERECHNEN", + "kpiTitle": "Linien-KPI", + "availability": "Verfügbarkeit (min)", + "performance": "Leistung (min)", + "quality": "Qualität (FPY)", + "totalOEE": "Gesamt-OEE", + "calcLogic": "Berechnungslogik", + "formula": "OEE_Linie = A_bottleneck × P_bottleneck × FPY" + }, + "fpy": { + "title": "FPY Live-Rechner", + "badge": "Bereit", + "inputs": "Eingaben", + "totalParts": "Gesamtstücke", + "totalPlaceholder": "z. B. 1000", + "rework": "Nacharbeit (Stück)", + "reworkPlaceholder": "z. B. 80", + "scrap": "Ausschuss (Stück)", + "scrapPlaceholder": "z. B. 10", + "calculate": "Berechnen", + "result": "Ergebnis", + "fpy": "FPY", + "status": "Status", + "formula": "Formel", + "description": "First Pass Yield (FPY) zeigt, wie viel Prozent der Teile direkt beim ersten Durchlauf ohne Nacharbeit oder Ausschuss gut waren.", + "info": "Interpretation", + "good": "FPY > 95% ist ausgezeichnet und zeigt stabile Prozesse.", + "medium": "FPY 85-95% ist akzeptabel, aber optimierbar.", + "bad": "FPY < 85% weist auf Qualitätsprobleme hin." + }, + "iiot": { + "title": "IIoT Grundlagen", + "badge": "Bereit", + "mainTitle": "Industrial Internet of Things (IIoT)", + "mainDesc": "IIoT vernetzt Maschinen, Sensoren und IT-Systeme, um Zustände, Zähler und Qualitätsdaten in Echtzeit zu erfassen.", + "dataPoints": "Typische Datenpunkte", + "dp1": "Maschinenstatus (Run/Stop/Alarm)", + "dp2": "Zyklen / Stückzähler", + "dp3": "Prozesswerte (z. B. Temperatur, Druck, Drehmoment)", + "dp4": "Qualitätsmerkmale / Prüfresultate", + "kpiTitle": "Ergebnis-KPIs", + "kpi1": "OEE (Verfügbarkeit, Leistung, Qualität)", + "kpi2": "FPY (ohne Nacharbeit)", + "kpi3": "Stillstandsgründe", + "kpi4": "Traceability" + }, + "contact": { + "title": "Kontakt", + "badge": "Nachricht senden", + "intro": "Haben Sie Fragen zu IIoT, MES oder Prozessoptimierung? Ich freue mich auf Ihre Nachricht!", + "name": "Name", + "namePlaceholder": "Ihr Name", + "email": "E-Mail", + "emailPlaceholder": "ihre@email.de", + "subject": "Betreff", + "subjectPlaceholder": "Worum geht es?", + "message": "Nachricht", + "messagePlaceholder": "Ihre Nachricht an mich...", + "send": "Nachricht senden", + "sending": "Wird gesendet...", + "success": "Nachricht erfolgreich gesendet!", + "error": "Fehler beim Senden. Bitte versuchen Sie es erneut.", + "required": "Bitte füllen Sie alle Pflichtfelder aus." + }, + "common": { + "ready": "Bereit", + "ok": "OK", + "warning": "Warnung", + "critical": "Kritisch" + } + }, + "en": { + "siteName": "iiot-factory.com", + "nav": { + "home": "Home", + "aboutMe": "About Me", + "iiot": "IIoT", + "trends": "Trends", + "cra": "Cyber Resilience Act", + "guide": "Guide", + "oeeCalc": "OEE Calculator", + "fpyCalc": "FPY Calculator", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "Contact" + }, + "index": { + "title": "IIoT Factory – Workbench", + "pageTitle": "IIoT Factory – Workbench", + "badge": "Ready", + "shopfloorTitle": "Real-time Shopfloor KPIs", + "shopfloorDesc": "These pages are offline-capable and designed for touchscreens: large fields, clear formulas, fast results.", + "oeeTitle": "OEE Calculator", + "oeeDesc": "Availability × Performance × Quality – including diagnostics and formula output.", + "fpyTitle": "FPY Calculator", + "fpyDesc": "First Pass Yield – detects rework/scrap directly in the process.", + "open": "Open", + "quickStart": "Quick Start", + "step1": "Enter values → Calculate", + "step2": "Enter key also calculates", + "step3": "Formulas are output live", + "note": "Note: Threshold values (OK/Critical) are guidelines and can be adjusted per plant." + }, + "oee": { + "title": "Multi-Station Line OEE", + "badge": "HMI V2.6", + "config": "Configuration", + "addStation": "+ Station", + "station": "Station", + "bottleneck": "(Bottleneck)", + "remove": "Remove", + "planned": "Planned (min)", + "stop": "Stop (min)", + "cycle": "Cycle (sec)", + "reject": "Reject (pcs)", + "finalOutput": "Line End Output (Good Parts)", + "calculate": "CALCULATE LINE", + "kpiTitle": "Line KPI", + "availability": "Availability (min)", + "performance": "Performance (min)", + "quality": "Quality (FPY)", + "totalOEE": "Total OEE", + "calcLogic": "Calculation Logic", + "formula": "OEE_Line = A_bottleneck × P_bottleneck × FPY" + }, + "fpy": { + "title": "FPY Live Calculator", + "badge": "Ready", + "inputs": "Inputs", + "totalParts": "Total Parts", + "totalPlaceholder": "e.g. 1000", + "rework": "Rework (pcs)", + "reworkPlaceholder": "e.g. 80", + "scrap": "Scrap (pcs)", + "scrapPlaceholder": "e.g. 10", + "calculate": "Calculate", + "result": "Result", + "fpy": "FPY", + "status": "Status", + "formula": "Formula", + "description": "First Pass Yield (FPY) shows what percentage of parts passed the first time without rework or scrap.", + "info": "Interpretation", + "good": "FPY > 95% is excellent and shows stable processes.", + "medium": "FPY 85-95% is acceptable but can be optimized.", + "bad": "FPY < 85% indicates quality issues." + }, + "iiot": { + "title": "IIoT Basics", + "badge": "Ready", + "mainTitle": "Industrial Internet of Things (IIoT)", + "mainDesc": "IIoT connects machines, sensors, and IT systems to capture states, counters, and quality data in real-time.", + "dataPoints": "Typical Data Points", + "dp1": "Machine status (Run/Stop/Alarm)", + "dp2": "Cycles / Part counters", + "dp3": "Process values (e.g. Temperature, Pressure, Torque)", + "dp4": "Quality characteristics / Test results", + "kpiTitle": "Result KPIs", + "kpi1": "OEE (Availability, Performance, Quality)", + "kpi2": "FPY (without rework)", + "kpi3": "Downtime reasons", + "kpi4": "Traceability" + }, + "contact": { + "title": "Contact", + "badge": "Send Message", + "intro": "Have questions about IIoT, MES or process optimization? I look forward to your message!", + "name": "Name", + "namePlaceholder": "Your Name", + "email": "Email", + "emailPlaceholder": "your@email.com", + "subject": "Subject", + "subjectPlaceholder": "What is it about?", + "message": "Message", + "messagePlaceholder": "Your message to me...", + "send": "Send Message", + "sending": "Sending...", + "success": "Message sent successfully!", + "error": "Error sending. Please try again.", + "required": "Please fill in all required fields." + }, + "common": { + "ready": "Ready", + "ok": "OK", + "warning": "Warning", + "critical": "Critical" + } + }, + "fr": { + "siteName": "iiot-factory.com", + "nav": { + "home": "Accueil", + "aboutMe": "À Propos", + "iiot": "IIoT", + "trends": "Tendances", + "cra": "Loi sur la Cyber-Résilience", + "guide": "Guide", + "oeeCalc": "Calculateur TRS", + "fpyCalc": "Calculateur FPY", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "Contact" + }, + "index": { + "title": "IIoT Factory – Atelier", + "pageTitle": "IIoT Factory – Atelier", + "badge": "Prêt", + "shopfloorTitle": "KPI d'atelier en temps réel", + "shopfloorDesc": "Ces pages fonctionnent hors ligne et sont conçues pour les écrans tactiles : grands champs, formules claires, résultats rapides.", + "oeeTitle": "Calculateur TRS", + "oeeDesc": "Disponibilité × Performance × Qualité – y compris diagnostic et sortie de formule.", + "fpyTitle": "Calculateur FPY", + "fpyDesc": "First Pass Yield – détecte les retouches/rebuts directement dans le processus.", + "open": "Ouvrir", + "quickStart": "Démarrage Rapide", + "step1": "Entrer les valeurs → Calculer", + "step2": "La touche Entrée calcule également", + "step3": "Les formules sont affichées en direct", + "note": "Remarque : Les valeurs seuils (OK/Critique) sont des directives et peuvent être ajustées par usine." + }, + "oee": { + "title": "TRS de Ligne Multi-Stations", + "badge": "HMI V2.6", + "config": "Configuration", + "addStation": "+ Station", + "station": "Station", + "bottleneck": "(Goulot)", + "remove": "Supprimer", + "planned": "Planifié (min)", + "stop": "Arrêt (min)", + "cycle": "Cycle (sec)", + "reject": "Rebut (pcs)", + "finalOutput": "Production Finale (Bonnes Pièces)", + "calculate": "CALCULER LA LIGNE", + "kpiTitle": "KPI de Ligne", + "availability": "Disponibilité (min)", + "performance": "Performance (min)", + "quality": "Qualité (FPY)", + "totalOEE": "TRS Total", + "calcLogic": "Logique de Calcul", + "formula": "TRS_Ligne = A_goulot × P_goulot × FPY" + }, + "fpy": { + "title": "Calculateur FPY en Direct", + "badge": "Prêt", + "inputs": "Entrées", + "totalParts": "Pièces Totales", + "totalPlaceholder": "p. ex. 1000", + "rework": "Retouche (pcs)", + "reworkPlaceholder": "p. ex. 80", + "scrap": "Rebut (pcs)", + "scrapPlaceholder": "p. ex. 10", + "calculate": "Calculer", + "result": "Résultat", + "fpy": "FPY", + "status": "Statut", + "formula": "Formule", + "description": "First Pass Yield (FPY) montre quel pourcentage de pièces a réussi du premier coup sans retouche ni rebut.", + "info": "Interprétation", + "good": "FPY > 95% est excellent et montre des processus stables.", + "medium": "FPY 85-95% est acceptable mais optimisable.", + "bad": "FPY < 85% indique des problèmes de qualité." + }, + "iiot": { + "title": "Bases IIoT", + "badge": "Prêt", + "mainTitle": "Internet Industriel des Objets (IIoT)", + "mainDesc": "L'IIoT connecte machines, capteurs et systèmes informatiques pour capturer états, compteurs et données de qualité en temps réel.", + "dataPoints": "Points de Données Typiques", + "dp1": "État de la machine (Marche/Arrêt/Alarme)", + "dp2": "Cycles / Compteurs de pièces", + "dp3": "Valeurs de processus (ex. Température, Pression, Couple)", + "dp4": "Caractéristiques de qualité / Résultats de test", + "kpiTitle": "KPI de Résultat", + "kpi1": "TRS (Disponibilité, Performance, Qualité)", + "kpi2": "FPY (sans retouche)", + "kpi3": "Causes d'arrêt", + "kpi4": "Traçabilité" + }, + "contact": { + "title": "Contact", + "badge": "Envoyer un Message", + "intro": "Vous avez des questions sur l'IIoT, le MES ou l'optimisation des processus ? J'attends votre message avec impatience !", + "name": "Nom", + "namePlaceholder": "Votre Nom", + "email": "E-mail", + "emailPlaceholder": "votre@email.fr", + "subject": "Sujet", + "subjectPlaceholder": "De quoi s'agit-il ?", + "message": "Message", + "messagePlaceholder": "Votre message...", + "send": "Envoyer le Message", + "sending": "Envoi en cours...", + "success": "Message envoyé avec succès !", + "error": "Erreur lors de l'envoi. Veuillez réessayer.", + "required": "Veuillez remplir tous les champs obligatoires." + }, + "common": { + "ready": "Prêt", + "ok": "OK", + "warning": "Attention", + "critical": "Critique" + } + }, + "zh": { + "siteName": "iiot-factory.com", + "nav": { + "home": "首页", + "aboutMe": "关于我", + "iiot": "工业物联网", + "trends": "趋势", + "cra": "网络弹性法案", + "guide": "指南", + "oeeCalc": "OEE计算器", + "fpyCalc": "FPY计算器", + "opcua": "OPC UA", + "mqtt": "MQTT", + "contact": "联系" + }, + "index": { + "title": "工业物联网工厂 – 工作台", + "pageTitle": "工业物联网工厂 – 工作台", + "badge": "就绪", + "shopfloorTitle": "实时车间KPI", + "shopfloorDesc": "这些页面支持离线使用,专为触摸屏设计:大字段、清晰公式、快速结果。", + "oeeTitle": "OEE计算器", + "oeeDesc": "可用性 × 性能 × 质量 – 包括诊断和公式输出。", + "fpyTitle": "FPY计算器", + "fpyDesc": "首次通过率 – 直接在过程中检测返工/废品。", + "open": "打开", + "quickStart": "快速入门", + "step1": "输入数值 → 计算", + "step2": "回车键也可以计算", + "step3": "实时输出公式", + "note": "注意:阈值(正常/严重)仅供参考,可根据工厂调整。" + }, + "oee": { + "title": "多工位产线OEE", + "badge": "HMI V2.6", + "config": "配置", + "addStation": "+ 工位", + "station": "工位", + "bottleneck": "(瓶颈)", + "remove": "删除", + "planned": "计划时间(分钟)", + "stop": "停机时间(分钟)", + "cycle": "周期(秒)", + "reject": "废品(件)", + "finalOutput": "产线末端产出(良品)", + "calculate": "计算产线", + "kpiTitle": "产线KPI", + "availability": "可用性(分钟)", + "performance": "性能(分钟)", + "quality": "质量(FPY)", + "totalOEE": "总OEE", + "calcLogic": "计算逻辑", + "formula": "产线OEE = A瓶颈 × P瓶颈 × FPY" + }, + "fpy": { + "title": "FPY实时计算器", + "badge": "就绪", + "inputs": "输入", + "totalParts": "总数量", + "totalPlaceholder": "例如 1000", + "rework": "返工(件)", + "reworkPlaceholder": "例如 80", + "scrap": "废品(件)", + "scrapPlaceholder": "例如 10", + "calculate": "计算", + "result": "结果", + "fpy": "FPY", + "status": "状态", + "formula": "公式", + "description": "首次通过率(FPY)显示无需返工或废品即可第一次通过的零件百分比。", + "info": "解释", + "good": "FPY > 95% 优秀,显示过程稳定。", + "medium": "FPY 85-95% 可接受但可优化。", + "bad": "FPY < 85% 表明质量问题。" + }, + "iiot": { + "title": "工业物联网基础", + "badge": "就绪", + "mainTitle": "工业物联网(IIoT)", + "mainDesc": "工业物联网连接机器、传感器和IT系统,实时捕获状态、计数器和质量数据。", + "dataPoints": "典型数据点", + "dp1": "机器状态(运行/停止/报警)", + "dp2": "周期 / 零件计数器", + "dp3": "过程值(如温度、压力、扭矩)", + "dp4": "质量特征 / 测试结果", + "kpiTitle": "结果KPI", + "kpi1": "OEE(可用性、性能、质量)", + "kpi2": "FPY(无返工)", + "kpi3": "停机原因", + "kpi4": "可追溯性" + }, + "contact": { + "title": "联系", + "badge": "发送消息", + "intro": "对工业物联网、MES或流程优化有疑问?期待您的消息!", + "name": "姓名", + "namePlaceholder": "您的姓名", + "email": "电子邮件", + "emailPlaceholder": "your@email.com", + "subject": "主题", + "subjectPlaceholder": "关于什么?", + "message": "消息", + "messagePlaceholder": "您的消息...", + "send": "发送消息", + "sending": "发送中...", + "success": "消息发送成功!", + "error": "发送错误。请重试。", + "required": "请填写所有必填字段。" + }, + "common": { + "ready": "就绪", + "ok": "正常", + "warning": "警告", + "critical": "严重" + } + } +} diff --git a/backend/target/backend-1/excel-preview.js b/backend/target/backend-1/excel-preview.js new file mode 100644 index 0000000..637b09b --- /dev/null +++ b/backend/target/backend-1/excel-preview.js @@ -0,0 +1,58 @@ +(function () { + function isFilled(cell) { + return cell !== null && cell !== undefined && String(cell).trim() !== ""; + } + + function escapeText(value) { + return String(value ?? "") + .replace(/&/g, "&") + .replace(//g, ">") + .replace(/"/g, """) + .replace(/'/g, "'"); + } + + window.WorkbenchExcelPreview = { + filledRows(rows) { + return rows.filter(row => Array.isArray(row) && row.some(isFilled)); + }, + + render(containerId, headers, rows) { + const container = document.getElementById(containerId); + if (!container) return; + + if (!rows || rows.length === 0) { + container.innerHTML = '
Keine Excel-Daten geladen.
'; + return; + } + + const headerHtml = headers + .map(header => `${escapeText(header)}`) + .join(""); + + const bodyHtml = rows + .map(row => `${headers.map((_, index) => `${escapeText(row[index])}`).join("")}`) + .join(""); + + container.innerHTML = ` +
+ + ${headerHtml} + ${bodyHtml} +
+
+
${rows.length} Zeilen geladen
+ `; + }, + + rowsToObjects(headers, rows) { + return rows.map(row => { + const obj = {}; + headers.forEach((header, index) => { + obj[header] = row[index] || ""; + }); + return obj; + }); + } + }; +})(); diff --git a/backend/target/backend-1/index.html b/backend/target/backend-1/index.html index 150d53c..a8bc847 100644 --- a/backend/target/backend-1/index.html +++ b/backend/target/backend-1/index.html @@ -1,421 +1,293 @@ - - - - -Workbench – HMI Base - - - - - - - - - - -
- -
-
-

Workbench

- -
-
- -
- - - -
- -
- -
- -
- - - - - - - - + + + + + + Workbench + + + + + + + + +
+

Workbench

+ Logo +
+ +
+ + + +
+ + + + + + + + + + + + diff --git a/backend/target/backend-1/index1.html b/backend/target/backend-1/index1.html index 7845a26..de6bf22 100644 --- a/backend/target/backend-1/index1.html +++ b/backend/target/backend-1/index1.html @@ -1,7 +1,8 @@ - + + Workbench diff --git a/backend/target/backend-1/ios.css b/backend/target/backend-1/ios.css new file mode 100644 index 0000000..e893bb2 --- /dev/null +++ b/backend/target/backend-1/ios.css @@ -0,0 +1,394 @@ +/* iTAC-inspired iOS polish for the static Workbench webapp. + Visual-only override: keep page scripts and data flows unchanged. */ + +:root { + --itac-red: #a40640; + --itac-red-light: #bd0749; + --itac-red-dark: #73042d; + --itac-blue: #00488e; + --itac-ink: #243746; + --itac-slate: #375169; + --itac-muted: #838c93; + --itac-border: #dfe5eb; + --itac-soft: #f6f7fb; + --itac-surface: #ffffff; + --itac-shadow: 0 12px 34px rgba(36, 55, 70, 0.16); + --itac-radius: 8px; + --ios-tap: 44px; + color-scheme: light; +} + +* { + box-sizing: border-box; + -webkit-tap-highlight-color: rgba(164, 6, 64, 0.16); +} + +html { + min-height: 100%; + -webkit-text-size-adjust: 100%; + text-size-adjust: 100%; +} + +body { + min-height: 100%; + margin: 0; + color: var(--itac-ink); + background: + linear-gradient(180deg, rgba(246, 247, 251, 0.98), rgba(255, 255, 255, 0.96)), + var(--itac-soft) !important; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important; + line-height: 1.45; + padding-left: max(16px, env(safe-area-inset-left)) !important; + padding-right: max(16px, env(safe-area-inset-right)) !important; + overflow-x: hidden; +} + +body::before { + content: ""; + position: fixed; + inset: 0 0 auto 0; + height: 5px; + z-index: 10000; + background: linear-gradient(90deg, var(--itac-red), var(--itac-blue)); + pointer-events: none; +} + +h1, +h2, +h3 { + color: var(--itac-ink) !important; + letter-spacing: 0; +} + +h1, +h2 { + font-weight: 650; +} + +a { + color: var(--itac-blue); +} + +p, +small, +label, +td, +th { + color: inherit; +} + +header { + min-height: 72px; + height: auto !important; + padding: max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 14px max(16px, env(safe-area-inset-left)) !important; + background: var(--itac-surface) !important; + border-radius: 0 !important; + border-bottom: 1px solid var(--itac-border); + box-shadow: 0 8px 24px rgba(36, 55, 70, 0.08); + gap: 16px; +} + +header img, +header svg { + max-height: 52px; + width: auto; + object-fit: contain; +} + +nav { + background: #e7eff1 !important; + border-right: 1px solid var(--itac-border); +} + +#container { + min-height: 0; + background: var(--itac-soft); +} + +#contentFrame, +iframe { + background: var(--itac-surface); +} + +.app { + width: min(100%, 1600px); + min-height: 100%; + margin-inline: auto; +} + +.container, +#tree-container, +.panel, +.modal-content, +#config-modal-content, +.card { + width: min(100%, 980px) !important; + max-width: 100%; + color: var(--itac-ink); + background: var(--itac-surface) !important; + border: 1px solid var(--itac-border) !important; + border-radius: var(--itac-radius) !important; + box-shadow: var(--itac-shadow) !important; +} + +.container { + display: block !important; + margin: 0 auto; + text-align: left; +} + +#tree-container { + padding: 18px !important; +} + +button, +input, +select, +textarea, +.pill, +.lang-switch { + min-height: var(--ios-tap); + font: inherit; + border-radius: var(--itac-radius) !important; +} + +button { + border: 1px solid var(--itac-red) !important; + background: linear-gradient(180deg, var(--itac-red-light), var(--itac-red)) !important; + color: #fff !important; + font-weight: 650; + box-shadow: 0 8px 18px rgba(164, 6, 64, 0.2); + touch-action: manipulation; + -webkit-user-select: none; + user-select: none; +} + +button:hover, +button:focus { + background: var(--itac-red-dark) !important; + border-color: var(--itac-red-dark) !important; +} + +button.secondary, +.pill, +.lang-switch { + background: var(--itac-surface) !important; + color: var(--itac-slate) !important; + border: 1px solid var(--itac-border) !important; + box-shadow: none; +} + +input, +select, +textarea { + max-width: 100%; + border: 1px solid #c8d1da !important; + background: #fff !important; + color: var(--itac-ink) !important; + padding: 10px 12px; + outline: none; + -webkit-appearance: none; + appearance: none; +} + +input:focus, +select:focus, +textarea:focus { + border-color: var(--itac-blue) !important; + box-shadow: 0 0 0 3px rgba(0, 72, 142, 0.14); +} + +input[type="file"] { + min-height: var(--ios-tap); + padding: 10px 0; + border: 0 !important; +} + +#import-table, +#hot, +#tree, +.table-wrap { + max-width: 100%; + overflow: auto; + -webkit-overflow-scrolling: touch; +} + +table { + min-width: 680px; +} + +thead th, +tbody td { + color: var(--itac-ink) !important; + border-color: var(--itac-border) !important; +} + +thead th { + background: #e7eff1 !important; + color: var(--itac-slate) !important; +} + +tbody tr:hover { + background: rgba(0, 72, 142, 0.06) !important; +} + +.button-container { + right: max(16px, env(safe-area-inset-right)) !important; + bottom: max(16px, env(safe-area-inset-bottom)) !important; + left: max(16px, env(safe-area-inset-left)); + justify-content: flex-end; + flex-wrap: wrap; +} + +.modal { + padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); + background: rgba(36, 55, 70, 0.56) !important; +} + +.close, +#config-modal-close { + min-width: var(--ios-tap); + min-height: var(--ios-tap); + display: inline-flex; + align-items: center; + justify-content: center; + color: var(--itac-red); +} + +.handsontable, +.ht_master, +.ht_clone_top, +.ht_clone_left { + color: var(--itac-ink); +} + +.handsontable th { + background: #e7eff1 !important; + color: var(--itac-slate) !important; +} + +.handsontable td { + color: var(--itac-ink); +} + +.jstree-default .jstree-anchor { + min-height: 34px; + line-height: 34px; + color: var(--itac-ink); + border-radius: 6px; +} + +.jstree-default .jstree-clicked, +.jstree-default .jstree-hovered { + background: #fff !important; + box-shadow: inset 3px 0 0 var(--itac-red); +} + +@media (max-width: 820px) { + body { + padding-top: max(12px, env(safe-area-inset-top)) !important; + padding-bottom: max(18px, env(safe-area-inset-bottom)) !important; + } + + header { + gap: 12px; + flex-wrap: wrap; + align-items: center; + justify-content: center !important; + text-align: center; + } + + header h1 { + width: 100%; + margin: 0 !important; + font-size: 1.5rem !important; + } + + #container { + flex-direction: column; + height: auto; + } + + nav { + width: 100% !important; + max-height: 38vh; + border-right: 0; + border-bottom: 1px solid var(--itac-border); + } + + #contentFrame { + min-height: 62vh; + width: 100%; + } + + .container, + #tree-container, + .panel, + .modal-content, + #config-modal-content { + width: 100% !important; + padding: 16px !important; + } + + .app { + display: flex !important; + flex-direction: column; + height: auto !important; + min-height: 100%; + gap: 12px; + } + + .controls, + .info, + .header { + display: flex !important; + flex-direction: column; + align-items: stretch !important; + } + + .controls input, + .controls button, + .info input, + .container input, + .container button { + width: 100%; + } + + .button-container { + position: sticky !important; + margin-top: 16px; + } + + .button-container button, + .container button { + flex: 1 1 180px; + } + + .modal-content { + width: 100% !important; + max-height: calc(100vh - 32px); + overflow: auto; + -webkit-overflow-scrolling: touch; + } +} + +@media (max-width: 480px) { + body { + padding-left: max(12px, env(safe-area-inset-left)) !important; + padding-right: max(12px, env(safe-area-inset-right)) !important; + } + + h1 { + font-size: 1.35rem !important; + } + + h2 { + font-size: 1.2rem !important; + } + + .container, + #tree-container, + .panel { + box-shadow: 0 8px 22px rgba(36, 55, 70, 0.12) !important; + } +} diff --git a/backend/target/classes/com/workbenchclassic/TranSql.class b/backend/target/classes/com/workbenchclassic/TranSql.class new file mode 100644 index 0000000..e377481 Binary files /dev/null and b/backend/target/classes/com/workbenchclassic/TranSql.class differ diff --git a/backend/target/classes/com/workbenchclassic/UpdateBOM$BomContext.class b/backend/target/classes/com/workbenchclassic/UpdateBOM$BomContext.class new file mode 100644 index 0000000..ac649bd Binary files /dev/null and b/backend/target/classes/com/workbenchclassic/UpdateBOM$BomContext.class differ diff --git a/backend/target/jacoco.exec b/backend/target/jacoco.exec index 917dde4..fd6f54c 100644 Binary files a/backend/target/jacoco.exec and b/backend/target/jacoco.exec differ diff --git a/backend/target/site/jacoco/com.workbenchclassic/TranSql.html b/backend/target/site/jacoco/com.workbenchclassic/TranSql.html new file mode 100644 index 0000000..41b81e4 --- /dev/null +++ b/backend/target/site/jacoco/com.workbenchclassic/TranSql.html @@ -0,0 +1 @@ +TranSql

TranSql

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total80 of 800%10 of 100%99191944
nextSequenceValue(Connection, boolean, boolean, String, String)340%60%448811
insertIdocStatus(Connection, boolean, boolean, int)340%n/a119911
schema(boolean)60%20%221111
timestamp(boolean)60%20%221111
\ No newline at end of file diff --git a/backend/target/site/jacoco/com.workbenchclassic/TranSql.java.html b/backend/target/site/jacoco/com.workbenchclassic/TranSql.java.html new file mode 100644 index 0000000..45e3980 --- /dev/null +++ b/backend/target/site/jacoco/com.workbenchclassic/TranSql.java.html @@ -0,0 +1,54 @@ +TranSql.java

TranSql.java

package com.workbenchclassic;
+
+import java.sql.Connection;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.sql.Statement;
+
+final class TranSql {
+    private TranSql() {
+    }
+
+    static String schema(boolean isOracle) {
+        return isOracle ? "tran" : "xtran";
+    }
+
+    static String timestamp(boolean isMSSQL) {
+        return isMSSQL ? "GETDATE()" : "SYSDATE";
+    }
+
+    static long nextSequenceValue(Connection conn, boolean isMSSQL, boolean isOracle,
+            String mssqlSequence, String oracleSequence) throws SQLException {
+        String sql = isMSSQL
+                ? "SELECT NEXT VALUE FOR " + mssqlSequence
+                : "SELECT " + oracleSequence + ".NEXTVAL FROM DUAL";
+
+        try (Statement stmt = conn.createStatement();
+                ResultSet rs = stmt.executeQuery(sql)) {
+            if (!rs.next()) {
+                throw new SQLException("No value returned for sequence " + (isOracle ? oracleSequence : mssqlSequence));
+            }
+            return rs.getLong(1);
+        }
+    }
+
+    static long insertIdocStatus(Connection conn, boolean isMSSQL, boolean isOracle, int interfaceNo)
+            throws SQLException {
+        long idocId = nextSequenceValue(conn, isMSSQL, isOracle,
+                "xtran.SEQ_TRAN_IDOC_STATUS",
+                "tran.SEQ_TRAN_IDOC_STATUS");
+        String schema = schema(isOracle);
+        String sql = "INSERT INTO " + schema
+                + ".tran_idoc_status (IDOC_ID, INTERFACE_NO, SOURCE, STATUS, CREATED, STAMP) "
+                + "VALUES (?, ?, 0, 0, " + timestamp(isMSSQL) + ", " + timestamp(isMSSQL) + ")";
+
+        try (PreparedStatement ps = conn.prepareStatement(sql)) {
+            ps.setLong(1, idocId);
+            ps.setInt(2, interfaceNo);
+            ps.executeUpdate();
+        }
+        return idocId;
+    }
+}
+
\ No newline at end of file diff --git a/backend/target/site/jacoco/com.workbenchclassic/UpdateBOM$BomContext.html b/backend/target/site/jacoco/com.workbenchclassic/UpdateBOM$BomContext.html new file mode 100644 index 0000000..d919a8e --- /dev/null +++ b/backend/target/site/jacoco/com.workbenchclassic/UpdateBOM$BomContext.html @@ -0,0 +1 @@ +UpdateBOM.BomContext

UpdateBOM.BomContext

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total9 of 90%0 of 0n/a114411
UpdateBOM.BomContext(long, long)90%n/a114411
\ No newline at end of file diff --git a/backend/target/site/jacoco/com.workbenchclassic/UpdateBOM.java.html b/backend/target/site/jacoco/com.workbenchclassic/UpdateBOM.java.html index 62dd2dd..0e3456a 100644 --- a/backend/target/site/jacoco/com.workbenchclassic/UpdateBOM.java.html +++ b/backend/target/site/jacoco/com.workbenchclassic/UpdateBOM.java.html @@ -53,7 +53,7 @@ import javax.ws.rs.core.Response; String COMPANY_NO = null; String CLIENT_NO = null; if (werkArr.length() > 0) { - JSONObject row = werkArr.getJSONObject(0); + JSONObject row = werkArr.getJSONObject(0); WERK_NR = row.optString("werk_nr", null); COMPANY_NO = row.optString("ext_company_nr", null); CLIENT_NO = row.optString("client_nr", null); diff --git a/backend/target/site/jacoco/com.workbenchclassic/index.html b/backend/target/site/jacoco/com.workbenchclassic/index.html index 4a52baf..bdee65f 100644 --- a/backend/target/site/jacoco/com.workbenchclassic/index.html +++ b/backend/target/site/jacoco/com.workbenchclassic/index.html @@ -1 +1 @@ -com.workbenchclassic

com.workbenchclassic

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total5,149 of 5,1490%228 of 2280%2292291,2031,2031151152727
UpdateContact5940%200%16161091096611
UpdateBOM5370%100%10101181185511
UpdateERP5080%500%29291081084411
ImportUser4570%160%171796969911
UpdateStation4110%100%121291917711
SetStationConfig3930%300%18181021023311
UpdatePart3580%120%9986863311
GetMetadata3380%200%131398983311
DBService2900%140%22227171151511
GetStationsApi2630%80%111157577711
GetStationConfig1460%100%9937374411
UserField1420%n/a3326263311
GetERPGroups1360%20%4433333311
TranSql950%160%121222224411
GetUsers920%n/a3325253311
GetStationExport810%n/a3321213311
getContact770%n/a3323233311
EventBus730%60%9924246611
CORSFilter240%n/a22662211
GetStationsApi.MaGrpNode230%n/a44884411
GetStationsApi.LineNode230%n/a44884411
GetStationsApi.JsTreeNode220%n/a55995511
StateChangeResource170%n/a22552211
EventStreamResource160%40%44662211
GetStationsApi.KapNode150%n/a33663311
UpdateBOM.BomContext90%n/a11441111
EventBus.Client90%n/a11441111
\ No newline at end of file +com.workbenchclassic

com.workbenchclassic

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total5,134 of 5,1340%222 of 2220%2262261,2001,2001151152727
UpdateContact5940%200%16161091096611
UpdateBOM5370%100%10101181185511
UpdateERP5080%500%29291081084411
ImportUser4570%160%171796969911
UpdateStation4110%100%121291917711
SetStationConfig3930%300%18181021023311
UpdatePart3580%120%9986863311
GetMetadata3380%200%131398983311
DBService2900%140%22227171151511
GetStationsApi2630%80%111157577711
GetStationConfig1460%100%9937374411
UserField1420%n/a3326263311
GetERPGroups1360%20%4433333311
GetUsers920%n/a3325253311
GetStationExport810%n/a3321213311
TranSql800%100%9919194411
getContact770%n/a3323233311
EventBus730%60%9924246611
CORSFilter240%n/a22662211
GetStationsApi.MaGrpNode230%n/a44884411
GetStationsApi.LineNode230%n/a44884411
GetStationsApi.JsTreeNode220%n/a55995511
StateChangeResource170%n/a22552211
EventStreamResource160%40%44662211
GetStationsApi.KapNode150%n/a33663311
UpdateBOM.BomContext90%n/a11441111
EventBus.Client90%n/a11441111
\ No newline at end of file diff --git a/backend/target/site/jacoco/com.workbenchclassic/index.source.html b/backend/target/site/jacoco/com.workbenchclassic/index.source.html index c4bc5f2..28f2018 100644 --- a/backend/target/site/jacoco/com.workbenchclassic/index.source.html +++ b/backend/target/site/jacoco/com.workbenchclassic/index.source.html @@ -1 +1 @@ -com.workbenchclassic

com.workbenchclassic

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total5,149 of 5,1490%228 of 2280%2292291,2031,2031151152727
ImportUser.java5990%160%2020122122121222
UpdateContact.java5940%200%16161091096611
UpdateBOM.java5460%100%11111221226622
UpdateERP.java5080%500%29291081084411
UpdateStation.java4110%100%121291917711
SetStationConfig.java3930%300%18181021023311
UpdatePart.java3580%120%9986863311
GetStationsApi.java3460%80%27278888232355
GetMetadata.java3380%200%131398983311
DBService.java2900%140%22227171151511
GetStationConfig.java1460%100%9937374411
GetERPGroups.java1360%20%4433333311
TranSql.java950%160%121222224411
GetUsers.java920%n/a3325253311
EventBus.java820%60%101028287722
GetStationExport.java810%n/a3321213311
getContact.java770%n/a3323233311
CORSFilter.java240%n/a22662211
StateChangeResource.java170%n/a22552211
EventStreamResource.java160%40%44662211
\ No newline at end of file +com.workbenchclassic

com.workbenchclassic

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total5,134 of 5,1340%222 of 2220%2262261,2001,2001151152727
ImportUser.java5990%160%2020122122121222
UpdateContact.java5940%200%16161091096611
UpdateBOM.java5460%100%11111221226622
UpdateERP.java5080%500%29291081084411
UpdateStation.java4110%100%121291917711
SetStationConfig.java3930%300%18181021023311
UpdatePart.java3580%120%9986863311
GetStationsApi.java3460%80%27278888232355
GetMetadata.java3380%200%131398983311
DBService.java2900%140%22227171151511
GetStationConfig.java1460%100%9937374411
GetERPGroups.java1360%20%4433333311
GetUsers.java920%n/a3325253311
EventBus.java820%60%101028287722
GetStationExport.java810%n/a3321213311
TranSql.java800%100%9919194411
getContact.java770%n/a3323233311
CORSFilter.java240%n/a22662211
StateChangeResource.java170%n/a22552211
EventStreamResource.java160%40%44662211
\ No newline at end of file diff --git a/backend/target/site/jacoco/index.html b/backend/target/site/jacoco/index.html index 6a0bd58..9e13bf2 100644 --- a/backend/target/site/jacoco/index.html +++ b/backend/target/site/jacoco/index.html @@ -1 +1 @@ -backend

backend

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total5,149 of 5,1490%228 of 2280%2292291,2031,2031151152727
com.workbenchclassic5,1490%2280%2292291,2031,2031151152727
\ No newline at end of file +backend

backend

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total5,134 of 5,1340%222 of 2220%2262261,2001,2001151152727
com.workbenchclassic5,1340%2220%2262261,2001,2001151152727
\ No newline at end of file diff --git a/backend/target/site/jacoco/jacoco-sessions.html b/backend/target/site/jacoco/jacoco-sessions.html index 2ed1865..ff026c8 100644 --- a/backend/target/site/jacoco/jacoco-sessions.html +++ b/backend/target/site/jacoco/jacoco-sessions.html @@ -1 +1 @@ -Sessions

Sessions

This coverage report is based on execution data from the following sessions:

SessionStart TimeDump Time
kubernetes-227115f4Oct 10, 2026, 4:32:08 PMOct 10, 2026, 4:32:08 PM

Execution data for the following classes is considered in this report:

ClassId
com.workbenchclassic.AppTest7718c7447416258a
org.apache.maven.surefire.api.booter.BaseProviderFactory5bdb25554fb3d5df
org.apache.maven.surefire.api.booter.BiProperty9a2074ae999b3c8a
org.apache.maven.surefire.api.booter.Commandf31ca5085797c808
org.apache.maven.surefire.api.booter.DumpErrorSingletone3f1c75f159a9ac5
org.apache.maven.surefire.api.booter.ForkedProcessEventTypedc56c5dba14b9d58
org.apache.maven.surefire.api.booter.ForkingReporterFactorybcadcd63978e8dcf
org.apache.maven.surefire.api.booter.ForkingRunListener08c963875a23e517
org.apache.maven.surefire.api.booter.MasterProcessCommand90562129b4defd58
org.apache.maven.surefire.api.booter.Shutdownfab38023c4f1ded4
org.apache.maven.surefire.api.cli.CommandLineOption4401c2efb3702254
org.apache.maven.surefire.api.provider.AbstractProvidercf68f167cf236f7b
org.apache.maven.surefire.api.report.ConsoleOutputCaptureb8719a08fbb63e05
org.apache.maven.surefire.api.report.ConsoleOutputCapture.ForwardingPrintStream7c2392ea44674f2d
org.apache.maven.surefire.api.report.ConsoleOutputCapture.NullOutputStreamf7132188596462e2
org.apache.maven.surefire.api.report.ReporterConfiguration39591ad2c5816a79
org.apache.maven.surefire.api.report.RunModef02e60476bce4d8d
org.apache.maven.surefire.api.report.SimpleReportEntrye252cb5986c391cc
org.apache.maven.surefire.api.suite.RunResult8d97f6894fd90ced
org.apache.maven.surefire.api.testset.DirectoryScannerParametersc53ea59aeaf0b80a
org.apache.maven.surefire.api.testset.IncludedExcludedPatterns43b8f8de9b3a1945
org.apache.maven.surefire.api.testset.ResolvedTest7e73a65f1017294e
org.apache.maven.surefire.api.testset.ResolvedTest.ClassMatcher0f9c29dc1562afeb
org.apache.maven.surefire.api.testset.ResolvedTest.MethodMatcherfccae89ce7b4ee31
org.apache.maven.surefire.api.testset.ResolvedTest.Typebf93fc9765a2bd72
org.apache.maven.surefire.api.testset.RunOrderParameterscb70af248c260139
org.apache.maven.surefire.api.testset.TestArtifactInfoc68e923f629df613
org.apache.maven.surefire.api.testset.TestListResolver3dc896f10c8df96c
org.apache.maven.surefire.api.testset.TestRequest976405c051909d71
org.apache.maven.surefire.api.util.CloseableIteratorf2c0acf940ec6fbe
org.apache.maven.surefire.api.util.DefaultRunOrderCalculator1f50ae9e4b9717cd
org.apache.maven.surefire.api.util.DefaultScanResult46fdc84739146387
org.apache.maven.surefire.api.util.ReflectionUtils6079e135f863f220
org.apache.maven.surefire.api.util.RunOrder0ea36dbbf05327aa
org.apache.maven.surefire.api.util.TestsToRuncc3376426ef9c01c
org.apache.maven.surefire.api.util.TestsToRun.ClassesIteratorcd6601db7bc899db
org.apache.maven.surefire.api.util.internal.AbstractNoninterruptibleReadableChannel6abb59e4c94390af
org.apache.maven.surefire.api.util.internal.AbstractNoninterruptibleWritableChannel989f9bf3c66ab7be
org.apache.maven.surefire.api.util.internal.Channels95e459b596e3b873
org.apache.maven.surefire.api.util.internal.Channels.39770f03bd51e14f7
org.apache.maven.surefire.api.util.internal.Channels.4a0e3eaa91d355cc2
org.apache.maven.surefire.api.util.internal.DaemonThreadFactorya56bf84543725f3a
org.apache.maven.surefire.api.util.internal.DaemonThreadFactory.NamedThreadFactorycfeefeb0265a8a13
org.apache.maven.surefire.api.util.internal.DumpFileUtils9a7dbfdf3c2027c8
org.apache.maven.surefire.api.util.internal.ImmutableMapee11b540cdd4034e
org.apache.maven.surefire.api.util.internal.ImmutableMap.Node984f6258c6d6ac9c
org.apache.maven.surefire.api.util.internal.ObjectUtils8c788ffcde97fbb4
org.apache.maven.surefire.booter.AbstractPathConfiguration4839ca4be6e46906
org.apache.maven.surefire.booter.BooterDeserializer02dc12ed0aec9547
org.apache.maven.surefire.booter.ClassLoaderConfiguration462fdbd63f8ea8c8
org.apache.maven.surefire.booter.Classpath5c18bd381e88bcc8
org.apache.maven.surefire.booter.ClasspathConfiguration4c9fc97c565be4cc
org.apache.maven.surefire.booter.CommandReaderc29c2eca0cd24bfc
org.apache.maven.surefire.booter.CommandReader.1727226d97ed192cb
org.apache.maven.surefire.booter.CommandReader.CommandRunnable41ac58e8d85ca2bd
org.apache.maven.surefire.booter.ForkedBooter708bf5b29b088537
org.apache.maven.surefire.booter.ForkedBooter.17d062229af4458f7
org.apache.maven.surefire.booter.ForkedBooter.3093e1d6ec83caf1c
org.apache.maven.surefire.booter.ForkedBooter.488f2f3e42230f38d
org.apache.maven.surefire.booter.ForkedBooter.6a150022bee6cbd41
org.apache.maven.surefire.booter.ForkedBooter.77d0ab78a1157bb24
org.apache.maven.surefire.booter.ForkedBooter.801800b3929973273
org.apache.maven.surefire.booter.ForkedBooter.PingSchedulerfb97687ca93ecbd1
org.apache.maven.surefire.booter.PpidCheckercc99aab0e566c991
org.apache.maven.surefire.booter.ProcessCheckerType5e6688e4a6a909e6
org.apache.maven.surefire.booter.PropertiesWrapperf63d2b2f2fd9087a
org.apache.maven.surefire.booter.ProviderConfiguration146800cea9c5f6cc
org.apache.maven.surefire.booter.StartupConfiguration1cb50557cb9ebb0b
org.apache.maven.surefire.booter.SystemPropertyManager3a0459e270104889
org.apache.maven.surefire.booter.TypeEncodedValue25e613e357b4f737
org.apache.maven.surefire.booter.spi.LegacyMasterProcessChannelDecoder477264b3887a3b8b
org.apache.maven.surefire.booter.spi.LegacyMasterProcessChannelDecoder.FrameCompletion00319e897e4dfd77
org.apache.maven.surefire.booter.spi.LegacyMasterProcessChannelEncoderd52ce258d8e88d04
org.apache.maven.surefire.booter.spi.LegacyMasterProcessChannelProcessorFactory3e8e80dcadf11ad6
org.apache.maven.surefire.booter.spi.SurefireMasterProcessChannelProcessorFactory6bb9533ad5c08a49
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider847b42ef97f97d2b
org.apache.maven.surefire.junitplatform.RunListenerAdapterd23fd29ada1102cb
org.apache.maven.surefire.junitplatform.RunListenerAdapter.155724259eef83afa
org.apache.maven.surefire.junitplatform.TestPlanScannerFiltera3ae2542fd30e874
org.apache.maven.surefire.shared.codec.binary.Base64cd6927ec7cf0569e
org.apache.maven.surefire.shared.codec.binary.BaseNCodecc8dd8163b58acfc1
org.apache.maven.surefire.shared.codec.binary.BaseNCodec.Context84b370e464e7008c
org.apache.maven.surefire.shared.lang3.JavaVersion590095a767529b48
org.apache.maven.surefire.shared.lang3.StringUtilsae3c2c379ffab6fd
org.apache.maven.surefire.shared.lang3.SystemUtilse4faf882077bc6c0
org.apache.maven.surefire.shared.lang3.math.NumberUtils505629194db735ed
org.apache.maven.surefire.shared.utils.StringUtils5ba1288622b5e22e
org.apache.maven.surefire.shared.utils.cli.ShutdownHookUtilsb7b46c5c1f482bd4
org.apiguardian.api.API.Status0341e8d99fc36573
org.junit.jupiter.api.AssertEquals6b16b14f06d2f13c
org.junit.jupiter.api.Assertions7406fdbebf83bc7a
org.junit.jupiter.api.DisplayNameGeneratorc813afbd86fd7cc8
org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores82e8bc7daaa8e1e0
org.junit.jupiter.api.DisplayNameGenerator.Standardf23772be1d9bb824
org.junit.jupiter.api.TestInstance.Lifecycle548dd47a98f9c8af
org.junit.jupiter.api.extension.ConditionEvaluationResult2f9dc9ea54b57975
org.junit.jupiter.api.extension.ExtensionContext1789eac1274261fc
org.junit.jupiter.api.extension.ExtensionContext.Namespace9ecb19f5d8d233f2
org.junit.jupiter.api.extension.InvocationInterceptor996f7741ba5ec355
org.junit.jupiter.engine.JupiterTestEngine42bfd69ac4ff9a31
org.junit.jupiter.engine.config.CachingJupiterConfiguratione0782b8c7a730030
org.junit.jupiter.engine.config.ClassNamePatternParameterConverterdb88e74320096433
org.junit.jupiter.engine.config.DefaultJupiterConfiguration9edf3c93edb9be05
org.junit.jupiter.engine.config.DisplayNameGeneratorParameterConverter10239f24d8c710ad
org.junit.jupiter.engine.config.EnumConfigurationParameterConverter339f5752af685066
org.junit.jupiter.engine.descriptor.AbstractExtensionContext9bf01323cf853683
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor93da3ced5777b865
org.junit.jupiter.engine.descriptor.ClassExtensionContextda8d011f2fd97107
org.junit.jupiter.engine.descriptor.ClassTestDescriptorf5d10ac1d89bb01f
org.junit.jupiter.engine.descriptor.DisplayNameUtils5b062d6beb8f55b6
org.junit.jupiter.engine.descriptor.ExtensionUtils857bd7cde465ada0
org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor8502a8ddd495080f
org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext37e3ac8bbe8deb47
org.junit.jupiter.engine.descriptor.JupiterTestDescriptoracf2905fc10efa75
org.junit.jupiter.engine.descriptor.LifecycleMethodUtils1162b59df6db6b33
org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor120c02c460cd1892
org.junit.jupiter.engine.descriptor.MethodExtensionContextafe114c2ffc920b7
org.junit.jupiter.engine.descriptor.TestInstanceLifecycleUtils8d8758db35676c1c
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptorb9a613d54c81997c
org.junit.jupiter.engine.discovery.ClassSelectorResolvera62bf2e2a3da3cb2
org.junit.jupiter.engine.discovery.DiscoverySelectorResolver9913614fbfb4142b
org.junit.jupiter.engine.discovery.MethodFinder5ea468d2eb528361
org.junit.jupiter.engine.discovery.MethodOrderingVisitorbd9a3fc474bdccea
org.junit.jupiter.engine.discovery.MethodSelectorResolver9e004b1ce9842826
org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType76d091417c997edb
org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType.1098756f55a3f159b
org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType.2b4451da4ca26c94f
org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType.3a9cba48e54e36d6b
org.junit.jupiter.engine.discovery.predicates.IsInnerClassf7d9846d00228720
org.junit.jupiter.engine.discovery.predicates.IsNestedTestClasse47ff7cd33073803
org.junit.jupiter.engine.discovery.predicates.IsPotentialTestContainerfcb5565ad4483f6c
org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests2a6af63531e197a1
org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethoda2c68978bd6bfbc6
org.junit.jupiter.engine.discovery.predicates.IsTestMethod8b244977e441886e
org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod0baf1066bf0cbad7
org.junit.jupiter.engine.discovery.predicates.IsTestableMethod59a0b58a40803fe2
org.junit.jupiter.engine.execution.ConditionEvaluatorc2ba33ab802578df
org.junit.jupiter.engine.execution.ConstructorInvocation4aef47e7c0afe594
org.junit.jupiter.engine.execution.DefaultTestInstances37fd85d961d60c98
org.junit.jupiter.engine.execution.ExecutableInvoker88626e54fda7c10e
org.junit.jupiter.engine.execution.ExecutableInvoker.ReflectiveInterceptorCall1e58a02ac712330c
org.junit.jupiter.engine.execution.ExtensionValuesStoreb7ff2e73f692c652
org.junit.jupiter.engine.execution.ExtensionValuesStore.CompositeKey24fed135af0eff32
org.junit.jupiter.engine.execution.ExtensionValuesStore.MemoizingSupplier5be22cd9e3599327
org.junit.jupiter.engine.execution.InvocationInterceptorChain008224a337018874
org.junit.jupiter.engine.execution.InvocationInterceptorChain.InterceptedInvocation62ff9a2338ce3045
org.junit.jupiter.engine.execution.InvocationInterceptorChain.ValidatingInvocation2434903e45fcd05c
org.junit.jupiter.engine.execution.JupiterEngineExecutionContext868921f800563654
org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builderd23096bee4e10887
org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.State0a606b935b0623c0
org.junit.jupiter.engine.execution.MethodInvocation6f894f3cd37e86c5
org.junit.jupiter.engine.execution.NamespaceAwareStore3ffe1c39d58eaf53
org.junit.jupiter.engine.execution.TestInstancesProviderbb5b676e93849b60
org.junit.jupiter.engine.extension.DisabledCondition23223b45668b6ef2
org.junit.jupiter.engine.extension.ExtensionRegistry7f89cc3238c43287
org.junit.jupiter.engine.extension.MutableExtensionRegistry094514ca9919cd68
org.junit.jupiter.engine.extension.RepeatedTestExtension1b7914cc8cf83732
org.junit.jupiter.engine.extension.TempDirectory3ed1c1e958835b3c
org.junit.jupiter.engine.extension.TestInfoParameterResolver1b5b370a56807cae
org.junit.jupiter.engine.extension.TestReporterParameterResolver60beaf7c80fe99cc
org.junit.jupiter.engine.extension.TimeoutConfigurationd1c949ce4363e069
org.junit.jupiter.engine.extension.TimeoutDurationParser47f3e400722ef57b
org.junit.jupiter.engine.extension.TimeoutExtensionf396c89f10d2bf92
org.junit.jupiter.engine.support.JupiterThrowableCollectorFactorybe8bb2befc643502
org.junit.jupiter.engine.support.OpenTest4JAndJUnit4AwareThrowableCollectorea5378eacfd98d84
org.junit.platform.commons.function.Tryed940444537e81c8
org.junit.platform.commons.function.Try.Failure11c2a90efd237384
org.junit.platform.commons.function.Try.Successc4950437cb3f8d07
org.junit.platform.commons.logging.LoggerFactory3ba683e3050bf0cd
org.junit.platform.commons.logging.LoggerFactory.DelegatingLoggerc601ec41368ffb23
org.junit.platform.commons.support.AnnotationSupport9943d504ff0c08cc
org.junit.platform.commons.support.ReflectionSupport534b5bde0100740f
org.junit.platform.commons.util.AnnotationUtilsf61f84cc85e2534a
org.junit.platform.commons.util.BlacklistedExceptionsbde618675b598c40
org.junit.platform.commons.util.ClassLoaderUtilsc4b37ecc9a1c73f1
org.junit.platform.commons.util.ClassUtils8883e6fc8a933271
org.junit.platform.commons.util.ClasspathScannerac8b6266e9b6789d
org.junit.platform.commons.util.CollectionUtilsa5cea6ca5e67470d
org.junit.platform.commons.util.Preconditions96db76b91278a526
org.junit.platform.commons.util.ReflectionUtils9fe1fac13e880dd6
org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode12b3937debd6b2c1
org.junit.platform.commons.util.StringUtilsae2f08e02cb55734
org.junit.platform.engine.CompositeFilterec8dc82249eeb7a9
org.junit.platform.engine.CompositeFilter.170825b5141694d2a
org.junit.platform.engine.EngineDiscoveryListener22998ffae2c92a7c
org.junit.platform.engine.EngineDiscoveryListener.1df3f3b5f98f0bac1
org.junit.platform.engine.ExecutionRequested3835cc21e5a048
org.junit.platform.engine.Filterf932423ccd3b54bf
org.junit.platform.engine.FilterResultcdaa92f4f6f79059
org.junit.platform.engine.SelectorResolutionResult84379bf9c19eb4b1
org.junit.platform.engine.SelectorResolutionResult.Status7127e7bcdd8dd16b
org.junit.platform.engine.TestDescriptor9fce516d5ec67d95
org.junit.platform.engine.TestDescriptor.Type3d400391a113f4d2
org.junit.platform.engine.TestExecutionResultfd67f84654a5aa1c
org.junit.platform.engine.TestExecutionResult.Status26685ff07ec05579
org.junit.platform.engine.UniqueIde031943c734b350e
org.junit.platform.engine.UniqueId.Segmente194895cf704d270
org.junit.platform.engine.UniqueIdFormatd5b6ae13b16471ae
org.junit.platform.engine.discovery.ClassSelector502567f08c42b0d4
org.junit.platform.engine.discovery.DiscoverySelectors82f61a948dbe4f5a
org.junit.platform.engine.discovery.MethodSelectora07d3186374af8d5
org.junit.platform.engine.support.descriptor.AbstractTestDescriptor2bfbf25c43491443
org.junit.platform.engine.support.descriptor.ClassSourceebe18bb735086cbe
org.junit.platform.engine.support.descriptor.EngineDescriptorb7dbf6dfb794516c
org.junit.platform.engine.support.descriptor.MethodSourceadbe9ff8c196551c
org.junit.platform.engine.support.discovery.ClassContainerSelectorResolver13e03d83db463757
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolutionf23cc843ffd69e68
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.DefaultContext1062edde7e863f79
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver96067c54823596a5
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder4536a37bf6e65b70
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.DefaultInitializationContextf1925780e6c4e71e
org.junit.platform.engine.support.discovery.SelectorResolver80cba972b4f10568
org.junit.platform.engine.support.discovery.SelectorResolver.Matcha6c967fba828723c
org.junit.platform.engine.support.discovery.SelectorResolver.Match.Typeb37cc687ae9a3084
org.junit.platform.engine.support.discovery.SelectorResolver.Resolution6a587b13ca925431
org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine97ffbc145c7d4a83
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor68a36544a3925ed3
org.junit.platform.engine.support.hierarchical.LockManager3b5f78863ff21738
org.junit.platform.engine.support.hierarchical.Nodeb49761977ceb7101
org.junit.platform.engine.support.hierarchical.Node.SkipResultbd08edf24f1dd4d9
org.junit.platform.engine.support.hierarchical.NodeExecutionAdvisore5cf54a3abfe8a32
org.junit.platform.engine.support.hierarchical.NodeTestTask2d78f1925dd4882a
org.junit.platform.engine.support.hierarchical.NodeTestTask.DefaultDynamicTestExecutorfdbc89e07549b13b
org.junit.platform.engine.support.hierarchical.NodeTestTaskContext844fff78e0efe7ef
org.junit.platform.engine.support.hierarchical.NodeTreeWalkerb0b50dbbc8c467a5
org.junit.platform.engine.support.hierarchical.NodeUtilsd602362461bcf308
org.junit.platform.engine.support.hierarchical.NodeUtils.1f707e15bc93748e1
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService054c281153908bb9
org.junit.platform.engine.support.hierarchical.ThrowableCollector655e27ddc85aeb2a
org.junit.platform.launcher.EngineDiscoveryResult8a104796dc402ce9
org.junit.platform.launcher.EngineDiscoveryResult.Statusb30c4012c3e2f07e
org.junit.platform.launcher.LauncherDiscoveryListener456d3e735c22aa48
org.junit.platform.launcher.LauncherDiscoveryListener.1a120e75b9fe22bf4
org.junit.platform.launcher.TestIdentifier225bb434f8f223e2
org.junit.platform.launcher.TestPlan60578bb4f50b5157
org.junit.platform.launcher.core.DefaultDiscoveryRequestc69d8a6244047852
org.junit.platform.launcher.core.DefaultLauncherb535c0b0b3751eb8
org.junit.platform.launcher.core.DefaultLauncherConfiga355b55f1fea9e21
org.junit.platform.launcher.core.DelegatingEngineExecutionListener1e5487ee783deeca
org.junit.platform.launcher.core.EngineDiscoveryResultValidator93df7a3977833cf5
org.junit.platform.launcher.core.ExecutionListenerAdapterc5de7169f1a88932
org.junit.platform.launcher.core.InternalTestPlan4bd2d207c99632bd
org.junit.platform.launcher.core.LauncherConfigb3c713ac595fde03
org.junit.platform.launcher.core.LauncherConfig.Buildera17564c5b87448a3
org.junit.platform.launcher.core.LauncherConfigurationParameters461c933a6a874583
org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder718cd866fd0e3b49
org.junit.platform.launcher.core.LauncherFactoryd419bbcae8fd872b
org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener72e79df7e2d97cc9
org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener.Outcome4d8244bde278efbb
org.junit.platform.launcher.core.Root77042aab5235c2d8
org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry7c054c4cf76cb0f6
org.junit.platform.launcher.core.ServiceLoaderTestExecutionListenerRegistry2299bac1075a6bf3
org.junit.platform.launcher.core.StreamInterceptingTestExecutionListener3a1f3bd6b32f854b
org.junit.platform.launcher.core.TestExecutionListenerRegistryf61866dbd0e36091
org.junit.platform.launcher.core.TestExecutionListenerRegistry.CompositeTestExecutionListener583008686628ab79
org.junit.platform.launcher.listeners.discovery.AbortOnFailureLauncherDiscoveryListener267176035c858efc
org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListenersc83fb9349eaee2dc
\ No newline at end of file +Sessions

Sessions

This coverage report is based on execution data from the following sessions:

SessionStart TimeDump Time
kubernetes-f9d31884Oct 13, 2026, 6:19:41 AMOct 13, 2026, 6:19:42 AM

Execution data for the following classes is considered in this report:

ClassId
com.workbenchclassic.AppTest7718c7447416258a
org.apache.maven.surefire.api.booter.BaseProviderFactory5bdb25554fb3d5df
org.apache.maven.surefire.api.booter.BiProperty9a2074ae999b3c8a
org.apache.maven.surefire.api.booter.Commandf31ca5085797c808
org.apache.maven.surefire.api.booter.DumpErrorSingletone3f1c75f159a9ac5
org.apache.maven.surefire.api.booter.ForkedProcessEventTypedc56c5dba14b9d58
org.apache.maven.surefire.api.booter.ForkingReporterFactorybcadcd63978e8dcf
org.apache.maven.surefire.api.booter.ForkingRunListener08c963875a23e517
org.apache.maven.surefire.api.booter.MasterProcessCommand90562129b4defd58
org.apache.maven.surefire.api.booter.Shutdownfab38023c4f1ded4
org.apache.maven.surefire.api.cli.CommandLineOption4401c2efb3702254
org.apache.maven.surefire.api.provider.AbstractProvidercf68f167cf236f7b
org.apache.maven.surefire.api.report.ConsoleOutputCaptureb8719a08fbb63e05
org.apache.maven.surefire.api.report.ConsoleOutputCapture.ForwardingPrintStream7c2392ea44674f2d
org.apache.maven.surefire.api.report.ConsoleOutputCapture.NullOutputStreamf7132188596462e2
org.apache.maven.surefire.api.report.ReporterConfiguration39591ad2c5816a79
org.apache.maven.surefire.api.report.RunModef02e60476bce4d8d
org.apache.maven.surefire.api.report.SimpleReportEntrye252cb5986c391cc
org.apache.maven.surefire.api.suite.RunResult8d97f6894fd90ced
org.apache.maven.surefire.api.testset.DirectoryScannerParametersc53ea59aeaf0b80a
org.apache.maven.surefire.api.testset.IncludedExcludedPatterns43b8f8de9b3a1945
org.apache.maven.surefire.api.testset.ResolvedTest7e73a65f1017294e
org.apache.maven.surefire.api.testset.ResolvedTest.ClassMatcher0f9c29dc1562afeb
org.apache.maven.surefire.api.testset.ResolvedTest.MethodMatcherfccae89ce7b4ee31
org.apache.maven.surefire.api.testset.ResolvedTest.Typebf93fc9765a2bd72
org.apache.maven.surefire.api.testset.RunOrderParameterscb70af248c260139
org.apache.maven.surefire.api.testset.TestArtifactInfoc68e923f629df613
org.apache.maven.surefire.api.testset.TestListResolver3dc896f10c8df96c
org.apache.maven.surefire.api.testset.TestRequest976405c051909d71
org.apache.maven.surefire.api.util.CloseableIteratorf2c0acf940ec6fbe
org.apache.maven.surefire.api.util.DefaultRunOrderCalculator1f50ae9e4b9717cd
org.apache.maven.surefire.api.util.DefaultScanResult46fdc84739146387
org.apache.maven.surefire.api.util.ReflectionUtils6079e135f863f220
org.apache.maven.surefire.api.util.RunOrder0ea36dbbf05327aa
org.apache.maven.surefire.api.util.TestsToRuncc3376426ef9c01c
org.apache.maven.surefire.api.util.TestsToRun.ClassesIteratorcd6601db7bc899db
org.apache.maven.surefire.api.util.internal.AbstractNoninterruptibleReadableChannel6abb59e4c94390af
org.apache.maven.surefire.api.util.internal.AbstractNoninterruptibleWritableChannel989f9bf3c66ab7be
org.apache.maven.surefire.api.util.internal.Channels95e459b596e3b873
org.apache.maven.surefire.api.util.internal.Channels.39770f03bd51e14f7
org.apache.maven.surefire.api.util.internal.Channels.4a0e3eaa91d355cc2
org.apache.maven.surefire.api.util.internal.DaemonThreadFactorya56bf84543725f3a
org.apache.maven.surefire.api.util.internal.DaemonThreadFactory.NamedThreadFactorycfeefeb0265a8a13
org.apache.maven.surefire.api.util.internal.DumpFileUtils9a7dbfdf3c2027c8
org.apache.maven.surefire.api.util.internal.ImmutableMapee11b540cdd4034e
org.apache.maven.surefire.api.util.internal.ImmutableMap.Node984f6258c6d6ac9c
org.apache.maven.surefire.api.util.internal.ObjectUtils8c788ffcde97fbb4
org.apache.maven.surefire.booter.AbstractPathConfiguration4839ca4be6e46906
org.apache.maven.surefire.booter.BooterDeserializer02dc12ed0aec9547
org.apache.maven.surefire.booter.ClassLoaderConfiguration462fdbd63f8ea8c8
org.apache.maven.surefire.booter.Classpath5c18bd381e88bcc8
org.apache.maven.surefire.booter.ClasspathConfiguration4c9fc97c565be4cc
org.apache.maven.surefire.booter.CommandReaderc29c2eca0cd24bfc
org.apache.maven.surefire.booter.CommandReader.1727226d97ed192cb
org.apache.maven.surefire.booter.CommandReader.CommandRunnable41ac58e8d85ca2bd
org.apache.maven.surefire.booter.ForkedBooter708bf5b29b088537
org.apache.maven.surefire.booter.ForkedBooter.17d062229af4458f7
org.apache.maven.surefire.booter.ForkedBooter.3093e1d6ec83caf1c
org.apache.maven.surefire.booter.ForkedBooter.488f2f3e42230f38d
org.apache.maven.surefire.booter.ForkedBooter.6a150022bee6cbd41
org.apache.maven.surefire.booter.ForkedBooter.77d0ab78a1157bb24
org.apache.maven.surefire.booter.ForkedBooter.801800b3929973273
org.apache.maven.surefire.booter.ForkedBooter.PingSchedulerfb97687ca93ecbd1
org.apache.maven.surefire.booter.PpidCheckercc99aab0e566c991
org.apache.maven.surefire.booter.ProcessCheckerType5e6688e4a6a909e6
org.apache.maven.surefire.booter.PropertiesWrapperf63d2b2f2fd9087a
org.apache.maven.surefire.booter.ProviderConfiguration146800cea9c5f6cc
org.apache.maven.surefire.booter.StartupConfiguration1cb50557cb9ebb0b
org.apache.maven.surefire.booter.SystemPropertyManager3a0459e270104889
org.apache.maven.surefire.booter.TypeEncodedValue25e613e357b4f737
org.apache.maven.surefire.booter.spi.LegacyMasterProcessChannelDecoder477264b3887a3b8b
org.apache.maven.surefire.booter.spi.LegacyMasterProcessChannelDecoder.FrameCompletion00319e897e4dfd77
org.apache.maven.surefire.booter.spi.LegacyMasterProcessChannelEncoderd52ce258d8e88d04
org.apache.maven.surefire.booter.spi.LegacyMasterProcessChannelProcessorFactory3e8e80dcadf11ad6
org.apache.maven.surefire.booter.spi.SurefireMasterProcessChannelProcessorFactory6bb9533ad5c08a49
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider847b42ef97f97d2b
org.apache.maven.surefire.junitplatform.RunListenerAdapterd23fd29ada1102cb
org.apache.maven.surefire.junitplatform.RunListenerAdapter.155724259eef83afa
org.apache.maven.surefire.junitplatform.TestPlanScannerFiltera3ae2542fd30e874
org.apache.maven.surefire.shared.codec.binary.Base64cd6927ec7cf0569e
org.apache.maven.surefire.shared.codec.binary.BaseNCodecc8dd8163b58acfc1
org.apache.maven.surefire.shared.codec.binary.BaseNCodec.Context84b370e464e7008c
org.apache.maven.surefire.shared.lang3.JavaVersion590095a767529b48
org.apache.maven.surefire.shared.lang3.StringUtilsae3c2c379ffab6fd
org.apache.maven.surefire.shared.lang3.SystemUtilse4faf882077bc6c0
org.apache.maven.surefire.shared.lang3.math.NumberUtils505629194db735ed
org.apache.maven.surefire.shared.utils.StringUtils5ba1288622b5e22e
org.apache.maven.surefire.shared.utils.cli.ShutdownHookUtilsb7b46c5c1f482bd4
org.apiguardian.api.API.Status0341e8d99fc36573
org.junit.jupiter.api.AssertEquals6b16b14f06d2f13c
org.junit.jupiter.api.Assertions7406fdbebf83bc7a
org.junit.jupiter.api.DisplayNameGeneratorc813afbd86fd7cc8
org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores82e8bc7daaa8e1e0
org.junit.jupiter.api.DisplayNameGenerator.Standardf23772be1d9bb824
org.junit.jupiter.api.TestInstance.Lifecycle548dd47a98f9c8af
org.junit.jupiter.api.extension.ConditionEvaluationResult2f9dc9ea54b57975
org.junit.jupiter.api.extension.ExtensionContext1789eac1274261fc
org.junit.jupiter.api.extension.ExtensionContext.Namespace9ecb19f5d8d233f2
org.junit.jupiter.api.extension.InvocationInterceptor996f7741ba5ec355
org.junit.jupiter.engine.JupiterTestEngine42bfd69ac4ff9a31
org.junit.jupiter.engine.config.CachingJupiterConfiguratione0782b8c7a730030
org.junit.jupiter.engine.config.ClassNamePatternParameterConverterdb88e74320096433
org.junit.jupiter.engine.config.DefaultJupiterConfiguration9edf3c93edb9be05
org.junit.jupiter.engine.config.DisplayNameGeneratorParameterConverter10239f24d8c710ad
org.junit.jupiter.engine.config.EnumConfigurationParameterConverter339f5752af685066
org.junit.jupiter.engine.descriptor.AbstractExtensionContext9bf01323cf853683
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor93da3ced5777b865
org.junit.jupiter.engine.descriptor.ClassExtensionContextda8d011f2fd97107
org.junit.jupiter.engine.descriptor.ClassTestDescriptorf5d10ac1d89bb01f
org.junit.jupiter.engine.descriptor.DisplayNameUtils5b062d6beb8f55b6
org.junit.jupiter.engine.descriptor.ExtensionUtils857bd7cde465ada0
org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor8502a8ddd495080f
org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext37e3ac8bbe8deb47
org.junit.jupiter.engine.descriptor.JupiterTestDescriptoracf2905fc10efa75
org.junit.jupiter.engine.descriptor.LifecycleMethodUtils1162b59df6db6b33
org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor120c02c460cd1892
org.junit.jupiter.engine.descriptor.MethodExtensionContextafe114c2ffc920b7
org.junit.jupiter.engine.descriptor.TestInstanceLifecycleUtils8d8758db35676c1c
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptorb9a613d54c81997c
org.junit.jupiter.engine.discovery.ClassSelectorResolvera62bf2e2a3da3cb2
org.junit.jupiter.engine.discovery.DiscoverySelectorResolver9913614fbfb4142b
org.junit.jupiter.engine.discovery.MethodFinder5ea468d2eb528361
org.junit.jupiter.engine.discovery.MethodOrderingVisitorbd9a3fc474bdccea
org.junit.jupiter.engine.discovery.MethodSelectorResolver9e004b1ce9842826
org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType76d091417c997edb
org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType.1098756f55a3f159b
org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType.2b4451da4ca26c94f
org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType.3a9cba48e54e36d6b
org.junit.jupiter.engine.discovery.predicates.IsInnerClassf7d9846d00228720
org.junit.jupiter.engine.discovery.predicates.IsNestedTestClasse47ff7cd33073803
org.junit.jupiter.engine.discovery.predicates.IsPotentialTestContainerfcb5565ad4483f6c
org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests2a6af63531e197a1
org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethoda2c68978bd6bfbc6
org.junit.jupiter.engine.discovery.predicates.IsTestMethod8b244977e441886e
org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod0baf1066bf0cbad7
org.junit.jupiter.engine.discovery.predicates.IsTestableMethod59a0b58a40803fe2
org.junit.jupiter.engine.execution.ConditionEvaluatorc2ba33ab802578df
org.junit.jupiter.engine.execution.ConstructorInvocation4aef47e7c0afe594
org.junit.jupiter.engine.execution.DefaultTestInstances37fd85d961d60c98
org.junit.jupiter.engine.execution.ExecutableInvoker88626e54fda7c10e
org.junit.jupiter.engine.execution.ExecutableInvoker.ReflectiveInterceptorCall1e58a02ac712330c
org.junit.jupiter.engine.execution.ExtensionValuesStoreb7ff2e73f692c652
org.junit.jupiter.engine.execution.ExtensionValuesStore.CompositeKey24fed135af0eff32
org.junit.jupiter.engine.execution.ExtensionValuesStore.MemoizingSupplier5be22cd9e3599327
org.junit.jupiter.engine.execution.InvocationInterceptorChain008224a337018874
org.junit.jupiter.engine.execution.InvocationInterceptorChain.InterceptedInvocation62ff9a2338ce3045
org.junit.jupiter.engine.execution.InvocationInterceptorChain.ValidatingInvocation2434903e45fcd05c
org.junit.jupiter.engine.execution.JupiterEngineExecutionContext868921f800563654
org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builderd23096bee4e10887
org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.State0a606b935b0623c0
org.junit.jupiter.engine.execution.MethodInvocation6f894f3cd37e86c5
org.junit.jupiter.engine.execution.NamespaceAwareStore3ffe1c39d58eaf53
org.junit.jupiter.engine.execution.TestInstancesProviderbb5b676e93849b60
org.junit.jupiter.engine.extension.DisabledCondition23223b45668b6ef2
org.junit.jupiter.engine.extension.ExtensionRegistry7f89cc3238c43287
org.junit.jupiter.engine.extension.MutableExtensionRegistry094514ca9919cd68
org.junit.jupiter.engine.extension.RepeatedTestExtension1b7914cc8cf83732
org.junit.jupiter.engine.extension.TempDirectory3ed1c1e958835b3c
org.junit.jupiter.engine.extension.TestInfoParameterResolver1b5b370a56807cae
org.junit.jupiter.engine.extension.TestReporterParameterResolver60beaf7c80fe99cc
org.junit.jupiter.engine.extension.TimeoutConfigurationd1c949ce4363e069
org.junit.jupiter.engine.extension.TimeoutDurationParser47f3e400722ef57b
org.junit.jupiter.engine.extension.TimeoutExtensionf396c89f10d2bf92
org.junit.jupiter.engine.support.JupiterThrowableCollectorFactorybe8bb2befc643502
org.junit.jupiter.engine.support.OpenTest4JAndJUnit4AwareThrowableCollectorea5378eacfd98d84
org.junit.platform.commons.function.Tryed940444537e81c8
org.junit.platform.commons.function.Try.Failure11c2a90efd237384
org.junit.platform.commons.function.Try.Successc4950437cb3f8d07
org.junit.platform.commons.logging.LoggerFactory3ba683e3050bf0cd
org.junit.platform.commons.logging.LoggerFactory.DelegatingLoggerc601ec41368ffb23
org.junit.platform.commons.support.AnnotationSupport9943d504ff0c08cc
org.junit.platform.commons.support.ReflectionSupport534b5bde0100740f
org.junit.platform.commons.util.AnnotationUtilsf61f84cc85e2534a
org.junit.platform.commons.util.BlacklistedExceptionsbde618675b598c40
org.junit.platform.commons.util.ClassLoaderUtilsc4b37ecc9a1c73f1
org.junit.platform.commons.util.ClassUtils8883e6fc8a933271
org.junit.platform.commons.util.ClasspathScannerac8b6266e9b6789d
org.junit.platform.commons.util.CollectionUtilsa5cea6ca5e67470d
org.junit.platform.commons.util.Preconditions96db76b91278a526
org.junit.platform.commons.util.ReflectionUtils9fe1fac13e880dd6
org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode12b3937debd6b2c1
org.junit.platform.commons.util.StringUtilsae2f08e02cb55734
org.junit.platform.engine.CompositeFilterec8dc82249eeb7a9
org.junit.platform.engine.CompositeFilter.170825b5141694d2a
org.junit.platform.engine.EngineDiscoveryListener22998ffae2c92a7c
org.junit.platform.engine.EngineDiscoveryListener.1df3f3b5f98f0bac1
org.junit.platform.engine.ExecutionRequested3835cc21e5a048
org.junit.platform.engine.Filterf932423ccd3b54bf
org.junit.platform.engine.FilterResultcdaa92f4f6f79059
org.junit.platform.engine.SelectorResolutionResult84379bf9c19eb4b1
org.junit.platform.engine.SelectorResolutionResult.Status7127e7bcdd8dd16b
org.junit.platform.engine.TestDescriptor9fce516d5ec67d95
org.junit.platform.engine.TestDescriptor.Type3d400391a113f4d2
org.junit.platform.engine.TestExecutionResultfd67f84654a5aa1c
org.junit.platform.engine.TestExecutionResult.Status26685ff07ec05579
org.junit.platform.engine.UniqueIde031943c734b350e
org.junit.platform.engine.UniqueId.Segmente194895cf704d270
org.junit.platform.engine.UniqueIdFormatd5b6ae13b16471ae
org.junit.platform.engine.discovery.ClassSelector502567f08c42b0d4
org.junit.platform.engine.discovery.DiscoverySelectors82f61a948dbe4f5a
org.junit.platform.engine.discovery.MethodSelectora07d3186374af8d5
org.junit.platform.engine.support.descriptor.AbstractTestDescriptor2bfbf25c43491443
org.junit.platform.engine.support.descriptor.ClassSourceebe18bb735086cbe
org.junit.platform.engine.support.descriptor.EngineDescriptorb7dbf6dfb794516c
org.junit.platform.engine.support.descriptor.MethodSourceadbe9ff8c196551c
org.junit.platform.engine.support.discovery.ClassContainerSelectorResolver13e03d83db463757
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolutionf23cc843ffd69e68
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.DefaultContext1062edde7e863f79
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver96067c54823596a5
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder4536a37bf6e65b70
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.DefaultInitializationContextf1925780e6c4e71e
org.junit.platform.engine.support.discovery.SelectorResolver80cba972b4f10568
org.junit.platform.engine.support.discovery.SelectorResolver.Matcha6c967fba828723c
org.junit.platform.engine.support.discovery.SelectorResolver.Match.Typeb37cc687ae9a3084
org.junit.platform.engine.support.discovery.SelectorResolver.Resolution6a587b13ca925431
org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine97ffbc145c7d4a83
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor68a36544a3925ed3
org.junit.platform.engine.support.hierarchical.LockManager3b5f78863ff21738
org.junit.platform.engine.support.hierarchical.Nodeb49761977ceb7101
org.junit.platform.engine.support.hierarchical.Node.SkipResultbd08edf24f1dd4d9
org.junit.platform.engine.support.hierarchical.NodeExecutionAdvisore5cf54a3abfe8a32
org.junit.platform.engine.support.hierarchical.NodeTestTask2d78f1925dd4882a
org.junit.platform.engine.support.hierarchical.NodeTestTask.DefaultDynamicTestExecutorfdbc89e07549b13b
org.junit.platform.engine.support.hierarchical.NodeTestTaskContext844fff78e0efe7ef
org.junit.platform.engine.support.hierarchical.NodeTreeWalkerb0b50dbbc8c467a5
org.junit.platform.engine.support.hierarchical.NodeUtilsd602362461bcf308
org.junit.platform.engine.support.hierarchical.NodeUtils.1f707e15bc93748e1
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService054c281153908bb9
org.junit.platform.engine.support.hierarchical.ThrowableCollector655e27ddc85aeb2a
org.junit.platform.launcher.EngineDiscoveryResult8a104796dc402ce9
org.junit.platform.launcher.EngineDiscoveryResult.Statusb30c4012c3e2f07e
org.junit.platform.launcher.LauncherDiscoveryListener456d3e735c22aa48
org.junit.platform.launcher.LauncherDiscoveryListener.1a120e75b9fe22bf4
org.junit.platform.launcher.TestIdentifier225bb434f8f223e2
org.junit.platform.launcher.TestPlan60578bb4f50b5157
org.junit.platform.launcher.core.DefaultDiscoveryRequestc69d8a6244047852
org.junit.platform.launcher.core.DefaultLauncherb535c0b0b3751eb8
org.junit.platform.launcher.core.DefaultLauncherConfiga355b55f1fea9e21
org.junit.platform.launcher.core.DelegatingEngineExecutionListener1e5487ee783deeca
org.junit.platform.launcher.core.EngineDiscoveryResultValidator93df7a3977833cf5
org.junit.platform.launcher.core.ExecutionListenerAdapterc5de7169f1a88932
org.junit.platform.launcher.core.InternalTestPlan4bd2d207c99632bd
org.junit.platform.launcher.core.LauncherConfigb3c713ac595fde03
org.junit.platform.launcher.core.LauncherConfig.Buildera17564c5b87448a3
org.junit.platform.launcher.core.LauncherConfigurationParameters461c933a6a874583
org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder718cd866fd0e3b49
org.junit.platform.launcher.core.LauncherFactoryd419bbcae8fd872b
org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener72e79df7e2d97cc9
org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener.Outcome4d8244bde278efbb
org.junit.platform.launcher.core.Root77042aab5235c2d8
org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry7c054c4cf76cb0f6
org.junit.platform.launcher.core.ServiceLoaderTestExecutionListenerRegistry2299bac1075a6bf3
org.junit.platform.launcher.core.StreamInterceptingTestExecutionListener3a1f3bd6b32f854b
org.junit.platform.launcher.core.TestExecutionListenerRegistryf61866dbd0e36091
org.junit.platform.launcher.core.TestExecutionListenerRegistry.CompositeTestExecutionListener583008686628ab79
org.junit.platform.launcher.listeners.discovery.AbortOnFailureLauncherDiscoveryListener267176035c858efc
org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListenersc83fb9349eaee2dc
\ No newline at end of file diff --git a/backend/target/site/jacoco/jacoco.csv b/backend/target/site/jacoco/jacoco.csv index 6e40f0e..db295f0 100644 --- a/backend/target/site/jacoco/jacoco.csv +++ b/backend/target/site/jacoco/jacoco.csv @@ -23,6 +23,6 @@ backend,com.workbenchclassic,StateChangeResource,17,0,0,0,5,0,2,0,2,0 backend,com.workbenchclassic,CORSFilter,24,0,0,0,6,0,2,0,2,0 backend,com.workbenchclassic,UpdateERP,508,0,50,0,108,0,29,0,4,0 backend,com.workbenchclassic,GetERPGroups,136,0,2,0,33,0,4,0,3,0 -backend,com.workbenchclassic,TranSql,95,0,16,0,22,0,12,0,4,0 +backend,com.workbenchclassic,TranSql,80,0,10,0,19,0,9,0,4,0 backend,com.workbenchclassic,GetStationExport,81,0,0,0,21,0,3,0,3,0 backend,com.workbenchclassic,UpdateStation,411,0,10,0,91,0,12,0,7,0 diff --git a/backend/target/site/jacoco/jacoco.xml b/backend/target/site/jacoco/jacoco.xml index 2c8c533..93c50ec 100644 --- a/backend/target/site/jacoco/jacoco.xml +++ b/backend/target/site/jacoco/jacoco.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/backend/target/surefire-reports/TEST-com.workbenchclassic.AppTest.xml b/backend/target/surefire-reports/TEST-com.workbenchclassic.AppTest.xml index 3564b74..60aa76e 100644 --- a/backend/target/surefire-reports/TEST-com.workbenchclassic.AppTest.xml +++ b/backend/target/surefire-reports/TEST-com.workbenchclassic.AppTest.xml @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ - + @@ -26,7 +26,7 @@ - + diff --git a/backend/target/surefire-reports/com.workbenchclassic.AppTest.txt b/backend/target/surefire-reports/com.workbenchclassic.AppTest.txt index ccbc10f..6d26704 100644 --- a/backend/target/surefire-reports/com.workbenchclassic.AppTest.txt +++ b/backend/target/surefire-reports/com.workbenchclassic.AppTest.txt @@ -1,4 +1,4 @@ ------------------------------------------------------------------------------- Test set: com.workbenchclassic.AppTest ------------------------------------------------------------------------------- -Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 s - in com.workbenchclassic.AppTest +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 s - in com.workbenchclassic.AppTest