diff --git a/FryPot_DosingSystem/View/FlowProcessView.xaml b/FryPot_DosingSystem/View/FlowProcessView.xaml index 1a4f7ac1..620b1eb2 100644 --- a/FryPot_DosingSystem/View/FlowProcessView.xaml +++ b/FryPot_DosingSystem/View/FlowProcessView.xaml @@ -452,7 +452,7 @@ - + diff --git a/FryPot_DosingSystem/ViewModel/FlowProcessSetViewModel.cs b/FryPot_DosingSystem/ViewModel/FlowProcessSetViewModel.cs index 1dafbca3..cd29ab28 100644 --- a/FryPot_DosingSystem/ViewModel/FlowProcessSetViewModel.cs +++ b/FryPot_DosingSystem/ViewModel/FlowProcessSetViewModel.cs @@ -27,7 +27,7 @@ namespace FryPot_DosingSystem.ViewModel public string targetWeightOffset { get { return _targetWeightOffset; } set { _targetWeightOffset = value;OnPropertyChanged(); } } private string _targetWeightOffset="0"; - private string _stirTime; + private string _stirTime="0"; /// /// 秘制配方搅拌时间 /// @@ -139,7 +139,7 @@ namespace FryPot_DosingSystem.ViewModel name.FlowProcess.targetWeightOffset = 0.0F; return; } - if (ushort.TryParse(_stirTime.Trim(), out ushort time)) + if (ushort.TryParse(StirTime.Trim(), out ushort time)) { name.FlowProcess.StirTime = time;//秘制配方搅拌时间 }