model_select.ui 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>model_select</class>
  4. <widget class="QMainWindow" name="model_select">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>1077</width>
  10. <height>732</height>
  11. </rect>
  12. </property>
  13. <property name="font">
  14. <font>
  15. <family>宋体</family>
  16. <pointsize>12</pointsize>
  17. <italic>false</italic>
  18. <bold>false</bold>
  19. </font>
  20. </property>
  21. <property name="windowTitle">
  22. <string>MainWindow</string>
  23. </property>
  24. <property name="styleSheet">
  25. <string notr="true">font:12pt &quot;宋体&quot;;
  26. background-image: url(:/src/picture/bg.svg);</string>
  27. </property>
  28. <widget class="QWidget" name="centralwidget">
  29. <layout class="QGridLayout" name="gridLayout_2">
  30. <item row="0" column="0" rowspan="3">
  31. <widget class="QTreeView" name="tree_set">
  32. <property name="minimumSize">
  33. <size>
  34. <width>150</width>
  35. <height>0</height>
  36. </size>
  37. </property>
  38. <property name="maximumSize">
  39. <size>
  40. <width>150</width>
  41. <height>16777215</height>
  42. </size>
  43. </property>
  44. <property name="font">
  45. <font>
  46. <family>楷体</family>
  47. <pointsize>12</pointsize>
  48. <italic>false</italic>
  49. <bold>false</bold>
  50. </font>
  51. </property>
  52. <property name="styleSheet">
  53. <string notr="true">selection-color: rgb(125, 147, 195);
  54. font: 12pt &quot;楷体&quot;;</string>
  55. </property>
  56. </widget>
  57. </item>
  58. <item row="0" column="1">
  59. <widget class="QWidget" name="widget" native="true">
  60. <layout class="QHBoxLayout" name="horizontalLayout_3">
  61. <item>
  62. <spacer name="horizontalSpacer_9">
  63. <property name="orientation">
  64. <enum>Qt::Horizontal</enum>
  65. </property>
  66. <property name="sizeType">
  67. <enum>QSizePolicy::Minimum</enum>
  68. </property>
  69. <property name="sizeHint" stdset="0">
  70. <size>
  71. <width>37</width>
  72. <height>20</height>
  73. </size>
  74. </property>
  75. </spacer>
  76. </item>
  77. <item>
  78. <widget class="QLabel" name="label_2">
  79. <property name="text">
  80. <string>仿真模型</string>
  81. </property>
  82. </widget>
  83. </item>
  84. <item>
  85. <widget class="QComboBox" name="cbo_model_select">
  86. <property name="minimumSize">
  87. <size>
  88. <width>150</width>
  89. <height>0</height>
  90. </size>
  91. </property>
  92. <property name="maximumSize">
  93. <size>
  94. <width>120</width>
  95. <height>16777215</height>
  96. </size>
  97. </property>
  98. <property name="styleSheet">
  99. <string notr="true">background-color: rgb(125, 147, 195);
  100. background-image: url();</string>
  101. </property>
  102. <property name="editable">
  103. <bool>true</bool>
  104. </property>
  105. </widget>
  106. </item>
  107. <item>
  108. <spacer name="horizontalSpacer_2">
  109. <property name="orientation">
  110. <enum>Qt::Horizontal</enum>
  111. </property>
  112. <property name="sizeHint" stdset="0">
  113. <size>
  114. <width>40</width>
  115. <height>20</height>
  116. </size>
  117. </property>
  118. </spacer>
  119. </item>
  120. <item>
  121. <widget class="QLabel" name="label">
  122. <property name="text">
  123. <string>服务端口</string>
  124. </property>
  125. </widget>
  126. </item>
  127. <item alignment="Qt::AlignVCenter">
  128. <widget class="QLineEdit" name="port">
  129. <property name="enabled">
  130. <bool>false</bool>
  131. </property>
  132. <property name="minimumSize">
  133. <size>
  134. <width>150</width>
  135. <height>0</height>
  136. </size>
  137. </property>
  138. <property name="maximumSize">
  139. <size>
  140. <width>100</width>
  141. <height>16777215</height>
  142. </size>
  143. </property>
  144. <property name="styleSheet">
  145. <string notr="true">background-color: rgb(125, 147, 195);
  146. background-image: url();</string>
  147. </property>
  148. </widget>
  149. </item>
  150. </layout>
  151. </widget>
  152. </item>
  153. <item row="1" column="1">
  154. <widget class="QGroupBox" name="set_init">
  155. <property name="title">
  156. <string/>
  157. </property>
  158. <layout class="QGridLayout" name="gridLayout">
  159. <item row="2" column="0">
  160. <widget class="QStackedWidget" name="condition">
  161. <property name="currentIndex">
  162. <number>0</number>
  163. </property>
  164. <widget class="QWidget" name="wt_page">
  165. <layout class="QGridLayout" name="gridLayout_5" rowstretch="1,4,5,5,5">
  166. <property name="leftMargin">
  167. <number>0</number>
  168. </property>
  169. <property name="topMargin">
  170. <number>0</number>
  171. </property>
  172. <property name="rightMargin">
  173. <number>0</number>
  174. </property>
  175. <property name="bottomMargin">
  176. <number>0</number>
  177. </property>
  178. <property name="horizontalSpacing">
  179. <number>0</number>
  180. </property>
  181. <property name="verticalSpacing">
  182. <number>7</number>
  183. </property>
  184. <item row="2" column="0">
  185. <widget class="QGroupBox" name="groupBox_4">
  186. <property name="title">
  187. <string>退化设置</string>
  188. </property>
  189. <layout class="QGridLayout" name="gridLayout_8">
  190. <item row="0" column="0">
  191. <spacer name="horizontalSpacer">
  192. <property name="orientation">
  193. <enum>Qt::Horizontal</enum>
  194. </property>
  195. <property name="sizeHint" stdset="0">
  196. <size>
  197. <width>40</width>
  198. <height>20</height>
  199. </size>
  200. </property>
  201. </spacer>
  202. </item>
  203. <item row="0" column="7">
  204. <widget class="QPushButton" name="pushButton_5">
  205. <property name="minimumSize">
  206. <size>
  207. <width>150</width>
  208. <height>0</height>
  209. </size>
  210. </property>
  211. <property name="maximumSize">
  212. <size>
  213. <width>150</width>
  214. <height>16777215</height>
  215. </size>
  216. </property>
  217. <property name="text">
  218. <string>GS回流阀泄露</string>
  219. </property>
  220. </widget>
  221. </item>
  222. <item row="0" column="3">
  223. <widget class="QPushButton" name="pushButton_3">
  224. <property name="minimumSize">
  225. <size>
  226. <width>150</width>
  227. <height>0</height>
  228. </size>
  229. </property>
  230. <property name="maximumSize">
  231. <size>
  232. <width>150</width>
  233. <height>16777215</height>
  234. </size>
  235. </property>
  236. <property name="text">
  237. <string>GS泵退化</string>
  238. </property>
  239. </widget>
  240. </item>
  241. <item row="0" column="10">
  242. <spacer name="horizontalSpacer_4">
  243. <property name="orientation">
  244. <enum>Qt::Horizontal</enum>
  245. </property>
  246. <property name="sizeHint" stdset="0">
  247. <size>
  248. <width>40</width>
  249. <height>20</height>
  250. </size>
  251. </property>
  252. </spacer>
  253. </item>
  254. <item row="0" column="9">
  255. <widget class="QPushButton" name="pushButton_6">
  256. <property name="minimumSize">
  257. <size>
  258. <width>150</width>
  259. <height>0</height>
  260. </size>
  261. </property>
  262. <property name="maximumSize">
  263. <size>
  264. <width>150</width>
  265. <height>16777215</height>
  266. </size>
  267. </property>
  268. <property name="text">
  269. <string>GS阀泄露</string>
  270. </property>
  271. </widget>
  272. </item>
  273. <item row="0" column="5">
  274. <widget class="QPushButton" name="pushButton_4">
  275. <property name="minimumSize">
  276. <size>
  277. <width>120</width>
  278. <height>0</height>
  279. </size>
  280. </property>
  281. <property name="maximumSize">
  282. <size>
  283. <width>150</width>
  284. <height>16777215</height>
  285. </size>
  286. </property>
  287. <property name="text">
  288. <string>NS回流阀门泄露</string>
  289. </property>
  290. </widget>
  291. </item>
  292. <item row="0" column="4">
  293. <spacer name="horizontalSpacer_17">
  294. <property name="orientation">
  295. <enum>Qt::Horizontal</enum>
  296. </property>
  297. <property name="sizeHint" stdset="0">
  298. <size>
  299. <width>40</width>
  300. <height>20</height>
  301. </size>
  302. </property>
  303. </spacer>
  304. </item>
  305. <item row="0" column="6">
  306. <spacer name="horizontalSpacer_18">
  307. <property name="orientation">
  308. <enum>Qt::Horizontal</enum>
  309. </property>
  310. <property name="sizeHint" stdset="0">
  311. <size>
  312. <width>40</width>
  313. <height>20</height>
  314. </size>
  315. </property>
  316. </spacer>
  317. </item>
  318. <item row="0" column="2">
  319. <spacer name="horizontalSpacer_16">
  320. <property name="orientation">
  321. <enum>Qt::Horizontal</enum>
  322. </property>
  323. <property name="sizeHint" stdset="0">
  324. <size>
  325. <width>40</width>
  326. <height>20</height>
  327. </size>
  328. </property>
  329. </spacer>
  330. </item>
  331. <item row="0" column="1">
  332. <widget class="QPushButton" name="pushButton_2">
  333. <property name="minimumSize">
  334. <size>
  335. <width>150</width>
  336. <height>0</height>
  337. </size>
  338. </property>
  339. <property name="maximumSize">
  340. <size>
  341. <width>150</width>
  342. <height>16777215</height>
  343. </size>
  344. </property>
  345. <property name="text">
  346. <string>NS泵退化</string>
  347. </property>
  348. </widget>
  349. </item>
  350. <item row="0" column="8">
  351. <spacer name="horizontalSpacer_19">
  352. <property name="orientation">
  353. <enum>Qt::Horizontal</enum>
  354. </property>
  355. <property name="sizeHint" stdset="0">
  356. <size>
  357. <width>40</width>
  358. <height>20</height>
  359. </size>
  360. </property>
  361. </spacer>
  362. </item>
  363. </layout>
  364. </widget>
  365. </item>
  366. <item row="1" column="0">
  367. <widget class="QGroupBox" name="groupBox_15">
  368. <property name="title">
  369. <string>干扰设置</string>
  370. </property>
  371. <layout class="QVBoxLayout" name="verticalLayout">
  372. <item>
  373. <widget class="QCheckBox" name="cbx_disturbance">
  374. <property name="text">
  375. <string>干扰是否开启</string>
  376. </property>
  377. </widget>
  378. </item>
  379. <item>
  380. <widget class="QGroupBox" name="groupBox_17">
  381. <property name="title">
  382. <string/>
  383. </property>
  384. <layout class="QGridLayout" name="gridLayout_6" rowstretch="0">
  385. <property name="leftMargin">
  386. <number>2</number>
  387. </property>
  388. <property name="topMargin">
  389. <number>2</number>
  390. </property>
  391. <property name="rightMargin">
  392. <number>2</number>
  393. </property>
  394. <property name="bottomMargin">
  395. <number>2</number>
  396. </property>
  397. <property name="spacing">
  398. <number>2</number>
  399. </property>
  400. <item row="0" column="5">
  401. <widget class="QLabel" name="label_12">
  402. <property name="text">
  403. <string>结束时间</string>
  404. </property>
  405. </widget>
  406. </item>
  407. <item row="0" column="0">
  408. <widget class="QLabel" name="label_13">
  409. <property name="text">
  410. <string>开始时间</string>
  411. </property>
  412. </widget>
  413. </item>
  414. <item row="0" column="2">
  415. <widget class="QLabel" name="label_8">
  416. <property name="text">
  417. <string>s</string>
  418. </property>
  419. </widget>
  420. </item>
  421. <item row="0" column="7">
  422. <widget class="QLabel" name="label_20">
  423. <property name="text">
  424. <string>s</string>
  425. </property>
  426. </widget>
  427. </item>
  428. <item row="0" column="1">
  429. <widget class="QLineEdit" name="lineEdit">
  430. <property name="minimumSize">
  431. <size>
  432. <width>150</width>
  433. <height>0</height>
  434. </size>
  435. </property>
  436. <property name="maximumSize">
  437. <size>
  438. <width>150</width>
  439. <height>16777215</height>
  440. </size>
  441. </property>
  442. <property name="styleSheet">
  443. <string notr="true">background-color: rgb(125, 147, 195);
  444. background-image: url();</string>
  445. </property>
  446. </widget>
  447. </item>
  448. <item row="0" column="6" alignment="Qt::AlignHCenter">
  449. <widget class="QLineEdit" name="lineEdit_2">
  450. <property name="minimumSize">
  451. <size>
  452. <width>150</width>
  453. <height>0</height>
  454. </size>
  455. </property>
  456. <property name="maximumSize">
  457. <size>
  458. <width>150</width>
  459. <height>16777215</height>
  460. </size>
  461. </property>
  462. <property name="styleSheet">
  463. <string notr="true">background-color: rgb(125, 147, 195);
  464. background-image: url();</string>
  465. </property>
  466. </widget>
  467. </item>
  468. <item row="0" column="3">
  469. <spacer name="horizontalSpacer_3">
  470. <property name="orientation">
  471. <enum>Qt::Horizontal</enum>
  472. </property>
  473. <property name="sizeHint" stdset="0">
  474. <size>
  475. <width>40</width>
  476. <height>20</height>
  477. </size>
  478. </property>
  479. </spacer>
  480. </item>
  481. </layout>
  482. </widget>
  483. </item>
  484. </layout>
  485. </widget>
  486. </item>
  487. <item row="0" column="0">
  488. <widget class="QGroupBox" name="groupBox_12">
  489. <property name="title">
  490. <string>工况设置</string>
  491. </property>
  492. <layout class="QHBoxLayout" name="horizontalLayout_10" stretch="0,0,0,0,0,0">
  493. <item>
  494. <widget class="QLabel" name="label_11">
  495. <property name="text">
  496. <string>仿真节点时间</string>
  497. </property>
  498. </widget>
  499. </item>
  500. <item>
  501. <widget class="QLineEdit" name="sim_time_wt">
  502. <property name="minimumSize">
  503. <size>
  504. <width>150</width>
  505. <height>0</height>
  506. </size>
  507. </property>
  508. <property name="maximumSize">
  509. <size>
  510. <width>150</width>
  511. <height>16777215</height>
  512. </size>
  513. </property>
  514. <property name="styleSheet">
  515. <string notr="true">background-color: rgb(125, 147, 195);
  516. background-image: url();</string>
  517. </property>
  518. </widget>
  519. </item>
  520. <item>
  521. <widget class="QLabel" name="label_21">
  522. <property name="text">
  523. <string>s</string>
  524. </property>
  525. </widget>
  526. </item>
  527. <item>
  528. <spacer name="horizontalSpacer_13">
  529. <property name="orientation">
  530. <enum>Qt::Horizontal</enum>
  531. </property>
  532. <property name="sizeHint" stdset="0">
  533. <size>
  534. <width>40</width>
  535. <height>20</height>
  536. </size>
  537. </property>
  538. </spacer>
  539. </item>
  540. <item>
  541. <widget class="QLabel" name="label_10">
  542. <property name="text">
  543. <string>稳态工况选择</string>
  544. </property>
  545. </widget>
  546. </item>
  547. <item>
  548. <widget class="QComboBox" name="cbo_wt">
  549. <property name="minimumSize">
  550. <size>
  551. <width>150</width>
  552. <height>0</height>
  553. </size>
  554. </property>
  555. <property name="styleSheet">
  556. <string notr="true">background-color: rgb(125, 147, 195);</string>
  557. </property>
  558. </widget>
  559. </item>
  560. </layout>
  561. </widget>
  562. </item>
  563. <item row="3" column="0" rowspan="2">
  564. <widget class="QGroupBox" name="groupBox_5">
  565. <property name="title">
  566. <string>控制模型选取</string>
  567. </property>
  568. <layout class="QHBoxLayout" name="horizontalLayout_5">
  569. <item>
  570. <widget class="QLabel" name="label_14">
  571. <property name="text">
  572. <string>模型控制算法</string>
  573. </property>
  574. </widget>
  575. </item>
  576. <item>
  577. <widget class="QComboBox" name="cbo_pid_wt">
  578. <property name="minimumSize">
  579. <size>
  580. <width>150</width>
  581. <height>0</height>
  582. </size>
  583. </property>
  584. <property name="styleSheet">
  585. <string notr="true">background-color: rgb(125, 147, 195);</string>
  586. </property>
  587. </widget>
  588. </item>
  589. <item>
  590. <spacer name="horizontalSpacer_5">
  591. <property name="orientation">
  592. <enum>Qt::Horizontal</enum>
  593. </property>
  594. <property name="sizeHint" stdset="0">
  595. <size>
  596. <width>150</width>
  597. <height>20</height>
  598. </size>
  599. </property>
  600. </spacer>
  601. </item>
  602. <item>
  603. <widget class="QPushButton" name="pushButton_8">
  604. <property name="text">
  605. <string>参数手动更新</string>
  606. </property>
  607. </widget>
  608. </item>
  609. </layout>
  610. </widget>
  611. </item>
  612. </layout>
  613. </widget>
  614. <widget class="QWidget" name="qh_page">
  615. <layout class="QVBoxLayout" name="verticalLayout_2">
  616. <item>
  617. <widget class="QGroupBox" name="groupBox_13">
  618. <property name="title">
  619. <string>工况设置</string>
  620. </property>
  621. <layout class="QHBoxLayout" name="horizontalLayout_11" stretch="0,0,0,0,0,0">
  622. <item>
  623. <widget class="QLabel" name="label_15">
  624. <property name="text">
  625. <string>仿真节点时间</string>
  626. </property>
  627. </widget>
  628. </item>
  629. <item>
  630. <widget class="QLineEdit" name="sim_time_qh">
  631. <property name="minimumSize">
  632. <size>
  633. <width>150</width>
  634. <height>0</height>
  635. </size>
  636. </property>
  637. <property name="maximumSize">
  638. <size>
  639. <width>150</width>
  640. <height>16777215</height>
  641. </size>
  642. </property>
  643. <property name="styleSheet">
  644. <string notr="true">background-color: rgb(125, 147, 195);
  645. background-image: url();</string>
  646. </property>
  647. </widget>
  648. </item>
  649. <item>
  650. <widget class="QLabel" name="label_22">
  651. <property name="text">
  652. <string>s</string>
  653. </property>
  654. </widget>
  655. </item>
  656. <item>
  657. <spacer name="horizontalSpacer_20">
  658. <property name="orientation">
  659. <enum>Qt::Horizontal</enum>
  660. </property>
  661. <property name="sizeHint" stdset="0">
  662. <size>
  663. <width>40</width>
  664. <height>20</height>
  665. </size>
  666. </property>
  667. </spacer>
  668. </item>
  669. <item>
  670. <widget class="QLabel" name="label_16">
  671. <property name="text">
  672. <string>切换工况选择</string>
  673. </property>
  674. </widget>
  675. </item>
  676. <item>
  677. <widget class="QComboBox" name="cbo_qh">
  678. <property name="minimumSize">
  679. <size>
  680. <width>150</width>
  681. <height>0</height>
  682. </size>
  683. </property>
  684. <property name="styleSheet">
  685. <string notr="true">background-color: rgb(125, 147, 195);
  686. background-image: url();</string>
  687. </property>
  688. </widget>
  689. </item>
  690. </layout>
  691. </widget>
  692. </item>
  693. <item>
  694. <widget class="QGroupBox" name="groupBox_2">
  695. <property name="title">
  696. <string>切换逻辑</string>
  697. </property>
  698. <layout class="QHBoxLayout" name="horizontalLayout_2">
  699. <item>
  700. <widget class="QGroupBox" name="groupBox_3">
  701. <property name="title">
  702. <string/>
  703. </property>
  704. <layout class="QGridLayout" name="gridLayout_3">
  705. <item row="0" column="0">
  706. <widget class="QLabel" name="label_18">
  707. <property name="text">
  708. <string>切换逻辑选择</string>
  709. </property>
  710. </widget>
  711. </item>
  712. <item row="0" column="1">
  713. <widget class="QComboBox" name="cbo_lg">
  714. <property name="minimumSize">
  715. <size>
  716. <width>120</width>
  717. <height>0</height>
  718. </size>
  719. </property>
  720. <property name="styleSheet">
  721. <string notr="true">background-color: rgb(125, 147, 195);
  722. background-image: url();</string>
  723. </property>
  724. </widget>
  725. </item>
  726. <item row="1" column="0">
  727. <widget class="QLabel" name="label_19">
  728. <property name="text">
  729. <string>切换目标选择</string>
  730. </property>
  731. </widget>
  732. </item>
  733. <item row="1" column="1">
  734. <widget class="QComboBox" name="cbo_target">
  735. <property name="minimumSize">
  736. <size>
  737. <width>120</width>
  738. <height>0</height>
  739. </size>
  740. </property>
  741. <property name="styleSheet">
  742. <string notr="true">background-color: rgb(125, 147, 195);
  743. background-image: url();</string>
  744. </property>
  745. </widget>
  746. </item>
  747. </layout>
  748. </widget>
  749. </item>
  750. <item>
  751. <spacer name="horizontalSpacer_10">
  752. <property name="orientation">
  753. <enum>Qt::Horizontal</enum>
  754. </property>
  755. <property name="sizeHint" stdset="0">
  756. <size>
  757. <width>40</width>
  758. <height>20</height>
  759. </size>
  760. </property>
  761. </spacer>
  762. </item>
  763. <item>
  764. <widget class="QGroupBox" name="groupBox_8">
  765. <property name="title">
  766. <string/>
  767. </property>
  768. <layout class="QGridLayout" name="gridLayout_7">
  769. <item row="0" column="0">
  770. <widget class="QLabel" name="label_4">
  771. <property name="text">
  772. <string>NS泵</string>
  773. </property>
  774. </widget>
  775. </item>
  776. <item row="0" column="1">
  777. <widget class="QLineEdit" name="line_nsp">
  778. <property name="styleSheet">
  779. <string notr="true">background-color: rgb(125, 147, 195);
  780. background-image: url();</string>
  781. </property>
  782. </widget>
  783. </item>
  784. <item row="0" column="2">
  785. <widget class="QLabel" name="label_6">
  786. <property name="text">
  787. <string>NS回流阀</string>
  788. </property>
  789. </widget>
  790. </item>
  791. <item row="0" column="3">
  792. <widget class="QLineEdit" name="line_nshf">
  793. <property name="styleSheet">
  794. <string notr="true">background-color: rgb(125, 147, 195);
  795. background-image: url();</string>
  796. </property>
  797. </widget>
  798. </item>
  799. <item row="1" column="0">
  800. <widget class="QLabel" name="label_5">
  801. <property name="text">
  802. <string>GS泵</string>
  803. </property>
  804. </widget>
  805. </item>
  806. <item row="1" column="1">
  807. <widget class="QLineEdit" name="line_gsp">
  808. <property name="styleSheet">
  809. <string notr="true">background-color: rgb(125, 147, 195);
  810. background-image: url();</string>
  811. </property>
  812. </widget>
  813. </item>
  814. <item row="1" column="2">
  815. <widget class="QLabel" name="label_7">
  816. <property name="text">
  817. <string>GS阀</string>
  818. </property>
  819. </widget>
  820. </item>
  821. <item row="1" column="3">
  822. <widget class="QLineEdit" name="line_gsf">
  823. <property name="styleSheet">
  824. <string notr="true">background-color: rgb(125, 147, 195);
  825. background-image: url();</string>
  826. </property>
  827. </widget>
  828. </item>
  829. </layout>
  830. </widget>
  831. </item>
  832. </layout>
  833. </widget>
  834. </item>
  835. <item>
  836. <widget class="QGroupBox" name="groupBox_6">
  837. <property name="title">
  838. <string>退化设置</string>
  839. </property>
  840. <layout class="QHBoxLayout" name="horizontalLayout_6">
  841. <item>
  842. <spacer name="horizontalSpacer_6">
  843. <property name="orientation">
  844. <enum>Qt::Horizontal</enum>
  845. </property>
  846. <property name="sizeHint" stdset="0">
  847. <size>
  848. <width>40</width>
  849. <height>20</height>
  850. </size>
  851. </property>
  852. </spacer>
  853. </item>
  854. <item>
  855. <widget class="QPushButton" name="pushButton_7">
  856. <property name="minimumSize">
  857. <size>
  858. <width>150</width>
  859. <height>0</height>
  860. </size>
  861. </property>
  862. <property name="maximumSize">
  863. <size>
  864. <width>150</width>
  865. <height>16777215</height>
  866. </size>
  867. </property>
  868. <property name="text">
  869. <string>NS泵退化</string>
  870. </property>
  871. </widget>
  872. </item>
  873. <item>
  874. <spacer name="horizontalSpacer_11">
  875. <property name="orientation">
  876. <enum>Qt::Horizontal</enum>
  877. </property>
  878. <property name="sizeHint" stdset="0">
  879. <size>
  880. <width>40</width>
  881. <height>20</height>
  882. </size>
  883. </property>
  884. </spacer>
  885. </item>
  886. <item>
  887. <widget class="QPushButton" name="pushButton_9">
  888. <property name="minimumSize">
  889. <size>
  890. <width>150</width>
  891. <height>0</height>
  892. </size>
  893. </property>
  894. <property name="maximumSize">
  895. <size>
  896. <width>150</width>
  897. <height>16777215</height>
  898. </size>
  899. </property>
  900. <property name="text">
  901. <string>GS泵退化</string>
  902. </property>
  903. </widget>
  904. </item>
  905. <item>
  906. <spacer name="horizontalSpacer_12">
  907. <property name="orientation">
  908. <enum>Qt::Horizontal</enum>
  909. </property>
  910. <property name="sizeHint" stdset="0">
  911. <size>
  912. <width>40</width>
  913. <height>20</height>
  914. </size>
  915. </property>
  916. </spacer>
  917. </item>
  918. <item>
  919. <widget class="QPushButton" name="pushButton_10">
  920. <property name="minimumSize">
  921. <size>
  922. <width>150</width>
  923. <height>0</height>
  924. </size>
  925. </property>
  926. <property name="maximumSize">
  927. <size>
  928. <width>150</width>
  929. <height>16777215</height>
  930. </size>
  931. </property>
  932. <property name="text">
  933. <string>NS回流阀门泄露</string>
  934. </property>
  935. </widget>
  936. </item>
  937. <item>
  938. <spacer name="horizontalSpacer_14">
  939. <property name="orientation">
  940. <enum>Qt::Horizontal</enum>
  941. </property>
  942. <property name="sizeHint" stdset="0">
  943. <size>
  944. <width>40</width>
  945. <height>20</height>
  946. </size>
  947. </property>
  948. </spacer>
  949. </item>
  950. <item>
  951. <widget class="QPushButton" name="pushButton_11">
  952. <property name="minimumSize">
  953. <size>
  954. <width>150</width>
  955. <height>0</height>
  956. </size>
  957. </property>
  958. <property name="maximumSize">
  959. <size>
  960. <width>150</width>
  961. <height>16777215</height>
  962. </size>
  963. </property>
  964. <property name="text">
  965. <string>GS回流阀泄露</string>
  966. </property>
  967. </widget>
  968. </item>
  969. <item>
  970. <spacer name="horizontalSpacer_15">
  971. <property name="orientation">
  972. <enum>Qt::Horizontal</enum>
  973. </property>
  974. <property name="sizeHint" stdset="0">
  975. <size>
  976. <width>40</width>
  977. <height>20</height>
  978. </size>
  979. </property>
  980. </spacer>
  981. </item>
  982. <item>
  983. <widget class="QPushButton" name="pushButton_12">
  984. <property name="minimumSize">
  985. <size>
  986. <width>150</width>
  987. <height>0</height>
  988. </size>
  989. </property>
  990. <property name="maximumSize">
  991. <size>
  992. <width>150</width>
  993. <height>16777215</height>
  994. </size>
  995. </property>
  996. <property name="text">
  997. <string>GS阀泄露</string>
  998. </property>
  999. </widget>
  1000. </item>
  1001. <item>
  1002. <spacer name="horizontalSpacer_7">
  1003. <property name="orientation">
  1004. <enum>Qt::Horizontal</enum>
  1005. </property>
  1006. <property name="sizeHint" stdset="0">
  1007. <size>
  1008. <width>40</width>
  1009. <height>20</height>
  1010. </size>
  1011. </property>
  1012. </spacer>
  1013. </item>
  1014. </layout>
  1015. </widget>
  1016. </item>
  1017. <item>
  1018. <widget class="QGroupBox" name="groupBox_7">
  1019. <property name="title">
  1020. <string>控制模型选取</string>
  1021. </property>
  1022. <layout class="QHBoxLayout" name="horizontalLayout_7">
  1023. <item>
  1024. <widget class="QLabel" name="label_17">
  1025. <property name="text">
  1026. <string>模型控制算法</string>
  1027. </property>
  1028. </widget>
  1029. </item>
  1030. <item>
  1031. <widget class="QComboBox" name="cbo_pid">
  1032. <property name="minimumSize">
  1033. <size>
  1034. <width>150</width>
  1035. <height>0</height>
  1036. </size>
  1037. </property>
  1038. <property name="styleSheet">
  1039. <string notr="true">background-color: rgb(125, 147, 195);
  1040. background-image: url();</string>
  1041. </property>
  1042. </widget>
  1043. </item>
  1044. <item>
  1045. <spacer name="horizontalSpacer_24">
  1046. <property name="orientation">
  1047. <enum>Qt::Horizontal</enum>
  1048. </property>
  1049. <property name="sizeHint" stdset="0">
  1050. <size>
  1051. <width>111</width>
  1052. <height>20</height>
  1053. </size>
  1054. </property>
  1055. </spacer>
  1056. </item>
  1057. <item>
  1058. <widget class="QPushButton" name="pushButton_13">
  1059. <property name="text">
  1060. <string>参数手动更新</string>
  1061. </property>
  1062. </widget>
  1063. </item>
  1064. </layout>
  1065. </widget>
  1066. </item>
  1067. </layout>
  1068. </widget>
  1069. <widget class="QWidget" name="switch_page"/>
  1070. </widget>
  1071. </item>
  1072. <item row="0" column="0">
  1073. <widget class="QGroupBox" name="switch_condition">
  1074. <property name="title">
  1075. <string/>
  1076. </property>
  1077. <layout class="QGridLayout" name="gridLayout_4">
  1078. <item row="0" column="4" alignment="Qt::AlignLeft">
  1079. <widget class="QLineEdit" name="now_condition">
  1080. <property name="enabled">
  1081. <bool>false</bool>
  1082. </property>
  1083. <property name="minimumSize">
  1084. <size>
  1085. <width>150</width>
  1086. <height>0</height>
  1087. </size>
  1088. </property>
  1089. <property name="maximumSize">
  1090. <size>
  1091. <width>150</width>
  1092. <height>16777215</height>
  1093. </size>
  1094. </property>
  1095. <property name="styleSheet">
  1096. <string notr="true">background-color: rgb(125, 147, 195);
  1097. background-image: url();</string>
  1098. </property>
  1099. </widget>
  1100. </item>
  1101. <item row="0" column="1">
  1102. <widget class="QComboBox" name="cbo_condition">
  1103. <property name="minimumSize">
  1104. <size>
  1105. <width>150</width>
  1106. <height>0</height>
  1107. </size>
  1108. </property>
  1109. <property name="styleSheet">
  1110. <string notr="true">background-color: rgb(125, 147, 195);
  1111. background-image: url();</string>
  1112. </property>
  1113. <item>
  1114. <property name="text">
  1115. <string>稳态工况</string>
  1116. </property>
  1117. </item>
  1118. <item>
  1119. <property name="text">
  1120. <string>切换工况</string>
  1121. </property>
  1122. </item>
  1123. </widget>
  1124. </item>
  1125. <item row="0" column="0">
  1126. <widget class="QLabel" name="label_9">
  1127. <property name="text">
  1128. <string>工况选择</string>
  1129. </property>
  1130. </widget>
  1131. </item>
  1132. <item row="0" column="2">
  1133. <spacer name="horizontalSpacer_8">
  1134. <property name="orientation">
  1135. <enum>Qt::Horizontal</enum>
  1136. </property>
  1137. <property name="sizeType">
  1138. <enum>QSizePolicy::MinimumExpanding</enum>
  1139. </property>
  1140. <property name="sizeHint" stdset="0">
  1141. <size>
  1142. <width>100</width>
  1143. <height>20</height>
  1144. </size>
  1145. </property>
  1146. </spacer>
  1147. </item>
  1148. <item row="0" column="3">
  1149. <widget class="QLabel" name="label_3">
  1150. <property name="text">
  1151. <string>当前工况: </string>
  1152. </property>
  1153. </widget>
  1154. </item>
  1155. </layout>
  1156. </widget>
  1157. </item>
  1158. <item row="3" column="0">
  1159. <spacer name="verticalSpacer">
  1160. <property name="orientation">
  1161. <enum>Qt::Vertical</enum>
  1162. </property>
  1163. <property name="sizeHint" stdset="0">
  1164. <size>
  1165. <width>20</width>
  1166. <height>40</height>
  1167. </size>
  1168. </property>
  1169. </spacer>
  1170. </item>
  1171. </layout>
  1172. </widget>
  1173. </item>
  1174. <item row="2" column="1">
  1175. <widget class="QGroupBox" name="groupBox">
  1176. <property name="title">
  1177. <string/>
  1178. </property>
  1179. <layout class="QHBoxLayout" name="horizontalLayout">
  1180. <item>
  1181. <widget class="QPushButton" name="btn_stop">
  1182. <property name="maximumSize">
  1183. <size>
  1184. <width>200</width>
  1185. <height>16777215</height>
  1186. </size>
  1187. </property>
  1188. <property name="text">
  1189. <string>结束仿真</string>
  1190. </property>
  1191. <property name="icon">
  1192. <iconset resource="../../icon/icon.qrc">
  1193. <normaloff>:/shield-check.svg</normaloff>:/shield-check.svg</iconset>
  1194. </property>
  1195. </widget>
  1196. </item>
  1197. <item>
  1198. <widget class="QPushButton" name="btn_pause">
  1199. <property name="maximumSize">
  1200. <size>
  1201. <width>200</width>
  1202. <height>16777215</height>
  1203. </size>
  1204. </property>
  1205. <property name="text">
  1206. <string>暂停仿真</string>
  1207. </property>
  1208. <property name="icon">
  1209. <iconset resource="../../icon/icon.qrc">
  1210. <normaloff>:/shield-loading.svg</normaloff>:/shield-loading.svg</iconset>
  1211. </property>
  1212. </widget>
  1213. </item>
  1214. <item>
  1215. <widget class="QPushButton" name="setListen">
  1216. <property name="maximumSize">
  1217. <size>
  1218. <width>200</width>
  1219. <height>16777215</height>
  1220. </size>
  1221. </property>
  1222. <property name="styleSheet">
  1223. <string notr="true"/>
  1224. </property>
  1225. <property name="text">
  1226. <string>开始仿真</string>
  1227. </property>
  1228. <property name="icon">
  1229. <iconset resource="../../icon/icon.qrc">
  1230. <normaloff>:/shield-download.svg</normaloff>:/shield-download.svg</iconset>
  1231. </property>
  1232. </widget>
  1233. </item>
  1234. </layout>
  1235. </widget>
  1236. </item>
  1237. </layout>
  1238. <zorder>set_init</zorder>
  1239. <zorder>groupBox</zorder>
  1240. <zorder>widget</zorder>
  1241. <zorder>tree_set</zorder>
  1242. </widget>
  1243. <widget class="QStatusBar" name="statusbar"/>
  1244. <widget class="QMenuBar" name="menubar">
  1245. <property name="geometry">
  1246. <rect>
  1247. <x>0</x>
  1248. <y>0</y>
  1249. <width>1077</width>
  1250. <height>25</height>
  1251. </rect>
  1252. </property>
  1253. <widget class="QMenu" name="menu">
  1254. <property name="title">
  1255. <string>开始设置</string>
  1256. </property>
  1257. <addaction name="separator"/>
  1258. <addaction name="separator"/>
  1259. <addaction name="separator"/>
  1260. <addaction name="separator"/>
  1261. <addaction name="separator"/>
  1262. </widget>
  1263. <addaction name="menu"/>
  1264. </widget>
  1265. </widget>
  1266. <resources>
  1267. <include location="../../icon/icon.qrc"/>
  1268. <include location="../../icon/icon.qrc"/>
  1269. </resources>
  1270. <connections/>
  1271. </ui>