mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
сокеты
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
#pragma once
|
||||
#include "Global.h"
|
||||
#include "сlasses/sendJsonWs.h"
|
||||
|
||||
class SendJson;
|
||||
|
||||
class SendJson : SendJsonWs {
|
||||
class SendJson {
|
||||
public:
|
||||
SendJson();
|
||||
~SendJson();
|
||||
@@ -13,6 +12,10 @@ class SendJson : SendJsonWs {
|
||||
|
||||
void loop();
|
||||
|
||||
void sendWs(String& jsonArrayElement);
|
||||
|
||||
void sendMqtt(String& jsonArrayElement);
|
||||
|
||||
uint8_t _num;
|
||||
|
||||
private:
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#pragma once
|
||||
#include "Global.h"
|
||||
|
||||
class SendJsonWs;
|
||||
|
||||
class SendJsonWs {
|
||||
public:
|
||||
SendJsonWs();
|
||||
~SendJsonWs();
|
||||
|
||||
void send(String& jsonArrayElement, uint8_t& _num);
|
||||
};
|
||||
Reference in New Issue
Block a user