| 1234567891011121314151617181920212223242526272829303132333435363738 | 
							- using MECF.Framework.UI.Client.ClientBase;
 
- using OpenSEMI.ClientBase;
 
- using System;
 
- using System.Collections.Generic;
 
- using System.Linq;
 
- using System.Text;
 
- using System.Threading.Tasks;
 
- using System.Windows;
 
- namespace MECF.Framework.UI.Client.CenterViews.Parameter
 
- {
 
-     public class InterlockFlagViewModel : ModuleUiViewModelBase
 
-     {
 
-         public string FLAGSelected { get; set; }
 
-         public void FLAGSelect(string value)
 
-         {
 
-             FLAGSelected = value;
 
-         }
 
-         public void SaveCmd()
 
-         {
 
-             if (string.IsNullOrEmpty(FLAGSelected))
 
-             {
 
-                 DialogBox.ShowWarning("FLAG is empty!");
 
-                 return;
 
-             }
 
-             ((Window)GetView()).DialogResult = true;
 
-         }
 
-         public void CloseCmd()
 
-         {
 
-             ((Window)GetView()).DialogResult = false;
 
-         }
 
-     }
 
- }
 
 
  |