1. 增加无网络环境使用的逻辑 2. 优化EC指令发送的逻辑

This commit is contained in:
2025-03-31 11:21:13 +08:00
parent 676eb49679
commit 671db5b1db
5 changed files with 86 additions and 73 deletions

View File

@ -9,8 +9,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>1006</width>
<height>568</height>
<width>1004</width>
<height>563</height>
</rect>
</property>
<property name="sizePolicy">
@ -1846,8 +1846,8 @@
<slot>curve_draw()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>80</y>
<x>700</x>
<y>144</y>
</hint>
<hint type="destinationlabel">
<x>701</x>
@ -1862,8 +1862,8 @@
<slot>durable_cb_change()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>80</y>
<x>586</x>
<y>142</y>
</hint>
<hint type="destinationlabel">
<x>546</x>
@ -1878,8 +1878,8 @@
<slot>pre_page()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>266</y>
<x>408</x>
<y>523</y>
</hint>
<hint type="destinationlabel">
<x>307</x>
@ -1894,8 +1894,8 @@
<slot>realtime_page()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>266</y>
<x>489</x>
<y>523</y>
</hint>
<hint type="destinationlabel">
<x>435</x>
@ -1910,8 +1910,8 @@
<slot>next_page()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>266</y>
<x>570</x>
<y>523</y>
</hint>
<hint type="destinationlabel">
<x>520</x>
@ -1926,8 +1926,8 @@
<slot>search_keyword()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>266</y>
<x>731</x>
<y>523</y>
</hint>
<hint type="destinationlabel">
<x>688</x>
@ -1942,8 +1942,8 @@
<slot>search_keyword()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>266</y>
<x>837</x>
<y>521</y>
</hint>
<hint type="destinationlabel">
<x>932</x>
@ -1958,7 +1958,7 @@
<slot>hmi_cb_change()</slot>
<hints>
<hint type="sourcelabel">
<x>475</x>
<x>810</x>
<y>89</y>
</hint>
<hint type="destinationlabel">
@ -1974,7 +1974,7 @@
<slot>hmi_send()</slot>
<hints>
<hint type="sourcelabel">
<x>335</x>
<x>891</x>
<y>89</y>
</hint>
<hint type="destinationlabel">
@ -1990,8 +1990,8 @@
<slot>hmi_page()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>80</y>
<x>982</x>
<y>85</y>
</hint>
<hint type="destinationlabel">
<x>744</x>
@ -2006,8 +2006,8 @@
<slot>md_page()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>80</y>
<x>982</x>
<y>124</y>
</hint>
<hint type="destinationlabel">
<x>784</x>
@ -2022,8 +2022,8 @@
<slot>ec_page()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>80</y>
<x>982</x>
<y>163</y>
</hint>
<hint type="destinationlabel">
<x>969</x>
@ -2038,8 +2038,8 @@
<slot>md_cb_change()</slot>
<hints>
<hint type="sourcelabel">
<x>466</x>
<y>80</y>
<x>808</x>
<y>89</y>
</hint>
<hint type="destinationlabel">
<x>612</x>
@ -2054,8 +2054,8 @@
<slot>md_send()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>80</y>
<x>889</x>
<y>89</y>
</hint>
<hint type="destinationlabel">
<x>795</x>
@ -2086,7 +2086,7 @@
<slot>hmi_conn()</slot>
<hints>
<hint type="sourcelabel">
<x>335</x>
<x>545</x>
<y>89</y>
</hint>
<hint type="destinationlabel">
@ -2102,8 +2102,8 @@
<slot>md_conn()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>80</y>
<x>545</x>
<y>89</y>
</hint>
<hint type="destinationlabel">
<x>398</x>
@ -2123,7 +2123,7 @@
</hint>
<hint type="destinationlabel">
<x>412</x>
<y>-1</y>
<y>0</y>
</hint>
</hints>
</connection>
@ -2134,12 +2134,12 @@
<slot>check_interval()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>80</y>
<x>637</x>
<y>109</y>
</hint>
<hint type="destinationlabel">
<x>821</x>
<y>-3</y>
<y>0</y>
</hint>
</hints>
</connection>
@ -2155,7 +2155,7 @@
</hint>
<hint type="destinationlabel">
<x>540</x>
<y>-2</y>
<y>0</y>
</hint>
</hints>
</connection>
@ -2166,8 +2166,8 @@
<slot>hmi_conn()</slot>
<hints>
<hint type="sourcelabel">
<x>385</x>
<y>89</y>
<x>464</x>
<y>87</y>
</hint>
<hint type="destinationlabel">
<x>216</x>
@ -2246,11 +2246,11 @@
<slot>file_browser()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>80</y>
<x>985</x>
<y>75</y>
</hint>
<hint type="destinationlabel">
<x>1004</x>
<x>1003</x>
<y>56</y>
</hint>
</hints>
@ -2262,11 +2262,11 @@
<slot>file_browser()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>80</y>
<x>983</x>
<y>76</y>
</hint>
<hint type="destinationlabel">
<x>1004</x>
<x>1003</x>
<y>88</y>
</hint>
</hints>