Add 4 new data type for IdentifyJsonMember().
This commit is contained in:
parent
5ee73bf804
commit
ad534eef09
@ -18,6 +18,10 @@ MemberType Configuration::IdentifyJsonMember(const char* member_name)
|
|||||||
if (strcmp(member_name, "SpecialDaysWorktime") == 0) return MemberType::SpecialDaysWorktimeType;
|
if (strcmp(member_name, "SpecialDaysWorktime") == 0) return MemberType::SpecialDaysWorktimeType;
|
||||||
if (strcmp(member_name, "SpecialDays") == 0) return MemberType::SpecialDaysType;
|
if (strcmp(member_name, "SpecialDays") == 0) return MemberType::SpecialDaysType;
|
||||||
if (strcmp(member_name, "PeriodYear") == 0) return MemberType::PeriodYearType;
|
if (strcmp(member_name, "PeriodYear") == 0) return MemberType::PeriodYearType;
|
||||||
|
if (strcmp(member_name, "DailyTicket") == 0) return MemberType::DailyTicketType;
|
||||||
|
if (strcmp(member_name, "TimeBase") == 0) return MemberType::TimeBaseType;
|
||||||
|
if (strcmp(member_name, "Customer") == 0) return MemberType::CustomerType;
|
||||||
|
if (strcmp(member_name, "TimeRange") == 0) return MemberType::TimeRangeType;
|
||||||
else return MemberType::UnknownType;
|
else return MemberType::UnknownType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user