Début firmware uploader
This commit is contained in:
@@ -235,6 +235,9 @@ int CChaletGui::UpdateChaletLogPlot(QByteArray *Log)
|
||||
}
|
||||
}
|
||||
|
||||
if(x.size() == 0 || y.size() == 0)
|
||||
return RET_ERROR;
|
||||
|
||||
mBatteryPlotWidget->graph(0)->data().clear();
|
||||
mBatteryPlotWidget->graph(0)->setData(x,y);
|
||||
mBatteryPlotWidget->xAxis->setRange(x.first(),x.last());
|
||||
|
||||
+45
-45
@@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1205</width>
|
||||
<width>1024</width>
|
||||
<height>598</height>
|
||||
</rect>
|
||||
</property>
|
||||
@@ -36,8 +36,8 @@
|
||||
<widget class="QLabel" name="mInverterRlyStatusLabel">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>198</x>
|
||||
<y>50</y>
|
||||
<x>238</x>
|
||||
<y>120</y>
|
||||
<width>210</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
@@ -49,8 +49,8 @@
|
||||
<widget class="QLabel" name="mWiFiModuleStatusLabel">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>198</x>
|
||||
<y>90</y>
|
||||
<x>238</x>
|
||||
<y>160</y>
|
||||
<width>130</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
@@ -62,8 +62,8 @@
|
||||
<widget class="QLabel" name="mWiFiSectionLabel">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>26</x>
|
||||
<y>90</y>
|
||||
<x>66</x>
|
||||
<y>160</y>
|
||||
<width>31</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
@@ -75,8 +75,8 @@
|
||||
<widget class="QPushButton" name="mInverterRelayOFFBtn">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>126</x>
|
||||
<y>50</y>
|
||||
<x>166</x>
|
||||
<y>120</y>
|
||||
<width>61</width>
|
||||
<height>22</height>
|
||||
</rect>
|
||||
@@ -88,8 +88,8 @@
|
||||
<widget class="QPushButton" name="mWiFiModuleOFFBtn">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>126</x>
|
||||
<y>90</y>
|
||||
<x>166</x>
|
||||
<y>160</y>
|
||||
<width>61</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
@@ -101,8 +101,8 @@
|
||||
<widget class="QPushButton" name="mInverterRelayONBtn">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>70</x>
|
||||
<y>50</y>
|
||||
<x>110</x>
|
||||
<y>120</y>
|
||||
<width>51</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
@@ -114,8 +114,8 @@
|
||||
<widget class="QPushButton" name="mWiFiModuleONBtn">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>70</x>
|
||||
<y>90</y>
|
||||
<x>110</x>
|
||||
<y>160</y>
|
||||
<width>51</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
@@ -127,8 +127,8 @@
|
||||
<widget class="QLabel" name="mWiFiSectionLabel_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>16</x>
|
||||
<y>50</y>
|
||||
<x>56</x>
|
||||
<y>120</y>
|
||||
<width>51</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
@@ -140,8 +140,8 @@
|
||||
<widget class="QPushButton" name="mRebootCPUBtn">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>66</x>
|
||||
<y>130</y>
|
||||
<x>106</x>
|
||||
<y>200</y>
|
||||
<width>75</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
@@ -156,8 +156,8 @@
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>850</x>
|
||||
<y>80</y>
|
||||
<x>680</x>
|
||||
<y>70</y>
|
||||
<width>111</width>
|
||||
<height>17</height>
|
||||
</rect>
|
||||
@@ -169,8 +169,8 @@
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>830</x>
|
||||
<y>50</y>
|
||||
<x>660</x>
|
||||
<y>40</y>
|
||||
<width>151</width>
|
||||
<height>81</height>
|
||||
</rect>
|
||||
@@ -195,8 +195,8 @@
|
||||
<widget class="QLabel" name="mBatteryVoltageLabel">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>147</x>
|
||||
<y>170</y>
|
||||
<x>187</x>
|
||||
<y>240</y>
|
||||
<width>241</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
@@ -229,8 +229,8 @@
|
||||
<widget class="QLabel" name="mSolarPanelCurrentLabel">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>147</x>
|
||||
<y>190</y>
|
||||
<x>187</x>
|
||||
<y>260</y>
|
||||
<width>241</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
@@ -242,8 +242,8 @@
|
||||
<widget class="QLabel" name="mBatterySOCLabel">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>147</x>
|
||||
<y>210</y>
|
||||
<x>187</x>
|
||||
<y>280</y>
|
||||
<width>241</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
@@ -255,8 +255,8 @@
|
||||
<widget class="QLabel" name="mCurrentSensorStateLbl">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>147</x>
|
||||
<y>230</y>
|
||||
<x>187</x>
|
||||
<y>300</y>
|
||||
<width>241</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
@@ -268,8 +268,8 @@
|
||||
<widget class="QLabel" name="mLostReqPercentLbl">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>770</x>
|
||||
<y>200</y>
|
||||
<x>600</x>
|
||||
<y>190</y>
|
||||
<width>241</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
@@ -281,8 +281,8 @@
|
||||
<widget class="QWidget" name="mPlotWidget" native="true">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>590</x>
|
||||
<y>250</y>
|
||||
<x>420</x>
|
||||
<y>240</y>
|
||||
<width>571</width>
|
||||
<height>321</height>
|
||||
</rect>
|
||||
@@ -291,8 +291,8 @@
|
||||
<widget class="QLCDNumber" name="mVoltageLCD">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>170</y>
|
||||
<x>70</x>
|
||||
<y>240</y>
|
||||
<width>111</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
@@ -301,8 +301,8 @@
|
||||
<widget class="QLabel" name="mChaletCommActivityLbl">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>770</x>
|
||||
<y>180</y>
|
||||
<x>600</x>
|
||||
<y>170</y>
|
||||
<width>47</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
@@ -314,8 +314,8 @@
|
||||
<widget class="QLabel" name="mLasCommRequestReceivedLbl">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>770</x>
|
||||
<y>160</y>
|
||||
<x>600</x>
|
||||
<y>150</y>
|
||||
<width>301</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
@@ -327,8 +327,8 @@
|
||||
<widget class="QDateEdit" name="mLogStartDateEdit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>950</x>
|
||||
<y>220</y>
|
||||
<x>780</x>
|
||||
<y>210</y>
|
||||
<width>110</width>
|
||||
<height>22</height>
|
||||
</rect>
|
||||
@@ -337,8 +337,8 @@
|
||||
<widget class="QPushButton" name="mGetChaletLogButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>1070</x>
|
||||
<y>220</y>
|
||||
<x>900</x>
|
||||
<y>210</y>
|
||||
<width>75</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
|
||||
Reference in New Issue
Block a user