Add re-check
This commit is contained in:
parent
7831329b11
commit
493d94aaa1
@ -277,7 +277,7 @@ int main() {
|
|||||||
QDateTime start = s.addSecs(offset * 60);
|
QDateTime start = s.addSecs(offset * 60);
|
||||||
QDateTime const firstStart = start;
|
QDateTime const firstStart = start;
|
||||||
|
|
||||||
if (*step != 30) continue;
|
//if (*step != 30) continue;
|
||||||
|
|
||||||
double cost = 0;
|
double cost = 0;
|
||||||
|
|
||||||
@ -427,11 +427,17 @@ int main() {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (compute_duration_for_parking_ticket(&cfg, start, cost, end)) { // return value
|
QDateTime end2 = QDateTime();
|
||||||
|
if (compute_duration_for_parking_ticket(&cfg, start, cost, end2)) { // return value
|
||||||
qCritical() << "XXXX start" << start.toString(Qt::ISODate)
|
qCritical() << "XXXX start" << start.toString(Qt::ISODate)
|
||||||
<< "offset" << offset
|
<< "offset" << offset
|
||||||
<< "cost" << cost
|
<< "cost" << cost
|
||||||
<< "end" << end.toString(Qt::ISODate);
|
<< "end" << end2.toString(Qt::ISODate);
|
||||||
|
if (end != end2) {
|
||||||
|
qCritical() << "YYYY"
|
||||||
|
<< end.toString(Qt::ISODate)
|
||||||
|
<< end2.toString(Qt::ISODate);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user