520 lines
17 KiB
XML
520 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0" idbasedtr="true">
|
|
<class>MainWindow</class>
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1099</width>
|
|
<height>681</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>MainWindow</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="title">
|
|
<string>控制台</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_1">
|
|
<item>
|
|
<widget class="QLabel" name="label_10">
|
|
<property name="text">
|
|
<string>命令</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="wifi_command_lineEdit_1"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="wifi_command_pushButton_1">
|
|
<property name="text">
|
|
<string>发送</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QGroupBox" name="groupBox_5">
|
|
<property name="title">
|
|
<string>状态</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_8">
|
|
<property name="title">
|
|
<string>运行信息</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_10">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="text">
|
|
<string>BUCK</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLabel" name="label_9">
|
|
<property name="text">
|
|
<string>防逆流</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>驱动</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>EN</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
|
<item>
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="text">
|
|
<string>错误信息</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_8">
|
|
<property name="text">
|
|
<string>0</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_7">
|
|
<property name="title">
|
|
<string>PWM值</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_9">
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>PWMC:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="pwmc_label">
|
|
<property name="text">
|
|
<string>0</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>PWM</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="pwm_label">
|
|
<property name="text">
|
|
<string>0</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>PPWM:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="ppwm_label">
|
|
<property name="text">
|
|
<string>0</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QGroupBox" name="groupBox_6">
|
|
<property name="title">
|
|
<string>连接</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_7">
|
|
<item row="1" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_10">
|
|
<property name="spacing">
|
|
<number>1</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label_11">
|
|
<property name="text">
|
|
<string>目标IP</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="wifi_IP_lineEdit_3">
|
|
<property name="text">
|
|
<string>192.168.5.63</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="spacing">
|
|
<number>1</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label_12">
|
|
<property name="text">
|
|
<string>本机IP</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="wifi_IP_lineEdit">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="wifi_config_pushButton">
|
|
<property name="text">
|
|
<string>设置</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_21">
|
|
<item>
|
|
<widget class="QLabel" name="label_20">
|
|
<property name="text">
|
|
<string>图表采样数</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDoubleSpinBox" name="SAMPLE_doubleSpinBox">
|
|
<property name="decimals">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>300.000000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>10000.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>100.000000000000000</double>
|
|
</property>
|
|
<property name="stepType">
|
|
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
|
|
</property>
|
|
<property name="value">
|
|
<double>300.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QGroupBox" name="groupBox_4">
|
|
<property name="title">
|
|
<string>参数校准</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
<item row="4" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_20">
|
|
<item>
|
|
<widget class="QLabel" name="label_19">
|
|
<property name="text">
|
|
<string>ADS712电流校准</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDoubleSpinBox" name="INCD_doubleSpinBox">
|
|
<property name="singleStep">
|
|
<double>0.500000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>10.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="INCD_pushButton">
|
|
<property name="text">
|
|
<string>发送</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_18">
|
|
<item>
|
|
<widget class="QLabel" name="label_17">
|
|
<property name="text">
|
|
<string>输入采样电阻</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDoubleSpinBox" name="RNFA_doubleSpinBox">
|
|
<property name="decimals">
|
|
<number>4</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.001000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>0.002000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="RNFA_pushButton">
|
|
<property name="text">
|
|
<string>发送</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_17">
|
|
<item>
|
|
<widget class="QLabel" name="label_16">
|
|
<property name="text">
|
|
<string>校准输入电压</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDoubleSpinBox" name="INVD_doubleSpinBox">
|
|
<property name="decimals">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>120.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.500000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>50.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="INVD_pushButton">
|
|
<property name="text">
|
|
<string>发送</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_19">
|
|
<item>
|
|
<widget class="QLabel" name="label_18">
|
|
<property name="text">
|
|
<string>输出采样电阻</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDoubleSpinBox" name="RNFB_doubleSpinBox">
|
|
<property name="decimals">
|
|
<number>4</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.001000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>0.002000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="RNFB_pushButton">
|
|
<property name="text">
|
|
<string>发送</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_16">
|
|
<item>
|
|
<widget class="QLabel" name="label_15">
|
|
<property name="text">
|
|
<string>校准输出电压</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDoubleSpinBox" name="OUTVD_doubleSpinBox">
|
|
<property name="decimals">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.100000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>50.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="OUTVD_pushButton">
|
|
<property name="text">
|
|
<string>发送</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QGroupBox" name="groupBox_9">
|
|
<property name="title">
|
|
<string>功能</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_11">
|
|
<item row="1" column="2">
|
|
<widget class="QPushButton" name="SERIAL_pushButton">
|
|
<property name="text">
|
|
<string>串口信息设置</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<widget class="QPushButton" name="ESPRESTART_pushButton">
|
|
<property name="text">
|
|
<string>重启ESP32</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="2">
|
|
<widget class="QPushButton" name="FWUPDATE_pushButton">
|
|
<property name="text">
|
|
<string>升级固件</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="title">
|
|
<string>可视化图表</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="0" column="0">
|
|
<layout class="QGridLayout" name="gridLayout_6">
|
|
<item row="0" column="1">
|
|
<widget class="QPushButton" name="raw_pushButton">
|
|
<property name="text">
|
|
<string>原始数据</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QPushButton" name="wave_pushButton">
|
|
<property name="text">
|
|
<string>波形图</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<layout class="QHBoxLayout" name="tool_layout"/>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<layout class="QGridLayout" name="gridLayout"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1099</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|