Build application shell with live runtime status

This commit is contained in:
litoral05
2026-05-20 12:22:40 +01:00
parent b38c374a81
commit 9fcf67c7ae
16 changed files with 672 additions and 6 deletions
+6
View File
@@ -0,0 +1,6 @@
export type RuntimeConfig = {
mode: string;
controllerName: string;
controllerIp: string;
backendPort: number;
};
+16
View File
@@ -0,0 +1,16 @@
export type TelemetrySnapshot = {
sensorId: number;
name: string;
modbusAddress: number;
bitOffset: number | null;
rawValue: number;
value: number | boolean | string | null;
unit: string | null;
timestamp: string;
};
export type TelemetryBroadcastMessage = {
timestamp: string;
sensorCount: number;
snapshots: TelemetrySnapshot[];
};