| | |
| | | using LB_VisionProcesses.Cameras; |
| | | using LB_VisionProcesses.Cameras.HRCameras; |
| | | using LB_VisionProcesses.Cameras.LBCameras; |
| | | using RJCP.IO.Ports; |
| | | using System; |
| | | using System.Collections.Concurrent; |
| | |
| | | // 禁止修改窗口大小 |
| | | this.FormBorderStyle = FormBorderStyle.FixedDialog; |
| | | if (camera == null) |
| | | //camera = new HRCamera(); |
| | | camera = new HRCamera(); |
| | | |
| | | uiButtonCreate.Enabled = false; |
| | | } |
| | |
| | | switch (brand) |
| | | { |
| | | case CameraBrand.HRCamera: |
| | | //camera = new HRCamera(); |
| | | camera = new HRCamera(); |
| | | break; |
| | | case CameraBrand.LBCamera: |
| | | //camera = new LBCamera(); |
| | | camera = new LBCamera(); |
| | | break; |
| | | default: |
| | | return; |