From fd39ebd20e14148d706b1bf11728fb80af96a4c4 Mon Sep 17 00:00:00 2001 From: lhiven Date: Fri, 28 Feb 2025 19:37:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=893=E4=B8=89=E5=88=86=E9=92=9F?= =?UTF-8?q?=E4=B8=8D=E6=93=8D=E4=BD=9C=EF=BC=8C=E7=99=BB=E5=BD=95=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7=E8=87=AA=E5=8A=A8=E9=80=80=E5=87=BA=E7=9A=84=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.DeweyTester/Home.cs | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Rs.DeweyTester/Home.cs b/Rs.DeweyTester/Home.cs index ac3ac9e..55aabdc 100644 --- a/Rs.DeweyTester/Home.cs +++ b/Rs.DeweyTester/Home.cs @@ -553,19 +553,19 @@ namespace Rs.MotionPlat // //lblMachineState.Text=MachineManage.Instance.MachineStatus.ToString(); //} - long idleCount = GetIdleTick(); - if(idleCount> 1000 * 60 * 3) - { - if(!string.IsNullOrEmpty(GlobalUser.UserName)) - { - GlobalUser.UserName = ""; - if(btnPermission.ShowText.IndexOf("-")>=0) - { - btnPermission.ShowText = btnPermission.ShowText.Substring(0, btnPermission.ShowText.IndexOf("-")); - btnPermission.Invalidate(); - } - } - } + //long idleCount = GetIdleTick(); + //if(idleCount> 1000 * 60 * 3) + //{ + // if(!string.IsNullOrEmpty(GlobalUser.UserName)) + // { + // GlobalUser.UserName = ""; + // if(btnPermission.ShowText.IndexOf("-")>=0) + // { + // btnPermission.ShowText = btnPermission.ShowText.Substring(0, btnPermission.ShowText.IndexOf("-")); + // btnPermission.Invalidate(); + // } + // } + //} if (MonitorSystemButton.Instance.GetStep() != lblMonitorFlow.Text.Replace("Monitor:", "")) {