增加导出DLL工程。
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include "..\Tools\UsbUtility\logger.h"
|
||||
#include "CMD_H.h"
|
||||
#include "..\..\..\..\..\ThirdParty\UsbSupport\LibUsb_Win\Include\lusb0_usb.h"
|
||||
#include "..\MicroVu\SsiStatus.h"
|
||||
#include "..\Tools\UsbUtility\MachineInterfaceDll\MachineInterfaceDll.h"
|
||||
|
||||
#define MAX_BUFF_SIZE 0x200
|
||||
|
||||
@@ -60,6 +60,16 @@
|
||||
const long MAX_INTENSITY = 0x3FF;
|
||||
#define MAXLIGHTVALUE 255
|
||||
#define MINLIGHTVALUE 1
|
||||
enum MACHINE_AXIS
|
||||
{
|
||||
MACHINE_AXIS_NONE = 0,
|
||||
MACHINE_AXIS_X,
|
||||
MACHINE_AXIS_Y,
|
||||
MACHINE_AXIS_Z,
|
||||
MACHINE_AXIS_ZOOM,
|
||||
MACHINE_AXIS_R,
|
||||
MACHINE_AXIS_ALL = 5
|
||||
};
|
||||
enum EMACHINETYPE
|
||||
{
|
||||
MACHINE_SO7_CONTROLLER,
|
||||
@@ -180,6 +190,9 @@ struct s_so7_machine_interface_config
|
||||
INT m_SV4000E_DenoisePara[4];
|
||||
INT m_MachineType;
|
||||
INT m_VideoCardType;
|
||||
INT m_RotaryAxisNO;
|
||||
double m_RotaryCircleDis;
|
||||
double m_RotaryCirclePulse;
|
||||
};
|
||||
|
||||
//======================
|
||||
@@ -219,7 +232,8 @@ struct struct_so7_machine
|
||||
bool _bZMMoving;
|
||||
char _bIsZMMotionFinished;
|
||||
bool _bZMHoming;
|
||||
bool _bXYZZMIdle;
|
||||
bool _bXYZZMIdle;
|
||||
bool _bRMovins;
|
||||
} s_status;
|
||||
union {
|
||||
struct s_lights_value
|
||||
@@ -250,6 +264,7 @@ struct struct_so7_machine
|
||||
BOOL IsSupportReadInterrputMsg;
|
||||
double dRotaryCirclDis;
|
||||
char SEQ_NUMBER;
|
||||
char MotionType;
|
||||
struct s_so7_axis x;
|
||||
struct s_so7_axis y;
|
||||
struct s_so7_axis z;
|
||||
@@ -381,6 +396,9 @@ public:
|
||||
SSI_STATUS_MOTION so7_motion_startup(double x_scale_resolution, double y_scale_resolution, double z_scale_resolution);
|
||||
bool so7_motion_is_homed();
|
||||
SSI_STATUS_MOTION so7_motion_Dcc_Home();
|
||||
SSI_STATUS_MOTION so7_motion_Dcc_Home_R();
|
||||
SSI_STATUS_MOTION so7_Motion_R_IsHomed(bool &bHomed);
|
||||
SSI_STATUS_MOTION so7_Motion_R_IsMotionFInished(bool &bFinished);
|
||||
SSI_STATUS_MOTION _start_machine();
|
||||
SSI_STATUS_MOTION _shutdown_machine();
|
||||
SSI_STATUS_MOTION so7_motion_probe_on_off_(bool _bOnOff);
|
||||
@@ -398,7 +416,11 @@ public:
|
||||
SSI_STATUS_MOTION so7_motion_set_position_xyz(double dX, double dY, double dZ, bool bWait);
|
||||
SSI_STATUS_MOTION so7_motion_set_speed_xyz(double dPercentSpeed);
|
||||
SSI_STATUS_MOTION so7_motion_get_speed_xyz(double &dPercentSpeed);
|
||||
SSI_STATUS_MOTION so7_motion_get_3D_max_speed(double &dMaxSpeed);
|
||||
SSI_STATUS_MOTION so7_motion_set_position_R(double dR,bool bWait);
|
||||
SSI_STATUS_MOTION so7_motion_get_position_R(double & dR);
|
||||
SSI_STATUS_MOTION so7_motion_move_R(char _SpeedGear);
|
||||
|
||||
SSI_STATUS_MOTION so7_motion_get_3D_max_speed(double &dMaxSpeed);
|
||||
SSI_STATUS_MOTION so7_motion_is_finished(char MotionType,BOOL& IsFinished);
|
||||
|
||||
SSI_STATUS_MOTION _calculate_straightline_motion(double dSpeedMM);
|
||||
|
||||
Reference in New Issue
Block a user