MachineDriver.h 933 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #pragma once
  2. #ifndef MACHINE_CENTER_EXPORTS
  3. #ifdef _WIN64
  4. #ifdef _DEBUG
  5. #pragma comment(lib, "MachineCenterX64D.lib")
  6. #else
  7. #pragma comment(lib, "MachineCenterX64.lib")
  8. #endif
  9. #else
  10. #ifdef _DEBUG
  11. #pragma comment(lib, "MachineCenterD.lib")
  12. #else
  13. #pragma comment(lib, "MachineCenter.lib")
  14. #endif
  15. #endif
  16. #endif
  17. #ifdef MACHINE_CENTER_EXPORTS
  18. #define MACHINE_CENTER_API __declspec(dllexport)
  19. #define MACHINE_CENTER_C_API extern "C" __declspec(dllexport)
  20. #else
  21. #define MACHINE_CENTER_API __declspec(dllimport)
  22. #define MACHINE_CENTER_C_API extern "C" __declspec(dllimport)
  23. #endif
  24. #include "LogicDriver.h"
  25. static const char* MachineryDriverGUID = "{515D79B6-9243-4D9A-8F01-88183B9BCC07}";
  26. static const char* MachineryUnitGUID = "{E4FF71F5-ED97-41FE-969F-BAE349D54FC2}";
  27. class MachineDriver :
  28. public LogicDriver
  29. {
  30. public:
  31. MachineDriver(void);
  32. virtual ~MachineDriver(void);
  33. };