Minor: add debug output
This commit is contained in:
parent
179d3348b9
commit
89b7589600
@ -708,9 +708,10 @@ QList<int> Calculator::GetTimeSteps(Configuration *cfg) const {
|
||||
qCritical() << " start parking time:" << start.toString(Qt::ISODate);
|
||||
qCritical() << " payment option id:" << pop_id;
|
||||
qCritical() << " payment option carry over:" << pop_carry_over;
|
||||
qCritical() << "payment option time step config:" << pop_time_step_config;
|
||||
|
||||
if (pop_time_step_config == (int)ATBTimeStepConfig::TimeStepConfig::DYNAMIC) {
|
||||
qCritical() << "payment option time step config:" << "TimeStepConfig::DYNAMIC";
|
||||
|
||||
uint16_t timeStepCompensation = 0;
|
||||
|
||||
if (pop_carry_over) {
|
||||
@ -770,6 +771,8 @@ QList<int> Calculator::GetTimeSteps(Configuration *cfg) const {
|
||||
// TODO
|
||||
}
|
||||
} else {
|
||||
qCritical() << "payment option time step config:" << "TimeStepConfig::STATIC";
|
||||
|
||||
for (auto[itr, rangeEnd] = cfg->PaymentRate.equal_range(pop_id); itr != rangeEnd; ++itr)
|
||||
{
|
||||
int const durationId = itr->second.pra_payment_unit_id;
|
||||
|
Loading…
Reference in New Issue
Block a user