能源管控程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 line
370 B

  1. #include <Arduino.h>
  2. #include "ModbusRtu.h"
  3. #include "MqttHelper.h"
  4. #include "Json.h"
  5. #include "Global.h"
  6. /**
  7. * @brief 电力设备
  8. *
  9. */
  10. class ElectricityDevice
  11. {
  12. private:
  13. const byte interruptPin = 21;
  14. public:
  15. ElectricityDevice(/* args */);
  16. ~ElectricityDevice();
  17. void Init();
  18. void Start();
  19. };
  20. extern ElectricityDevice _electricityDevice;