|
@ -17,8 +17,8 @@ class ZIA8000OpticalModule { |
|
|
|
|
|
|
|
|
public: |
|
|
public: |
|
|
virtual ~ZIA8000OpticalModule(){}; |
|
|
virtual ~ZIA8000OpticalModule(){}; |
|
|
virtual int32_t a8000_optical_start_capture() = 0; |
|
|
|
|
|
virtual int32_t a8000_optical_read_raw(int32_t index, uint8_t* data, int32_t* len) = 0; |
|
|
|
|
|
|
|
|
virtual int32_t a8000_optical_start_capture() { return err::kcmd_not_support; } |
|
|
|
|
|
virtual int32_t a8000_optical_read_raw(int32_t index, uint8_t* data, int32_t* len) { return err::kcmd_not_support; } |
|
|
|
|
|
|
|
|
/*******************************************************************************
|
|
|
/*******************************************************************************
|
|
|
* TEST * |
|
|
* TEST * |
|
@ -28,20 +28,26 @@ class ZIA8000OpticalModule { |
|
|
* 1. 下面方法属于单步测试采样的方法,用于调试。一般手动移动光学模组,然后利用下面方法进行测试 |
|
|
* 1. 下面方法属于单步测试采样的方法,用于调试。一般手动移动光学模组,然后利用下面方法进行测试 |
|
|
* 2. 正式逻辑不使用下面逻辑 |
|
|
* 2. 正式逻辑不使用下面逻辑 |
|
|
*/ |
|
|
*/ |
|
|
virtual int32_t a8000_optical_module_power_ctrl(int32_t state) = 0; |
|
|
|
|
|
virtual int32_t a8000_optical_open_laser(int32_t type) = 0; |
|
|
|
|
|
virtual int32_t a8000_optical_close_laser(int32_t type) = 0; |
|
|
|
|
|
virtual int32_t a8000_optical_set_laster_gain(int32_t type, int32_t gain) = 0; |
|
|
|
|
|
virtual int32_t a8000_optical_set_scan_amp_gain(int32_t type, int32_t gain) = 0; |
|
|
|
|
|
virtual int32_t a8000_optical_read_scanner_adc_val(int32_t type, int32_t* adcval) = 0; |
|
|
|
|
|
virtual int32_t a8000_optical_read_laster_adc_val(int32_t type, int32_t* adcval) = 0; |
|
|
|
|
|
/**
|
|
|
|
|
|
* @brief 打开闪光灯读取当前这一点的采样信息 |
|
|
|
|
|
* |
|
|
|
|
|
* @param type |
|
|
|
|
|
* @param adcval |
|
|
|
|
|
* @return int32_t |
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
virtual int32_t a8000_optical_module_power_ctrl(int32_t state) { return err::kcmd_not_support; } |
|
|
|
|
|
virtual int32_t a8000_optical_open_laser(int32_t type) { return err::kcmd_not_support; } |
|
|
|
|
|
virtual int32_t a8000_optical_close_laser(int32_t type) { return err::kcmd_not_support; } |
|
|
|
|
|
virtual int32_t a8000_optical_set_laster_gain(int32_t type, int32_t gain) { return err::kcmd_not_support; } |
|
|
|
|
|
virtual int32_t a8000_optical_set_scan_amp_gain(int32_t type, int32_t gain) { return err::kcmd_not_support; } |
|
|
|
|
|
virtual int32_t a8000_optical_read_scanner_adc_val(int32_t type, int32_t* adcval) { return err::kcmd_not_support; } |
|
|
|
|
|
virtual int32_t a8000_optical_read_laster_adc_val(int32_t type, int32_t* adcval) { return err::kcmd_not_support; } |
|
|
virtual int32_t a8000_optical_scan_current_point_amp_adc_val(int32_t type, int32_t lastergain, int32_t ampgain, int32_t* laster_fb_val, int32_t* adcval) { return err::kcmd_not_support; } |
|
|
virtual int32_t a8000_optical_scan_current_point_amp_adc_val(int32_t type, int32_t lastergain, int32_t ampgain, int32_t* laster_fb_val, int32_t* adcval) { return err::kcmd_not_support; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
virtual int32_t a8k_opt_v2_t_start_scan(int32_t scanDirection, int32_t lasterGain, int32_t scanGain) { return err::kcmd_not_support; } |
|
|
|
|
|
virtual int32_t a8k_opt_v2_f_start_scan(int32_t scanDirection, int32_t lasterGain, int32_t scanGain) { return err::kcmd_not_support; } |
|
|
|
|
|
|
|
|
|
|
|
virtual int32_t a8k_opt_v2_t_open_laster(int32_t lasterGain, int32_t scanGain) { return err::kcmd_not_support; } |
|
|
|
|
|
virtual int32_t a8k_opt_v2_t_close_laster() { return err::kcmd_not_support; } |
|
|
|
|
|
virtual int32_t a8k_opt_v2_t_readVal(int32_t* lasteradc, int32_t* scanadc) { return err::kcmd_not_support; } |
|
|
|
|
|
|
|
|
|
|
|
virtual int32_t a8k_opt_v2_f_open_laster(int32_t lasterGain, int32_t scanGain) { return err::kcmd_not_support; } |
|
|
|
|
|
virtual int32_t a8k_opt_v2_f_close_laster() { return err::kcmd_not_support; } |
|
|
|
|
|
virtual int32_t a8k_opt_v2_f_readVal(int32_t* lasteradc, int32_t* scanadc) { return err::kcmd_not_support; } |
|
|
}; |
|
|
}; |
|
|
} // namespace iflytop
|
|
|
} // namespace iflytop
|