mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Benchmark
This commit is contained in:
21
src/classes/IoTBench.cpp
Normal file
21
src/classes/IoTBench.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "Global.h"
|
||||
#include "classes/IoTBench.h"
|
||||
|
||||
IoTBench::IoTBench(const String ¶meters) : IoTItem(parameters)
|
||||
{
|
||||
/* int _tx, _rx, _speed, _line;
|
||||
jsonRead(parameters, "rx", _rx);
|
||||
jsonRead(parameters, "tx", _tx);
|
||||
jsonRead(parameters, "speed", _speed);
|
||||
jsonRead(parameters, "line", _line);
|
||||
*/
|
||||
}
|
||||
|
||||
void IoTBench::preLoadFunction() {}
|
||||
void IoTBench::postLoadFunction() {}
|
||||
void IoTBench::preTaskFunction(const String &id) {}
|
||||
void IoTBench::postTaskFunction(const String &id) {}
|
||||
|
||||
// void IoTBench::uartHandle() {}
|
||||
|
||||
IoTBench::~IoTBench() {}
|
||||
@@ -250,7 +250,16 @@ IoTItem* IoTItem::getTlgrmDriver() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
unsigned long IoTItem::getRtcUnixTime() {
|
||||
IoTBench *IoTItem::getBenchmarkTask()
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
IoTBench *IoTItem::getBenchmarkLoad()
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
unsigned long IoTItem::getRtcUnixTime()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user