1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- #pragma once
- #include <vector>
- #include <string>
- #include <map>
- #include "CBondMatrix.h"
- #include "CPRStrategy.h"
- #include "CWaferMatrix.h"
- using namespace std;
- using namespace ns_mat;
- using namespace ns_pr;
- #pragma region 坐标系
- typedef struct _COORDSYS_STRUCT
- {
- double OriginPtX;
- double OriginPtY;
- int DirectX;
- int DierctY;
- int DierectZ;
- }COORDSYS_STRUCT;
- #pragma endregion
- #ifdef DB_RESCOURCES_EXPORTS
- #define DB_RESCOURCES_DLL_API __declspec(dllexport)
- #else
- #define DB_RESCOURCES_DLL_API
- #endif
- class DB_RESCOURCES_DLL_API CResources
- {
- private:
- CResources();
- ~CResources();
- public:
- static CResources* GetInstance();
- static void releaseInstance();
- void GetParam();
- void SetParam();
-
- std::map<int, std::vector<int>> GetStepMap(int productID);
- std::vector<int> GetStepList(int productID,int StepListID);
- void SaveStepMap();
-
-
-
- CBondMatrix* GetBondMatrix();
-
-
- CPRStrategy* GetPRStrategyByID(int ModuleID);
-
-
- XY_DOUBLE_STRUCT ToGlobalCoord(int moduleID, XY_DOUBLE_STRUCT point);
- X_Y_Z_STRUCT ToGlobalCoord(int moduleID, X_Y_Z_STRUCT point);
-
- XY_DOUBLE_STRUCT ToLocalCoord(int moduleID, XY_DOUBLE_STRUCT point);
- X_Y_Z_STRUCT ToLocalCoord(int moduleID, X_Y_Z_STRUCT point);
- private:
- static CResources* m_instance;
-
- std::map<int,std::map<int, std::vector<int>>> m_mapStep;
-
- CBondMatrix* m_pBondMatrix = nullptr;
-
- std::map<int, CBondMatrix*> m_mapPositionInfo;
-
- map<int,COORDSYS_STRUCT> m_vetModuleCoords;
- COORDSYS_STRUCT m_stGlobalCoord;
- };
|