Browse Source

update

change_pipette_api
zhaohe 1 year ago
parent
commit
46557304e9
  1. 7
      api/apibasic/reg_index.hpp
  2. 3
      api/zi_plate_code_scaner_module.hpp

7
api/apibasic/reg_index.hpp

@ -184,6 +184,13 @@ typedef enum {
/***********************************************************************************************************************
* BOARD *
***********************************************************************************************************************/
kreg_plate_code_scaner_laster_gain = REG_INDEX(103, 0, 1),
kreg_plate_code_scaner_scan_gain = REG_INDEX(103, 0, 2),
kreg_plate_code_scaner_start_scan_pos = REG_INDEX(103, 0, 3),
kreg_plate_code_scaner_scan_step_interval = REG_INDEX(103, 0, 4),
kreg_plate_code_scaner_scan_point_num = REG_INDEX(103, 0, 5),
} reg_index_t;
typedef struct {

3
api/zi_plate_code_scaner_module.hpp

@ -11,9 +11,10 @@ using namespace std;
class ZI_PlateCodeScanerModule {
public:
virtual ~ZI_PlateCodeScanerModule(){};
virtual int32_t plate_code_scaner_start_scan() = 0;
virtual int32_t plate_code_scaner_start_scan(int32_t startpos) = 0;
virtual int32_t plate_code_scaner_read_result(int32_t packetIndex, uint8_t* data, int32_t* len) = 0;
virtual int32_t plate_code_scaner_read_result_packet_num(int32_t* packetNum) = 0;
virtual int32_t plate_code_scaner_read_code(int32_t* code) = 0;
virtual int32_t plate_code_scaner_adc_readraw(int32_t* val) = 0;
virtual int32_t plate_code_scaner_open_laser() = 0;

Loading…
Cancel
Save