Update online.html
Browse files- online.html +4 -4
online.html
CHANGED
@@ -655,10 +655,10 @@ document.getElementById("but_sliv").addEventListener("click", function() {
|
|
655 |
dataHistory.times.push(data.time);
|
656 |
dataHistory.ph.push(parseFloat(data.ph) || 0);
|
657 |
dataHistory.ec.push(parseFloat(data.ec) || 0);
|
658 |
-
|
659 |
-
dataHistory.
|
660 |
-
|
661 |
-
dataHistory.ec_C_eep.push(
|
662 |
dataHistory.tS.push(parseFloat(data.tS) || 0);
|
663 |
dataHistory.tA.push(parseFloat(data.tA) || 0);
|
664 |
dataHistory.hDm.push(parseFloat(data.hDm) || 0);
|
|
|
655 |
dataHistory.times.push(data.time);
|
656 |
dataHistory.ph.push(parseFloat(data.ph) || 0);
|
657 |
dataHistory.ec.push(parseFloat(data.ec) || 0);
|
658 |
+
dataHistory.ec_A_eep.push(parseFloat(data.ec_A_eep) || 0);
|
659 |
+
dataHistory.ec_B_eep.push(parseFloat(data.ec_B_eep) || 0);
|
660 |
+
// Для ec_C_eep заменяем "l" на 1
|
661 |
+
dataHistory.ec_C_eep.push(data.ec_C_eep === "l" ? 1 : (parseFloat(data.ec_C_eep) || 0));
|
662 |
dataHistory.tS.push(parseFloat(data.tS) || 0);
|
663 |
dataHistory.tA.push(parseFloat(data.tA) || 0);
|
664 |
dataHistory.hDm.push(parseFloat(data.hDm) || 0);
|