| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 | 
							- using FurnaceUI.Views.Recipes;
 
- using MECF.Framework.UI.Client.CenterViews.Configs.SystemConfig;
 
- using MECF.Framework.UI.Client.ClientBase;
 
- using System.Collections.ObjectModel;
 
- using System.Linq;
 
- using System.Windows;
 
- using System.Windows.Controls;
 
- namespace FurnaceUI.Client.Dialog
 
- {
 
-     public class ItemsSelectDialogViewModel : ModuleUiViewModelBase
 
-     {
 
-         #region properties
 
-         public int ColumnsCount { get; set; } = 1;
 
-         public ObservableCollection<TwoTableDataItem> Items { get; set; } = new ObservableCollection<TwoTableDataItem>();
 
-         public int ButtonHeight { get; set; } = 50;
 
-         public int ButtonWidth { get; set; } = 200;
 
-         public int ButtonMargin { get; set; } = 5;
 
-         public TwoTableDataItem SelectedItem { get; set; }
 
-         public bool IsSingleModule { get; set; } = false;
 
-         public string Result
 
-         {
 
-             get
 
-             {
 
-                 string strRet = string.Empty;
 
-                 return strRet.Trim(',');
 
-             }
 
-         }
 
-         #endregion
 
-         #region Function
 
-         public void OK()
 
-         {
 
-             (this.GetView() as Window).DialogResult = true;
 
-         }
 
-         public void Cancel()
 
-         {
 
-             (this.GetView() as Window).DialogResult = false;
 
-         }
 
-         #endregion
 
-     }
 
- }
 
 
  |