Ajout polling du statut du board

This commit is contained in:
2024-02-22 16:11:48 -05:00
parent 098863edb9
commit da2dd28f1c
25 changed files with 1100 additions and 140 deletions
+30 -70
View File
@@ -47,29 +47,11 @@
<string>Nettoyer</string>
</property>
</widget>
<widget class="QLabel" name="mPuckCANLbl">
<property name="geometry">
<rect>
<x>1220</x>
<y>210</y>
<width>81</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Puck CAN:</string>
</property>
</widget>
<widget class="QLabel" name="mClientMQTTLbl">
<property name="geometry">
<rect>
<x>1200</x>
<y>240</y>
<y>210</y>
<width>101</width>
<height>16</height>
</rect>
@@ -83,31 +65,11 @@
<string>Client MQTT:</string>
</property>
</widget>
<widget class="QLabel" name="mPuckCANConStatLbl">
<property name="geometry">
<rect>
<x>1300</x>
<y>210</y>
<width>121</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Déconnectée</string>
</property>
</widget>
<widget class="QLabel" name="mClientMQTTConnStatLbl">
<property name="geometry">
<rect>
<x>1300</x>
<y>240</y>
<y>210</y>
<width>121</width>
<height>16</height>
</rect>
@@ -170,7 +132,7 @@
<property name="geometry">
<rect>
<x>1230</x>
<y>270</y>
<y>240</y>
<width>61</width>
<height>16</height>
</rect>
@@ -188,7 +150,7 @@
<property name="geometry">
<rect>
<x>1300</x>
<y>270</y>
<y>240</y>
<width>121</width>
<height>16</height>
</rect>
@@ -207,10 +169,10 @@
<widget class="QGroupBox" name="MQTTBufferingGrpBx">
<property name="geometry">
<rect>
<x>1210</x>
<y>320</y>
<width>391</width>
<height>141</height>
<x>1460</x>
<y>190</y>
<width>251</width>
<height>91</height>
</rect>
</property>
<property name="title">
@@ -252,24 +214,6 @@
<string>Taille buffer circulaire:</string>
</property>
</widget>
<widget class="QLabel" name="mBufferTimeRemainingLbl">
<property name="geometry">
<rect>
<x>50</x>
<y>90</y>
<width>91</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>Durée restante:</string>
</property>
</widget>
<widget class="QLabel" name="mBufferingMode">
<property name="geometry">
<rect>
@@ -306,13 +250,26 @@
<string>0/5000</string>
</property>
</widget>
<widget class="QLabel" name="mBufferTimeRemaining">
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>1210</x>
<y>290</y>
<width>301</width>
<height>161</height>
</rect>
</property>
<property name="title">
<string>État du système</string>
</property>
<widget class="QLabel" name="mSystemStateLbl">
<property name="geometry">
<rect>
<x>150</x>
<y>90</y>
<width>91</width>
<height>21</height>
<x>10</x>
<y>20</y>
<width>281</width>
<height>131</height>
</rect>
</property>
<property name="font">
@@ -321,7 +278,10 @@
</font>
</property>
<property name="text">
<string>xxx minutes</string>
<string>Système:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
</widget>
</widget>