/// <summary>
        /// 保留触发15
        /// </summary>
        /// <param name="trrigerSource_e"></param>
        /// <param name="i"></param>
        void LogicPLC_Inst_Reserve15_event(TriggerSource_enum trrigerSource_e, int i)
        {
            try
            {
                ShowState("PLC触发换班,产能重置");
                ProductivityReport.WriteReportIni(i);
                ProductivityReport.ClearReportData();

                AccessHelper acHelper  = new AccessHelper(@"D:\Insp.accdb", TableEnum.InspTable);
                string       tableName = TableEnum.InspTable.ToString();
                acHelper.CreateAccDB(@"D:\Insp.accdb", tableName);

                List <string> data = new List <string>();
                data.Add(RegeditMain.R_I.AccessIndex++.ToString());
                data.Add(DateTime.Today.ToOADate().ToString());
                data.Add(ParAnalysis.P_I.g_ProductNumInfoNow.NumAll.ToString());
                data.Add(ParAnalysis.P_I.g_ProductNumInfoNow.NumNGShell.ToString());
                data.Add(ParAnalysis.P_I.g_ProductNumInfoNow.NumNGCorner.ToString());
                data.Add(ParAnalysis.P_I.g_ProductNumInfoNow.NumNGOther.ToString());
                acHelper.Insert(data, tableName);
            }
            catch (Exception ex)
            {
                Log.L_I.WriteError("MainWindow", ex);
            }
        }
 /// <summary>
 /// 保留触发5  换班
 /// </summary>
 /// <param name="trrigerSource_e"></param>
 /// <param name="i"></param>
 protected override void LogicPLC_Inst_Reserve5_event(TriggerSource_enum trrigerSource_e, int i)
 {
     try
     {
         //换班
         ShowState("PLC触发换班,产能重置");
         RegeditMain.R_I.ID = 0;
         ProductivityReport.WriteReportIni(i);
         ProductivityReport.ClearReportData();
     }
     catch (Exception ex)
     {
         Log.L_I.WriteError(NameClass, ex);
     }
 }