From 2bc360ad15cd97907215696fc5d5ef3a95e73b69 Mon Sep 17 00:00:00 2001 From: zhaojian Date: Mon, 17 Jun 2024 09:25:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=80=E5=A7=8B=E5=B7=A5?= =?UTF-8?q?=E5=8D=95=E7=95=8C=E9=9D=A2=E4=B8=8D=E5=88=B7=E6=96=B0=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shangjian/XGLFinishPro/Views/LanJu_Operator.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shangjian/XGLFinishPro/Views/LanJu_Operator.xaml.cs b/shangjian/XGLFinishPro/Views/LanJu_Operator.xaml.cs index 5ac42ea..1476193 100644 --- a/shangjian/XGLFinishPro/Views/LanJu_Operator.xaml.cs +++ b/shangjian/XGLFinishPro/Views/LanJu_Operator.xaml.cs @@ -101,7 +101,7 @@ namespace XGLFinishPro.Views private void UCOperator_Loaded(object sender, RoutedEventArgs e) { - timerDeciveState.Interval = Utils.GetAppSetting("GetDeviceStateInterval") == "" ? 18000 : Convert.ToInt32(Utils.GetAppSetting("GetDeviceStateInterval")); + timerDeciveState.Interval = Utils.GetAppSetting("GetDeviceStateInterval") == "" ? 10000 : Convert.ToInt32(Utils.GetAppSetting("GetDeviceStateInterval")); timerDeciveState.Elapsed += TimerDeciveState_Elapsed; timerDeciveState.Start(); Complete_Click(null, null); @@ -690,7 +690,7 @@ namespace XGLFinishPro.Views string materialDesc = (dgWorkOrderInfo.SelectedItem as DataRowView)["product_name"].ToString(); userDbWareHouse.InsertOperationLog(workorderID, "w2", "", "开始工单", deviceCode, materialCode, materialDesc); // await CallCheckApi("checkTypeSCXJ");20240403赵啸林因为切线方案调整,要求取消上位机生成巡检任务的功能; - TimerDeciveState_Elapsed(null, null); + GetWorkOrderInfo(); } } catch (Exception ex)