diff --git a/Model/MachineModel.cs b/Model/MachineModel.cs
index 07a68ed..d611230 100644
--- a/Model/MachineModel.cs
+++ b/Model/MachineModel.cs
@@ -616,7 +616,19 @@ namespace Model
///
/// 产品状态集合
///
- public List StatusList { get; set; }
+ public List StatusList { get; set; }
+
+
+ private double _ReadDelay = 1000;
+ public double ReadDelay
+ {
+ get { return _ReadDelay; }
+ set
+ {
+ _ReadDelay = value;
+ this.RaisePropertyChanged("ReadDelay");
+ }
+ }
}
///
diff --git a/ViewModel/MainWindowVM.cs b/ViewModel/MainWindowVM.cs
index a978e1a..309612f 100644
--- a/ViewModel/MainWindowVM.cs
+++ b/ViewModel/MainWindowVM.cs
@@ -2584,7 +2584,7 @@ namespace ViewModel
MyFlow.RunStep++;
MyFlow.RunTime = DateTime.Now;
}
- else if (MyFlow.RunTime.AddMilliseconds(1000) <= DateTime.Now)
+ else if (MyFlow.RunTime.AddMilliseconds(CurrentMachine.MyPar.ReadDelay) <= DateTime.Now)
{
ExcepStop("万用表未连接");
MyFlow.RunTime = DateTime.Now;
diff --git a/Views/ParameterSetting.xaml b/Views/ParameterSetting.xaml
index a2417b7..329fdb9 100644
--- a/Views/ParameterSetting.xaml
+++ b/Views/ParameterSetting.xaml
@@ -34,6 +34,7 @@
+