储能工商业-261Kwh-功率计划曲线App
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

EmsAppI.h 597B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * EmsAppI.h
  3. *
  4. * Created on: 2020年9月10日
  5. * Author: vsbes
  6. */
  7. #ifndef EXTERNSERVICE_EMSAPPI_H_
  8. #define EXTERNSERVICE_EMSAPPI_H_
  9. #include "../common/IUnknown.h"
  10. #include "../common/Type.h"
  11. #include "../externservices/EmsCoreI.h"
  12. class DataBase;
  13. interface EmsAppI: IUnknown
  14. {
  15. virtual ~EmsAppI()
  16. {
  17. }
  18. virtual HRESULT init() = 0;
  19. virtual HRESULT applyDataBase(DataBase*& pstart, unsigned int& size) = 0;
  20. virtual HRESULT registerCoreHandle(EmsCoreI* handle, int run_priority, int protect_priority) = 0;
  21. virtual HRESULT run() = 0;
  22. };
  23. #endif /* EXTERNSERVICE_EMSAPPI_H_ */