GENCapacity_API.h 834 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef _GENCAP_API_H_
  2. #define _GENCAP_API_H_
  3. #ifdef DEVICECAPACITY_EXPORTS
  4. #define DEVICECAP_API extern "C" __declspec(dllexport)
  5. #else
  6. #define DEVICECAP_API extern "C" __declspec(dllimport)
  7. #endif
  8. //////GEN CAPACITY BEGIN////////////////////////////////////////////////////////////////////
  9. typedef struct GenTechMode
  10. {
  11. bool bGenAEC;
  12. bool bGenTIME;
  13. bool bGenMAS;
  14. };
  15. typedef struct GENCAP
  16. {
  17. bool bDemo; //ÊÇ·ñÕæÊµÁ¬½Ó
  18. bool bGenBattery;
  19. bool bGenHU;
  20. bool bGenDose;
  21. GenTechMode genTechMode;
  22. GENCAP()
  23. {
  24. bDemo = 0;
  25. bGenBattery = 0;
  26. bGenHU = 0;
  27. bGenDose = 0;
  28. genTechMode.bGenMAS = 0;
  29. genTechMode.bGenAEC = 0;
  30. genTechMode.bGenTIME = 0;
  31. }
  32. };
  33. //////GEN CAPACITY END////////////////////////////////////////////////////////////////////
  34. DEVICECAP_API bool GENCapEncode( GENCAP genCap,wchar_t *strGENCap);
  35. #endif