added reading of current value
This commit is contained in:
@ -104,6 +104,18 @@ void ThermalController::performControlOperation() {
|
||||
copyDevices();
|
||||
deviceTemperatures.commit();
|
||||
}
|
||||
|
||||
{
|
||||
PoolReadGuard pg(&heaterInfo);
|
||||
if (pg.getReadResult() == returnvalue::OK) {
|
||||
{
|
||||
PoolReadGuard pg(¤tVecPdu2);
|
||||
if (pg.getReadResult() == returnvalue::OK) {
|
||||
heaterInfo.heaterCurrent.value = currentVecPdu2.value[PDU2::Channels::TCS_HEATER_IN];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ReturnValue_t ThermalController::initializeLocalDataPool(localpool::DataPool& localDataPoolMap,
|
||||
|
Reference in New Issue
Block a user