Commit 54e0c622 authored by SRT Operator's avatar SRT Operator
Browse files

patched weather station

parent 93b31f8f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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); 
+1 −1
Original line number Diff line number Diff line
@@ -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();