updated to latest nymea API
This commit is contained in:
parent
5a1677a80b
commit
3a5777878e
3
systemmonitor/README.md
Normal file
3
systemmonitor/README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Systemmonitor
|
||||||
|
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ DevicePluginSystemMonitor::~DevicePluginSystemMonitor()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DeviceManager::DeviceSetupStatus DevicePluginSystemMonitor::setupDevice(Device *device)
|
Device::DeviceSetupStatus DevicePluginSystemMonitor::setupDevice(Device *device)
|
||||||
{
|
{
|
||||||
Q_UNUSED(device)
|
Q_UNUSED(device)
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ DeviceManager::DeviceSetupStatus DevicePluginSystemMonitor::setupDevice(Device *
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return DeviceManager::DeviceSetupStatusSuccess;
|
return Device::DeviceSetupStatusSuccess;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DevicePluginSystemMonitor::deviceRemoved(Device *device)
|
void DevicePluginSystemMonitor::deviceRemoved(Device *device)
|
||||||
|
|||||||
@ -23,8 +23,8 @@
|
|||||||
#ifndef DEVICEPLUGINSYSTEMMONITOR_H
|
#ifndef DEVICEPLUGINSYSTEMMONITOR_H
|
||||||
#define DEVICEPLUGINSYSTEMMONITOR_H
|
#define DEVICEPLUGINSYSTEMMONITOR_H
|
||||||
|
|
||||||
#include "devicemanager.h"
|
#include "devices/devicemanager.h"
|
||||||
#include "plugin/deviceplugin.h"
|
#include "devices/deviceplugin.h"
|
||||||
#include "plugintimer.h"
|
#include "plugintimer.h"
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
@ -39,9 +39,9 @@ class DevicePluginSystemMonitor: public DevicePlugin {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
explicit DevicePluginSystemMonitor();
|
explicit DevicePluginSystemMonitor();
|
||||||
~DevicePluginSystemMonitor();
|
~DevicePluginSystemMonitor() override;
|
||||||
|
|
||||||
DeviceManager::DeviceSetupStatus setupDevice(Device *device) override;
|
Device::DeviceSetupStatus setupDevice(Device *device) override;
|
||||||
void deviceRemoved(Device *device) override;
|
void deviceRemoved(Device *device) override;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
|||||||
@ -4,15 +4,14 @@
|
|||||||
"id": "908b4f18-dc0c-4940-a6f7-c0c01a2861b8",
|
"id": "908b4f18-dc0c-4940-a6f7-c0c01a2861b8",
|
||||||
"vendors": [
|
"vendors": [
|
||||||
{
|
{
|
||||||
"displayName": "guh GmbH",
|
"displayName": "nymea",
|
||||||
"name": "guh",
|
"name": "nymea",
|
||||||
"id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
|
"id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
|
||||||
"deviceClasses": [
|
"deviceClasses": [
|
||||||
{
|
{
|
||||||
"id": "a3a15700-c251-4803-a608-0f3ddfcbd7a8",
|
"id": "a3a15700-c251-4803-a608-0f3ddfcbd7a8",
|
||||||
"name": "systemMonitor",
|
"name": "systemMonitor",
|
||||||
"displayName": "System monitor",
|
"displayName": "System monitor",
|
||||||
"createMethods": [ "manual" ],
|
|
||||||
"paramTypes": [ ],
|
"paramTypes": [ ],
|
||||||
"stateTypes": [
|
"stateTypes": [
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user