Compare commits
No commits in common. "bd40c4f8df003de1dc1a967e69e208b6781b851f" and "637f8748a8ebbd46e786dab937ba9fa49823512c" have entirely different histories.
bd40c4f8df
...
637f8748a8
|
@ -410,15 +410,6 @@ window.addEventListener("load", (_) => {
|
||||||
socket.addEventListener("close", (event) => {
|
socket.addEventListener("close", (event) => {
|
||||||
status.innerHTML = "Offline";
|
status.innerHTML = "Offline";
|
||||||
status.style = colors.highlightFault;
|
status.style = colors.highlightFault;
|
||||||
|
|
||||||
// Indicate all process values as unknown
|
|
||||||
|
|
||||||
[failsafe, highpressure, rp, dp, trough, thigh, volts, mbar].forEach((el) => {
|
|
||||||
if (!el.innerHTML.includes("??")) {
|
|
||||||
el.innerHTML += "??";
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
if (connected) {
|
if (connected) {
|
||||||
console.log("Socket dead, reconnecting...");
|
console.log("Socket dead, reconnecting...");
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@ var (
|
||||||
flagFake bool
|
flagFake bool
|
||||||
flagListenHTTP string
|
flagListenHTTP string
|
||||||
flagPressureThresholdRough = ScientificNotationValue(1e-1)
|
flagPressureThresholdRough = ScientificNotationValue(1e-1)
|
||||||
flagPressureThresholdRoughHysteresis = ScientificNotationValue(3e-2)
|
flagPressureThresholdRoughHysteresis = ScientificNotationValue(2e-2)
|
||||||
flagPressureThresholdHigh = ScientificNotationValue(1e-4)
|
flagPressureThresholdHigh = ScientificNotationValue(1e-4)
|
||||||
flagPressureThresholdHighHysteresis = ScientificNotationValue(2e-5)
|
flagPressureThresholdHighHysteresis = ScientificNotationValue(2e-5)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue