| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 | 
							- using Aitex.Core.RT.SCCore;
 
- using Caliburn.Micro;
 
- using Caliburn.Micro.Core;
 
- using MECF.Framework.Common.DataCenter;
 
- using MECF.Framework.Common.RecipeCenter;
 
- using MECF.Framework.UI.Client.CenterViews.Editors.Recipe;
 
- using System;
 
- using System.Collections.Generic;
 
- using System.Collections.ObjectModel;
 
- using System.Linq;
 
- using System.Text;
 
- using System.Threading.Tasks;
 
- using System.Windows;
 
- using FurnaceUI.Models;
 
- using FurnaceUI.Views.Parameter;
 
- using FurnaceUI.Views.Recipes;
 
- using System.Windows.Controls;
 
- using FurnaceUI.Views.DataLog;
 
- using FurnaceUI.Client.Dialog;
 
- namespace FurnaceUI.Views.Editors
 
- {
 
-     public class RecipeLayoutMonitorWaferReplaceViewModel : FurnaceUIViewModelBase
 
-     {
 
-         private string _monitorWaferFillReplace = "None";
 
-         public string MonitorWaferFillReplace
 
-         {
 
-             get => _monitorWaferFillReplace;
 
-             set
 
-             {
 
-                 _monitorWaferFillReplace = value;
 
-                 NotifyOfPropertyChange(nameof(MonitorWaferFillReplace));
 
-             }
 
-         }
 
-         private string _monitorWaferShort = "None";
 
-         public string MonitorWaferShort
 
-         {
 
-             get => _monitorWaferShort;
 
-             set
 
-             {
 
-                 _monitorWaferShort = value;
 
-                 NotifyOfPropertyChange(nameof(MonitorWaferShort));
 
-             }
 
-         }
 
-         public bool IsSave { get; set; }
 
-         public RecipeLayoutMonitorWaferReplaceViewModel()
 
-         {
 
-         }
 
-         public bool IsEnable => CGlobal.RecipeProcessEditViewEnable;//是否是View模式
 
-         public void TextSelectCmdMouseDown(string cmd, object obj)
 
-         {
 
-             WindowManager wm = new WindowManager();
 
-             SelectExistViewModel selectExistViewModel = new SelectExistViewModel();
 
-             var ConText = (TextBox)obj;
 
-             bool? dialogReturn = wm.ShowDialogWithTitle(selectExistViewModel, null, "Select");
 
-             if ((bool)dialogReturn)
 
-             {
 
-                 if (cmd == "WaferFill")
 
-                 {
 
-                     MonitorWaferFillReplace = selectExistViewModel.DialogResultString;
 
-                 }
 
-                 else if (cmd == "WaferShort")
 
-                 {
 
-                     MonitorWaferShort= selectExistViewModel.DialogResultString;
 
-                 }
 
-             }
 
-         }
 
-         public string RecipeType { get; set; }
 
-         protected override void OnViewLoaded(object view)
 
-         {
 
-             base.OnViewLoaded(view);
 
-             LoadData();
 
-         }
 
-         private void LoadData()
 
-         {
 
-         }
 
-         public void TempSetSave()
 
-         {
 
-             IsSave = true;
 
-             ((Window)GetView()).DialogResult = true;
 
-         }
 
-         public void TempSetCancel()
 
-         {
 
-             IsSave = false;
 
-             ((Window)GetView()).DialogResult = false;
 
-         }
 
-     }
 
- }
 
 
  |