Browse Source

update

update_protocol
zhaohe 5 months ago
parent
commit
d4601d14c2
  1. 149
      api/apibasic/errorcode.cpp

149
api/apibasic/errorcode.cpp

@ -12,78 +12,83 @@ namespace err {
static ecode_table_item_t table[] = {
ERR_ITERM(ksucc),
ERR_ITERM(kfail),
ERR_ITERM(kparam_out_of_range),
ERR_ITERM(kcmd_not_support),
ERR_ITERM(kdevice_is_busy),
ERR_ITERM(kdevice_is_offline),
ERR_ITERM(kovertime),
ERR_ITERM(knoack),
ERR_ITERM(kerrorack),
ERR_ITERM(kdevice_offline),
ERR_ITERM(ksubdevice_overtime),
ERR_ITERM(kbuffer_not_enough),
ERR_ITERM(kcmd_param_num_error),
ERR_ITERM(kcheckcode_is_error),
ERR_ITERM(killegal_operation),
ERR_ITERM(kaction_overtime),
ERR_ITERM(kmodule_opeation_break_by_user),
ERR_ITERM(kmodule_not_find_reg),
ERR_ITERM(kxymotor_x_find_zero_edge_fail),
ERR_ITERM(kxymotor_y_find_zero_edge_fail),
ERR_ITERM(kxymotor_not_enable),
ERR_ITERM(kxymotor_target_pos_outof_range),
ERR_ITERM(kxymotor_not_move_to_zero),
ERR_ITERM(kpipette_error_NoError),
ERR_ITERM(kpipette_error_InitFail),
ERR_ITERM(kpipette_error_InvalidCmd),
ERR_ITERM(kpipette_error_InvalidArg),
ERR_ITERM(kpipette_error_PressureSensorError),
ERR_ITERM(kpipette_error_OverPressure),
ERR_ITERM(kpipette_error_LLDError),
ERR_ITERM(kpipette_error_DeviceNotInit),
ERR_ITERM(kpipette_error_TipPopError),
ERR_ITERM(kpipette_error_PumpOverload),
ERR_ITERM(kpipette_error_TipDrop),
ERR_ITERM(kpipette_error_CanBusError),
ERR_ITERM(kpipette_error_InvalidChecksum),
ERR_ITERM(kpipette_error_EEPROMError),
ERR_ITERM(kpipette_error_CmdBufferEmpty),
ERR_ITERM(kpipette_error_CmdBufferOverflow),
ERR_ITERM(kpipette_error_TipBlock),
ERR_ITERM(kpipette_error_AirSuction),
ERR_ITERM(kpipette_error_Bubble),
ERR_ITERM(kpipette_error_VolumeError),
ERR_ITERM(kpipette_error_TipAlreadyLoad),
ERR_ITERM(kpipette_error_TipLoadFail),
ERR_ITERM(kpipette_error_uninited),
ERR_ITERM(kpipette_error_not_lld_prepare),
ERR_ITERM(kpipette_error_tipisload_when_lld_prepare),
ERR_ITERM(kpipette_error_pump_load_val_is_not_empty),
ERR_ITERM(kstep_motor_not_found_zero_point),
ERR_ITERM(kstep_motor_not_go_zero),
ERR_ITERM(kstep_motor_over_temperature),
ERR_ITERM(kstep_motor_over_voltage),
ERR_ITERM(kstep_motor_run_overtime),
ERR_ITERM(kstep_motor_not_enable),
ERR_ITERM(kstep_motor_ioindex_out_of_range),
ERR_ITERM(kstep_motor_subic_reset),
ERR_ITERM(kstep_motor_drv_err),
ERR_ITERM(kstep_motor_uv_cp),
ERR_ITERM(kstep_motor_not_found_point_edge),
ERR_ITERM(kstep_motor_lost_step),
ERR_ITERM(kstep_motor_not_move_to_zero),
ERR_ITERM(kmini_servo_not_enable),
ERR_ITERM(kmini_servo_mode_not_support),
ERR_ITERM(kfan_hardware_fault),
ERR_ITERM(kwater_cooling_fan_error),
ERR_ITERM(kwater_cooling_temperature_sensor_error),
ERR_ITERM(kwater_cooling_pump_is_error),
ERR_ITERM(kwater_cooling_pelter_is_error),
ERR_ITERM(ksucc),
ERR_ITERM(kfail),
ERR_ITERM(kparam_out_of_range),
ERR_ITERM(kcmd_not_support),
ERR_ITERM(kdevice_is_busy),
ERR_ITERM(kdevice_is_offline),
ERR_ITERM(kovertime),
ERR_ITERM(knoack),
ERR_ITERM(kerrorack),
ERR_ITERM(kdevice_offline),
ERR_ITERM(kcheck_sum_error),
ERR_ITERM(ksubdevice_overtime),
ERR_ITERM(kbuffer_not_enough),
ERR_ITERM(kcmd_param_num_error),
ERR_ITERM(kcheckcode_is_error),
ERR_ITERM(killegal_operation),
ERR_ITERM(kaction_overtime),
ERR_ITERM(kmodule_opeation_break_by_user),
ERR_ITERM(kmodule_not_find_reg),
ERR_ITERM(kxymotor_x_find_zero_edge_fail),
ERR_ITERM(kxymotor_y_find_zero_edge_fail),
ERR_ITERM(kxymotor_not_enable),
ERR_ITERM(kxymotor_target_pos_outof_range),
ERR_ITERM(kxymotor_not_move_to_zero),
ERR_ITERM(kpipette_error_NoError),
ERR_ITERM(kpipette_error_InitFail),
ERR_ITERM(kpipette_error_InvalidCmd),
ERR_ITERM(kpipette_error_InvalidArg),
ERR_ITERM(kpipette_error_PressureSensorError),
ERR_ITERM(kpipette_error_OverPressure),
ERR_ITERM(kpipette_error_LLDError),
ERR_ITERM(kpipette_error_DeviceNotInit),
ERR_ITERM(kpipette_error_TipPopError),
ERR_ITERM(kpipette_error_PumpOverload),
ERR_ITERM(kpipette_error_TipDrop),
ERR_ITERM(kpipette_error_CanBusError),
ERR_ITERM(kpipette_error_InvalidChecksum),
ERR_ITERM(kpipette_error_EEPROMError),
ERR_ITERM(kpipette_error_CmdBufferEmpty),
ERR_ITERM(kpipette_error_CmdBufferOverflow),
ERR_ITERM(kpipette_error_TipBlock),
ERR_ITERM(kpipette_error_AirSuction),
ERR_ITERM(kpipette_error_Bubble),
ERR_ITERM(kpipette_error_VolumeError),
ERR_ITERM(kpipette_error_TipAlreadyLoad),
ERR_ITERM(kpipette_error_TipLoadFail),
ERR_ITERM(kpipette_error_no_tip_when_lld),
ERR_ITERM(kpipette_error_uninited),
ERR_ITERM(kpipette_error_not_lld_prepare),
ERR_ITERM(kpipette_error_tipisload_when_lld_prepare),
ERR_ITERM(kpipette_error_pump_load_val_is_not_empty),
ERR_ITERM(kstep_motor_not_found_zero_point),
ERR_ITERM(kstep_motor_not_go_zero),
ERR_ITERM(kstep_motor_over_temperature),
ERR_ITERM(kstep_motor_over_voltage),
ERR_ITERM(kstep_motor_run_overtime),
ERR_ITERM(kstep_motor_not_enable),
ERR_ITERM(kstep_motor_ioindex_out_of_range),
ERR_ITERM(kstep_motor_subic_reset),
ERR_ITERM(kstep_motor_drv_err),
ERR_ITERM(kstep_motor_uv_cp),
ERR_ITERM(kstep_motor_not_found_point_edge),
ERR_ITERM(kstep_motor_lost_step),
ERR_ITERM(kstep_motor_not_move_to_zero),
ERR_ITERM(kstep_motor_ot),
ERR_ITERM(kstep_motor_otpw),
ERR_ITERM(kstep_motor_s2ga),
ERR_ITERM(kstep_motor_s2gb),
ERR_ITERM(kstep_motor_ola),
ERR_ITERM(kstep_motor_olb),
ERR_ITERM(kmini_servo_not_enable),
ERR_ITERM(kmini_servo_mode_not_support),
ERR_ITERM(kfan_hardware_fault),
ERR_ITERM(kwater_cooling_fan_error),
ERR_ITERM(kwater_cooling_temperature_sensor_error),
ERR_ITERM(kwater_cooling_pump_is_error),
ERR_ITERM(kwater_cooling_pelter_is_error),
};

Loading…
Cancel
Save