| | |
| | | using LB_SmartVision.Forms.Pages.SettingPage; |
| | | using LB_SmartVision.ProcessRun; |
| | | using LB_SmartVision.Tool; |
| | | using LB_VisionProcesses.BarcodeReaders; |
| | | using LB_VisionProcesses.Cameras; |
| | | using LB_VisionProcesses.Communicators; |
| | | using System.Collections.Concurrent; |
| | |
| | | |
| | | strStartTime = DateTime.Now.ToString("yyyyMMdd_HHmm"); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 读码器集合(Key:设备SN,Value:读码器句柄) |
| | | /// </summary> |
| | | public static ObservableConcurrentDictionary<string, BarcodeReaderBase> dicBarcodeReaders { get; set; } = new ObservableConcurrentDictionary<string, BarcodeReaderBase>(); |
| | | |
| | | |
| | | /// <summary> |
| | | /// 光源控制配置 |
| | | /// </summary> |
| | | public static Dictionary<string, LEDControlParams> dicSerialPort { get; set; } = new Dictionary<string, LEDControlParams>(); |
| | | |
| | | #region 读码器 |
| | | public static ConcurrentDictionary<string, string> allBarcodeReadersConnectionString = new ConcurrentDictionary<string, string>(); |
| | | public static string allBarcodeReadersConnectionStringPath |
| | | => GlobalVar.strApplicationPath + "所有产品\\" + GlobalVar.strProductName + "\\A_BarcodeReaderConnections.json"; |
| | | |
| | | #endregion |
| | | |
| | | public static string AllSerialPortPath |
| | | => GlobalVar.strApplicationPath + "所有产品\\" + GlobalVar.strProductName + "\\A_SerialPort.json"; |
| | | |