From fbcd0ebe171200cafe0e4e00feebcac39fef834d Mon Sep 17 00:00:00 2001
From: HCL <1625932291@qq.com>
Date: Mon, 19 Jun 2023 16:40:46 +0800
Subject: [PATCH] =?UTF-8?q?1.Sequence=E7=95=8C=E9=9D=A2=E5=A2=9E=E5=8A=A0?=
=?UTF-8?q?=E5=88=B7=E6=96=B0=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Editors/Sequence/SequenceView.xaml | 22 ++++++++++++++----
.../Editors/Sequence/SequenceViewModel.cs | 23 +++++++++++++++++++
2 files changed, 40 insertions(+), 5 deletions(-)
diff --git a/MECF.Framework.UI.Client/CenterViews/Editors/Sequence/SequenceView.xaml b/MECF.Framework.UI.Client/CenterViews/Editors/Sequence/SequenceView.xaml
index b5b40ce..28aad63 100644
--- a/MECF.Framework.UI.Client/CenterViews/Editors/Sequence/SequenceView.xaml
+++ b/MECF.Framework.UI.Client/CenterViews/Editors/Sequence/SequenceView.xaml
@@ -386,7 +386,7 @@
+
+
RefreshSequence());
+ return _RefreshCommand;
+ }
+ }
+
+ public void RefreshSequence()
+ {
+ var names = provider.GetSequences();
+ Files = new ObservableCollection(RecipeSequenceTreeBuilder.GetFiles("", names));
+ CurrentFileNode = Files[0];
+
+ SelectDefault(CurrentFileNode);
+
+ Refresh();
+ }
+
public void ReloadSequence()
{
if (editMode == EditMode.Normal || editMode == EditMode.Edit)