领胜LDS 键盘AOI检测项目
src/Bro.UI.Config/MenuForms/FrmStatistic.cs
@@ -5,6 +5,7 @@
using System;
using System.Configuration;
using System.IO;
using System.Threading.Tasks;
using WeifenLuo.WinFormsUI.Docking;
using static Bro.Common.Helper.EnumHelper;
@@ -359,8 +360,10 @@
            Process.OnAlarmUpdate -= Process_OnAlarmUpdate;
            Process.OnAlarmUpdate += Process_OnAlarmUpdate;
            Process.OnUpdateResult = UpdateResultOK;
            Process.OnUpdateCT = UpdateCT;
            Process.OnUpdateResult -= UpdateResultOK;
            Process.OnUpdateCT -= UpdateCT;
            Process.OnUpdateResult += UpdateResultOK;
            Process.OnUpdateCT += UpdateCT;
            _availableTimer = new System.Threading.Timer(AvailableTimerCallBack, null, -1, -1);
            _idleTimer = new System.Threading.Timer(IdleTimerCallBack, null, -1, -1);
@@ -430,6 +433,11 @@
            }
            Qty_OEE++;
            Task.Run(() =>
            {
                SaveNumRecord();
            });
        }
        private void UpdateCT(float ctTime)