From def59da748ddf453afefec3e22f106fd216809da Mon Sep 17 00:00:00 2001 From: rouggy Date: Mon, 20 Jul 2026 17:33:02 +0200 Subject: [PATCH] ui: label both USB relay backends as 'Denkovi USB' (FT245/D2XX vs serial/COM) --- frontend/src/components/StationControlPanel.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/StationControlPanel.tsx b/frontend/src/components/StationControlPanel.tsx index 1fa5147..3d6710d 100644 --- a/frontend/src/components/StationControlPanel.tsx +++ b/frontend/src/components/StationControlPanel.tsx @@ -22,7 +22,7 @@ type Relay = { number: number; label: string; on: boolean }; type DevStatus = { id: string; name: string; type: string; connected: boolean; error?: string; relays: Relay[] }; const RELAY_COUNT: Record = { webswitch: 5, kmtronic: 8, denkovi: 8, usbrelay: 8 }; -const TYPE_LABEL: Record = { webswitch: 'WebSwitch 1216H', kmtronic: 'KMTronic 8-relay', denkovi: 'Denkovi USB relay', usbrelay: 'USB serial relay' }; +const TYPE_LABEL: Record = { webswitch: 'WebSwitch 1216H', kmtronic: 'KMTronic 8-relay', denkovi: 'Denkovi USB (FT245)', usbrelay: 'Denkovi USB (serial)' }; // Relay count for a configured device: fixed by type, except Denkovi (4/8) and // the generic USB-serial board, whose channel count the user picks. @@ -495,8 +495,8 @@ function DeviceEditor({ device, onChange, onSave, onCancel, t }: { WebSwitch 1216H (5 relays) KMTronic 8-relay (LAN) - Denkovi USB relay (FT245, 4/8) - USB serial relay (CH340/LCUS) + Denkovi USB (FT245 / D2XX) + Denkovi USB (serial / COM)