Loading SRT/Servers/SRTWeatherStation/src/SRTWeatherStationImpl.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -297,7 +297,7 @@ void SRTWeatherStationImpl::initialize() throw (ACSErr::ACSbaseExImpl) SRTWeatherStationImpl* self_p =this; m_controlThread_p = getContainerServices()->getThreadManager()->create<CWindCheckerThread, SRTWeatherStationImpl*>("MeteoStation",self_p ); m_controlThread_p->setSleepTime (60*10000000); m_controlThread_p->setSleepTime (1*10000000); // m_controlThread_p->setResponseTime(60*1000000); m_controlThread_p->resume(); m_parser=new CParser<SRTWeatherSocket>(sock,10); Loading SRT/Servers/SRTWeatherStation/src/WindCheckerThread.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ CWindCheckerThread::runLoop() wdata = m_srtweatherstation_p->getData(); wind=wdata.wind; // converts wind speed from m/s to km/h AUTO_TRACE("WindCheckerThread::runLoop()"); if (wind > 40.0){ if (wind > 41){ m_srtweatherstation_p->parkAntenna(); Loading Loading
SRT/Servers/SRTWeatherStation/src/SRTWeatherStationImpl.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -297,7 +297,7 @@ void SRTWeatherStationImpl::initialize() throw (ACSErr::ACSbaseExImpl) SRTWeatherStationImpl* self_p =this; m_controlThread_p = getContainerServices()->getThreadManager()->create<CWindCheckerThread, SRTWeatherStationImpl*>("MeteoStation",self_p ); m_controlThread_p->setSleepTime (60*10000000); m_controlThread_p->setSleepTime (1*10000000); // m_controlThread_p->setResponseTime(60*1000000); m_controlThread_p->resume(); m_parser=new CParser<SRTWeatherSocket>(sock,10); Loading
SRT/Servers/SRTWeatherStation/src/WindCheckerThread.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ CWindCheckerThread::runLoop() wdata = m_srtweatherstation_p->getData(); wind=wdata.wind; // converts wind speed from m/s to km/h AUTO_TRACE("WindCheckerThread::runLoop()"); if (wind > 40.0){ if (wind > 41){ m_srtweatherstation_p->parkAntenna(); Loading