My Project
Loading...
Searching...
No Matches
rule.h
Go to the documentation of this file.
1
#ifndef RULE_H
2
#define RULE_H
3
#include <QTime>
4
#include <QJsonObject>
5
6
class
rule
7
{
8
public
:
9
QTime
start
;
10
QTime
stop
;
11
12
float
max_co2
;
13
float
max_temp
;
14
float
min_temp
;
15
float
max_noise
;
16
17
rule
(
float
max_co2
,
float
max_temp
,
float
min_temp
,
float
max_noise
, QTime
start
, QTime
stop
);
18
rule
();
19
QJsonObject
toJSON
()
const
;
20
static
rule
fromJSON
(
const
QJsonObject& obj);
21
22
};
23
24
#endif
// RULE_H
rule::max_temp
float max_temp
Definition
rule.h:13
rule::min_temp
float min_temp
Definition
rule.h:14
rule::rule
rule()
Definition
rule.cpp:3
rule::max_co2
float max_co2
Definition
rule.h:12
rule::start
QTime start
Definition
rule.h:9
rule::max_noise
float max_noise
Definition
rule.h:15
rule::fromJSON
static rule fromJSON(const QJsonObject &obj)
Definition
rule.cpp:33
rule::stop
QTime stop
Definition
rule.h:10
rule::toJSON
QJsonObject toJSON() const
Definition
rule.cpp:21
rule::rule
rule(float max_co2, float max_temp, float min_temp, float max_noise, QTime start, QTime stop)
Definition
rule.cpp:12
rule.h
Generated by
1.14.0