50 lines
1.1 KiB
C++
50 lines
1.1 KiB
C++
#ifndef DEVICESTATEINFOWIDGET_H
|
|
#define DEVICESTATEINFOWIDGET_H
|
|
#include <QFrame>
|
|
#include "ui_devicestateinfowidget.h"
|
|
|
|
class DeviceStateInfoWidget:public QFrame
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit DeviceStateInfoWidget(QWidget* parent = nullptr);
|
|
~DeviceStateInfoWidget();
|
|
|
|
public slots:
|
|
void setXFPos(double XFPos);
|
|
void setYFPos(double YFPos);
|
|
void setZFPos(double ZFPos);
|
|
void setZAFPos(double ZAFPos);
|
|
void setRSValue(double value);
|
|
void setZ0FPos(double Z0FPos);
|
|
void setZ2FPos(double Z2FPos);
|
|
void setDFPos(double DFPos);
|
|
void setStepName(int step);
|
|
void setTransferPLC(int sts);
|
|
void setSeparatePLC(int sts);
|
|
|
|
private slots:
|
|
void on_pbTransferPLCInit_clicked();
|
|
|
|
void on_pbTransferPLCRun_clicked();
|
|
|
|
void on_pbTransferPLCStop_clicked();
|
|
|
|
void on_pbTransferPLCClearAlarm_clicked();
|
|
|
|
void on_pbSeparatePLCInit_clicked();
|
|
|
|
void on_pbSeparatePLCRun_clicked();
|
|
|
|
void on_pbSeparatePLCStop_clicked();
|
|
|
|
void on_pbSeparatePLCClearAlarm_clicked();
|
|
|
|
private:
|
|
Ui::DeviceStateInfoWidget* ui;
|
|
QString str[50];
|
|
QString strSts[50];
|
|
};
|
|
|
|
#endif // DEVICESTATEINFOWIDGET_H
|