Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
+8
-9
@@ -18,8 +18,7 @@ TcpWeatherStation::TcpWeatherStation(int id,
|
||||
const QString &converterIp,
|
||||
quint16 climatePort,
|
||||
quint16 windPort,
|
||||
QObject *parent)
|
||||
: QObject(parent)
|
||||
QObject *parent) : QObject(parent)
|
||||
, m_id(id)
|
||||
, m_converterIp(converterIp)
|
||||
, m_climatePort(climatePort)
|
||||
@@ -32,9 +31,9 @@ TcpWeatherStation::TcpWeatherStation(int id,
|
||||
, m_direction(0.0)
|
||||
, m_speed(0.0)
|
||||
, m_climateOk(false)
|
||||
, m_windOk(false)
|
||||
{
|
||||
INFO_LOG() << "Start TcpWeatherStation ip/(hostname): " << m_converterIp
|
||||
, m_windOk(false),
|
||||
m_logger(NGL::NGLLoggerBootstrap::getLogger()) {
|
||||
INFO_LOG(m_logger) << "Start TcpWeatherStation ip/(hostname): " << m_converterIp
|
||||
<< " climatePort: " << m_climatePort
|
||||
<< " windPort: " << m_windPort;
|
||||
|
||||
@@ -42,7 +41,7 @@ TcpWeatherStation::TcpWeatherStation(int id,
|
||||
{
|
||||
m_tcpClimate = new TcpClimate(this);
|
||||
|
||||
INFO_LOG() << "m_tcpClimate->start(" << m_converterIp << ", "
|
||||
INFO_LOG(m_logger) << "m_tcpClimate->start(" << m_converterIp << ", "
|
||||
<< QString::number(m_climatePort) << ")";
|
||||
m_tcpClimate->start(m_converterIp, m_climatePort);
|
||||
|
||||
@@ -54,7 +53,7 @@ TcpWeatherStation::TcpWeatherStation(int id,
|
||||
{
|
||||
m_tcpWind = new TcpWind(this);
|
||||
|
||||
INFO_LOG() << "m_tcpWind->start(" << m_converterIp << ", "
|
||||
INFO_LOG(m_logger) << "m_tcpWind->start(" << m_converterIp << ", "
|
||||
<< QString::number(m_windPort) << ")";
|
||||
|
||||
m_tcpWind->start(m_converterIp, m_windPort);
|
||||
@@ -68,7 +67,7 @@ TcpWeatherStation::TcpWeatherStation(int id,
|
||||
|
||||
void TcpWeatherStation::onClimateDataChanged(float pressure, float temperature, float humidity, bool climateOk)
|
||||
{
|
||||
INFO_LOG() << "onClimateDataChanged()"
|
||||
INFO_LOG(m_logger) << "onClimateDataChanged()"
|
||||
<< " MDU AssetId: " << m_id
|
||||
<< " pressure: " << pressure
|
||||
<< " temperature: " << temperature
|
||||
@@ -87,7 +86,7 @@ void TcpWeatherStation::onClimateDataChanged(float pressure, float temperature,
|
||||
|
||||
void TcpWeatherStation::onWindDataChanged(float direction, float speed, bool windOk)
|
||||
{
|
||||
INFO_LOG() << "onWindDataChanged()"
|
||||
INFO_LOG(m_logger) << "onWindDataChanged()"
|
||||
<< " MDU AssetId: " << m_id
|
||||
<< " direction: " << direction
|
||||
<< " speed: " << speed
|
||||
|
||||
Reference in new issue
Block a user