CalcState: add OUTSIDE_ALLOED_PARKING_TIME status (future use).
This commit is contained in:
parent
f450d85bff
commit
e6399d477b
@ -57,7 +57,8 @@ struct CALCULATE_LIBRARY_API CalcState {
|
||||
ABOVE_MAX_PARKING_TIME,
|
||||
BELOW_MIN_PARKING_TIME,
|
||||
BELOW_MIN_PARKING_PRICE,
|
||||
OVERPAID
|
||||
OVERPAID,
|
||||
OUTSIDE_ALLOWED_PARKING_TIME
|
||||
};
|
||||
|
||||
State m_status;
|
||||
@ -107,6 +108,8 @@ struct CALCULATE_LIBRARY_API CalcState {
|
||||
break;
|
||||
case State::WRONG_ISO_TIME_FORMAT:
|
||||
s = "WRONG_ISO_TIME_FORMAT";
|
||||
case State::OUTSIDE_ALLOWED_PARKING_TIME:
|
||||
s = "OUTSIDE_ALLOWED_PARKING_TIME";
|
||||
}
|
||||
return s + ":" + m_desc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user