improvements of printout

This commit is contained in:
Jakob Meier 2021-12-17 15:24:23 +01:00
parent 2dd8fb4f45
commit 3163995d06
2 changed files with 13 additions and 13 deletions

View File

@ -288,21 +288,21 @@ void ACUHandler::printChannelStats() {
PoolReadGuard pg(&acuHkTableDataset); PoolReadGuard pg(&acuHkTableDataset);
sif::info << "ACU Info: Current [mA], Voltage [mV]" << std::endl; sif::info << "ACU Info: Current [mA], Voltage [mV]" << std::endl;
sif::info << std::setw(8) << std::left << "Ch0" << std::dec << "| " << sif::info << std::setw(8) << std::left << "Ch0" << std::dec << "| " <<
static_cast<unsigned int>(acuHkTableDataset.currentInChannel0.value) << ", " << static_cast<unsigned int>(acuHkTableDataset.currentInChannel0.value) <<
std::setw(13) << std::right << acuHkTableDataset.voltageInChannel0.value << std::endl; std::setw(15) << std::right << acuHkTableDataset.voltageInChannel0.value << std::endl;
sif::info << std::setw(8) << std::left << "Ch1" << std::dec << "| " << sif::info << std::setw(8) << std::left << "Ch1" << std::dec << "| " <<
static_cast<unsigned int>(acuHkTableDataset.currentInChannel1.value) << ", " << static_cast<unsigned int>(acuHkTableDataset.currentInChannel1.value) <<
std::setw(13) << std::right << acuHkTableDataset.voltageInChannel1.value << std::endl; std::setw(15) << std::right << acuHkTableDataset.voltageInChannel1.value << std::endl;
sif::info << std::setw(8) << std::left << "Ch2" << std::dec << "| " << sif::info << std::setw(8) << std::left << "Ch2" << std::dec << "| " <<
static_cast<unsigned int>(acuHkTableDataset.currentInChannel2.value) << ", " << static_cast<unsigned int>(acuHkTableDataset.currentInChannel2.value) <<
std::setw(13) << std::right << acuHkTableDataset.voltageInChannel2.value << std::endl; std::setw(15) << std::right << acuHkTableDataset.voltageInChannel2.value << std::endl;
sif::info << std::setw(8) << std::left << "Ch3" << std::dec << "| " << sif::info << std::setw(8) << std::left << "Ch3" << std::dec << "| " <<
static_cast<unsigned int>(acuHkTableDataset.currentInChannel3.value) << ", " << static_cast<unsigned int>(acuHkTableDataset.currentInChannel3.value) <<
std::setw(13) << std::right << acuHkTableDataset.voltageInChannel3.value << std::endl; std::setw(15) << std::right << acuHkTableDataset.voltageInChannel3.value << std::endl;
sif::info << std::setw(8) << std::left << "Ch4" << std::dec << "| " << sif::info << std::setw(8) << std::left << "Ch4" << std::dec << "| " <<
static_cast<unsigned int>(acuHkTableDataset.currentInChannel4.value) << ", " << static_cast<unsigned int>(acuHkTableDataset.currentInChannel4.value) <<
std::setw(13) << std::right << acuHkTableDataset.voltageInChannel4.value << std::endl; std::setw(15) << std::right << acuHkTableDataset.voltageInChannel4.value << std::endl;
sif::info << std::setw(8) << std::left << "Ch5" << std::dec << "| " << sif::info << std::setw(8) << std::left << "Ch5" << std::dec << "| " <<
static_cast<unsigned int>(acuHkTableDataset.currentInChannel5.value) << ", " << static_cast<unsigned int>(acuHkTableDataset.currentInChannel5.value) <<
std::setw(13) << std::right << acuHkTableDataset.voltageInChannel5.value << std::endl; std::setw(15) << std::right << acuHkTableDataset.voltageInChannel5.value << std::endl;
} }

2
tmtc

@ -1 +1 @@
Subproject commit 3377243c07ceb4c5d58d35468dedefb71e1c4aa5 Subproject commit f5613e5e80013d2d0c33938a56a334ce2c7c9f5a