能源管控程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
435 B

  1. #include <Arduino.h>
  2. #include "ModbusRtu.h"
  3. #include "MqttHelper.h"
  4. #include "Json.h"
  5. #include "Global.h"
  6. #include <ArduinoQueue.h>
  7. #include <cJSON.h>
  8. #include <FreeRTOS.h>
  9. #define MAXITEMS 1000
  10. #define MAXMEMORY 1000
  11. /**
  12. * @brief 主设备
  13. *
  14. */
  15. class MainDevice
  16. {
  17. private:
  18. TaskHandle_t MqttTest;
  19. public:
  20. MainDevice(/* args */);
  21. ~MainDevice();
  22. void Init();
  23. void Start();
  24. };
  25. extern MainDevice _mainDevice;