From cc311d87b9853f20b52be1eb6311ec389028bf43 Mon Sep 17 00:00:00 2001 From: Jan Reher <jreher@ep1.rub.de> Date: Tue, 31 Mar 2020 08:44:58 +0200 Subject: [PATCH] Fixed incorrect number for barcodes --- apdUnitCreator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apdUnitCreator.cpp b/apdUnitCreator.cpp index c12cfdb..b62f936 100644 --- a/apdUnitCreator.cpp +++ b/apdUnitCreator.cpp @@ -127,7 +127,7 @@ void loadSerialsFromFileName(string m_fileName, bool m_debug) { linestream >> newUnit.redSerial >> newUnit.blueSerial >> newUnit.crystalSerial >> barCode; if (barCode <1000000 ) - barCode += 1909000000; + barCode += 1309000000; newUnit.barCode = std::to_string(barCode); std::cerr << "Found new unit with RS = " << newUnit.redSerial << ", BS = " << newUnit.blueSerial << ", CS = " << newUnit.crystalSerial << ", BC = " << newUnit.barCode << std::endl; -- GitLab