This commit is contained in:
parent
a4427f21ad
commit
e7a2497f8c
|
@ -4332,18 +4332,7 @@ void hg_scanner::image_process(std::shared_ptr<tiny_buffer>& buffer, uint32_t id
|
|||
|
||||
if ((img_conf_.refuseInflow) && (pid_ != 0x239 && pid_ != 0x439))
|
||||
{
|
||||
int lv = 5;
|
||||
|
||||
if (image_prc_param_.bits.is_permeate_lv_ == 0)
|
||||
lv = 5;
|
||||
else if (image_prc_param_.bits.is_permeate_lv_ == 1)
|
||||
lv = 15;
|
||||
else if (image_prc_param_.bits.is_permeate_lv_ == 2)
|
||||
lv = 25;
|
||||
else if (image_prc_param_.bits.is_permeate_lv_ == 3)
|
||||
lv = 35;
|
||||
else if (image_prc_param_.bits.is_permeate_lv_ == 4)
|
||||
lv = 45;
|
||||
int lv = 5 + image_prc_param_.bits.is_permeate_lv_ * 10; //image_prc_param_.bits.is_permeate_lv_ = 0 1 2 3 4
|
||||
|
||||
hg_imgproc::antiInflow(ImagePrc_pHandle_, lv);
|
||||
(this->*dump_img_)(ImagePrc_pHandle_, "antiInflow");
|
||||
|
|
Loading…
Reference in New Issue