diff --git a/dummies/SusDummy.cpp b/dummies/SusDummy.cpp index 0c2feaac..d209368b 100644 --- a/dummies/SusDummy.cpp +++ b/dummies/SusDummy.cpp @@ -42,12 +42,12 @@ void SusDummy::performControlOperation() { value = sin(iteration / 80. * M_PI + 10) * 10 - 10; susSet.read(); - susSet.temperatureCelcius = value; - if ((iteration % 100) < 20) { - susSet.setValidity(false, true); - } else { - susSet.setValidity(true, true); - } +// susSet.temperatureCelcius = value; +// if ((iteration % 100) < 20) { +// susSet.setValidity(false, true); +// } else { +// susSet.setValidity(true, true); +// } susSet.channels[0] = 3913; susSet.channels[1] = 3912; susSet.channels[2] = 3799; @@ -60,7 +60,7 @@ ReturnValue_t SusDummy::initializeLocalDataPool(localpool::DataPool& localDataPo LocalDataPoolManager& poolManager) { localDataPoolMap.emplace(SUS::SusPoolIds::TEMPERATURE_C, new PoolEntry({0}, 1, true)); localDataPoolMap.emplace(SUS::SusPoolIds::CHANNEL_VEC, - new PoolEntry({0, 0, 0, 0, 0, 0})); + new PoolEntry({0, 0, 0, 0, 0, 0},true)); return returnvalue::OK; }