mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
20 lines
285 B
C
20 lines
285 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <WString.h>
|
||
|
|
|
||
|
|
struct ModuleInfo
|
||
|
|
{
|
||
|
|
String name;
|
||
|
|
String key;
|
||
|
|
String parameters;
|
||
|
|
String type;
|
||
|
|
};
|
||
|
|
|
||
|
|
class IoTModule {
|
||
|
|
public:
|
||
|
|
IoTModule();
|
||
|
|
~IoTModule();
|
||
|
|
|
||
|
|
virtual void* initInstance(String parameters);
|
||
|
|
virtual ModuleInfo getInfo();
|
||
|
|
};
|