综合平台编程器项目的远程存储
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

1147 wiersze
35 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="runMenu">
  246. <property name="title">
  247. <string>运行(&amp;R)</string>
  248. </property>
  249. <addaction name="editingModeAction"/>
  250. <addaction name="offlineModeAction"/>
  251. <addaction name="onlineModeAction"/>
  252. <addaction name="separator"/>
  253. <addaction name="configurePlcAction"/>
  254. <addaction name="disconnectPlcAction"/>
  255. </widget>
  256. <widget class="QMenu" name="viewMenu">
  257. <property name="title">
  258. <string>视图(&amp;V)</string>
  259. </property>
  260. <addaction name="configureRegisterCommentsAction"/>
  261. </widget>
  262. <addaction name="fileMenu"/>
  263. <addaction name="runMenu"/>
  264. <addaction name="viewMenu"/>
  265. </widget>
  266. <widget class="QStatusBar" name="statusBar"/>
  267. <widget class="QToolBar" name="modeToolBar">
  268. <property name="windowTitle">
  269. <string>运行模式</string>
  270. </property>
  271. <property name="movable">
  272. <bool>false</bool>
  273. </property>
  274. <property name="toolButtonStyle">
  275. <enum>Qt::ToolButtonTextBesideIcon</enum>
  276. </property>
  277. <attribute name="toolBarArea">
  278. <enum>TopToolBarArea</enum>
  279. </attribute>
  280. <attribute name="toolBarBreak">
  281. <bool>false</bool>
  282. </attribute>
  283. <addaction name="editingModeAction"/>
  284. <addaction name="offlineModeAction"/>
  285. <addaction name="onlineModeAction"/>
  286. <addaction name="configurePlcAction"/>
  287. <addaction name="disconnectPlcAction"/>
  288. </widget>
  289. <widget class="QToolBar" name="hmiToolBar">
  290. <property name="windowTitle">
  291. <string>HMI 控件</string>
  292. </property>
  293. <property name="toolButtonStyle">
  294. <enum>Qt::ToolButtonTextBesideIcon</enum>
  295. </property>
  296. <attribute name="toolBarArea">
  297. <enum>TopToolBarArea</enum>
  298. </attribute>
  299. <attribute name="toolBarBreak">
  300. <bool>false</bool>
  301. </attribute>
  302. <addaction name="addButtonAction"/>
  303. <addaction name="addIndicatorAction"/>
  304. <addaction name="addNumericDisplayAction"/>
  305. <addaction name="addNumericInputAction"/>
  306. <addaction name="addLabelAction"/>
  307. <addaction name="addPageJumpAction"/>
  308. <addaction name="addAlarmListAction"/>
  309. <addaction name="configureAlarmsAction"/>
  310. <addaction name="deleteControlAction"/>
  311. </widget>
  312. <widget class="QToolBar" name="logicToolBar">
  313. <property name="windowTitle">
  314. <string>控制逻辑节点</string>
  315. </property>
  316. <property name="toolButtonStyle">
  317. <enum>Qt::ToolButtonTextBesideIcon</enum>
  318. </property>
  319. <attribute name="toolBarArea">
  320. <enum>TopToolBarArea</enum>
  321. </attribute>
  322. <attribute name="toolBarBreak">
  323. <bool>false</bool>
  324. </attribute>
  325. <addaction name="addRungAction"/>
  326. <addaction name="parallelInsertAction"/>
  327. <addaction name="separator"/>
  328. <addaction name="addNormallyOpenAction"/>
  329. <addaction name="addNormallyClosedAction"/>
  330. <addaction name="addRisingEdgeAction"/>
  331. <addaction name="addFallingEdgeAction"/>
  332. <addaction name="addTimerContactAction"/>
  333. <addaction name="addCounterContactAction"/>
  334. <addaction name="addNormalCoilAction"/>
  335. <addaction name="addSetCoilAction"/>
  336. <addaction name="addResetCoilAction"/>
  337. <addaction name="addTonAction"/>
  338. <addaction name="addCtuAction"/>
  339. <addaction name="addCtdAction"/>
  340. <addaction name="addMoveAction"/>
  341. <addaction name="addAddAction"/>
  342. <addaction name="addSubAction"/>
  343. <addaction name="addCompareAction"/>
  344. <addaction name="editRungCommentAction"/>
  345. <addaction name="deleteLogicAction"/>
  346. </widget>
  347. <widget class="QDockWidget" name="projectDock">
  348. <property name="minimumSize">
  349. <size>
  350. <width>210</width>
  351. <height>180</height>
  352. </size>
  353. </property>
  354. <property name="windowTitle">
  355. <string>工程</string>
  356. </property>
  357. <attribute name="dockWidgetArea">
  358. <number>1</number>
  359. </attribute>
  360. <widget class="QWidget" name="projectDockContents">
  361. <layout class="QVBoxLayout" name="projectDockLayout">
  362. <property name="leftMargin">
  363. <number>6</number>
  364. </property>
  365. <property name="topMargin">
  366. <number>6</number>
  367. </property>
  368. <property name="rightMargin">
  369. <number>6</number>
  370. </property>
  371. <property name="bottomMargin">
  372. <number>6</number>
  373. </property>
  374. <item>
  375. <widget class="QTreeWidget" name="projectTree">
  376. <property name="rootIsDecorated">
  377. <bool>true</bool>
  378. </property>
  379. <property name="headerHidden">
  380. <bool>true</bool>
  381. </property>
  382. <column>
  383. <property name="text">
  384. <string notr="true">1</string>
  385. </property>
  386. </column>
  387. <item>
  388. <property name="text">
  389. <string>HMI 页面</string>
  390. </property>
  391. </item>
  392. <item>
  393. <property name="text">
  394. <string>控制逻辑</string>
  395. </property>
  396. </item>
  397. </widget>
  398. </item>
  399. </layout>
  400. </widget>
  401. </widget>
  402. <widget class="QDockWidget" name="propertiesDock">
  403. <property name="minimumSize">
  404. <size>
  405. <width>250</width>
  406. <height>180</height>
  407. </size>
  408. </property>
  409. <property name="windowTitle">
  410. <string>属性</string>
  411. </property>
  412. <attribute name="dockWidgetArea">
  413. <number>2</number>
  414. </attribute>
  415. <widget class="QWidget" name="propertiesDockContents">
  416. <layout class="QVBoxLayout" name="propertiesDockLayout">
  417. <property name="leftMargin">
  418. <number>8</number>
  419. </property>
  420. <property name="topMargin">
  421. <number>8</number>
  422. </property>
  423. <property name="rightMargin">
  424. <number>8</number>
  425. </property>
  426. <property name="bottomMargin">
  427. <number>8</number>
  428. </property>
  429. <item>
  430. <widget class="QScrollArea" name="propertiesScrollArea">
  431. <property name="frameShape">
  432. <enum>QFrame::NoFrame</enum>
  433. </property>
  434. <property name="widgetResizable">
  435. <bool>true</bool>
  436. </property>
  437. <widget class="QWidget" name="propertiesPage">
  438. <property name="geometry">
  439. <rect>
  440. <x>0</x>
  441. <y>0</y>
  442. <width>234</width>
  443. <height>455</height>
  444. </rect>
  445. </property>
  446. <layout class="QVBoxLayout" name="propertiesPageLayout">
  447. <item>
  448. <layout class="QFormLayout" name="selectionForm">
  449. <item row="0" column="0">
  450. <widget class="QLabel" name="selectionCaptionLabel">
  451. <property name="text">
  452. <string>当前对象</string>
  453. </property>
  454. </widget>
  455. </item>
  456. <item row="0" column="1">
  457. <widget class="QLabel" name="selectionValueLabel">
  458. <property name="text">
  459. <string>未选择</string>
  460. </property>
  461. </widget>
  462. </item>
  463. </layout>
  464. </item>
  465. <item>
  466. <widget class="QStackedWidget" name="propertyStack">
  467. <widget class="QWidget" name="hmiPropertiesPage">
  468. <layout class="QFormLayout" name="hmiPropertiesForm">
  469. <property name="fieldGrowthPolicy">
  470. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  471. </property>
  472. <item row="0" column="0">
  473. <widget class="QLabel" name="controlIdLabel">
  474. <property name="text">
  475. <string>控件 ID</string>
  476. </property>
  477. </widget>
  478. </item>
  479. <item row="0" column="1">
  480. <widget class="QLineEdit" name="controlIdEdit"/>
  481. </item>
  482. <item row="1" column="0">
  483. <widget class="QLabel" name="controlTextLabel">
  484. <property name="text">
  485. <string>显示文本</string>
  486. </property>
  487. </widget>
  488. </item>
  489. <item row="1" column="1">
  490. <widget class="QLineEdit" name="controlTextEdit"/>
  491. </item>
  492. <item row="2" column="0">
  493. <widget class="QLabel" name="controlXLabel">
  494. <property name="text">
  495. <string>X</string>
  496. </property>
  497. </widget>
  498. </item>
  499. <item row="2" column="1">
  500. <widget class="QSpinBox" name="controlXSpinBox">
  501. <property name="maximum">
  502. <number>4000</number>
  503. </property>
  504. </widget>
  505. </item>
  506. <item row="3" column="0">
  507. <widget class="QLabel" name="controlYLabel">
  508. <property name="text">
  509. <string>Y</string>
  510. </property>
  511. </widget>
  512. </item>
  513. <item row="3" column="1">
  514. <widget class="QSpinBox" name="controlYSpinBox">
  515. <property name="maximum">
  516. <number>4000</number>
  517. </property>
  518. </widget>
  519. </item>
  520. <item row="4" column="0">
  521. <widget class="QLabel" name="controlWidthLabel">
  522. <property name="text">
  523. <string>宽度</string>
  524. </property>
  525. </widget>
  526. </item>
  527. <item row="4" column="1">
  528. <widget class="QSpinBox" name="controlWidthSpinBox">
  529. <property name="minimum">
  530. <number>1</number>
  531. </property>
  532. <property name="maximum">
  533. <number>4000</number>
  534. </property>
  535. </widget>
  536. </item>
  537. <item row="5" column="0">
  538. <widget class="QLabel" name="controlHeightLabel">
  539. <property name="text">
  540. <string>高度</string>
  541. </property>
  542. </widget>
  543. </item>
  544. <item row="5" column="1">
  545. <widget class="QSpinBox" name="controlHeightSpinBox">
  546. <property name="minimum">
  547. <number>1</number>
  548. </property>
  549. <property name="maximum">
  550. <number>4000</number>
  551. </property>
  552. </widget>
  553. </item>
  554. <item row="6" column="0">
  555. <widget class="QLabel" name="bindingAreaLabel">
  556. <property name="text">
  557. <string>绑定区域</string>
  558. </property>
  559. </widget>
  560. </item>
  561. <item row="6" column="1">
  562. <widget class="QComboBox" name="bindingAreaComboBox">
  563. <item>
  564. <property name="text">
  565. <string>未绑定</string>
  566. </property>
  567. </item>
  568. <item>
  569. <property name="text">
  570. <string>M</string>
  571. </property>
  572. </item>
  573. <item>
  574. <property name="text">
  575. <string>D</string>
  576. </property>
  577. </item>
  578. </widget>
  579. </item>
  580. <item row="7" column="0">
  581. <widget class="QLabel" name="bindingIndexLabel">
  582. <property name="text">
  583. <string>绑定地址</string>
  584. </property>
  585. </widget>
  586. </item>
  587. <item row="7" column="1">
  588. <widget class="QSpinBox" name="bindingIndexSpinBox">
  589. <property name="maximum">
  590. <number>4000</number>
  591. </property>
  592. </widget>
  593. </item>
  594. <item row="8" column="0">
  595. <widget class="QLabel" name="targetPageLabel">
  596. <property name="text">
  597. <string>目标页面</string>
  598. </property>
  599. </widget>
  600. </item>
  601. <item row="8" column="1">
  602. <widget class="QComboBox" name="targetPageComboBox"/>
  603. </item>
  604. <item row="9" column="0">
  605. <widget class="QLabel" name="buttonOperationLabel">
  606. <property name="text">
  607. <string>按钮操作</string>
  608. </property>
  609. </widget>
  610. </item>
  611. <item row="9" column="1">
  612. <widget class="QComboBox" name="buttonOperationComboBox">
  613. <item>
  614. <property name="text">
  615. <string>置 ON</string>
  616. </property>
  617. </item>
  618. <item>
  619. <property name="text">
  620. <string>置 OFF</string>
  621. </property>
  622. </item>
  623. <item>
  624. <property name="text">
  625. <string>取反</string>
  626. </property>
  627. </item>
  628. <item>
  629. <property name="text">
  630. <string>瞬时 ON</string>
  631. </property>
  632. </item>
  633. </widget>
  634. </item>
  635. <item row="10" column="0" colspan="2">
  636. <widget class="QPushButton" name="applyPropertiesButton">
  637. <property name="text">
  638. <string>应用属性</string>
  639. </property>
  640. </widget>
  641. </item>
  642. </layout>
  643. </widget>
  644. <widget class="QWidget" name="logicPropertiesPage">
  645. <layout class="QFormLayout" name="logicPropertiesForm">
  646. <property name="fieldGrowthPolicy">
  647. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  648. </property>
  649. <item row="0" column="0">
  650. <widget class="QLabel" name="logicNodeIdLabel">
  651. <property name="text">
  652. <string>节点 ID</string>
  653. </property>
  654. </widget>
  655. </item>
  656. <item row="0" column="1">
  657. <widget class="QLineEdit" name="logicNodeIdEdit">
  658. <property name="readOnly">
  659. <bool>true</bool>
  660. </property>
  661. </widget>
  662. </item>
  663. <item row="1" column="0">
  664. <widget class="QLabel" name="logicNodeTypeCaption">
  665. <property name="text">
  666. <string>节点类型</string>
  667. </property>
  668. </widget>
  669. </item>
  670. <item row="1" column="1">
  671. <widget class="QLabel" name="logicNodeTypeLabel">
  672. <property name="text">
  673. <string/>
  674. </property>
  675. </widget>
  676. </item>
  677. <item row="2" column="0">
  678. <widget class="QLabel" name="logicAddressAreaCaption">
  679. <property name="text">
  680. <string>地址区域</string>
  681. </property>
  682. </widget>
  683. </item>
  684. <item row="2" column="1">
  685. <widget class="QLabel" name="logicAddressAreaLabel">
  686. <property name="text">
  687. <string/>
  688. </property>
  689. </widget>
  690. </item>
  691. <item row="3" column="0">
  692. <widget class="QLabel" name="logicAddressLabel">
  693. <property name="text">
  694. <string>地址</string>
  695. </property>
  696. </widget>
  697. </item>
  698. <item row="3" column="1">
  699. <widget class="QSpinBox" name="logicAddressSpinBox">
  700. <property name="maximum">
  701. <number>4000</number>
  702. </property>
  703. </widget>
  704. </item>
  705. <item row="4" column="0">
  706. <widget class="QLabel" name="logicModeLabel">
  707. <property name="text">
  708. <string>工作方式</string>
  709. </property>
  710. </widget>
  711. </item>
  712. <item row="4" column="1">
  713. <widget class="QComboBox" name="logicModeComboBox"/>
  714. </item>
  715. <item row="5" column="0">
  716. <widget class="QLabel" name="logicComparisonLabel">
  717. <property name="text">
  718. <string>比较运算</string>
  719. </property>
  720. </widget>
  721. </item>
  722. <item row="5" column="1">
  723. <widget class="QComboBox" name="logicComparisonComboBox">
  724. <item>
  725. <property name="text">
  726. <string>等于</string>
  727. </property>
  728. </item>
  729. <item>
  730. <property name="text">
  731. <string>不等于</string>
  732. </property>
  733. </item>
  734. <item>
  735. <property name="text">
  736. <string>小于</string>
  737. </property>
  738. </item>
  739. <item>
  740. <property name="text">
  741. <string>小于等于</string>
  742. </property>
  743. </item>
  744. <item>
  745. <property name="text">
  746. <string>大于</string>
  747. </property>
  748. </item>
  749. <item>
  750. <property name="text">
  751. <string>大于等于</string>
  752. </property>
  753. </item>
  754. </widget>
  755. </item>
  756. <item row="6" column="0">
  757. <widget class="QLabel" name="logicValueLabel">
  758. <property name="text">
  759. <string>比较常量</string>
  760. </property>
  761. </widget>
  762. </item>
  763. <item row="6" column="1">
  764. <widget class="QSpinBox" name="logicValueSpinBox">
  765. <property name="minimum">
  766. <number>-32768</number>
  767. </property>
  768. <property name="maximum">
  769. <number>32767</number>
  770. </property>
  771. </widget>
  772. </item>
  773. <item row="7" column="0">
  774. <widget class="QLabel" name="logicPresetLabel">
  775. <property name="text">
  776. <string>预设时间(ms)</string>
  777. </property>
  778. </widget>
  779. </item>
  780. <item row="7" column="1">
  781. <widget class="QSpinBox" name="logicPresetSpinBox">
  782. <property name="minimum">
  783. <number>1</number>
  784. </property>
  785. <property name="maximum">
  786. <number>86400000</number>
  787. </property>
  788. <property name="value">
  789. <number>1000</number>
  790. </property>
  791. </widget>
  792. </item>
  793. <item row="8" column="0" colspan="2">
  794. <widget class="QPushButton" name="applyLogicPropertiesButton">
  795. <property name="text">
  796. <string>应用属性</string>
  797. </property>
  798. </widget>
  799. </item>
  800. </layout>
  801. </widget>
  802. </widget>
  803. </item>
  804. </layout>
  805. </widget>
  806. </widget>
  807. </item>
  808. </layout>
  809. </widget>
  810. </widget>
  811. <widget class="QDockWidget" name="outputDock">
  812. <property name="minimumSize">
  813. <size>
  814. <width>300</width>
  815. <height>110</height>
  816. </size>
  817. </property>
  818. <property name="windowTitle">
  819. <string>输出</string>
  820. </property>
  821. <attribute name="dockWidgetArea">
  822. <number>8</number>
  823. </attribute>
  824. <widget class="QWidget" name="outputDockContents">
  825. <layout class="QVBoxLayout" name="outputDockLayout">
  826. <property name="leftMargin">
  827. <number>6</number>
  828. </property>
  829. <property name="topMargin">
  830. <number>6</number>
  831. </property>
  832. <property name="rightMargin">
  833. <number>6</number>
  834. </property>
  835. <property name="bottomMargin">
  836. <number>6</number>
  837. </property>
  838. <item>
  839. <widget class="QListWidget" name="outputList">
  840. <item>
  841. <property name="text">
  842. <string>系统已就绪</string>
  843. </property>
  844. </item>
  845. </widget>
  846. </item>
  847. </layout>
  848. </widget>
  849. </widget>
  850. <action name="exitAction">
  851. <property name="text">
  852. <string>退出(&amp;X)</string>
  853. </property>
  854. </action>
  855. <action name="newProjectAction">
  856. <property name="text">
  857. <string>新建工程</string>
  858. </property>
  859. </action>
  860. <action name="saveProjectAction">
  861. <property name="text">
  862. <string>保存工程</string>
  863. </property>
  864. </action>
  865. <action name="saveAsProjectAction">
  866. <property name="text">
  867. <string>工程另存为</string>
  868. </property>
  869. </action>
  870. <action name="loadProjectAction">
  871. <property name="text">
  872. <string>加载工程</string>
  873. </property>
  874. </action>
  875. <action name="configurePlcAction">
  876. <property name="text">
  877. <string>PLC 配置</string>
  878. </property>
  879. <property name="toolTip">
  880. <string>配置参数并连接真实 PLC</string>
  881. </property>
  882. </action>
  883. <action name="configureRegisterCommentsAction">
  884. <property name="text">
  885. <string>软元件注释</string>
  886. </property>
  887. <property name="toolTip">
  888. <string>维护工程级 M/D 地址注释</string>
  889. </property>
  890. </action>
  891. <action name="disconnectPlcAction">
  892. <property name="text">
  893. <string>断开 PLC</string>
  894. </property>
  895. <property name="toolTip">
  896. <string>断开当前 PLC 连接</string>
  897. </property>
  898. </action>
  899. <action name="addButtonAction">
  900. <property name="text">
  901. <string>按钮</string>
  902. </property>
  903. <property name="toolTip">
  904. <string>添加按钮控件</string>
  905. </property>
  906. </action>
  907. <action name="addIndicatorAction">
  908. <property name="text">
  909. <string>指示灯</string>
  910. </property>
  911. <property name="toolTip">
  912. <string>添加指示灯控件</string>
  913. </property>
  914. </action>
  915. <action name="addNumericDisplayAction">
  916. <property name="text">
  917. <string>数值显示</string>
  918. </property>
  919. <property name="toolTip">
  920. <string>添加数值显示控件</string>
  921. </property>
  922. </action>
  923. <action name="addNumericInputAction">
  924. <property name="text">
  925. <string>数值输入</string>
  926. </property>
  927. <property name="toolTip">
  928. <string>添加数值输入控件</string>
  929. </property>
  930. </action>
  931. <action name="addLabelAction">
  932. <property name="text">
  933. <string>文本</string>
  934. </property>
  935. <property name="toolTip">
  936. <string>添加固定文本控件</string>
  937. </property>
  938. </action>
  939. <action name="addPageJumpAction">
  940. <property name="text">
  941. <string>页面跳转</string>
  942. </property>
  943. <property name="toolTip">
  944. <string>添加页面跳转控件</string>
  945. </property>
  946. </action>
  947. <action name="addAlarmListAction">
  948. <property name="text">
  949. <string>报警列表</string>
  950. </property>
  951. <property name="toolTip">
  952. <string>添加报警列表控件</string>
  953. </property>
  954. </action>
  955. <action name="configureAlarmsAction">
  956. <property name="text">
  957. <string>报警配置</string>
  958. </property>
  959. <property name="toolTip">
  960. <string>配置 M 和 D 报警条件</string>
  961. </property>
  962. </action>
  963. <action name="deleteControlAction">
  964. <property name="text">
  965. <string>删除</string>
  966. </property>
  967. <property name="toolTip">
  968. <string>删除当前控件</string>
  969. </property>
  970. </action>
  971. <action name="addRungAction">
  972. <property name="text">
  973. <string>新建网络</string>
  974. </property>
  975. <property name="toolTip">
  976. <string>在梯形图末尾新增网络</string>
  977. </property>
  978. </action>
  979. <action name="parallelInsertAction">
  980. <property name="text">
  981. <string>并联支路</string>
  982. </property>
  983. <property name="toolTip">
  984. <string>为画布中选中的连续节点建立并联支路</string>
  985. </property>
  986. </action>
  987. <action name="addNormallyOpenAction">
  988. <property name="text">
  989. <string>常开</string>
  990. </property>
  991. <property name="toolTip">
  992. <string>向当前网络添加常开触点</string>
  993. </property>
  994. </action>
  995. <action name="addNormallyClosedAction">
  996. <property name="text">
  997. <string>常闭</string>
  998. </property>
  999. <property name="toolTip">
  1000. <string>向当前网络添加常闭触点</string>
  1001. </property>
  1002. </action>
  1003. <action name="addRisingEdgeAction">
  1004. <property name="text">
  1005. <string>上升沿</string>
  1006. </property>
  1007. <property name="toolTip">
  1008. <string>添加一个扫描周期的上升沿触点</string>
  1009. </property>
  1010. </action>
  1011. <action name="addFallingEdgeAction">
  1012. <property name="text">
  1013. <string>下降沿</string>
  1014. </property>
  1015. <property name="toolTip">
  1016. <string>添加一个扫描周期的下降沿触点</string>
  1017. </property>
  1018. </action>
  1019. <action name="addTimerContactAction">
  1020. <property name="text">
  1021. <string>T 触点</string>
  1022. </property>
  1023. <property name="toolTip">
  1024. <string>添加离线仿真定时器触点</string>
  1025. </property>
  1026. </action>
  1027. <action name="addCounterContactAction">
  1028. <property name="text"><string>C 触点</string></property>
  1029. <property name="toolTip"><string>添加离线仿真计数器完成触点</string></property>
  1030. </action>
  1031. <action name="addNormalCoilAction">
  1032. <property name="text">
  1033. <string>线圈</string>
  1034. </property>
  1035. <property name="toolTip">
  1036. <string>设置当前网络的普通线圈</string>
  1037. </property>
  1038. </action>
  1039. <action name="addSetCoilAction">
  1040. <property name="text">
  1041. <string>置位</string>
  1042. </property>
  1043. <property name="toolTip">
  1044. <string>设置当前网络的置位线圈</string>
  1045. </property>
  1046. </action>
  1047. <action name="addResetCoilAction">
  1048. <property name="text">
  1049. <string>复位</string>
  1050. </property>
  1051. <property name="toolTip">
  1052. <string>设置当前网络的复位线圈</string>
  1053. </property>
  1054. </action>
  1055. <action name="addTonAction">
  1056. <property name="text">
  1057. <string>TON</string>
  1058. </property>
  1059. <property name="toolTip">
  1060. <string>设置非保持接通延时定时器输出</string>
  1061. </property>
  1062. </action>
  1063. <action name="addCtuAction">
  1064. <property name="text"><string>CTU</string></property>
  1065. <property name="toolTip"><string>设置按上升沿执行的加计数器</string></property>
  1066. </action>
  1067. <action name="addCtdAction">
  1068. <property name="text"><string>CTD</string></property>
  1069. <property name="toolTip"><string>设置按上升沿执行的减计数器</string></property>
  1070. </action>
  1071. <action name="addMoveAction">
  1072. <property name="text"><string>MOVE</string></property>
  1073. <property name="toolTip"><string>设置 D 数据传送指令</string></property>
  1074. </action>
  1075. <action name="addAddAction">
  1076. <property name="text"><string>ADD</string></property>
  1077. <property name="toolTip"><string>设置带饱和处理的加法指令</string></property>
  1078. </action>
  1079. <action name="addSubAction">
  1080. <property name="text"><string>SUB</string></property>
  1081. <property name="toolTip"><string>设置带饱和处理的减法指令</string></property>
  1082. </action>
  1083. <action name="addCompareAction">
  1084. <property name="text">
  1085. <string>D 比较</string>
  1086. </property>
  1087. <property name="toolTip">
  1088. <string>向当前网络添加 D 值与常量比较</string>
  1089. </property>
  1090. </action>
  1091. <action name="editRungCommentAction">
  1092. <property name="text">
  1093. <string>网络注释</string>
  1094. </property>
  1095. <property name="toolTip">
  1096. <string>编辑当前梯形图网络说明</string>
  1097. </property>
  1098. </action>
  1099. <action name="deleteLogicAction">
  1100. <property name="text">
  1101. <string>删除</string>
  1102. </property>
  1103. <property name="toolTip">
  1104. <string>删除选中的逻辑节点或网络</string>
  1105. </property>
  1106. </action>
  1107. <action name="editingModeAction">
  1108. <property name="checkable">
  1109. <bool>true</bool>
  1110. </property>
  1111. <property name="checked">
  1112. <bool>true</bool>
  1113. </property>
  1114. <property name="text">
  1115. <string>编辑</string>
  1116. </property>
  1117. <property name="toolTip">
  1118. <string>进入编辑态</string>
  1119. </property>
  1120. </action>
  1121. <action name="offlineModeAction">
  1122. <property name="checkable">
  1123. <bool>true</bool>
  1124. </property>
  1125. <property name="text">
  1126. <string>离线运行</string>
  1127. </property>
  1128. <property name="toolTip">
  1129. <string>进入离线运行态</string>
  1130. </property>
  1131. </action>
  1132. <action name="onlineModeAction">
  1133. <property name="checkable">
  1134. <bool>true</bool>
  1135. </property>
  1136. <property name="text">
  1137. <string>真机运行</string>
  1138. </property>
  1139. <property name="toolTip">
  1140. <string>进入真机运行态</string>
  1141. </property>
  1142. </action>
  1143. </widget>
  1144. <resources/>
  1145. <connections/>
  1146. </ui>