You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
#pragma once
|
|
|
|
|
|
#include "JELGlobalDefine.h"
|
|
|
|
|
|
#include "CommMgr.h"
|
|
|
|
|
|
#include "GlobalDefine.h"
|
|
|
|
|
|
class _declspec(dllexport) JELOperate
|
|
|
|
|
|
{
|
|
|
|
|
|
public:
|
|
|
|
|
|
JELOperate();
|
|
|
|
|
|
~JELOperate();
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
bool InitJEL();
|
|
|
|
|
|
bool InitAlign();
|
|
|
|
|
|
bool SendRobotCmd(CRobotCmdInfo& RobotCmd);
|
|
|
|
|
|
|
|
|
|
|
|
std::string GetRobotCmdInfoStr(CRobotCmdInfo &RobotCmd);
|
|
|
|
|
|
void RobotJel_GetSendCmd(CRobotCmdInfo &RobotCmd);
|
|
|
|
|
|
eGlobalVariableType RobotJel_SendCmdToRobotExt(CRobotCmdInfo &RobotCmd);
|
|
|
|
|
|
eGlobalVariableType CheckRobotErrState(CRobotCmdInfo &RobotCmd);
|
|
|
|
|
|
|
|
|
|
|
|
void OnRobotCommRecv();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CCommMgr m_RobotComm;//<2F>ͻ<EFBFBD>е<EFBFBD><D0B5>ͨ<EFBFBD><CDA8><EFBFBD>õĴ<C3B5><C4B4>ڶ<EFBFBD><DAB6><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
int m_nWaitTime = 60; //<2F><><EFBFBD><EFBFBD><EFBFBD>ȴ<EFBFBD>ʱ<EFBFBD><CAB1>Ϊ30S
|
|
|
|
|
|
int m_nAligner = 0; //ֱ<D7BC><D6B1><EFBFBD><EFBFBD>ת<EFBFBD>Ƕ<EFBFBD>;
|
|
|
|
|
|
int m_nBaud = 9600; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
int m_nPort = 2; //<2F><><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool m_IsbJelCommRecv = false;
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
bool m_armIsExistWafer = false;
|
|
|
|
|
|
};
|
|
|
|
|
|
|