|
|
@ -27,6 +27,12 @@ class ZModuleDeviceManager { |
|
|
|
for (auto &cb : m_on_reg_val_change_event_cbs) |
|
|
|
if (cb) cb(moduleid, event_id, eventval); |
|
|
|
} |
|
|
|
|
|
|
|
void for_each_module(function<void(int32_t moduleid)> cb) { |
|
|
|
for (auto &it : m_modulers) { |
|
|
|
if (cb) cb(it.first); |
|
|
|
} |
|
|
|
} |
|
|
|
/*******************************************************************************
|
|
|
|
* ZIModule * |
|
|
|
*******************************************************************************/ |
|
|
@ -185,6 +191,7 @@ class ZModuleDeviceManager { |
|
|
|
virtual int32_t pipette_ctrl_move_to_ul(uint16_t id, int32_t ul); |
|
|
|
|
|
|
|
#if 0
|
|
|
|
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; |
|
|
@ -194,6 +201,7 @@ class ZModuleDeviceManager { |
|
|
|
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; |
|
|
|
#endif
|
|
|
|
|
|
|
|
virtual int32_t a8000_optical_module_power_ctrl(uint16_t id, int32_t state); |
|
|
|
virtual int32_t a8000_optical_open_laser(uint16_t id, int32_t type); |
|
|
|
virtual int32_t a8000_optical_close_laser(uint16_t id, int32_t type); |
|
|
|
virtual int32_t a8000_optical_set_laster_gain(uint16_t id, int32_t type, int32_t gain); |
|
|
|