src/DetailCO2meter.h

Mon, 24 Oct 2022 15:25:50 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 24 Oct 2022 15:25:50 +0200
changeset 419
d49f38cc76a0
parent 332
146874d7bb47
child 491
76f3a96e82b5
permissions
-rw-r--r--

The equipment editor uses named fields for database io. Edit field 'trub chiller loss' is now called 'trub loss', but will be renamed again. Removed editing hop_utilization, lauter_volume and lauter_height. These fields were never used in the application. Not yet removed from the database. Added chiller_type, chiller_to79, chiller_volume, chiller_lpm and chiller_loss fields so that we can tie a chiller to the equipment setup. Renamed some chiller names.

#ifndef _DETAILCO2METER_H
#define _DETAILCO2METER_H

#include <QDialog>
#include <QDoubleSpinBox>
#include <QCheckBox>
#include <QComboBox>
#include <QRadioButton>
#include <QLineEdit>
#include <QDialogButtonBox>


namespace Ui {
class DetailCO2meter;
}

class DetailCO2meter : public QDialog
{
    Q_OBJECT

signals:
    void entry_changed();

public:
    explicit DetailCO2meter(int id, QWidget *parent = 0);
    ~DetailCO2meter();

private slots:
    void on_quitButton_clicked();
    void refreshTable(void);
    void code_changed(int val);
    void on_ChartButton_clicked();

public slots:
    void refreshCO2meter(QString);

private:
    Ui::DetailCO2meter *ui;
    QString _node, _alias, _uuid, _beercode, _beername;
    int recno;
};

#endif

mercurial