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 <string>
|
|
|
|
|
|
#include "CommMgr.h"
|
|
|
|
|
|
#include "JelExportDefine.h"
|
|
|
|
|
|
#include "GlobalDefine.h"
|
|
|
|
|
|
|
|
|
|
|
|
class _declspec(dllexport) JelExcecute
|
|
|
|
|
|
{
|
|
|
|
|
|
public:
|
|
|
|
|
|
JelExcecute();
|
|
|
|
|
|
~JelExcecute();
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
bool InitJelRobot(int serialPort, int baudRate);
|
|
|
|
|
|
|
|
|
|
|
|
bool SendRobotCmd(CRobotCmdInfo& RobotCmd);
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
void OnRobotCommRecv();
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
void RobotJel_GetSendCmd(CRobotCmdInfo& RobotCmd);
|
|
|
|
|
|
eGlobalVariableType RobotJel_SendCmdToRobotExt(CRobotCmdInfo &RobotCmd);
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
int m_nWaitTime = 60; //<2F><><EFBFBD><EFBFBD><EFBFBD>ȴ<EFBFBD>ʱ<EFBFBD><CAB1>Ϊ60S
|
|
|
|
|
|
|
|
|
|
|
|
CCommMgr m_RobotComm;//<2F>ͻ<EFBFBD>е<EFBFBD><D0B5>ͨ<EFBFBD><CDA8><EFBFBD>õĴ<C3B5><C4B4>ڶ<EFBFBD><DAB6><EFBFBD>
|
|
|
|
|
|
int m_nBaud = 9600; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
int m_nPort = 2; //<2F><><EFBFBD><EFBFBD>
|
|
|
|
|
|
bool m_IsbJelCommRecv = false;//<2F>Ƿ<EFBFBD><C7B7>յ<EFBFBD><D5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
bool m_armIsExistWafer = false;
|
|
|
|
|
|
};
|
|
|
|
|
|
|