You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#pragma once
#include <stdint.h>
#include <functional>
#include "errorcode.hpp"
namespace iflytop { using namespace std; class ZIA8000OpticalModule { public: typedef enum { kf_optical = 0, kt_optical = 1, } optical_type_t;
public: virtual ~ZIA8000OpticalModule(){};
/*******************************************************************************
* TEST * *******************************************************************************/ /**
* @����: * 1. ���淽�����ڵ������Բ����ķ��������ڵ��ԡ�һ���ֶ��ƶ���ѧģ�飬Ȼ���������淽�����в��� * 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 ���������ƶ�ȡ��ǰ��һ���IJ�����Ϣ * * @param type * @param adcval * @return int32_t */ 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) = 0; }; } // namespace iflytop
|