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));
|
cfg->YearPeriod.insert(pair<int, ATBPeriodYear>(YearPeriod.pye_id, YearPeriod));
|
||||||
break;
|
break;
|
||||||
case MemberType::DailyTicketType:
|
case MemberType::DailyTicketType:
|
||||||
qCritical() << DailyTicket;
|
// qCritical() << DailyTicket;
|
||||||
break;
|
break;
|
||||||
case MemberType::CustomerType:
|
case MemberType::CustomerType:
|
||||||
qCritical() << Customer;
|
// qCritical() << Customer;
|
||||||
break;
|
break;
|
||||||
case MemberType::TimeBaseType:
|
case MemberType::TimeBaseType:
|
||||||
qCritical() << TimeBase;
|
// qCritical() << TimeBase;
|
||||||
|
cfg->TimeBase.insert(pair<int, ATBTimeRange>(TimeBase.tbase_id, TimeBase));
|
||||||
break;
|
break;
|
||||||
case MemberType::TimeRangeType:
|
case MemberType::TimeRangeType:
|
||||||
qCritical() << TimeRange;
|
// qCritical() << TimeRange;
|
||||||
cfg->TimeRange.insert(pair<int, ATBTimeRange>(TimeRange.time_range_id, TimeRange));
|
cfg->TimeRange.insert(pair<int, ATBTimeRange>(TimeRange.time_range_id, TimeRange));
|
||||||
break;
|
break;
|
||||||
case MemberType::TimeStepConfigType:
|
case MemberType::TimeStepConfigType:
|
||||||
qCritical() << TimeStepConfig;
|
// qCritical() << TimeStepConfig;
|
||||||
cfg->TimeStepConfig.insert(pair<int, ATBTimeStepConfig>(TimeStepConfig.tsconfig_id, TimeStepConfig));
|
cfg->TimeStepConfig.insert(pair<int, ATBTimeStepConfig>(TimeStepConfig.tsconfig_id, TimeStepConfig));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user