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:", "")) {