| | |
| | | using LB_SmartVision.Forms.Pages.SettingPage; |
| | | using LB_SmartVision.Forms.Pages.MotionControlPage; |
| | | using LB_SmartVision.Forms.Pages.SettingPage; |
| | | using LB_SmartVision.ProcessRun; |
| | | using LB_SmartVision.Tool; |
| | | using LB_VisionProcesses.Cameras; |
| | | using LB_VisionProcesses.Communicators; |
| | | using LB_VisionProcesses.BarcodeReaders; |
| | | using System; |
| | | using System.Collections.Concurrent; |
| | | using System.Collections.Generic; |
| | |
| | | public static ObservableConcurrentDictionary<string, BaseCamera> dicCameras { get; set; } = new ObservableConcurrentDictionary<string, BaseCamera>(); |
| | | |
| | | /// <summary> |
| | | /// 读码器集合(Key:设备SN,Value:读码器句柄) |
| | | /// </summary> |
| | | public static ObservableConcurrentDictionary<string, BarcodeReaderBase> dicBarcodeReaders { get; set; } = new ObservableConcurrentDictionary<string, BarcodeReaderBase>(); |
| | | |
| | | /// <summary> |
| | | /// 通讯集合(Key:通讯名,Value:通讯句柄) |
| | | /// </summary> |
| | | public static ObservableConcurrentDictionary<string, BaseCommunicator> dicCommunicators { get; set; } = new ObservableConcurrentDictionary<string, BaseCommunicator>(); |
| | |
| | | /// 触发流程设置集合 |
| | | /// </summary> |
| | | public static ConcurrentDictionary<int, ConcurrentDictionary<string, string>> dicProcessSetting { get; set; } = new ConcurrentDictionary<int, ConcurrentDictionary<string, string>>(); |
| | | |
| | | /// <summary> |
| | | /// 运动控数据制集合 Key:产品名称,Value: SN,RecordMotionControlData |
| | | /// </summary> |
| | | public static ConcurrentDictionary<string, ConcurrentDictionary<string, RecordMotionControlData>> dicMotionControlData { get; set; } = new ConcurrentDictionary<string, ConcurrentDictionary<string, RecordMotionControlData>>(); |
| | | |
| | | public static string allMotionControlDataPath |
| | | => GlobalVar.strApplicationPath + "\\所有产品\\" + GlobalVar.strProductName + "\\A_MotionControlDatas.json"; |
| | | |
| | | /// <summary> |
| | | /// 布局集合 |
| | |
| | | |
| | | #endregion |
| | | |
| | | #region 读码器 |
| | | public static ConcurrentDictionary<string, string> allBarcodeReadersConnectionString = new ConcurrentDictionary<string, string>(); |
| | | public static string allBarcodeReadersConnectionStringPath |
| | | => GlobalVar.strApplicationPath + "\\所有产品\\" + GlobalVar.strProductName + "\\A_BarcodeReaderConnections.json"; |
| | | |
| | | #endregion |
| | | |
| | | #region 流程 |
| | | public static Dictionary<string, object> ControlStates { get; set; } = new Dictionary<string, object>(); |
| | | |