WorkAreaManager.h 282 B

1234567891011121314151617
  1. #pragma once
  2. #include "../common/comm.h"
  3. struct Point
  4. {
  5. float x;
  6. float y;
  7. };
  8. class CWorkAreaManager
  9. {
  10. public:
  11. static CWorkAreaManager& GetInstance();
  12. void LoadCSV(const char* file);
  13. Point& GetPoint(WorkArea area, int32_t no);
  14. private:
  15. Point _area[WorkArea::Area_ALL][50];
  16. };