basically done

This commit is contained in:
2025-03-27 19:05:02 +08:00
parent 09d322378a
commit 957071075d
110 changed files with 2180 additions and 1797 deletions

View File

@ -9,8 +9,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>1002</width>
<height>555</height>
<width>1004</width>
<height>560</height>
</rect>
</property>
<property name="sizePolicy">
@ -578,7 +578,7 @@
</widget>
</item>
<item>
<widget class="QScrollArea" name="scrollArea">
<widget class="QScrollArea" name="sa_durable">
<property name="widgetResizable">
<bool>true</bool>
</property>
@ -587,7 +587,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>211</width>
<width>212</width>
<height>78</height>
</rect>
</property>
@ -616,7 +616,7 @@
</font>
</property>
<property name="text">
<string>周期内平均转矩</string>
<string>周期内最大速度</string>
</property>
</widget>
</item>
@ -937,6 +937,16 @@
<string>controller.heart</string>
</property>
</item>
<item>
<property name="text">
<string>diagnosis.open</string>
</property>
</item>
<item>
<property name="text">
<string>diagnosis.get_params</string>
</property>
</item>
<item>
<property name="text">
<string>device.get_params</string>
@ -1084,6 +1094,36 @@
<string>ctrl_motor_off</string>
</property>
</item>
<item>
<property name="text">
<string>ctrl_soft_estop</string>
</property>
</item>
<item>
<property name="text">
<string>ctrl_estop_reset_clear_alarm</string>
</property>
</item>
<item>
<property name="text">
<string>sta_motor</string>
</property>
</item>
<item>
<property name="text">
<string>sta_soft_estop</string>
</property>
</item>
<item>
<property name="text">
<string>sta_estop</string>
</property>
</item>
<item>
<property name="text">
<string>sta_alarm</string>
</property>
</item>
</widget>
</item>
<item>
@ -1211,6 +1251,36 @@
<pointsize>12</pointsize>
</font>
</property>
<item>
<property name="text">
<string>motor_on</string>
</property>
</item>
<item>
<property name="text">
<string>motor_off</string>
</property>
</item>
<item>
<property name="text">
<string>set_do</string>
</property>
</item>
<item>
<property name="text">
<string>switch_mode_auto</string>
</property>
</item>
<item>
<property name="text">
<string>switch_mode_manual</string>
</property>
</item>
<item>
<property name="text">
<string>operating_mode</string>
</property>
</item>
<item>
<property name="text">
<string>motor_on_state</string>
@ -1316,7 +1386,7 @@
</font>
</property>
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<property name="elideMode">
<enum>Qt::TextElideMode::ElideNone</enum>
@ -1391,7 +1461,7 @@
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,1,1,1,1,1,10">
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,1,1,1,3,1,10">
<item>
<widget class="QLabel" name="label_page">
<property name="minimumSize">
@ -1458,15 +1528,9 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_docs_load">
<property name="font">
<font>
<family>Consolas</family>
<pointsize>12</pointsize>
</font>
</property>
<widget class="QLabel" name="label_13">
<property name="text">
<string>加载</string>
<string/>
</property>
</widget>
</item>
@ -1702,22 +1766,6 @@
</hint>
</hints>
</connection>
<connection>
<sender>btn_docs_load</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>load_sql()</slot>
<hints>
<hint type="sourcelabel">
<x>651</x>
<y>507</y>
</hint>
<hint type="destinationlabel">
<x>606</x>
<y>521</y>
</hint>
</hints>
</connection>
<connection>
<sender>btn_docs_search</sender>
<signal>clicked()</signal>
@ -1725,7 +1773,7 @@
<slot>search_keyword()</slot>
<hints>
<hint type="sourcelabel">
<x>732</x>
<x>730</x>
<y>507</y>
</hint>
<hint type="destinationlabel">
@ -1837,8 +1885,8 @@
<slot>md_cb_change()</slot>
<hints>
<hint type="sourcelabel">
<x>805</x>
<y>89</y>
<x>467</x>
<y>81</y>
</hint>
<hint type="destinationlabel">
<x>612</x>
@ -1853,8 +1901,8 @@
<slot>md_send()</slot>
<hints>
<hint type="sourcelabel">
<x>887</x>
<y>89</y>
<x>327</x>
<y>81</y>
</hint>
<hint type="destinationlabel">
<x>795</x>
@ -1869,8 +1917,8 @@
<slot>ec_send()</slot>
<hints>
<hint type="sourcelabel">
<x>887</x>
<y>89</y>
<x>327</x>
<y>81</y>
</hint>
<hint type="destinationlabel">
<x>652</x>
@ -1901,8 +1949,8 @@
<slot>md_conn()</slot>
<hints>
<hint type="sourcelabel">
<x>545</x>
<y>89</y>
<x>327</x>
<y>81</y>
</hint>
<hint type="destinationlabel">
<x>398</x>
@ -1917,8 +1965,8 @@
<slot>ec_conn()</slot>
<hints>
<hint type="sourcelabel">
<x>545</x>
<y>89</y>
<x>327</x>
<y>81</y>
</hint>
<hint type="destinationlabel">
<x>412</x>
@ -1949,8 +1997,8 @@
<slot>ec_cb_change()</slot>
<hints>
<hint type="sourcelabel">
<x>805</x>
<y>89</y>
<x>467</x>
<y>81</y>
</hint>
<hint type="destinationlabel">
<x>540</x>
@ -1974,6 +2022,38 @@
</hint>
</hints>
</connection>
<connection>
<sender>tw_docs</sender>
<signal>currentChanged(int)</signal>
<receiver>MainWindow</receiver>
<slot>switch_log_tab()</slot>
<hints>
<hint type="sourcelabel">
<x>313</x>
<y>193</y>
</hint>
<hint type="destinationlabel">
<x>202</x>
<y>172</y>
</hint>
</hints>
</connection>
<connection>
<sender>treew_log</sender>
<signal>itemDoubleClicked(QTreeWidgetItem*,int)</signal>
<receiver>MainWindow</receiver>
<slot>show_item_content()</slot>
<hints>
<hint type="sourcelabel">
<x>441</x>
<y>321</y>
</hint>
<hint type="destinationlabel">
<x>205</x>
<y>308</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>prog_start()</slot>
@ -2000,5 +2080,7 @@
<slot>md_cb_change()</slot>
<slot>ec_cb_change()</slot>
<slot>check_interval()</slot>
<slot>switch_log_tab()</slot>
<slot>show_item_content()</slot>
</slots>
</ui>