综合平台编程器项目的远程存储
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

1278 rindas
40 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>1280</width>
  10. <height>800</height>
  11. </rect>
  12. </property>
  13. <property name="minimumSize">
  14. <size>
  15. <width>960</width>
  16. <height>640</height>
  17. </size>
  18. </property>
  19. <property name="windowTitle">
  20. <string>综合平台编程器</string>
  21. </property>
  22. <property name="dockOptions">
  23. <set>QMainWindow::AllowNestedDocks|QMainWindow::AllowTabbedDocks|QMainWindow::AnimatedDocks</set>
  24. </property>
  25. <widget class="QWidget" name="centralWidget">
  26. <layout class="QVBoxLayout" name="centralLayout">
  27. <property name="spacing">
  28. <number>0</number>
  29. </property>
  30. <property name="leftMargin">
  31. <number>0</number>
  32. </property>
  33. <property name="topMargin">
  34. <number>0</number>
  35. </property>
  36. <property name="rightMargin">
  37. <number>0</number>
  38. </property>
  39. <property name="bottomMargin">
  40. <number>0</number>
  41. </property>
  42. <item>
  43. <widget class="QTabWidget" name="editorTabWidget">
  44. <property name="currentIndex">
  45. <number>0</number>
  46. </property>
  47. <property name="documentMode">
  48. <bool>true</bool>
  49. </property>
  50. <property name="tabsClosable">
  51. <bool>false</bool>
  52. </property>
  53. <property name="movable">
  54. <bool>false</bool>
  55. </property>
  56. <widget class="QWidget" name="hmiEditorTab">
  57. <attribute name="title">
  58. <string>HMI 页面</string>
  59. </attribute>
  60. <layout class="QVBoxLayout" name="hmiEditorLayout">
  61. <property name="spacing">
  62. <number>6</number>
  63. </property>
  64. <property name="leftMargin">
  65. <number>8</number>
  66. </property>
  67. <property name="topMargin">
  68. <number>8</number>
  69. </property>
  70. <property name="rightMargin">
  71. <number>8</number>
  72. </property>
  73. <property name="bottomMargin">
  74. <number>8</number>
  75. </property>
  76. <item>
  77. <widget class="QFrame" name="hmiPageHeader">
  78. <property name="sizePolicy">
  79. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  80. <horstretch>0</horstretch>
  81. <verstretch>0</verstretch>
  82. </sizepolicy>
  83. </property>
  84. <property name="minimumSize">
  85. <size>
  86. <width>0</width>
  87. <height>28</height>
  88. </size>
  89. </property>
  90. <property name="maximumSize">
  91. <size>
  92. <width>16777215</width>
  93. <height>28</height>
  94. </size>
  95. </property>
  96. <property name="frameShape">
  97. <enum>QFrame::NoFrame</enum>
  98. </property>
  99. <layout class="QHBoxLayout" name="hmiPageHeaderLayout">
  100. <property name="leftMargin">
  101. <number>2</number>
  102. </property>
  103. <property name="topMargin">
  104. <number>0</number>
  105. </property>
  106. <property name="rightMargin">
  107. <number>2</number>
  108. </property>
  109. <property name="bottomMargin">
  110. <number>0</number>
  111. </property>
  112. <item>
  113. <widget class="QLabel" name="hmiPageTitleLabel">
  114. <property name="text">
  115. <string>主操作页面</string>
  116. </property>
  117. </widget>
  118. </item>
  119. <item>
  120. <spacer name="hmiHeaderSpacer">
  121. <property name="orientation">
  122. <enum>Qt::Horizontal</enum>
  123. </property>
  124. <property name="sizeHint" stdset="0">
  125. <size>
  126. <width>40</width>
  127. <height>20</height>
  128. </size>
  129. </property>
  130. </spacer>
  131. </item>
  132. <item>
  133. <widget class="QLabel" name="hmiPageSizeLabel">
  134. <property name="text">
  135. <string>800 x 480</string>
  136. </property>
  137. <property name="alignment">
  138. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  139. </property>
  140. </widget>
  141. </item>
  142. </layout>
  143. </widget>
  144. </item>
  145. <item>
  146. <widget class="QFrame" name="hmiCanvasPlaceholder">
  147. <property name="minimumSize">
  148. <size>
  149. <width>0</width>
  150. <height>320</height>
  151. </size>
  152. </property>
  153. <property name="frameShape">
  154. <enum>QFrame::StyledPanel</enum>
  155. </property>
  156. <layout class="QVBoxLayout" name="hmiCanvasLayout">
  157. <item>
  158. <widget class="QLabel" name="hmiEmptyLabel">
  159. <property name="text">
  160. <string>尚未创建 HMI 页面</string>
  161. </property>
  162. <property name="alignment">
  163. <set>Qt::AlignCenter</set>
  164. </property>
  165. </widget>
  166. </item>
  167. </layout>
  168. </widget>
  169. </item>
  170. </layout>
  171. </widget>
  172. <widget class="QWidget" name="logicEditorTab">
  173. <attribute name="title">
  174. <string>控制逻辑</string>
  175. </attribute>
  176. <layout class="QVBoxLayout" name="logicEditorLayout">
  177. <property name="leftMargin">
  178. <number>12</number>
  179. </property>
  180. <property name="topMargin">
  181. <number>12</number>
  182. </property>
  183. <property name="rightMargin">
  184. <number>12</number>
  185. </property>
  186. <property name="bottomMargin">
  187. <number>12</number>
  188. </property>
  189. <item>
  190. <widget class="QFrame" name="logicCanvasPlaceholder">
  191. <property name="frameShape">
  192. <enum>QFrame::StyledPanel</enum>
  193. </property>
  194. <layout class="QVBoxLayout" name="logicCanvasLayout">
  195. <item>
  196. <widget class="QLabel" name="logicEmptyLabel">
  197. <property name="text">
  198. <string>尚未创建控制逻辑</string>
  199. </property>
  200. <property name="alignment">
  201. <set>Qt::AlignCenter</set>
  202. </property>
  203. </widget>
  204. </item>
  205. </layout>
  206. </widget>
  207. </item>
  208. </layout>
  209. </widget>
  210. <widget class="QWidget" name="runtimeMonitorTab">
  211. <attribute name="title">
  212. <string>运行监控</string>
  213. </attribute>
  214. <layout class="QVBoxLayout" name="runtimeMonitorLayout">
  215. <property name="leftMargin"><number>0</number></property>
  216. <property name="topMargin"><number>0</number></property>
  217. <property name="rightMargin"><number>0</number></property>
  218. <property name="bottomMargin"><number>0</number></property>
  219. </layout>
  220. </widget>
  221. </widget>
  222. </item>
  223. </layout>
  224. </widget>
  225. <widget class="QMenuBar" name="menuBar">
  226. <property name="geometry">
  227. <rect>
  228. <x>0</x>
  229. <y>0</y>
  230. <width>1280</width>
  231. <height>17</height>
  232. </rect>
  233. </property>
  234. <widget class="QMenu" name="fileMenu">
  235. <property name="title">
  236. <string>文件(&amp;F)</string>
  237. </property>
  238. <addaction name="newProjectAction"/>
  239. <addaction name="saveProjectAction"/>
  240. <addaction name="saveAsProjectAction"/>
  241. <addaction name="loadProjectAction"/>
  242. <addaction name="separator"/>
  243. <addaction name="exitAction"/>
  244. </widget>
  245. <widget class="QMenu" name="editMenu">
  246. <property name="title">
  247. <string>编辑(&amp;E)</string>
  248. </property>
  249. <addaction name="undoAction"/>
  250. <addaction name="redoAction"/>
  251. <addaction name="separator"/>
  252. <addaction name="deleteSelectionAction"/>
  253. <addaction name="deleteHorizontalWireAction"/>
  254. <addaction name="deleteVerticalWireAction"/>
  255. <addaction name="clearSelectionAction"/>
  256. </widget>
  257. <widget class="QMenu" name="runMenu">
  258. <property name="title">
  259. <string>运行(&amp;R)</string>
  260. </property>
  261. <addaction name="editingModeAction"/>
  262. <addaction name="offlineModeAction"/>
  263. <addaction name="onlineModeAction"/>
  264. <addaction name="separator"/>
  265. <addaction name="configurePlcAction"/>
  266. <addaction name="disconnectPlcAction"/>
  267. </widget>
  268. <widget class="QMenu" name="viewMenu">
  269. <property name="title">
  270. <string>视图(&amp;V)</string>
  271. </property>
  272. <addaction name="configureRegisterCommentsAction"/>
  273. </widget>
  274. <addaction name="fileMenu"/>
  275. <addaction name="editMenu"/>
  276. <addaction name="runMenu"/>
  277. <addaction name="viewMenu"/>
  278. </widget>
  279. <widget class="QStatusBar" name="statusBar"/>
  280. <widget class="QToolBar" name="modeToolBar">
  281. <property name="windowTitle">
  282. <string>运行模式</string>
  283. </property>
  284. <property name="movable">
  285. <bool>false</bool>
  286. </property>
  287. <property name="toolButtonStyle">
  288. <enum>Qt::ToolButtonTextBesideIcon</enum>
  289. </property>
  290. <attribute name="toolBarArea">
  291. <enum>TopToolBarArea</enum>
  292. </attribute>
  293. <attribute name="toolBarBreak">
  294. <bool>false</bool>
  295. </attribute>
  296. <addaction name="editingModeAction"/>
  297. <addaction name="offlineModeAction"/>
  298. <addaction name="onlineModeAction"/>
  299. <addaction name="configurePlcAction"/>
  300. <addaction name="disconnectPlcAction"/>
  301. </widget>
  302. <widget class="QToolBar" name="hmiToolBar">
  303. <property name="windowTitle">
  304. <string>HMI 控件</string>
  305. </property>
  306. <property name="toolButtonStyle">
  307. <enum>Qt::ToolButtonTextBesideIcon</enum>
  308. </property>
  309. <attribute name="toolBarArea">
  310. <enum>TopToolBarArea</enum>
  311. </attribute>
  312. <attribute name="toolBarBreak">
  313. <bool>false</bool>
  314. </attribute>
  315. <addaction name="addButtonAction"/>
  316. <addaction name="addIndicatorAction"/>
  317. <addaction name="addNumericDisplayAction"/>
  318. <addaction name="addNumericInputAction"/>
  319. <addaction name="addLabelAction"/>
  320. <addaction name="deleteControlAction"/>
  321. </widget>
  322. <widget class="QToolBar" name="logicToolBar">
  323. <property name="windowTitle">
  324. <string>控制逻辑节点</string>
  325. </property>
  326. <property name="toolButtonStyle">
  327. <enum>Qt::ToolButtonTextBesideIcon</enum>
  328. </property>
  329. <attribute name="toolBarArea">
  330. <enum>TopToolBarArea</enum>
  331. </attribute>
  332. <attribute name="toolBarBreak">
  333. <bool>false</bool>
  334. </attribute>
  335. <addaction name="addRungAction"/>
  336. <addaction name="insertHorizontalWireAction"/>
  337. <addaction name="insertVerticalWireAction"/>
  338. <addaction name="parallelInsertAction"/>
  339. <addaction name="deleteLogicAction"/>
  340. <addaction name="separator"/>
  341. <addaction name="addNormallyOpenAction"/>
  342. <addaction name="addNormallyClosedAction"/>
  343. <addaction name="addNormalCoilAction"/>
  344. <addaction name="editRungCommentAction"/>
  345. </widget>
  346. <widget class="QDockWidget" name="projectDock">
  347. <property name="minimumSize">
  348. <size>
  349. <width>210</width>
  350. <height>180</height>
  351. </size>
  352. </property>
  353. <property name="windowTitle">
  354. <string>工程</string>
  355. </property>
  356. <attribute name="dockWidgetArea">
  357. <number>1</number>
  358. </attribute>
  359. <widget class="QWidget" name="projectDockContents">
  360. <layout class="QVBoxLayout" name="projectDockLayout">
  361. <property name="leftMargin">
  362. <number>6</number>
  363. </property>
  364. <property name="topMargin">
  365. <number>6</number>
  366. </property>
  367. <property name="rightMargin">
  368. <number>6</number>
  369. </property>
  370. <property name="bottomMargin">
  371. <number>6</number>
  372. </property>
  373. <item>
  374. <widget class="QTreeWidget" name="projectTree">
  375. <property name="rootIsDecorated">
  376. <bool>true</bool>
  377. </property>
  378. <property name="headerHidden">
  379. <bool>true</bool>
  380. </property>
  381. <column>
  382. <property name="text">
  383. <string notr="true">1</string>
  384. </property>
  385. </column>
  386. <item>
  387. <property name="text">
  388. <string>HMI 页面</string>
  389. </property>
  390. </item>
  391. <item>
  392. <property name="text">
  393. <string>控制逻辑</string>
  394. </property>
  395. </item>
  396. </widget>
  397. </item>
  398. </layout>
  399. </widget>
  400. </widget>
  401. <widget class="QDockWidget" name="propertiesDock">
  402. <property name="minimumSize">
  403. <size>
  404. <width>250</width>
  405. <height>180</height>
  406. </size>
  407. </property>
  408. <property name="windowTitle">
  409. <string>属性</string>
  410. </property>
  411. <attribute name="dockWidgetArea">
  412. <number>2</number>
  413. </attribute>
  414. <widget class="QWidget" name="propertiesDockContents">
  415. <layout class="QVBoxLayout" name="propertiesDockLayout">
  416. <property name="leftMargin">
  417. <number>8</number>
  418. </property>
  419. <property name="topMargin">
  420. <number>8</number>
  421. </property>
  422. <property name="rightMargin">
  423. <number>8</number>
  424. </property>
  425. <property name="bottomMargin">
  426. <number>8</number>
  427. </property>
  428. <item>
  429. <widget class="QScrollArea" name="propertiesScrollArea">
  430. <property name="frameShape">
  431. <enum>QFrame::NoFrame</enum>
  432. </property>
  433. <property name="widgetResizable">
  434. <bool>true</bool>
  435. </property>
  436. <widget class="QWidget" name="propertiesPage">
  437. <property name="geometry">
  438. <rect>
  439. <x>0</x>
  440. <y>0</y>
  441. <width>234</width>
  442. <height>455</height>
  443. </rect>
  444. </property>
  445. <layout class="QVBoxLayout" name="propertiesPageLayout">
  446. <item>
  447. <layout class="QFormLayout" name="selectionForm">
  448. <item row="0" column="0">
  449. <widget class="QLabel" name="selectionCaptionLabel">
  450. <property name="text">
  451. <string>当前对象</string>
  452. </property>
  453. </widget>
  454. </item>
  455. <item row="0" column="1">
  456. <widget class="QLabel" name="selectionValueLabel">
  457. <property name="text">
  458. <string>未选择</string>
  459. </property>
  460. </widget>
  461. </item>
  462. </layout>
  463. </item>
  464. <item>
  465. <widget class="QStackedWidget" name="propertyStack">
  466. <widget class="QWidget" name="hmiPropertiesPage">
  467. <layout class="QFormLayout" name="hmiPropertiesForm">
  468. <property name="fieldGrowthPolicy">
  469. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  470. </property>
  471. <item row="0" column="0">
  472. <widget class="QLabel" name="controlIdLabel">
  473. <property name="text">
  474. <string>控件 ID</string>
  475. </property>
  476. </widget>
  477. </item>
  478. <item row="0" column="1">
  479. <widget class="QLineEdit" name="controlIdEdit"/>
  480. </item>
  481. <item row="1" column="0">
  482. <widget class="QLabel" name="controlTextLabel">
  483. <property name="text">
  484. <string>显示文本</string>
  485. </property>
  486. </widget>
  487. </item>
  488. <item row="1" column="1">
  489. <widget class="QLineEdit" name="controlTextEdit"/>
  490. </item>
  491. <item row="2" column="0">
  492. <widget class="QLabel" name="controlXLabel">
  493. <property name="text">
  494. <string>X</string>
  495. </property>
  496. </widget>
  497. </item>
  498. <item row="2" column="1">
  499. <widget class="QSpinBox" name="controlXSpinBox">
  500. <property name="maximum">
  501. <number>4000</number>
  502. </property>
  503. </widget>
  504. </item>
  505. <item row="3" column="0">
  506. <widget class="QLabel" name="controlYLabel">
  507. <property name="text">
  508. <string>Y</string>
  509. </property>
  510. </widget>
  511. </item>
  512. <item row="3" column="1">
  513. <widget class="QSpinBox" name="controlYSpinBox">
  514. <property name="maximum">
  515. <number>4000</number>
  516. </property>
  517. </widget>
  518. </item>
  519. <item row="4" column="0">
  520. <widget class="QLabel" name="controlWidthLabel">
  521. <property name="text">
  522. <string>宽度</string>
  523. </property>
  524. </widget>
  525. </item>
  526. <item row="4" column="1">
  527. <widget class="QSpinBox" name="controlWidthSpinBox">
  528. <property name="minimum">
  529. <number>1</number>
  530. </property>
  531. <property name="maximum">
  532. <number>4000</number>
  533. </property>
  534. </widget>
  535. </item>
  536. <item row="5" column="0">
  537. <widget class="QLabel" name="controlHeightLabel">
  538. <property name="text">
  539. <string>高度</string>
  540. </property>
  541. </widget>
  542. </item>
  543. <item row="5" column="1">
  544. <widget class="QSpinBox" name="controlHeightSpinBox">
  545. <property name="minimum">
  546. <number>1</number>
  547. </property>
  548. <property name="maximum">
  549. <number>4000</number>
  550. </property>
  551. </widget>
  552. </item>
  553. <item row="6" column="0">
  554. <widget class="QLabel" name="bindingAreaLabel">
  555. <property name="text">
  556. <string>绑定区域</string>
  557. </property>
  558. </widget>
  559. </item>
  560. <item row="6" column="1">
  561. <widget class="QComboBox" name="bindingAreaComboBox">
  562. <item>
  563. <property name="text">
  564. <string>未绑定</string>
  565. </property>
  566. </item>
  567. <item>
  568. <property name="text">
  569. <string>M</string>
  570. </property>
  571. </item>
  572. <item>
  573. <property name="text">
  574. <string>D</string>
  575. </property>
  576. </item>
  577. </widget>
  578. </item>
  579. <item row="7" column="0">
  580. <widget class="QLabel" name="bindingIndexLabel">
  581. <property name="text">
  582. <string>绑定地址</string>
  583. </property>
  584. </widget>
  585. </item>
  586. <item row="7" column="1">
  587. <widget class="QSpinBox" name="bindingIndexSpinBox">
  588. <property name="maximum">
  589. <number>4000</number>
  590. </property>
  591. </widget>
  592. </item>
  593. <item row="8" column="0">
  594. <widget class="QLabel" name="targetPageLabel">
  595. <property name="text">
  596. <string>目标页面</string>
  597. </property>
  598. </widget>
  599. </item>
  600. <item row="8" column="1">
  601. <widget class="QComboBox" name="targetPageComboBox"/>
  602. </item>
  603. <item row="9" column="0">
  604. <widget class="QLabel" name="buttonOperationLabel">
  605. <property name="text">
  606. <string>按钮操作</string>
  607. </property>
  608. </widget>
  609. </item>
  610. <item row="9" column="1">
  611. <widget class="QComboBox" name="buttonOperationComboBox">
  612. <item>
  613. <property name="text">
  614. <string>置 ON</string>
  615. </property>
  616. </item>
  617. <item>
  618. <property name="text">
  619. <string>置 OFF</string>
  620. </property>
  621. </item>
  622. <item>
  623. <property name="text">
  624. <string>取反</string>
  625. </property>
  626. </item>
  627. <item>
  628. <property name="text">
  629. <string>瞬时 ON</string>
  630. </property>
  631. </item>
  632. </widget>
  633. </item>
  634. <item row="10" column="0">
  635. <widget class="QLabel" name="progressMinimumLabel">
  636. <property name="text">
  637. <string>最小值</string>
  638. </property>
  639. </widget>
  640. </item>
  641. <item row="10" column="1">
  642. <widget class="QSpinBox" name="progressMinimumSpinBox">
  643. <property name="minimum">
  644. <number>-32768</number>
  645. </property>
  646. <property name="maximum">
  647. <number>32767</number>
  648. </property>
  649. </widget>
  650. </item>
  651. <item row="11" column="0">
  652. <widget class="QLabel" name="progressMaximumLabel">
  653. <property name="text">
  654. <string>最大值</string>
  655. </property>
  656. </widget>
  657. </item>
  658. <item row="11" column="1">
  659. <widget class="QSpinBox" name="progressMaximumSpinBox">
  660. <property name="minimum">
  661. <number>-32768</number>
  662. </property>
  663. <property name="maximum">
  664. <number>32767</number>
  665. </property>
  666. </widget>
  667. </item>
  668. <item row="12" column="0">
  669. <widget class="QLabel" name="progressShowValueLabel">
  670. <property name="text">
  671. <string>数值显示</string>
  672. </property>
  673. </widget>
  674. </item>
  675. <item row="12" column="1">
  676. <widget class="QCheckBox" name="progressShowValueCheckBox">
  677. <property name="text">
  678. <string>显示百分比</string>
  679. </property>
  680. </widget>
  681. </item>
  682. <item row="13" column="0" colspan="2">
  683. <widget class="QPushButton" name="applyPropertiesButton">
  684. <property name="text">
  685. <string>应用属性</string>
  686. </property>
  687. </widget>
  688. </item>
  689. </layout>
  690. </widget>
  691. <widget class="QWidget" name="logicPropertiesPage">
  692. <layout class="QFormLayout" name="logicPropertiesForm">
  693. <property name="fieldGrowthPolicy">
  694. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  695. </property>
  696. <item row="0" column="0">
  697. <widget class="QLabel" name="logicNodeIdLabel">
  698. <property name="text">
  699. <string>节点 ID</string>
  700. </property>
  701. </widget>
  702. </item>
  703. <item row="0" column="1">
  704. <widget class="QLineEdit" name="logicNodeIdEdit">
  705. <property name="readOnly">
  706. <bool>true</bool>
  707. </property>
  708. </widget>
  709. </item>
  710. <item row="1" column="0">
  711. <widget class="QLabel" name="logicNodeTypeCaption">
  712. <property name="text">
  713. <string>节点类型</string>
  714. </property>
  715. </widget>
  716. </item>
  717. <item row="1" column="1">
  718. <widget class="QLabel" name="logicNodeTypeLabel">
  719. <property name="text">
  720. <string/>
  721. </property>
  722. </widget>
  723. </item>
  724. <item row="2" column="0">
  725. <widget class="QLabel" name="logicAddressAreaCaption">
  726. <property name="text">
  727. <string>地址区域</string>
  728. </property>
  729. </widget>
  730. </item>
  731. <item row="2" column="1">
  732. <widget class="QLabel" name="logicAddressAreaLabel">
  733. <property name="text">
  734. <string/>
  735. </property>
  736. </widget>
  737. </item>
  738. <item row="3" column="0">
  739. <widget class="QLabel" name="logicAddressLabel">
  740. <property name="text">
  741. <string>地址</string>
  742. </property>
  743. </widget>
  744. </item>
  745. <item row="3" column="1">
  746. <widget class="QSpinBox" name="logicAddressSpinBox">
  747. <property name="maximum">
  748. <number>4000</number>
  749. </property>
  750. </widget>
  751. </item>
  752. <item row="4" column="0">
  753. <widget class="QLabel" name="logicModeLabel">
  754. <property name="text">
  755. <string>工作方式</string>
  756. </property>
  757. </widget>
  758. </item>
  759. <item row="4" column="1">
  760. <widget class="QComboBox" name="logicModeComboBox"/>
  761. </item>
  762. <item row="5" column="0">
  763. <widget class="QLabel" name="logicComparisonLabel">
  764. <property name="text">
  765. <string>比较运算</string>
  766. </property>
  767. </widget>
  768. </item>
  769. <item row="5" column="1">
  770. <widget class="QComboBox" name="logicComparisonComboBox">
  771. <item>
  772. <property name="text">
  773. <string>等于</string>
  774. </property>
  775. </item>
  776. <item>
  777. <property name="text">
  778. <string>不等于</string>
  779. </property>
  780. </item>
  781. <item>
  782. <property name="text">
  783. <string>小于</string>
  784. </property>
  785. </item>
  786. <item>
  787. <property name="text">
  788. <string>小于等于</string>
  789. </property>
  790. </item>
  791. <item>
  792. <property name="text">
  793. <string>大于</string>
  794. </property>
  795. </item>
  796. <item>
  797. <property name="text">
  798. <string>大于等于</string>
  799. </property>
  800. </item>
  801. </widget>
  802. </item>
  803. <item row="6" column="0">
  804. <widget class="QLabel" name="logicValueLabel">
  805. <property name="text">
  806. <string>比较常量</string>
  807. </property>
  808. </widget>
  809. </item>
  810. <item row="6" column="1">
  811. <widget class="QSpinBox" name="logicValueSpinBox">
  812. <property name="minimum">
  813. <number>-32768</number>
  814. </property>
  815. <property name="maximum">
  816. <number>32767</number>
  817. </property>
  818. </widget>
  819. </item>
  820. <item row="7" column="0">
  821. <widget class="QLabel" name="logicPresetLabel">
  822. <property name="text">
  823. <string>预设时间(ms)</string>
  824. </property>
  825. </widget>
  826. </item>
  827. <item row="7" column="1">
  828. <widget class="QSpinBox" name="logicPresetSpinBox">
  829. <property name="minimum">
  830. <number>1</number>
  831. </property>
  832. <property name="maximum">
  833. <number>86400000</number>
  834. </property>
  835. <property name="value">
  836. <number>1000</number>
  837. </property>
  838. </widget>
  839. </item>
  840. <item row="8" column="0" colspan="2">
  841. <widget class="QPushButton" name="applyLogicPropertiesButton">
  842. <property name="text">
  843. <string>应用属性</string>
  844. </property>
  845. </widget>
  846. </item>
  847. </layout>
  848. </widget>
  849. </widget>
  850. </item>
  851. </layout>
  852. </widget>
  853. </widget>
  854. </item>
  855. </layout>
  856. </widget>
  857. </widget>
  858. <widget class="QDockWidget" name="outputDock">
  859. <property name="minimumSize">
  860. <size>
  861. <width>300</width>
  862. <height>110</height>
  863. </size>
  864. </property>
  865. <property name="windowTitle">
  866. <string>输出</string>
  867. </property>
  868. <attribute name="dockWidgetArea">
  869. <number>8</number>
  870. </attribute>
  871. <widget class="QWidget" name="outputDockContents">
  872. <layout class="QVBoxLayout" name="outputDockLayout">
  873. <property name="leftMargin">
  874. <number>6</number>
  875. </property>
  876. <property name="topMargin">
  877. <number>6</number>
  878. </property>
  879. <property name="rightMargin">
  880. <number>6</number>
  881. </property>
  882. <property name="bottomMargin">
  883. <number>6</number>
  884. </property>
  885. <item>
  886. <widget class="QListWidget" name="outputList">
  887. <item>
  888. <property name="text">
  889. <string>系统已就绪</string>
  890. </property>
  891. </item>
  892. </widget>
  893. </item>
  894. </layout>
  895. </widget>
  896. </widget>
  897. <action name="exitAction">
  898. <property name="text">
  899. <string>退出(&amp;X)</string>
  900. </property>
  901. </action>
  902. <action name="newProjectAction">
  903. <property name="text">
  904. <string>新建工程</string>
  905. </property>
  906. <property name="shortcut">
  907. <string>Ctrl+N</string>
  908. </property>
  909. </action>
  910. <action name="saveProjectAction">
  911. <property name="text">
  912. <string>保存工程</string>
  913. </property>
  914. <property name="shortcut">
  915. <string>Ctrl+S</string>
  916. </property>
  917. </action>
  918. <action name="saveAsProjectAction">
  919. <property name="text">
  920. <string>工程另存为</string>
  921. </property>
  922. <property name="shortcut">
  923. <string>Ctrl+Shift+S</string>
  924. </property>
  925. </action>
  926. <action name="loadProjectAction">
  927. <property name="text">
  928. <string>加载工程</string>
  929. </property>
  930. <property name="shortcut">
  931. <string>Ctrl+O</string>
  932. </property>
  933. </action>
  934. <action name="undoAction">
  935. <property name="text"><string>撤销</string></property>
  936. <property name="toolTip"><string>撤销当前编辑器的上一步操作</string></property>
  937. <property name="shortcut"><string>Ctrl+Z</string></property>
  938. </action>
  939. <action name="redoAction">
  940. <property name="text"><string>重做</string></property>
  941. <property name="toolTip"><string>重做当前编辑器最近撤销的操作</string></property>
  942. <property name="shortcut"><string>Ctrl+Y</string></property>
  943. </action>
  944. <action name="deleteSelectionAction">
  945. <property name="text"><string>删除所选</string></property>
  946. <property name="toolTip"><string>删除当前画布中选中的对象</string></property>
  947. <property name="shortcut"><string>Delete</string></property>
  948. </action>
  949. <action name="clearSelectionAction">
  950. <property name="text"><string>清除选择</string></property>
  951. <property name="toolTip"><string>清除当前画布选择</string></property>
  952. <property name="shortcut"><string>Esc</string></property>
  953. </action>
  954. <action name="configurePlcAction">
  955. <property name="text">
  956. <string>PLC 配置</string>
  957. </property>
  958. <property name="toolTip">
  959. <string>配置参数并连接真实 PLC</string>
  960. </property>
  961. </action>
  962. <action name="configureRegisterCommentsAction">
  963. <property name="text">
  964. <string>软元件注释</string>
  965. </property>
  966. <property name="toolTip">
  967. <string>维护工程级 M/D 地址注释</string>
  968. </property>
  969. </action>
  970. <action name="disconnectPlcAction">
  971. <property name="text">
  972. <string>断开 PLC</string>
  973. </property>
  974. <property name="toolTip">
  975. <string>断开当前 PLC 连接</string>
  976. </property>
  977. </action>
  978. <action name="addButtonAction">
  979. <property name="text">
  980. <string>按钮</string>
  981. </property>
  982. <property name="toolTip">
  983. <string>添加按钮控件</string>
  984. </property>
  985. </action>
  986. <action name="addIndicatorAction">
  987. <property name="text">
  988. <string>指示灯</string>
  989. </property>
  990. <property name="toolTip">
  991. <string>添加指示灯控件</string>
  992. </property>
  993. </action>
  994. <action name="addNumericDisplayAction">
  995. <property name="text">
  996. <string>数值显示</string>
  997. </property>
  998. <property name="toolTip">
  999. <string>添加数值显示控件</string>
  1000. </property>
  1001. </action>
  1002. <action name="addNumericInputAction">
  1003. <property name="text">
  1004. <string>数值输入</string>
  1005. </property>
  1006. <property name="toolTip">
  1007. <string>添加数值输入控件</string>
  1008. </property>
  1009. </action>
  1010. <action name="addProgressBarAction">
  1011. <property name="text">
  1012. <string>进度条</string>
  1013. </property>
  1014. <property name="toolTip">
  1015. <string>添加进度条控件</string>
  1016. </property>
  1017. </action>
  1018. <action name="addLabelAction">
  1019. <property name="text">
  1020. <string>文本</string>
  1021. </property>
  1022. <property name="toolTip">
  1023. <string>添加固定文本控件</string>
  1024. </property>
  1025. </action>
  1026. <action name="addPageJumpAction">
  1027. <property name="text">
  1028. <string>页面跳转</string>
  1029. </property>
  1030. <property name="toolTip">
  1031. <string>添加页面跳转控件</string>
  1032. </property>
  1033. </action>
  1034. <action name="addAlarmListAction">
  1035. <property name="text">
  1036. <string>报警列表</string>
  1037. </property>
  1038. <property name="toolTip">
  1039. <string>添加报警列表控件</string>
  1040. </property>
  1041. </action>
  1042. <action name="configureAlarmsAction">
  1043. <property name="text">
  1044. <string>报警配置</string>
  1045. </property>
  1046. <property name="toolTip">
  1047. <string>配置 M 和 D 报警条件</string>
  1048. </property>
  1049. </action>
  1050. <action name="deleteControlAction">
  1051. <property name="text">
  1052. <string>删除</string>
  1053. </property>
  1054. <property name="toolTip">
  1055. <string>删除当前控件</string>
  1056. </property>
  1057. </action>
  1058. <action name="addRungAction">
  1059. <property name="text">
  1060. <string>新建网络</string>
  1061. </property>
  1062. <property name="toolTip">
  1063. <string>在梯形图末尾新增网络</string>
  1064. </property>
  1065. </action>
  1066. <action name="insertHorizontalWireAction">
  1067. <property name="text">
  1068. <string>横线</string>
  1069. </property>
  1070. <property name="toolTip">
  1071. <string>在所选条件或横线后插入横线;没有选择时追加到当前网络</string>
  1072. </property>
  1073. <property name="shortcut">
  1074. <string>F11</string>
  1075. </property>
  1076. </action>
  1077. <action name="insertVerticalWireAction">
  1078. <property name="text">
  1079. <string>竖线</string>
  1080. </property>
  1081. <property name="toolTip">
  1082. <string>为所选连续逻辑范围建立横线旁路和竖线连接</string>
  1083. </property>
  1084. <property name="shortcut">
  1085. <string>F12</string>
  1086. </property>
  1087. </action>
  1088. <action name="deleteHorizontalWireAction">
  1089. <property name="text">
  1090. <string>删除横线</string>
  1091. </property>
  1092. <property name="toolTip">
  1093. <string>删除画布中选中的横线</string>
  1094. </property>
  1095. <property name="shortcut">
  1096. <string>Shift+F11</string>
  1097. </property>
  1098. </action>
  1099. <action name="deleteVerticalWireAction">
  1100. <property name="text">
  1101. <string>删除竖线</string>
  1102. </property>
  1103. <property name="toolTip">
  1104. <string>删除画布中选中的竖线及其对应并联支路</string>
  1105. </property>
  1106. <property name="shortcut">
  1107. <string>Shift+F12</string>
  1108. </property>
  1109. </action>
  1110. <action name="parallelInsertAction">
  1111. <property name="text">
  1112. <string>并联支路</string>
  1113. </property>
  1114. <property name="toolTip">
  1115. <string>为画布中选中的连续节点建立并联支路</string>
  1116. </property>
  1117. </action>
  1118. <action name="addNormallyOpenAction">
  1119. <property name="text">
  1120. <string>常开</string>
  1121. </property>
  1122. <property name="toolTip">
  1123. <string>向当前网络添加常开触点</string>
  1124. </property>
  1125. </action>
  1126. <action name="addNormallyClosedAction">
  1127. <property name="text">
  1128. <string>常闭</string>
  1129. </property>
  1130. <property name="toolTip">
  1131. <string>向当前网络添加常闭触点</string>
  1132. </property>
  1133. </action>
  1134. <action name="addRisingEdgeAction">
  1135. <property name="text">
  1136. <string>上升沿</string>
  1137. </property>
  1138. <property name="toolTip">
  1139. <string>添加一个扫描周期的上升沿触点</string>
  1140. </property>
  1141. </action>
  1142. <action name="addFallingEdgeAction">
  1143. <property name="text">
  1144. <string>下降沿</string>
  1145. </property>
  1146. <property name="toolTip">
  1147. <string>添加一个扫描周期的下降沿触点</string>
  1148. </property>
  1149. </action>
  1150. <action name="addTimerContactAction">
  1151. <property name="text">
  1152. <string>T 触点</string>
  1153. </property>
  1154. <property name="toolTip">
  1155. <string>添加离线仿真定时器触点</string>
  1156. </property>
  1157. </action>
  1158. <action name="addCounterContactAction">
  1159. <property name="text"><string>C 触点</string></property>
  1160. <property name="toolTip"><string>添加离线仿真计数器完成触点</string></property>
  1161. </action>
  1162. <action name="addNormalCoilAction">
  1163. <property name="text">
  1164. <string>线圈</string>
  1165. </property>
  1166. <property name="toolTip">
  1167. <string>设置当前网络的普通线圈</string>
  1168. </property>
  1169. </action>
  1170. <action name="addSetCoilAction">
  1171. <property name="text">
  1172. <string>置位</string>
  1173. </property>
  1174. <property name="toolTip">
  1175. <string>设置当前网络的置位线圈</string>
  1176. </property>
  1177. </action>
  1178. <action name="addResetCoilAction">
  1179. <property name="text">
  1180. <string>复位</string>
  1181. </property>
  1182. <property name="toolTip">
  1183. <string>设置当前网络的复位线圈</string>
  1184. </property>
  1185. </action>
  1186. <action name="addTonAction">
  1187. <property name="text">
  1188. <string>TON</string>
  1189. </property>
  1190. <property name="toolTip">
  1191. <string>设置非保持接通延时定时器输出</string>
  1192. </property>
  1193. </action>
  1194. <action name="addCtuAction">
  1195. <property name="text"><string>CTU</string></property>
  1196. <property name="toolTip"><string>设置按上升沿执行的加计数器</string></property>
  1197. </action>
  1198. <action name="addCtdAction">
  1199. <property name="text"><string>CTD</string></property>
  1200. <property name="toolTip"><string>设置按上升沿执行的减计数器</string></property>
  1201. </action>
  1202. <action name="addMoveAction">
  1203. <property name="text"><string>MOVE</string></property>
  1204. <property name="toolTip"><string>设置 D 数据传送指令</string></property>
  1205. </action>
  1206. <action name="addAddAction">
  1207. <property name="text"><string>ADD</string></property>
  1208. <property name="toolTip"><string>设置带饱和处理的加法指令</string></property>
  1209. </action>
  1210. <action name="addSubAction">
  1211. <property name="text"><string>SUB</string></property>
  1212. <property name="toolTip"><string>设置带饱和处理的减法指令</string></property>
  1213. </action>
  1214. <action name="addCompareAction">
  1215. <property name="text">
  1216. <string>D 比较</string>
  1217. </property>
  1218. <property name="toolTip">
  1219. <string>向当前网络添加 D 值与常量比较</string>
  1220. </property>
  1221. </action>
  1222. <action name="editRungCommentAction">
  1223. <property name="text">
  1224. <string>网络注释</string>
  1225. </property>
  1226. <property name="toolTip">
  1227. <string>编辑当前梯形图网络说明</string>
  1228. </property>
  1229. </action>
  1230. <action name="deleteLogicAction">
  1231. <property name="text">
  1232. <string>删除节点/网络</string>
  1233. </property>
  1234. <property name="toolTip">
  1235. <string>删除选中的逻辑节点或网络</string>
  1236. </property>
  1237. </action>
  1238. <action name="editingModeAction">
  1239. <property name="checkable">
  1240. <bool>true</bool>
  1241. </property>
  1242. <property name="checked">
  1243. <bool>true</bool>
  1244. </property>
  1245. <property name="text">
  1246. <string>编辑</string>
  1247. </property>
  1248. <property name="toolTip">
  1249. <string>进入编辑态</string>
  1250. </property>
  1251. </action>
  1252. <action name="offlineModeAction">
  1253. <property name="checkable">
  1254. <bool>true</bool>
  1255. </property>
  1256. <property name="text">
  1257. <string>离线运行</string>
  1258. </property>
  1259. <property name="toolTip">
  1260. <string>进入离线运行态</string>
  1261. </property>
  1262. </action>
  1263. <action name="onlineModeAction">
  1264. <property name="checkable">
  1265. <bool>true</bool>
  1266. </property>
  1267. <property name="text">
  1268. <string>真机运行</string>
  1269. </property>
  1270. <property name="toolTip">
  1271. <string>进入真机运行态</string>
  1272. </property>
  1273. </action>
  1274. </widget>
  1275. <resources/>
  1276. <connections/>
  1277. </ui>