Rolling 20210520

This commit is contained in:
jomjol
2021-05-20 21:58:37 +02:00
parent 9b791bb7a7
commit 528a4435a9
10 changed files with 35 additions and 5 deletions

View File

@@ -392,6 +392,7 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
time_t currenttime;
time(&currenttime);
localtime(&currenttime);
// currenttime =
double difference = difftime(currenttime, lastvalue); // in Sekunden
difference /= 60; // in Minuten
FlowRateAct = (Value - PreValue) / difference;