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)