You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

927 lines
23 KiB

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>879</width>
<height>725</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
<x>-10</x>
<y>10</y>
<width>841</width>
<height>621</height>
</rect>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<widget class="QWidget" name="tab_5">
<attribute name="title">
<string>Tab 1</string>
</attribute>
<widget class="QPushButton" name="connect">
<property name="geometry">
<rect>
<x>40</x>
<y>10</y>
<width>89</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Connect</string>
</property>
</widget>
<widget class="QLabel" name="errorMonitoring">
<property name="geometry">
<rect>
<x>20</x>
<y>420</y>
<width>761</width>
<height>91</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(0, 0, 0);
background-color: rgb(186, 178, 158);</string>
</property>
<property name="text">
<string>Error Monitoring</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_4">
<property name="geometry">
<rect>
<x>370</x>
<y>180</y>
<width>181</width>
<height>201</height>
</rect>
</property>
<property name="title">
<string>Write Single Register</string>
</property>
<widget class="QLineEdit" name="writeSingleRegisterAddress">
<property name="geometry">
<rect>
<x>70</x>
<y>30</y>
<width>101</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>71</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>address:</string>
</property>
</widget>
<widget class="QLineEdit" name="writeSingleRegisterValue">
<property name="geometry">
<rect>
<x>60</x>
<y>70</y>
<width>111</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="Values_2">
<property name="geometry">
<rect>
<x>10</x>
<y>70</y>
<width>51</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Value</string>
</property>
</widget>
<widget class="QPushButton" name="writeSingleRegister">
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<width>161</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Write Single Register</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_3">
<property name="geometry">
<rect>
<x>560</x>
<y>10</y>
<width>241</width>
<height>161</height>
</rect>
</property>
<property name="title">
<string>Write Multiple Coil</string>
</property>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>126</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Number of values:</string>
</property>
</widget>
<widget class="QLineEdit" name="writeMultiCoilStartAddress">
<property name="geometry">
<rect>
<x>110</x>
<y>30</y>
<width>121</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>91</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>Start address:</string>
</property>
</widget>
<widget class="QLineEdit" name="writeMultiCoilQty">
<property name="geometry">
<rect>
<x>140</x>
<y>60</y>
<width>91</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="writeMultiCoilValue">
<property name="geometry">
<rect>
<x>60</x>
<y>90</y>
<width>171</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="Values">
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<width>51</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Values</string>
</property>
</widget>
<widget class="QPushButton" name="writeMultiCoil">
<property name="geometry">
<rect>
<x>50</x>
<y>130</y>
<width>141</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Write Multi Coil</string>
</property>
</widget>
</widget>
<widget class="QComboBox" name="writeTable">
<property name="geometry">
<rect>
<x>250</x>
<y>10</y>
<width>86</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>360</x>
<y>10</y>
<width>191</width>
<height>161</height>
</rect>
</property>
<property name="title">
<string>Write Single Coil</string>
</property>
<widget class="QCheckBox" name="coilData">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>61</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Coil</string>
</property>
</widget>
<widget class="QLineEdit" name="writeSingleCoilAddress">
<property name="geometry">
<rect>
<x>70</x>
<y>60</y>
<width>113</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>71</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>address:</string>
</property>
</widget>
<widget class="QPushButton" name="writeSingleCoil">
<property name="geometry">
<rect>
<x>20</x>
<y>120</y>
<width>141</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Write Single Coil</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_5">
<property name="geometry">
<rect>
<x>560</x>
<y>180</y>
<width>261</width>
<height>201</height>
</rect>
</property>
<property name="title">
<string>Write Multiple Register</string>
</property>
<widget class="QPushButton" name="writeMultiRegister">
<property name="geometry">
<rect>
<x>50</x>
<y>170</y>
<width>141</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Write Multi Register</string>
</property>
</widget>
<widget class="QLabel" name="Values_3">
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<width>51</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Values</string>
</property>
</widget>
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>126</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Number of values:</string>
</property>
</widget>
<widget class="QLineEdit" name="writeMultiRegisterStartAddress">
<property name="geometry">
<rect>
<x>110</x>
<y>30</y>
<width>121</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="writeMultiRegisterQty">
<property name="geometry">
<rect>
<x>140</x>
<y>60</y>
<width>91</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="writeMultiRegisterValue">
<property name="geometry">
<rect>
<x>60</x>
<y>110</y>
<width>171</width>
<height>51</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_13">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>126</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>Start address:</string>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>90</x>
<y>90</y>
<width>91</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<family>Ubuntu Condensed</family>
<pointsize>8</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Comma Delimiter</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>40</x>
<y>50</y>
<width>301</width>
<height>341</height>
</rect>
</property>
<property name="title">
<string>Read Data From Device</string>
</property>
<widget class="QTextEdit" name="textEditRead">
<property name="geometry">
<rect>
<x>16</x>
<y>120</y>
<width>281</width>
<height>181</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="readButton">
<property name="geometry">
<rect>
<x>110</x>
<y>310</y>
<width>80</width>
<height>25</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Read</string>
</property>
</widget>
<widget class="QLineEdit" name="startAddress">
<property name="geometry">
<rect>
<x>180</x>
<y>30</y>
<width>113</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="readSize">
<property name="geometry">
<rect>
<x>180</x>
<y>60</y>
<width>113</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>50</x>
<y>30</y>
<width>126</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>Start address:</string>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>40</x>
<y>60</y>
<width>126</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Number of values:</string>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>20</x>
<y>100</y>
<width>126</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Result:</string>
</property>
</widget>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>200</x>
<y>10</y>
<width>41</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Table:</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_6">
<attribute name="title">
<string>Tab 2</string>
</attribute>
<widget class="QGroupBox" name="groupBox_11">
<property name="geometry">
<rect>
<x>30</x>
<y>20</y>
<width>471</width>
<height>71</height>
</rect>
</property>
<property name="title">
<string>Run Order</string>
</property>
<widget class="QPushButton" name="ResetAzimuth">
<property name="geometry">
<rect>
<x>340</x>
<y>30</y>
<width>111</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>ResetAzimuth</string>
</property>
</widget>
<widget class="QPushButton" name="init">
<property name="geometry">
<rect>
<x>28</x>
<y>30</y>
<width>61</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Init</string>
</property>
</widget>
<widget class="QPushButton" name="startMoving">
<property name="geometry">
<rect>
<x>110</x>
<y>30</y>
<width>91</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>StartMoving</string>
</property>
</widget>
<widget class="QPushButton" name="stopMoving">
<property name="geometry">
<rect>
<x>210</x>
<y>30</y>
<width>91</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>StopMoving</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_12">
<property name="geometry">
<rect>
<x>30</x>
<y>110</y>
<width>471</width>
<height>161</height>
</rect>
</property>
<property name="title">
<string>Set Speed</string>
</property>
<widget class="QLineEdit" name="startAngle">
<property name="geometry">
<rect>
<x>100</x>
<y>30</y>
<width>81</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>81</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>StartAngle</string>
</property>
</widget>
<widget class="QLabel" name="label_24">
<property name="geometry">
<rect>
<x>20</x>
<y>70</y>
<width>81</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>StopAngle</string>
</property>
</widget>
<widget class="QLineEdit" name="stopAngle">
<property name="geometry">
<rect>
<x>100</x>
<y>70</y>
<width>81</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_25">
<property name="geometry">
<rect>
<x>20</x>
<y>110</y>
<width>71</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Speed</string>
</property>
</widget>
<widget class="QLineEdit" name="speed">
<property name="geometry">
<rect>
<x>80</x>
<y>110</y>
<width>101</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="fix">
<property name="geometry">
<rect>
<x>240</x>
<y>60</y>
<width>89</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Fix Speed</string>
</property>
</widget>
<widget class="QPushButton" name="sectorSpeed">
<property name="geometry">
<rect>
<x>230</x>
<y>100</y>
<width>111</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Sector Speed</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_6">
<property name="geometry">
<rect>
<x>30</x>
<y>290</y>
<width>621</width>
<height>131</height>
</rect>
</property>
<property name="title">
<string>Monitoring Data From Servo</string>
</property>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>40</x>
<y>40</y>
<width>51</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Speed:</string>
</property>
</widget>
<widget class="QLabel" name="label_14">
<property name="geometry">
<rect>
<x>120</x>
<y>40</y>
<width>81</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Start Angle:</string>
</property>
</widget>
<widget class="QLabel" name="label_15">
<property name="geometry">
<rect>
<x>230</x>
<y>40</y>
<width>81</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Stop Angle:</string>
</property>
</widget>
<widget class="QLabel" name="label_16">
<property name="geometry">
<rect>
<x>350</x>
<y>40</y>
<width>101</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Angle Offset:</string>
</property>
</widget>
<widget class="QLabel" name="label_17">
<property name="geometry">
<rect>
<x>500</x>
<y>40</y>
<width>101</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Azimuth</string>
</property>
</widget>
<widget class="QLabel" name="showAzimuth">
<property name="geometry">
<rect>
<x>480</x>
<y>80</y>
<width>101</width>
<height>17</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(238, 238, 236);
background-color: rgb(52, 101, 164);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="showAngleOffset">
<property name="geometry">
<rect>
<x>350</x>
<y>80</y>
<width>101</width>
<height>17</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(238, 238, 236);
background-color: rgb(52, 101, 164);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="showStartAngle">
<property name="geometry">
<rect>
<x>120</x>
<y>80</y>
<width>81</width>
<height>17</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(238, 238, 236);
background-color: rgb(52, 101, 164);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="showStopAngle">
<property name="geometry">
<rect>
<x>230</x>
<y>80</y>
<width>81</width>
<height>17</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(238, 238, 236);
background-color: rgb(52, 101, 164);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="showSpeed">
<property name="geometry">
<rect>
<x>30</x>
<y>77</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(52, 101, 164);
color: rgb(238, 238, 236);
</string>
</property>
<property name="text">
<string/>
</property>
<property name="margin">
<number>0</number>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_7">
<property name="geometry">
<rect>
<x>30</x>
<y>440</y>
<width>621</width>
<height>91</height>
</rect>
</property>
<property name="title">
<string>Error Monitor</string>
</property>
<widget class="QLabel" name="showServoError">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>611</width>
<height>71</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(0, 0, 0);
background-color: rgb(186, 178, 158);</string>
</property>
<property name="text">
<string>Error Monitoring</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</widget>
</widget>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>879</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>