/// <summary>
 /// 初始化相机
 /// </summary>
 private void InitCamera()
 {
     _baslerCamera = new BaslerCamera();
     _baslerCamera.eventProcessImage += _baslerCamera_eventProcessImage;
     Timer timer=new Timer();
     timer.Interval = 1000;
     timer.Tick -= Timer_Tick;
     timer.Tick += Timer_Tick;
     timer.Start();
 }