Plancia configurabile su Modbus RTU

Due programmi che condividono uModbusRTU e uGauge:

- Console/PlanciaConsole: plancia nautica descritta da file XML, con
  modalita' plancia e modalita' configurazione. Comandi, spie, selettori,
  strumenti e allarmi sonori; il bus gira in un thread suo perche' la
  finestra non si fermi mai.
- ProjectPlancia: il programma di prova piu' vecchio, usato per collaudare
  i canali.

Le plance sono in Console/*.xml, la documentazione in Console/LEGGIMI.md.
Esclusi dal versionamento i compilati (.exe, .dcu), i file dell'IDE e un
audio da 17 MB.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
f.bittiandClaude Opus 5 committed 2026-09-22 16:56:34 +02:00
commit 4a01a2ec88
69 files changed
+11658

No files matched your search

+54
View File
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<plancia version="1">
<connection port="COM1" baud="9600" timeoutMs="500" pollMs="500"/>
<panel title="ANTAGO - Quadro elettrico" width="1270" height="950" background="antago-sfondo"/>
<images>
<image name="antago-sfondo" file="immagini\antago-sfondo.png"/>
<image name="antago-barca" file="immagini\antago-barca.png"/>
</images>
<elements>
<element kind="display" caption="230V AC VOLTMETER" slave="0" channel="0" left="50" top="52" width="240" height="138" fontSize="17" digits="3" decimals="0" rawMin="0" rawMax="4095" engMin="0" engMax="300" units="V" warnBelow="-1E30" warnAbove="1E30"/>
<element kind="display" caption="230V AC AMMETER" slave="0" channel="0" left="345" top="52" width="240" height="138" fontSize="17" digits="4" decimals="1" rawMin="0" rawMax="4095" engMin="0" engMax="100" units="A" warnBelow="-1E30" warnAbove="1E30"/>
<element kind="display" caption="SERVICES BATT. AMMETER" slave="0" channel="0" left="645" top="52" width="240" height="138" fontSize="17" digits="4" decimals="1" rawMin="0" rawMax="4095" engMin="-100" engMax="100" units="A" warnBelow="-1E30" warnAbove="1E30"/>
<element kind="display" caption="24V DC VOLTMETER" slave="0" channel="0" left="940" top="50" width="245" height="138" fontSize="17" digits="4" decimals="1" rawMin="0" rawMax="4095" engMin="0" engMax="40" units="V" warnBelow="-1E30" warnAbove="1E30"/>
<element kind="display" caption="SERVICES BATT. CHARGER" slave="0" channel="0" left="345" top="222" width="240" height="123" fontSize="17" digits="4" decimals="1" rawMin="0" rawMax="4095" engMin="0" engMax="100" units="A" warnBelow="-1E30" warnAbove="1E30"/>
<element kind="display" caption="START BATT. CHARGER" slave="0" channel="0" left="645" top="222" width="240" height="123" fontSize="17" digits="4" decimals="1" rawMin="0" rawMax="4095" engMin="0" engMax="100" units="A" warnBelow="-1E30" warnAbove="1E30"/>
<element kind="rotary" caption="VOLTMETER" slave="1" channel="0" left="40" top="219" width="250" height="156" fontSize="15" positions="3" legend="S.SUPPLY ◀ 0 ▶ GENERAT."/>
<element kind="rotary" caption="VOLTMETER" slave="1" channel="2" left="938" top="219" width="250" height="156" fontSize="15" positions="3" legend="SERV.BATT. ◀ 0 ▶ START BATT."/>
<element kind="rotary" caption="GENERATOR" slave="1" channel="4" left="0" top="392" width="170" height="156" fontSize="15" positions="3" legend="STOP ◀ 0 ▶ START" momentary="true"/>
<element kind="rotary" caption="AIR CONDITIONER" slave="1" channel="6" left="173" top="392" width="170" height="156" fontSize="15" positions="2" legend="OFF ◀ ▶ ON"/>
<element kind="rotary" caption="MAIN POWER" slave="1" channel="8" left="355" top="392" width="170" height="156" fontSize="15" positions="3" legend="S.SUPPLY ◀ 0 ▶ GEN."/>
<element kind="rotary" caption="ALARMS" slave="1" channel="10" left="522" top="392" width="170" height="156" fontSize="15" positions="3" legend="TACIT ◀ 0 ▶ TEST" momentary="true"/>
<element kind="rotary" caption="SEWAGE PUMP" slave="1" channel="12" left="704" top="392" width="170" height="156" fontSize="15" positions="2" legend="OFF ◀ ▶ ON"/>
<element kind="rotary" caption="SERV. BATT." slave="1" channel="14" left="890" top="392" width="170" height="156" fontSize="15" positions="2" legend="OFF ◀ ▶ ON"/>
<element kind="rotary" caption="START BATT." slave="1" channel="16" left="1075" top="392" width="170" height="156" fontSize="15" positions="2" legend="OFF ◀ ▶ ON"/>
<element kind="rotary" caption="ENG.ROOM PUMP" slave="1" channel="18" left="0" top="570" width="170" height="156" fontSize="15" positions="2" legend="OFF ◀ ▶ ON"/>
<element kind="rotary" caption="AFT AUT. P." slave="1" channel="20" left="0" top="737" width="170" height="156" fontSize="15" positions="3" legend="PORT ◀ 0 ▶ STBD"/>
<element kind="rotary" caption="FORE AUT. PUMP" slave="1" channel="22" left="1065" top="577" width="170" height="156" fontSize="15" positions="2" legend="OFF ◀ ▶ ON"/>
<element kind="rotary" caption="CNT AUT. PUMP" slave="1" channel="24" left="1065" top="767" width="170" height="156" fontSize="15" positions="2" legend="OFF ◀ ▶ ON"/>
<element kind="image" caption="" left="200" top="580" width="815" height="206" image="antago-barca"/>
<element kind="label" caption="" left="452" top="824" width="335" height="112" frame="round" frameWidth="5"/>
<element kind="label" caption="ANTAGO" left="452" top="830" width="335" height="74" fontSize="52" fontName="Arial Black" spacing="2"/>
<element kind="label" caption="CANTIERE NAVALE" left="452" top="898" width="335" height="26" fontSize="14" fontName="Arial" spacing="4"/>
<element kind="lamp" caption="" slave="2" channel="0" left="420" top="570" width="22" height="22" color="#E0C020"/>
<element kind="lamp" caption="" slave="2" channel="1" left="480" top="590" width="22" height="22" color="#E0C020"/>
<element kind="lamp" caption="" slave="2" channel="2" left="390" top="600" width="22" height="22" color="#E0C020"/>
<element kind="lamp" caption="" slave="2" channel="3" left="457" top="615" width="23" height="25" color="#E04030"/>
<element kind="lamp" caption="" slave="2" channel="4" left="230" top="680" width="20" height="20" color="#E04030"/>
<element kind="lamp" caption="" slave="2" channel="5" left="198" top="723" width="22" height="22" color="#E04030"/>
<element kind="lamp" caption="" slave="2" channel="6" left="285" top="747" width="22" height="22" color="#E04030"/>
<element kind="lamp" caption="" slave="2" channel="7" left="445" top="730" width="22" height="22" color="#E04030"/>
<element kind="lamp" caption="" slave="0" channel="0" left="452" top="755" width="22" height="22" color="#E04030"/>
<element kind="lamp" caption="" slave="0" channel="0" left="785" top="772" width="22" height="22" color="#E08020"/>
<element kind="lamp" caption="" slave="0" channel="0" left="374" top="764" width="24" height="24" color="#E04868"/>
<element kind="label" caption="BILGES" left="340" top="792" width="92" height="24" fontSize="15"/>
<element kind="lamp" caption="" slave="0" channel="0" left="602" top="754" width="24" height="24" color="#40C040"/>
<element kind="lamp" caption="" slave="0" channel="0" left="638" top="754" width="24" height="24" color="#E0C020"/>
<element kind="lamp" caption="" slave="0" channel="0" left="668" top="754" width="24" height="24" color="#E0C020"/>
<element kind="label" caption="GREY WATER TANKS" left="505" top="792" width="215" height="24" fontSize="15"/>
<element kind="lamp" caption="" slave="0" channel="0" left="820" top="772" width="24" height="24" color="#E08020"/>
<element kind="label" caption="W.C. TANKS" left="770" top="796" width="140" height="24" fontSize="15"/>
<element kind="switch" caption="Luce" slave="1" channel="0" left="830" top="850" width="90" height="70"/>
<element kind="button" caption="Horn" slave="1" channel="0" left="940" top="860" width="50" height="48"/>
</elements>
</plancia>