21 lines
603 B
C
21 lines
603 B
C
// RobotDll.h : RobotDll DLL µÄÖ÷Í·Îļþ
|
|
//
|
|
#pragma once
|
|
|
|
//#ifdef ROBOTDLL_EXPORTS
|
|
#define EXP_IMP __declspec(dllexport)
|
|
//#else
|
|
//#define EXP_IMP __declspec(dllimport)
|
|
//#endif
|
|
|
|
extern "C" EXP_IMP void OnStart();
|
|
extern "C" EXP_IMP long SetPosition(char* Position,char* ProgName,char* ProgNumber);
|
|
extern "C" EXP_IMP long Execute_Program(char* ProgName,int Method);
|
|
extern "C" EXP_IMP long Stop_Program();
|
|
extern "C" EXP_IMP void OnEnd();
|
|
extern "C" EXP_IMP char* GetPosition();
|
|
extern "C" EXP_IMP long Server_ON();
|
|
extern "C" EXP_IMP long Server_OFF();
|
|
extern "C" EXP_IMP long SetSpeed(char* Speed);
|
|
|