diff --git a/MockCAN.py b/MockCAN.py index 9ab93cb..615d6c3 100644 --- a/MockCAN.py +++ b/MockCAN.py @@ -15,7 +15,6 @@ class CANBackend: def shutdown(self): self.connected = False - def read_current_state(self,pu_number: int): # Placeholder for reading mode command return PUs_states[pu_number-1]["PU_MODE"] diff --git a/static/monitor.html b/static/monitor.html index 34ab5e7..48b763a 100644 --- a/static/monitor.html +++ b/static/monitor.html @@ -34,6 +34,16 @@ font-size: 16px; padding: 5px 10px; } + #recordButton { + background-color: #ff4444; + color: white; + border: none; + padding: 10px 20px; + font-size: 16px; + cursor: pointer; + border-radius: 5px; + margin: 10px; + } @@ -44,7 +54,7 @@ - +
@@ -55,8 +65,82 @@
- -