CalcState: add OUTSIDE_ALLOED_PARKING_TIME status (future use).

This commit is contained in:
Gerhard Hoffmann 2024-01-31 11:37:49 +01:00
parent f450d85bff
commit e6399d477b

View File

@ -57,7 +57,8 @@ struct CALCULATE_LIBRARY_API CalcState {
ABOVE_MAX_PARKING_TIME, ABOVE_MAX_PARKING_TIME,
BELOW_MIN_PARKING_TIME, BELOW_MIN_PARKING_TIME,
BELOW_MIN_PARKING_PRICE, BELOW_MIN_PARKING_PRICE,
OVERPAID OVERPAID,
OUTSIDE_ALLOWED_PARKING_TIME
}; };
State m_status; State m_status;
@ -107,6 +108,8 @@ struct CALCULATE_LIBRARY_API CalcState {
break; break;
case State::WRONG_ISO_TIME_FORMAT: case State::WRONG_ISO_TIME_FORMAT:
s = "WRONG_ISO_TIME_FORMAT"; s = "WRONG_ISO_TIME_FORMAT";
case State::OUTSIDE_ALLOWED_PARKING_TIME:
s = "OUTSIDE_ALLOWED_PARKING_TIME";
} }
return s + ":" + m_desc; return s + ":" + m_desc;
} }