This commit is contained in:
jomjol
2022-02-18 21:14:04 +01:00
parent bcb1d98191
commit 1dd703b337
8 changed files with 14 additions and 17 deletions

View File

@@ -46,7 +46,6 @@ In other cases you can contact the developer via email: <img src="https://raw.gi
### Known Issues ### Known Issues
* slow response of web server during picture analysis * slow response of web server during picture analysis
* ~~spontaneous reboots (mostly due to html access during image processing)~~ --> solved since v10.3.0
**General remark:** Beside the `firmware.bin`, typically also the content of `/html` needs to be updated! **General remark:** Beside the `firmware.bin`, typically also the content of `/html` needs to be updated!
@@ -54,14 +53,13 @@ In other cases you can contact the developer via email: <img src="https://raw.gi
##### Rolling (2022-02-15) ##### 10.5.0 - Stability Increase (2022-02-18)
- Refactoring of check postprocessing consistency (e.g. max rate, negative rate, ...)
- MQTT: changed wifi naming to "wifiRSSI" - MQTT: changed wifi naming to "wifiRSSI"
Rolling (2022-02-13)
- HTML: check select able values for consistency - HTML: check select able values for consistency
- Refactoring of check postprocessing consistency (e.g. max rate, negative rate, ...)
- Bug Fix: corrected error in "Check Consistency Increase"

View File

@@ -39,7 +39,6 @@ struct NumberPost {
string ReturnRawValue; // Rohwert (mit N & führenden 0) string ReturnRawValue; // Rohwert (mit N & führenden 0)
string ReturnValue; // korrigierter Rückgabewert, ggf. mit Fehlermeldung string ReturnValue; // korrigierter Rückgabewert, ggf. mit Fehlermeldung
string ReturnPreValue; // korrigierter Rückgabewert ohne Fehlermeldung string ReturnPreValue; // korrigierter Rückgabewert ohne Fehlermeldung
// string ReturnValueNoError;
string ErrorMessageText; // Fehlermeldung bei Consistency Check string ErrorMessageText; // Fehlermeldung bei Consistency Check
int AnzahlAnalog; int AnzahlAnalog;
int AnzahlDigital; int AnzahlDigital;

View File

@@ -626,7 +626,7 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
NUMBERS[j]->ReturnRawValue = ShiftDecimal(NUMBERS[j]->ReturnRawValue, NUMBERS[j]->DecimalShift); NUMBERS[j]->ReturnRawValue = ShiftDecimal(NUMBERS[j]->ReturnRawValue, NUMBERS[j]->DecimalShift);
printf("RetunrRawValue %s", NUMBERS[j]->ReturnRawValue.c_str()); printf("ReturnRaw %s", NUMBERS[j]->ReturnRawValue.c_str());
if (IgnoreLeadingNaN) if (IgnoreLeadingNaN)
@@ -676,7 +676,7 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
else else
_ratedifference = (NUMBERS[j]->Value - NUMBERS[j]->PreValue); _ratedifference = (NUMBERS[j]->Value - NUMBERS[j]->PreValue);
if (abs(_ratedifference) > NUMBERS[j]->MaxRateValue) if (abs(_ratedifference) > abs(NUMBERS[j]->MaxRateValue))
{ {
NUMBERS[j]->ErrorMessageText = NUMBERS[j]->ErrorMessageText + "Rate too high - Read: " + RundeOutput(NUMBERS[j]->Value, NUMBERS[j]->Nachkomma) + " - Pre: " + RundeOutput(NUMBERS[j]->PreValue, NUMBERS[j]->Nachkomma); NUMBERS[j]->ErrorMessageText = NUMBERS[j]->ErrorMessageText + "Rate too high - Read: " + RundeOutput(NUMBERS[j]->Value, NUMBERS[j]->Nachkomma) + " - Pre: " + RundeOutput(NUMBERS[j]->PreValue, NUMBERS[j]->Nachkomma);
NUMBERS[j]->Value = NUMBERS[j]->PreValue; NUMBERS[j]->Value = NUMBERS[j]->PreValue;
@@ -829,14 +829,14 @@ float ClassFlowPostProcessing::checkDigitConsistency(float input, int _decilamsh
while (pot <= pot_max) while (pot <= pot_max)
{ {
zw = input / pow(10, pot-1); zw = input / pow(10, pot-1);
aktdigit_before = ((int) round(zw) + 10) % 10; aktdigit_before = ((int) zw) % 10;
zw = _preValue / pow(10, pot-1); zw = _preValue / pow(10, pot-1);
olddigit_before = ((int) round(zw) + 10) % 10; olddigit_before = ((int) zw) % 10;
zw = input / pow(10, pot); zw = input / pow(10, pot);
aktdigit = ((int) round(zw) + 10) % 10; aktdigit = ((int) zw) % 10;
zw = _preValue / pow(10, pot); zw = _preValue / pow(10, pot);
olddigit = ((int) round(zw) + 10) % 10; olddigit = ((int) zw) % 10;
no_nulldurchgang = (olddigit_before <= aktdigit_before); no_nulldurchgang = (olddigit_before <= aktdigit_before);

View File

@@ -1,4 +1,4 @@
const char* GIT_REV="1f5486e"; const char* GIT_REV="bcb1d98";
const char* GIT_TAG=""; const char* GIT_TAG="";
const char* GIT_BRANCH="rolling"; const char* GIT_BRANCH="rolling";
const char* BUILD_TIME="2022-02-15 21:28"; const char* BUILD_TIME="2022-02-18 21:01";

View File

@@ -13,7 +13,7 @@ extern "C"
#include "Helper.h" #include "Helper.h"
#include <fstream> #include <fstream>
const char* GIT_BASE_BRANCH = "master - v10.4.0 - 2022-02-12"; const char* GIT_BASE_BRANCH = "master - v10.5.0 - 2022-02-18";
const char* git_base_branch(void) const char* git_base_branch(void)

View File

@@ -1,4 +1,4 @@
const char* GIT_REV="1f5486e"; const char* GIT_REV="bcb1d98";
const char* GIT_TAG=""; const char* GIT_TAG="";
const char* GIT_BRANCH="rolling"; const char* GIT_BRANCH="rolling";
const char* BUILD_TIME="2022-02-15 21:28"; const char* BUILD_TIME="2022-02-18 21:01";

Binary file not shown.

Binary file not shown.