Initial commit: update
This commit is contained in:
158
backend/target/backend-1/assets/calc.js
Normal file
158
backend/target/backend-1/assets/calc.js
Normal file
@@ -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");
|
||||
});
|
||||
})();
|
||||
99
backend/target/backend-1/assets/i18n.js
Normal file
99
backend/target/backend-1/assets/i18n.js
Normal file
@@ -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 <small> tags, use innerHTML to preserve <b> and <br> tags
|
||||
element.innerHTML = translation;
|
||||
} else if (element.tagName === 'SPAN') {
|
||||
// For <span> tags, check if translation contains HTML
|
||||
if (translation.includes('<b>') || translation.includes('<i>') || translation.includes('<br>')) {
|
||||
element.innerHTML = translation;
|
||||
} else {
|
||||
element.textContent = translation;
|
||||
}
|
||||
} else if (element.tagName === 'P') {
|
||||
// For paragraphs, check if they contain <b> tags
|
||||
if (translation.includes('<b>')) {
|
||||
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);
|
||||
});
|
||||
});
|
||||
});
|
||||
44
backend/target/backend-1/assets/navigation.js
Normal file
44
backend/target/backend-1/assets/navigation.js
Normal file
@@ -0,0 +1,44 @@
|
||||
const navContent = `
|
||||
<div class="topbar">
|
||||
<div class="brand">
|
||||
<div class="logo"></div>
|
||||
<span data-i18n="siteName">iiot-factory.com</span>
|
||||
</div>
|
||||
<nav class="nav">
|
||||
<a class="pill" href="index.html" data-i18n="nav.home">Home</a>
|
||||
<a class="pill" href="iiot.html" data-i18n="nav.iiot">IIoT</a>
|
||||
<a class="pill" href="trends.html" data-i18n="nav.trends">Trends</a>
|
||||
<a class="pill" href="cv.html" data-i18n="nav.aboutMe">Über Mich</a>
|
||||
<a class="pill" href="guide.html" data-i18n="nav.guide">Guide</a>
|
||||
<a class="pill" href="cra.html" data-i18n="nav.cra">Cyber Resilience Act</a>
|
||||
<a class="pill" href="oee.html" data-i18n="nav.oeeCalc">OEE Rechner</a>
|
||||
<a class="pill" href="fpy.html" data-i18n="nav.fpyCalc">FPY Rechner</a>
|
||||
<a class="pill" href="opcua.html" data-i18n="nav.opcua">OPC UA</a>
|
||||
<a class="pill" href="mqtt.html" data-i18n="nav.mqtt">MQTT</a>
|
||||
<a class="pill" href="contact.html" data-i18n="nav.contact">Kontakt</a>
|
||||
<div class="lang-switcher">
|
||||
<button class="lang-switch" data-lang="de">DE</button>
|
||||
<button class="lang-switch" data-lang="en">EN</button>
|
||||
<button class="lang-switch" data-lang="fr">FR</button>
|
||||
<button class="lang-switch" data-lang="zh">中文</button>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
`;
|
||||
|
||||
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)";
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
44
backend/target/backend-1/assets/navigation.js1.js
Normal file
44
backend/target/backend-1/assets/navigation.js1.js
Normal file
@@ -0,0 +1,44 @@
|
||||
const navContent = `
|
||||
<div class="topbar">
|
||||
<div class="brand">
|
||||
<div class="logo"></div>
|
||||
<span data-i18n="siteName">iiot-factory.com</span>
|
||||
</div>
|
||||
<nav class="nav">
|
||||
<a class="pill" href="index.html" data-i18n="nav.home">Home</a>
|
||||
<a class="pill" href="iiot.html" data-i18n="nav.iiot">IIoT</a>
|
||||
<a class="pill" href="trends.html" data-i18n="nav.trends">Trends</a>
|
||||
<a class="pill" href="cv.html" data-i18n="nav.aboutMe">Über Mich</a>
|
||||
<a class="pill" href="guide.html" data-i18n="nav.guide">Guide</a>
|
||||
<a class="pill" href="cra.html" data-i18n="nav.cra">Cyber Resilience Act</a>
|
||||
<a class="pill" href="oee.html" data-i18n="nav.oeeCalc">OEE Rechner</a>
|
||||
<a class="pill" href="fpy.html" data-i18n="nav.fpyCalc">FPY Rechner</a>
|
||||
<a class="pill" href="opcua.html" data-i18n="nav.opcua">OPC UA</a>
|
||||
<a class="pill" href="mqtt.html" data-i18n="nav.mqtt">MQTT</a>
|
||||
<a class="pill" href="contact.html" data-i18n="nav.contact">Kontakt</a>
|
||||
<div class="lang-switcher">
|
||||
<button class="lang-switch" data-lang="de">DE</button>
|
||||
<button class="lang-switch" data-lang="en">EN</button>
|
||||
<button class="lang-switch" data-lang="fr">FR</button>
|
||||
<button class="lang-switch" data-lang="zh">中文</button>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
`;
|
||||
|
||||
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)";
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
301
backend/target/backend-1/assets/style.css
Normal file
301
backend/target/backend-1/assets/style.css
Normal file
@@ -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;
|
||||
}
|
||||
1018
backend/target/backend-1/assets/translations.json
Normal file
1018
backend/target/backend-1/assets/translations.json
Normal file
File diff suppressed because it is too large
Load Diff
466
backend/target/backend-1/assets/translations.json1.json
Normal file
466
backend/target/backend-1/assets/translations.json1.json
Normal file
@@ -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": "严重"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user