| | |
| | | using Bro.Common.Model; |
| | | using Bro.M135.DBManager; |
| | | using Newtonsoft.Json; |
| | | using static System.Windows.Forms.VisualStyles.VisualStyleElement.ListView; |
| | | |
| | | namespace Bro.M135.Common |
| | | { |
| | |
| | | #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); |
| | | } |
| | | } |
| | | |