LB_SmartVision/Forms/Pages/CameraPage/CameraForm.cs
@@ -43,7 +43,7 @@ this.Text = camera.SN; //设置品牌 uiComboBoxBrand.Text = camera.Brand.ToString(); onlinePictureBox = new UserPictureBox(uiGroupBoxImage); this.uiGroupBoxImage.Controls.Clear(); @@ -85,7 +85,9 @@ else camera.SetTriggerMode(TriggerMode.On, TriggerSource.Line0); camera.StartGrabbing(); // 注释掉自动启动采集逻辑,防止关闭窗体后相机自动连续采集 // 用户需要手动点击"启动采集"按钮才会启动相机 // camera.StartGrabbing(); Unsubscribe(); }