Loading Noto/Servers/NotoWeatherStation/src/MeteoSocket.cpp +8 −5 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ #define MAXSIZE 255 int MeteoSocket::Depth=0; // #define SIMULATOR #define SIMULATOR Loading Loading @@ -57,7 +57,7 @@ int MeteoSocket::sendCMD(CError& err, CString cmd) int MeteoSocket:: updateParam(){ // // #ifndef SIMULATOR try{ Loading Loading @@ -134,6 +134,9 @@ int MeteoSocket:: updateParam(){ _THROW_EXCPT(ComponentErrors::SocketErrorExImpl,"MeteoSocket:: updateParam"); } #endif return 0; } Loading Loading @@ -310,7 +313,7 @@ double MeteoSocket::getTemperature() } #ifdef SIMULATOR m_temperature=20; m_temperature=7; #endif Loading @@ -325,7 +328,7 @@ double MeteoSocket::getHumidity() { #ifdef SIMULATOR m_humidity=70; m_humidity=72; #endif return m_humidity; Loading @@ -337,7 +340,7 @@ double MeteoSocket::getPressure() { } #ifdef SIMULATOR m_pressure=1010; m_pressure=1024; #endif return m_pressure; Loading Noto/Servers/NotoWeatherStation/src/NotoWeatherStationImpl.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -331,7 +331,6 @@ void NotoWeatherStationImpl::initialize() throw (ACSErr::ACSbaseExImpl) AUTO_TRACE("NotoWeatherStationImpl::initialize"); ; Loading Loading
Noto/Servers/NotoWeatherStation/src/MeteoSocket.cpp +8 −5 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ #define MAXSIZE 255 int MeteoSocket::Depth=0; // #define SIMULATOR #define SIMULATOR Loading Loading @@ -57,7 +57,7 @@ int MeteoSocket::sendCMD(CError& err, CString cmd) int MeteoSocket:: updateParam(){ // // #ifndef SIMULATOR try{ Loading Loading @@ -134,6 +134,9 @@ int MeteoSocket:: updateParam(){ _THROW_EXCPT(ComponentErrors::SocketErrorExImpl,"MeteoSocket:: updateParam"); } #endif return 0; } Loading Loading @@ -310,7 +313,7 @@ double MeteoSocket::getTemperature() } #ifdef SIMULATOR m_temperature=20; m_temperature=7; #endif Loading @@ -325,7 +328,7 @@ double MeteoSocket::getHumidity() { #ifdef SIMULATOR m_humidity=70; m_humidity=72; #endif return m_humidity; Loading @@ -337,7 +340,7 @@ double MeteoSocket::getPressure() { } #ifdef SIMULATOR m_pressure=1010; m_pressure=1024; #endif return m_pressure; Loading
Noto/Servers/NotoWeatherStation/src/NotoWeatherStationImpl.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -331,7 +331,6 @@ void NotoWeatherStationImpl::initialize() throw (ACSErr::ACSbaseExImpl) AUTO_TRACE("NotoWeatherStationImpl::initialize"); ; Loading