✅ Logik für Farbe abhängig von Status + Invertierung:
Anzeige ist rot wenn Status=1 ist. Die Farbe ist nicht abhängig von der Invertierung. Status Invertierung Anzeige 1 1 🔴 rot 1 0 🔴 rot 0 1 ✅ grün 0 0 ✅ grün
This commit is contained in:
@@ -1,8 +1,23 @@
|
||||
// public/CPLmockData/SERVICE/de.js
|
||||
var win_de_state = [
|
||||
1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0,
|
||||
];
|
||||
// Invertierung -> DEIxx xx = Nr Eingang 1-32
|
||||
|
||||
var win_de_invert = [
|
||||
1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0,
|
||||
];
|
||||
/*
|
||||
✅ Logik für Farbe abhängig von Status + Invertierung:
|
||||
Anzeige ist rot wenn Status=1 ist. Die Farbe ist nicht abhängig von der Invertierung.
|
||||
Status Invertierung Anzeige
|
||||
1 1 🔴 rot
|
||||
1 0 🔴 rot
|
||||
0 1 ✅ grün
|
||||
0 0 ✅ grün
|
||||
*/
|
||||
var win_de_label = [
|
||||
"DE1",
|
||||
"DE2",
|
||||
|
||||
Reference in New Issue
Block a user