mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
Переходим с имени key на subtype для IoTSensor
This commit is contained in:
@@ -3,17 +3,17 @@
|
||||
#include "Classes/ScenarioClass3.h"
|
||||
#include "Classes/IoTSensor.h"
|
||||
|
||||
void IoTSensor::init(String key, String id, unsigned long interval) {
|
||||
void IoTSensor::init(String subtype, String id, unsigned long interval) {
|
||||
_interval = interval * 1000;
|
||||
_key = key;
|
||||
_subtype = subtype;
|
||||
_id = id;
|
||||
}
|
||||
|
||||
IoTSensor::IoTSensor() {}
|
||||
IoTSensor::~IoTSensor() {}
|
||||
|
||||
String IoTSensor::getKey() {
|
||||
return _key;
|
||||
String IoTSensor::getSubtype() {
|
||||
return _subtype;
|
||||
}
|
||||
|
||||
String IoTSensor::getID() {
|
||||
|
||||
Reference in New Issue
Block a user