Add 4 new data type for IdentifyJsonMember().

This commit is contained in:
Gerhard Hoffmann 2023-12-15 13:22:49 +01:00
parent 5ee73bf804
commit ad534eef09

View File

@ -18,6 +18,10 @@ MemberType Configuration::IdentifyJsonMember(const char* member_name)
if (strcmp(member_name, "SpecialDaysWorktime") == 0) return MemberType::SpecialDaysWorktimeType;
if (strcmp(member_name, "SpecialDays") == 0) return MemberType::SpecialDaysType;
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;
}