From afbafeecc1325bff849a17fb63b9b2b65b48ddf1 Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期四, 27 三月 2025 17:35:09 +0800 Subject: [PATCH] 模拟调度 --- WinFrmUI/IBox.WinFrmUI/Form/IBoxFormOverview.cs | 25 ++++++++++++------------- 1 files changed, 12 insertions(+), 13 deletions(-) diff --git a/WinFrmUI/IBox.WinFrmUI/Form/IBoxFormOverview.cs b/WinFrmUI/IBox.WinFrmUI/Form/IBoxFormOverview.cs index 55cc912..5bf6c54 100644 --- a/WinFrmUI/IBox.WinFrmUI/Form/IBoxFormOverview.cs +++ b/WinFrmUI/IBox.WinFrmUI/Form/IBoxFormOverview.cs @@ -1,19 +1,18 @@ -锘縰sing Yw; -using Yw.WinFrmUI; +锘縰sing Yw.WinFrmUI; namespace IBox.WinFrmUI { public partial class IBoxFormOverview : DocumentPage { - private string startCode = "[&start&]"; - private string endCode = "[&end&]"; - private string paramCode = "[¶m&]"; - private string getbaseCode = "getbase"; - private string getrealrecordCode = "getrealrecord"; - private string gethistoryrecordCode = "gethistoryrecord"; - private string getalarmbydayCode = "getalarmbyday"; - private string getbysignalidofdayrangeCode = "getbysignalidofdayrange"; + //private string startCode = "[&start&]"; + //private string endCode = "[&end&]"; + //private string paramCode = "[¶m&]"; + //private string getbaseCode = "getbase"; + //private string getrealrecordCode = "getrealrecord"; + //private string gethistoryrecordCode = "gethistoryrecord"; + //private string getalarmbydayCode = "getalarmbyday"; + //private string getbysignalidofdayrangeCode = "getbysignalidofdayrange"; //Stopwatch sw = new Stopwatch(); //string swstr=string.Empty; @@ -30,11 +29,11 @@ } - + private void EboxForm_Load(object sender, EventArgs e) { Thread.Sleep(500); - SendText(startCode + getbaseCode + paramCode + endCode); + SendText(IBoxHelper.startCode + IBoxHelper.getbaseCode + IBoxHelper.paramCode + IBoxHelper.endCode); } @@ -83,7 +82,7 @@ return 0; } - + private void gridView3_CustomDrawCell(object sender, DevExpress.XtraGrid.Views.Base.RowCellCustomDrawEventArgs e) { -- Gitblit v1.9.3