src/database/db_recipe.h

Mon, 24 Oct 2022 19:59:08 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 24 Oct 2022 19:59:08 +0200
changeset 423
8cb46020796a
parent 249
3c28dc8dd51d
permissions
-rw-r--r--

Adjusted chiller_loss default value to 0.4. Disabled product fields eq_calc_boil_volume, eq_hop_utilization, eq_lauter_volume and eq_lauter_height. Added eq_chiller_type, eq_chiller_to79, eq_chiller_volume, eq_chiller_lpm, eq_chiller_loss with default values for immersion chilling. Load these values from new selected equipment. Changed edit product tab 2 to show new the new fields and removed the obsolete fields.

#ifndef	_DB_RECIPE_H
#define _DB_RECIPE_H

#include <QDebug>
#include <QMessageBox>
#include <QUuid>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QTranslator>
#include <QSqlQuery>
#include <QSqlError>
#include <QSqlRecord>
#include <QObject>
#include <math.h>


/**
 * @namespace db_recipe
 *
 * @brief Global database recipe functions..
 */
namespace DB_recipe {

    bool load(Recipe *reci, QDialog *dialog, int recno);
    bool save(Recipe *reci, QDialog *dialog);
    bool dele(QDialog *dialog, int recno);
}

#endif

mercurial