Browse Source

update

master
zhaohe 1 year ago
parent
commit
57e42938b9
  1. 5
      components/zcancmder/zcan_protocol_parser.cpp
  2. 4
      components/zcancmder/zcan_protocol_parser.hpp

5
components/zcancmder/zcan_protocol_parser.cpp

@ -81,7 +81,6 @@ void ZCanProtocolParser::initialize(IZCanReceiver* cancmder) {
REGFN(temp_controler_enable_log); REGFN(temp_controler_enable_log);
REGFN(fan_controler_set_speed); REGFN(fan_controler_set_speed);
#if 0
REGFN(xymotor_enable); REGFN(xymotor_enable);
REGFN(xymotor_move_by); REGFN(xymotor_move_by);
REGFN(xymotor_move_to); REGFN(xymotor_move_to);
@ -89,7 +88,7 @@ void ZCanProtocolParser::initialize(IZCanReceiver* cancmder) {
REGFN(xymotor_move_to_zero_and_calculated_shift); REGFN(xymotor_move_to_zero_and_calculated_shift);
REGFN(xymotor_read_pos); REGFN(xymotor_read_pos);
REGFN(xymotor_calculated_pos_by_move_to_zero); REGFN(xymotor_calculated_pos_by_move_to_zero);
#if 0
REGFN(a8000_optical_module_power_ctrl); REGFN(a8000_optical_module_power_ctrl);
REGFN(a8000_optical_open_laser); REGFN(a8000_optical_open_laser);
REGFN(a8000_optical_close_laser); REGFN(a8000_optical_close_laser);
@ -518,7 +517,6 @@ int32_t ZCanProtocolParser::fan_controler_set_speed(cmdcontxt_t* cxt) {
} }
#undef MODULE_CLASS #undef MODULE_CLASS
#if 0
#define MODULE_CLASS ZIXYMotor #define MODULE_CLASS ZIXYMotor
int32_t ZCanProtocolParser::xymotor_enable(cmdcontxt_t* cxt) { int32_t ZCanProtocolParser::xymotor_enable(cmdcontxt_t* cxt) {
@ -561,6 +559,7 @@ int32_t ZCanProtocolParser::xymotor_calculated_pos_by_move_to_zero(cmdcontxt_t*
#undef MODULE_CLASS #undef MODULE_CLASS
#if 0
/*********************************************************************************************************************** /***********************************************************************************************************************
* ZIA8000OpticalModule * * ZIA8000OpticalModule *

4
components/zcancmder/zcan_protocol_parser.hpp

@ -116,7 +116,6 @@ class ZCanProtocolParser : public IZCanReceiverListener {
* * * *
***********************************************************************************************************************/ ***********************************************************************************************************************/
static int32_t fan_controler_set_speed(cmdcontxt_t* cxt); static int32_t fan_controler_set_speed(cmdcontxt_t* cxt);
#if 0
static int32_t xymotor_enable(cmdcontxt_t* cxt); static int32_t xymotor_enable(cmdcontxt_t* cxt);
static int32_t xymotor_move_by(cmdcontxt_t* cxt); static int32_t xymotor_move_by(cmdcontxt_t* cxt);
static int32_t xymotor_move_to(cmdcontxt_t* cxt); static int32_t xymotor_move_to(cmdcontxt_t* cxt);
@ -124,8 +123,7 @@ class ZCanProtocolParser : public IZCanReceiverListener {
static int32_t xymotor_move_to_zero_and_calculated_shift(cmdcontxt_t* cxt); static int32_t xymotor_move_to_zero_and_calculated_shift(cmdcontxt_t* cxt);
static int32_t xymotor_read_pos(cmdcontxt_t* cxt); static int32_t xymotor_read_pos(cmdcontxt_t* cxt);
static int32_t xymotor_calculated_pos_by_move_to_zero(cmdcontxt_t* cxt); static int32_t xymotor_calculated_pos_by_move_to_zero(cmdcontxt_t* cxt);
#if 0
static int32_t a8000_optical_module_power_ctrl(cmdcontxt_t* cxt); static int32_t a8000_optical_module_power_ctrl(cmdcontxt_t* cxt);
static int32_t a8000_optical_open_laser(cmdcontxt_t* cxt); static int32_t a8000_optical_open_laser(cmdcontxt_t* cxt);
static int32_t a8000_optical_close_laser(cmdcontxt_t* cxt); static int32_t a8000_optical_close_laser(cmdcontxt_t* cxt);

Loading…
Cancel
Save