1.进度更新
This commit is contained in:
parent
631a041f25
commit
4da3aaffc5
|
@ -643,23 +643,23 @@ namespace MECF.Framework.UI.Client.CenterViews.Editors.Sequence
|
|||
|
||||
private static bool ValidateSequenceRules(SequenceData currentSequence, ref string ruleCheckMessage)
|
||||
{
|
||||
foreach (var stepInfo in currentSequence.Steps)
|
||||
{
|
||||
if (string.IsNullOrEmpty((stepInfo[1] as PositionParam).Value))
|
||||
{
|
||||
ruleCheckMessage = $"Step{(stepInfo[0] as StepParam).Value}, Position Is Empty";
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
//if (((stepInfo[4] as PathFileParam).Visible == Visibility.Visible && string.IsNullOrEmpty((stepInfo[4] as PathFileParam).Value)) ||
|
||||
// ((stepInfo[5] as PathFileParam).Visible == Visibility.Visible && string.IsNullOrEmpty((stepInfo[5] as PathFileParam).Value)))
|
||||
//foreach (var stepInfo in currentSequence.Steps)
|
||||
//{
|
||||
// ruleCheckMessage = $"Step{(stepInfo[0] as StepParam).Value}, Recipe Is Empty";
|
||||
// if (string.IsNullOrEmpty((stepInfo[1] as PositionParam).Value))
|
||||
// {
|
||||
// ruleCheckMessage = $"Step{(stepInfo[0] as StepParam).Value}, Position Is Empty";
|
||||
|
||||
// return false;
|
||||
// }
|
||||
|
||||
// //if (((stepInfo[4] as PathFileParam).Visible == Visibility.Visible && string.IsNullOrEmpty((stepInfo[4] as PathFileParam).Value)) ||
|
||||
// // ((stepInfo[5] as PathFileParam).Visible == Visibility.Visible && string.IsNullOrEmpty((stepInfo[5] as PathFileParam).Value)))
|
||||
// //{
|
||||
// // ruleCheckMessage = $"Step{(stepInfo[0] as StepParam).Value}, Recipe Is Empty";
|
||||
|
||||
// // return false;
|
||||
// //}
|
||||
//}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue