fixed missing symbols
This commit is contained in:
parent
5bd077122e
commit
b80c3e4fba
@ -250,3 +250,8 @@ void IntegrationPluginSma::setupChild(ThingSetupInfo *info, Thing *parentThing)
|
|||||||
Q_UNUSED(info)
|
Q_UNUSED(info)
|
||||||
Q_UNUSED(parentThing)
|
Q_UNUSED(parentThing)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void IntegrationPluginSma::getData(Thing *thing)
|
||||||
|
{
|
||||||
|
Q_UNUSED(thing)
|
||||||
|
}
|
||||||
|
|||||||
@ -61,6 +61,21 @@ int SunnyWebBox::getProcessDataChannels(const QString &deviceId)
|
|||||||
return m_communication->sendMessage(m_hostAddresss, "GetProcessDataChannels", params);
|
return m_communication->sendMessage(m_hostAddresss, "GetProcessDataChannels", params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int SunnyWebBox::getProcessData(const QStringList &deviceKeys)
|
||||||
|
{
|
||||||
|
Q_UNUSED(deviceKeys)
|
||||||
|
}
|
||||||
|
|
||||||
|
int SunnyWebBox::getParameterChannels(const QString &deviceKey)
|
||||||
|
{
|
||||||
|
Q_UNUSED(deviceKey)
|
||||||
|
}
|
||||||
|
|
||||||
|
int SunnyWebBox::getParameters(const QStringList &deviceKeys)
|
||||||
|
{
|
||||||
|
Q_UNUSED(deviceKeys)
|
||||||
|
}
|
||||||
|
|
||||||
int SunnyWebBox::setParameters(const QString &deviceKey, const QHash<QString, QVariant> &channels)
|
int SunnyWebBox::setParameters(const QString &deviceKey, const QHash<QString, QVariant> &channels)
|
||||||
{
|
{
|
||||||
QJsonObject paramsObj;
|
QJsonObject paramsObj;
|
||||||
@ -80,6 +95,16 @@ int SunnyWebBox::setParameters(const QString &deviceKey, const QHash<QString, QV
|
|||||||
return m_communication->sendMessage(m_hostAddresss, "SetParameter", paramsObj);
|
return m_communication->sendMessage(m_hostAddresss, "SetParameter", paramsObj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SunnyWebBox::setHostAddress(const QHostAddress &address)
|
||||||
|
{
|
||||||
|
m_hostAddresss = address;
|
||||||
|
}
|
||||||
|
|
||||||
|
QHostAddress SunnyWebBox::hostAddress()
|
||||||
|
{
|
||||||
|
return m_hostAddresss;
|
||||||
|
}
|
||||||
|
|
||||||
void SunnyWebBox::onMessageReceived(const QHostAddress &address, int messageId, const QString &messageType, const QVariantMap &result)
|
void SunnyWebBox::onMessageReceived(const QHostAddress &address, int messageId, const QString &messageType, const QVariantMap &result)
|
||||||
{
|
{
|
||||||
if (address != m_hostAddresss) {
|
if (address != m_hostAddresss) {
|
||||||
|
|||||||
@ -83,7 +83,7 @@ public:
|
|||||||
int getParameters(const QStringList &deviceKeys); //Returns the parameter values of up to 5 devices
|
int getParameters(const QStringList &deviceKeys); //Returns the parameter values of up to 5 devices
|
||||||
int setParameters(const QString &deviceKeys, const QHash<QString, QVariant> &channels); //Sets parameter values
|
int setParameters(const QString &deviceKeys, const QHash<QString, QVariant> &channels); //Sets parameter values
|
||||||
|
|
||||||
void setHostAddress();
|
void setHostAddress(const QHostAddress &address);
|
||||||
QHostAddress hostAddress();
|
QHostAddress hostAddress();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -92,7 +92,6 @@ private:
|
|||||||
SunnyWebBoxCommunication *m_communication = nullptr;
|
SunnyWebBoxCommunication *m_communication = nullptr;
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void onDatagramReceived(const QByteArray &data);
|
|
||||||
void onMessageReceived(const QHostAddress &address, int messageId, const QString &messageType, const QVariantMap &result);
|
void onMessageReceived(const QHostAddress &address, int messageId, const QString &messageType, const QVariantMap &result);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user