轮胎外观检测添加思谋语义分割模型检测工具
C3204
11 小时以前 98c0775fe3b61a37d90dd5756287f385a311adf0
LB_SmartVision/GlobalVar.cs
@@ -3,6 +3,8 @@
using LB_SmartVision.Forms.Pages.SettingPage;
using LB_SmartVision.ProcessRun;
using LB_SmartVision.Tool;
using LB_SmartVisionCameraDevice.PHM6000;
using LB_VisionProcesses.BarcodeReaders;
using LB_VisionProcesses.Cameras;
using LB_VisionProcesses.Communicators;
using System.Collections.Concurrent;
@@ -25,10 +27,24 @@
            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";
@@ -121,6 +137,13 @@
            => GlobalVar.strApplicationPath + "所有产品\\" + GlobalVar.strProductName + "\\A_AllCsv.json";
        #endregion
        public static ConcurrentDictionary<string, PHM6000SensorConfig> allLBCameras = new ConcurrentDictionary<string, PHM6000SensorConfig>();
        public static string allCamerasLBPath
            => GlobalVar.strApplicationPath + "所有产品\\" + GlobalVar.strProductName + "\\LBCameraSetttings.json";
        /// <summary>
        /// 软件路径
        /// </summary>