Add TimeBase to configuration object.
This commit is contained in:
parent
80fa2fe0e2
commit
ff314c810f
@ -410,20 +410,21 @@ bool Configuration::ParseJson(Configuration* cfg, const char* json)
|
||||
cfg->YearPeriod.insert(pair<int, ATBPeriodYear>(YearPeriod.pye_id, YearPeriod));
|
||||
break;
|
||||
case MemberType::DailyTicketType:
|
||||
qCritical() << DailyTicket;
|
||||
// qCritical() << DailyTicket;
|
||||
break;
|
||||
case MemberType::CustomerType:
|
||||
qCritical() << Customer;
|
||||
// qCritical() << Customer;
|
||||
break;
|
||||
case MemberType::TimeBaseType:
|
||||
qCritical() << TimeBase;
|
||||
// qCritical() << TimeBase;
|
||||
cfg->TimeBase.insert(pair<int, ATBTimeRange>(TimeBase.tbase_id, TimeBase));
|
||||
break;
|
||||
case MemberType::TimeRangeType:
|
||||
qCritical() << TimeRange;
|
||||
// qCritical() << TimeRange;
|
||||
cfg->TimeRange.insert(pair<int, ATBTimeRange>(TimeRange.time_range_id, TimeRange));
|
||||
break;
|
||||
case MemberType::TimeStepConfigType:
|
||||
qCritical() << TimeStepConfig;
|
||||
// qCritical() << TimeStepConfig;
|
||||
cfg->TimeStepConfig.insert(pair<int, ATBTimeStepConfig>(TimeStepConfig.tsconfig_id, TimeStepConfig));
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user