Projet_VictorAvecUnK/app/include/TerrariumParameter.h
2020-05-27 01:35:03 +02:00

33 lines
764 B
C++

//
// Created by camer on 20/05/2020.
//
#ifndef PROJET_VICTORAVECUNK_TERRARIUMPARAMETER_H
#define PROJET_VICTORAVECUNK_TERRARIUMPARAMETER_H
class TerrariumParameter { //TODO add to diagram
private:
float value, thresholdHigh, thresholdLow;
public:
class ThresholdExcep {
public:
int id;
ThresholdExcep(int id):id(id){};
};
TerrariumParameter(float thresholdHigh, float thresholdLow);
//getters setters
float getValue() const;
void setValue(float value);
float getThresholdHigh() const;
void setThresholdHigh(int thresholdHigh);
float getThresholdLow() const;
void setThresholdLow(int thresholdLow);
bool is2High();
bool is2Low();
};
#endif //PROJET_VICTORAVECUNK_TERRARIUMPARAMETER_H