Skip to content
Snippets Groups Projects
Commit cc311d87 authored by Jan Reher's avatar Jan Reher
Browse files

Fixed incorrect number for barcodes

parent 01feef6c
No related branches found
No related tags found
2 merge requests!4Many proven updates being brought into stable branch.,!3Commented in the lines in apdUnitCreator.cpp that do the actual database
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment