324 lines
8.7 KiB
Plaintext
324 lines
8.7 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>CanIdCalc</class>
|
||
|
<widget class="QWidget" name="CanIdCalc">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>994</width>
|
||
|
<height>67</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Form</string>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout_2">
|
||
|
<item row="0" column="0">
|
||
|
<layout class="QGridLayout" name="gridLayout">
|
||
|
<item row="1" column="6">
|
||
|
<spacer name="horizontalSpacer_2">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeType">
|
||
|
<enum>QSizePolicy::Fixed</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>5</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item row="1" column="7">
|
||
|
<widget class="QSpinBox" name="SensorIdBox">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>25</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
<property name="maximum">
|
||
|
<number>2047</number>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="5">
|
||
|
<widget class="QLabel" name="StrAdrLabel">
|
||
|
<property name="text">
|
||
|
<string>Стартовый адрес</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="11">
|
||
|
<widget class="QLabel" name="ResultLabel">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>60</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Result</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="7">
|
||
|
<widget class="QLabel" name="SensorIdLabel">
|
||
|
<property name="text">
|
||
|
<string>Sensor ID</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="11">
|
||
|
<widget class="QLineEdit" name="ResultLine">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>25</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>60</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maxLength">
|
||
|
<number>8</number>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
<property name="readOnly">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="4">
|
||
|
<widget class="QLabel" name="SensorTypeLabel">
|
||
|
<property name="text">
|
||
|
<string>Sensor Type</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QCheckBox" name="routeBox">
|
||
|
<property name="text">
|
||
|
<string>Master</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="9">
|
||
|
<widget class="QSpinBox" name="DeviceIdBox">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>25</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
<property name="maximum">
|
||
|
<number>255</number>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="9">
|
||
|
<widget class="QLabel" name="DeviceIdLabel">
|
||
|
<property name="text">
|
||
|
<string>Device ID</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="2">
|
||
|
<widget class="QComboBox" name="DataTypeBox">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>25</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Широковещательные</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Дискретные</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Аналог</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Modbus Coil</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Modbus Discrete</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Modbus Holding</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Modbus Input</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Пульс</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="10">
|
||
|
<spacer name="horizontalSpacer_4">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeType">
|
||
|
<enum>QSizePolicy::Fixed</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>5</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item row="1" column="4">
|
||
|
<widget class="QComboBox" name="SensorTypeBox">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>25</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="editable">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="2">
|
||
|
<widget class="QLabel" name="DataTypeLabel">
|
||
|
<property name="text">
|
||
|
<string>Data Type</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="8">
|
||
|
<spacer name="horizontalSpacer">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeType">
|
||
|
<enum>QSizePolicy::Fixed</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>5</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item row="1" column="5">
|
||
|
<widget class="QSpinBox" name="StrAdrBox">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>25</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
<property name="maximum">
|
||
|
<number>255</number>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="3">
|
||
|
<spacer name="horizontalSpacer_3">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeType">
|
||
|
<enum>QSizePolicy::Fixed</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>5</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="label">
|
||
|
<property name="text">
|
||
|
<string>Route</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<resources/>
|
||
|
<connections/>
|
||
|
</ui>
|