2024-01-18 14:36:28 +01:00
|
|
|
#ifndef TARIFF_TIMESTEP_CONFIG_H_INCLUDED
|
|
|
|
#define TARIFF_TIMESTEP_CONFIG_H_INCLUDED
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
#include <QDebug>
|
|
|
|
#include <QDebugStateSaver>
|
|
|
|
|
|
|
|
struct ATBTimeStepConfig {
|
2024-08-15 21:20:18 +02:00
|
|
|
enum class TimeStepConfig {STATIC=1, DYNAMIC=2, RECOMPUTE_SOME=3};
|
2024-01-18 14:36:28 +01:00
|
|
|
|
|
|
|
ATBTimeStepConfig() = default;
|
|
|
|
int tsconfig_id;
|
|
|
|
QString tsconfig_label;
|
|
|
|
|
|
|
|
friend QDebug operator<<(QDebug debug, ATBTimeStepConfig const &tsConfig) {
|
|
|
|
QDebugStateSaver saver(debug);
|
|
|
|
|
|
|
|
debug.nospace()
|
|
|
|
<< " tsconfig_id: " << tsConfig.tsconfig_id << "\n"
|
|
|
|
<< "tsconfig_label: " << tsConfig.tsconfig_label << "\n";
|
|
|
|
|
|
|
|
return debug;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // TARIFF_TIMESTEP_CONFIG_H_INCLUDED
|