#pragma once #include "JELOperate.h" class _declspec(dllexport) JELManager { public: JELManager(); ~JELManager(); public: bool InitJEL(); bool InitAlign(); bool TakeOutWafer(int cassIndex, int waferIndex); //取出晶圆,index代表第几片 bool ToAlign(int cassIndex, int waferIndex); bool DOAlign(int cassIndex, int waferIndex); bool AlignmentWafer(int cassIndex, int waferIndex); //准直 bool AlignToArm(int cassIndex, int waferIndex); bool ArmToWorkPlat(int cassIndex, int waferIndex); bool PutWaferOnWorkbench(int cassIndex, int waferIndex); //将晶圆从准直器上放到工作台上 bool PlatformToTwoArm2(int cassIndex, int waferIndex); //平台到2手臂 bool TwoArm2ToAlign(int cassIndex, int waferIndex); //2手臂到准直器 bool AlignToArm1(int cassIndex, int waferIndex); //从准直器取得手臂1 bool Arm1ToCass(int cassIndex, int waferIndex); bool RotateToWaferIdPos(int cassIndex, int waferIndex); void switchBank(int layerNum); bool CheckFinderExistWafer(); //检测手指是否存在晶圆 bool JudgeJelArmIsExistWafer(int armType); //1代表上手指,2代表下手指 void CommonSwitchBank(int bak); bool RunToMappingCassPoint(int loadPortId); bool JELMapping(int loadPortId, int bakNum); bool JELReadMappingData(std::vector& MappingData); private: JELOperate m_JELObj; };