# Analysis
# C++
- mos_method_params_list get_method_params_list();
- 返回支持的Method List
Socket Message
get_arbitrary_method_list req
get_arbitrary_method_list res
mos_method_params_template get_method_params_template(const std::string &method_type);
- method_type 扫描类型 MS1 MS2_ISO...
- 返回 arbitrary 设置的缺省 method_params
void save_method_params_template(const mos_method_params& method_params);
- 不操作 STD, 仅仅是备份当前设置,下次 get_method_params_template 直接使用备份,不请求STD
Socket Message
get_arbitrary_method req
get_arbitrary_method res
mos_iso_swift_amp calculate_iso_swift_amp(const mos_method_params& method_params, int sequence_id = 0);
- 计算 iso_amp pre_iso_amp
Socket Message
calculate_iso_swift_amp req
calculate_iso_swift_amp res
mos_base_scan_function get_base_scan_function(const mos_method_params& method_params)
- 根据 method_params 取得 base_function
Socket Message
get_base_scan_function req
get_base_scan_function res
mos_fpga_scan_function get_fpga_scan_function(const mos_method_params& method_params,const std::vector<mos_base_segment> segments);
- 根据 base_function 取得 fpga_function
Socket Message
get_fpga_scan_function req
get_fpga_scan_function res
mos_scan_by_base_function start_scan_by_base_func(const mos_arbitrary_scan_params& , const mos_method_params& , const std::vector<mos_base_segment> , int )
- 根据 base_function scan
Socket Message
start_scan_by_base_func req
start_scan_by_base_func res
回调返回数据
virtual void on_scan_data_notify(int sequence_id, mos_scan_data_notify& notify, uint16_t* notify_data, int size) = 0;base function / fpga function 返回
base_and_fpga_scan_function_notify扫描参数返回
spec_data_param_notify扫描结果返回
scan_result_notify谱图数据返回
virtual void on_analysis_result_notify(int sequence_id, mos_analysis_result_notify& notify) = 0;
spect_data_notifyvirtual void on_tuning_result_notify(int sequence_id, mos_tuning_result_notify& notify) = 0;
mos_scan_by_fpga_function start_scan_by_fpga_func(const mos_arbitrary_scan_params& , const mos_method_params& , const std::vector<mos_fpga_segment> , int )
- 根据 fpga_function scan
- 返回回调参见 start_scan_by_base_func
Socket Message
start_scan_by_fpga_func req
start_scan_by_fpga_func res
mos_scan_by_method_params_list start_scan_by_method_params_list(const mos_arbitrary_scan_params& , const std::vector<mos_method_params>& ,int );
- 根据 fpga_function scan
- 返回回调参见 start_scan_by_base_func
Socket Message
start_scan_by_params_list req
start_scan_by_params_list res
mos_base_info stop_scan();
- 停止当前扫描
Socket Message
stop_scan req
stop_scan res
pms_get_tunning_channel_list_res get_tunning_channel_list();
- 返回 STD 支持的 channels
Socket Message
get_tuning_channel_list req
get_tuning_channel_list res
mos_base_info start_tunning(std::vector
- tuning
Socket Message
tuning req
tuning res
- 回调返回数据
virtual void on_tuning_result_notify(int sequence_id, mos_tuning_result_notify& notify) = 0;- base function / fpga function 返回
tuning_result_notify
- base function / fpga function 返回
# C#
static event EventHandler<ScanDataNotifyArgs^>^ scanDataNotify;
static event EventHandler<AnalysisResultNotifyArgs^>^ analysisResultNotify;
static event EventHandler<TuningNotifyArgs^>^ tuningResultNotify;
← Fpga Dual Start Up →