|
|
|
|
@ -1,6 +1,5 @@
|
|
|
|
|
using CommonFunc;
|
|
|
|
|
using CommonFunc.Tools;
|
|
|
|
|
using DevExpress.Charts.Native;
|
|
|
|
|
using HandyControl.Tools.Extension;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using System;
|
|
|
|
|
@ -102,7 +101,7 @@ namespace XGLFinishPro.Views
|
|
|
|
|
|
|
|
|
|
private void UCOperator_Loaded(object sender, RoutedEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
timerDeciveState.Interval = Utils.GetAppSetting("GetDeviceStateInterval") == "" ? 15000 : Convert.ToInt32(Utils.GetAppSetting("GetDeviceStateInterval"));
|
|
|
|
|
timerDeciveState.Interval = Utils.GetAppSetting("GetDeviceStateInterval") == "" ? 18000 : Convert.ToInt32(Utils.GetAppSetting("GetDeviceStateInterval"));
|
|
|
|
|
timerDeciveState.Elapsed += TimerDeciveState_Elapsed;
|
|
|
|
|
timerDeciveState.Start();
|
|
|
|
|
Complete_Click(null, null);
|
|
|
|
|
@ -783,8 +782,6 @@ namespace XGLFinishPro.Views
|
|
|
|
|
CustomMessageBox.Show("请选择要首件检验的工单!", CustomMessageBoxButton.OK, CustomMessageBoxIcon.Warning);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
string status1 = (dgWorkOrderInfo.SelectedItem as DataRowView)["workorder_code"].ToString();
|
|
|
|
|
|