Browse Source

update

change_pipette_api
zhaohe 1 year ago
parent
commit
94d8564f2a
  1. 9
      api/apibasic/cmdid.hpp
  2. 1
      api/apibasic/module_type_index.hpp
  3. 20
      api/zi_plate_code_scaner_module.hpp

9
api/apibasic/cmdid.hpp

@ -149,6 +149,15 @@ typedef enum {
kpipette_get_sensor_sample_data_num = CMDID(0x72, 23), // para:{} , ack:{num}
kpipette_sensor_sample_data_report = CMDID(0x72, 50), // val{regindex, oldval, toval}
/***********************************************************************************************************************
* *
***********************************************************************************************************************/
kplate_clamp_case_start_scan = CMDID(0x73, 1), // para:{}, ack:{}
kplate_clamp_case_stop_scan = CMDID(0x73, 2), // para:{}, ack:{}
kplate_clamp_case_readcode = CMDID(0x73, 3), // para:{}, ack:{}
} cmdid_t;
typedef struct {

1
api/apibasic/module_type_index.hpp

@ -17,5 +17,6 @@ typedef enum {
kmini_servo_motor_module = 11, // 舵机
kboard = 12, // 舵机
ka8000_idcard_reader = 13, // ka8000_idcard_reader
ka8000_plate_code_scaner = 14, // ka8000_plate_code_scaner
} module_type_t;
}

20
api/zi_plate_code_scaner_module.hpp

@ -0,0 +1,20 @@
#pragma once
#include <stdint.h>
#include <functional>
#include "apibasic/basic.hpp"
namespace iflytop {
using namespace std;
class ZIPlateCodeScanerModule {
public:
virtual ~ZIPlateCodeScanerModule() {}
// virtual int32_t plate_code
// virtual int32_t pipette_ctrl_put_tip() = 0;
// virtual int32_t pipette_ctrl_move_to_ul(int32_t ul) = 0;
};
} // namespace iflytop
Loading…
Cancel
Save