3500/ChannelSetting.h

57 lines
1.2 KiB
C
Raw Normal View History

2023-04-14 19:30:30 +08:00
#ifndef CHANNELSETTING_H
#define CHANNELSETTING_H
#include <QWidget>
#include "global.h"
2023-04-17 17:40:26 +08:00
#include "sqlitedb.h"
2023-04-14 19:30:30 +08:00
namespace Ui {
class CChannelSetting;
}
class CChannelSetting : public QWidget
{
Q_OBJECT
public:
explicit CChannelSetting(QWidget *parent = nullptr);
~CChannelSetting();
ChannelSetting channelSetting;
QJsonObject jsonValue;
void displayChannelSetting();
2023-10-19 14:15:31 +08:00
void PushData();
2023-04-14 19:30:30 +08:00
private slots:
void on_pushButton_submit_clicked();
void on_channelTypeCombox_currentTextChanged(const QString &arg1);
void on_lineEdit_sensorEngineeringUnit_editingFinished();
void on_comboBox_tachAutoTach_currentIndexChanged(const QString &arg1);
void on_comboBox_samplingRate_currentTextChanged(const QString &arg1);
2023-04-17 17:40:26 +08:00
void on_pushButton_copy_clicked();
2023-10-19 14:15:31 +08:00
void slotNetMgr(QString sAddr,const QVariant& msg);
void on_comboBox_sensorType_currentTextChanged(const QString &arg1);
void on_lineEdit_engineeringUnit_editingFinished();
2023-04-17 17:40:26 +08:00
public slots:
void slotSetChannelData(QStringList&);
2023-04-14 19:30:30 +08:00
private:
Ui::CChannelSetting *ui;
QStringList m_itemList;
QStringList m_DisPlayerList;
QStringList strListFs;
signals:
void sgSetChannelData(ChannelSetting);
};
#endif // CHANNELSETTING_H