| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 | 
							- using System.Collections.ObjectModel;
 
- using System.Linq;
 
- using MECF.Framework.UI.Client.CenterViews.Editors.Recipe;
 
- using MECF.Framework.UI.Client.CenterViews.Editors.Sequence;
 
- using OpenSEMI.ClientBase;
 
- namespace MECF.Framework.UI.Client.CenterViews.Editors.Parameter
 
- {
 
-     public class ParameterSelectDialogViewModel : DialogViewModel<string>
 
-     {
 
-         public ObservableCollection<ProcessTypeFileItem> ProcessTypeFileList { get; set; }
 
-         public FileNode CurrentFileNode { get; set; }
 
-         public int ProcessTypeIndexSelection { get; set; }
 
-         public ObservableCollection<FileNode> Files { get; set; }
 
-         private FileNode currentFileNode;
 
-         public void TreeSelectChanged(FileNode file)
 
-         {
 
-             this.currentFileNode = file;
 
-         }
 
-         public void TreeMouseDoubleClick(FileNode file)
 
-         {
 
-             this.currentFileNode = file;
 
-             OK();
 
-         }
 
-         public void OK()
 
-         {
 
-             if (this.currentFileNode != null)
 
-             {
 
-                 if (this.currentFileNode.IsFile)
 
-                 {
 
-                     //this.DialogResult = currentFileNode.PrefixPath + "\\" + currentFileNode.FullPath;
 
-                     this.DialogResult = currentFileNode.FullPath;
 
-                     IsCancel = false;
 
-                     TryClose(true);
 
-                 }
 
-             }
 
-             else
 
-             {
 
-                 IsCancel = true;
 
-                 TryClose(false);
 
-             }
 
-         }
 
-         public void Cancel()
 
-         {
 
-             IsCancel = true;
 
-             TryClose(false);
 
-         }
 
-     }
 
- }
 
 
  |