diff --git a/components/zcancmder/zcan_protocol_parser.cpp b/components/zcancmder/zcan_protocol_parser.cpp index e6aae4f..d968fb1 100644 --- a/components/zcancmder/zcan_protocol_parser.cpp +++ b/components/zcancmder/zcan_protocol_parser.cpp @@ -81,7 +81,6 @@ void ZCanProtocolParser::initialize(IZCanReceiver* cancmder) { REGFN(temp_controler_enable_log); REGFN(fan_controler_set_speed); -#if 0 REGFN(xymotor_enable); REGFN(xymotor_move_by); REGFN(xymotor_move_to); @@ -89,7 +88,7 @@ void ZCanProtocolParser::initialize(IZCanReceiver* cancmder) { REGFN(xymotor_move_to_zero_and_calculated_shift); REGFN(xymotor_read_pos); REGFN(xymotor_calculated_pos_by_move_to_zero); - +#if 0 REGFN(a8000_optical_module_power_ctrl); REGFN(a8000_optical_open_laser); REGFN(a8000_optical_close_laser); @@ -518,7 +517,6 @@ int32_t ZCanProtocolParser::fan_controler_set_speed(cmdcontxt_t* cxt) { } #undef MODULE_CLASS -#if 0 #define MODULE_CLASS ZIXYMotor 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 +#if 0 /*********************************************************************************************************************** * ZIA8000OpticalModule * diff --git a/components/zcancmder/zcan_protocol_parser.hpp b/components/zcancmder/zcan_protocol_parser.hpp index 91e45c8..9f5a7dd 100644 --- a/components/zcancmder/zcan_protocol_parser.hpp +++ b/components/zcancmder/zcan_protocol_parser.hpp @@ -116,7 +116,6 @@ class ZCanProtocolParser : public IZCanReceiverListener { * 风扇控制 * ***********************************************************************************************************************/ static int32_t fan_controler_set_speed(cmdcontxt_t* cxt); -#if 0 static int32_t xymotor_enable(cmdcontxt_t* cxt); static int32_t xymotor_move_by(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_read_pos(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_open_laser(cmdcontxt_t* cxt); static int32_t a8000_optical_close_laser(cmdcontxt_t* cxt);