储能工商业-261Kwh-功率计划曲线App
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.

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * EmsCoreI.h
  3. *
  4. * Created on: 2020年9月11日
  5. * Author: vsbes
  6. */
  7. #ifndef ACTION_EMSCOREI_H_
  8. #define ACTION_EMSCOREI_H_
  9. #include <map>
  10. #include <string>
  11. #include "../common/Type.h"
  12. interface EmsCoreI
  13. {
  14. virtual ~EmsCoreI()
  15. {
  16. }
  17. virtual HRESULT setItemStrValue(const std::string id, const std::string value, const int priority) = 0;
  18. virtual HRESULT setItemIntValue(const std::string id, const int value, const int priority) = 0;
  19. virtual HRESULT setItemFloatValue(const std::string id, const float value, const int priority) = 0;
  20. virtual HRESULT getDevicesComState(std::map<std::string, std::string>& mdevicesCom) = 0;
  21. };
  22. #endif /* ACTION_EMSCOREI_H_ */