private void Instance_OnCPKcount(EnumShowResult esr) { if (esr != EnumShowResult.Empty && Globals.MachineMode == MachineModeType.CPKGRR) { PVar.CPKDoneCounts++;//CPK数值+1 } string stringtemp = (PVar.CPKDoneCounts >= 32) ? "Done" : "On_Going"; Globals.Invoker.SetCtltxt(Lab_Cpkstatues, stringtemp); Globals.Invoker.SetCtltxt(Lab_CpkCount, PVar.CPKDoneCounts.ToString() + "/32"); }
/// <summary> /// 显示结果 /// </summary> /// <param name="ESR"></param> private void OnshowResult(EnumShowResult ESR) { switch (ESR) { case EnumShowResult.Empty: this.chartYield1.setOK_NG("--"); break; case EnumShowResult.NG: this.chartYield1.setOK_NG("NG"); break; case EnumShowResult.OK: this.chartYield1.setOK_NG("OK"); break; } }
private void OnshowResult(EnumShowResult ESR) { switch (ESR) { case EnumShowResult.Empty: Globals.Invoker.SetCtltxt(this.lab_OKNG, "--"); Globals.Invoker.SetCtl_FontColor(this.lab_OKNG, Color.Lime); break; case EnumShowResult.NG: Globals.Invoker.SetCtltxt(this.lab_OKNG, "NG"); Globals.Invoker.SetCtl_FontColor(this.lab_OKNG, Color.Red); break; case EnumShowResult.OK: Globals.Invoker.SetCtltxt(this.lab_OKNG, "OK"); Globals.Invoker.SetCtl_FontColor(this.lab_OKNG, Color.Lime); break; } }