Newer
Older
AutomaticVerification / softwareDirectory / AutoVerScheme / newcheckmethod.h
#ifndef NEWCHECKMETHOD_H
#define NEWCHECKMETHOD_H

#include <QWidget>
#include "basecommonapi.h"
#include "checkmethodmanage.h"

namespace Ui {
class NewCheckMethod;
}

class NewCheckMethod : public QWidget
{
    Q_OBJECT

public:
    explicit NewCheckMethod(QWidget *parent = nullptr,QString sId="",bool bEdit=true);
    ~NewCheckMethod();
    void getMethodInfo();
    
    void setMethodName();
private slots:
    void chooseDevices(QString bizIds);
    void showCheckDevice();
    void choosePicture();
    void deletePicture();
    void showCheckPoint();

    void on_pushButton_3_clicked();

    void on_pushButton_4_clicked();
    void on_cmdButton_clicked(int type,QString id);
    void on_commButton_clicked(int type,QString id);
    void on_comboBoxEquipment_currentIndexChanged(int index);

    void on_comboBoxCategory_currentIndexChanged(int index);

    void on_lineEdit_2_textChanged(const QString &arg1);

    void on_lineEdit_3_textChanged(const QString &arg1);

    void on_pushButton_clicked();

protected:
    void showEvent(QShowEvent *event);
public:
    CheckMethodManage *checkManageWnd=nullptr;
private:
    QString methodId="";
    QString checkId="";
    Ui::NewCheckMethod *ui;
    VerificationProgramInfo programInfo;
    bool bEditMode=true;
    QStringList equipList={"多功能校准源标准装置","直流稳压电源检定装置","多功能电气安全标准器标准装置","0.02级活塞式压力计标准装置","二等铂电阻温度计标准装置","安全阀校验装置",
                          "精密露点仪标准装置","E2等级砝码标准装置","频谱分析仪标准装置","信号发生器标准装置","微波衰减标准装置","频率短期稳定度标准装置","示波器标准装置","铯原子频率标准装置","小功率标准装置"};
    QList<itemCategory> catList;
};

#endif // NEWCHECKMETHOD_H