From 11219b1b266c7b98dde39eb710faaa83b4a37924 Mon Sep 17 00:00:00 2001 From: kingno <30263@KINGNO> Date: 星期二, 17 六月 2025 13:04:52 +0800 Subject: [PATCH] 双击圆点出图 --- src/Bro.M135.Common/ProductModel.cs | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/Bro.M135.Common/ProductModel.cs b/src/Bro.M135.Common/ProductModel.cs index dbb4c72..5017521 100644 --- a/src/Bro.M135.Common/ProductModel.cs +++ b/src/Bro.M135.Common/ProductModel.cs @@ -3,6 +3,7 @@ using Bro.Common.Model; using Bro.M135.DBManager; using Newtonsoft.Json; +using static System.Windows.Forms.VisualStyles.VisualStyleElement.ListView; namespace Bro.M135.Common { @@ -74,6 +75,8 @@ #endregion public bool IsPreStationOK { get; set; } = false; + + public List<string> ImagePaths { get; set; } = new List<string>(); public DateTime? EndTime { get; set; } = null; @@ -421,12 +424,20 @@ #endregion #region PositionCheckTimes - public void InitialPositionCheckList(string positionName, List<int> checkTimes) + public void InitialPositionCheckList(string positionName, List<int> checkTimes,string stationName) { lock (_checkResultLock) { PositionCheckList[positionName] = new List<int>(checkTimes); Details.RemoveAll(u => u.PositionName == positionName); + + + P_PRODUCT_DETAIL detail = new P_PRODUCT_DETAIL(); + detail.STATION_CODE = stationName; + detail.PositionName = positionName; + detail.PID = PID; + detail.IsDone = false; + Details.Add(detail); } } -- Gitblit v1.8.0