| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 | 
							- using MECF.Framework.Common.DataCenter;
 
- using MECF.Framework.Common.Equipment;
 
- using System;
 
- using System.Collections.Generic;
 
- using System.IO;
 
- using System.Linq;
 
- using System.Text;
 
- using System.Threading.Tasks;
 
- using System.Windows;
 
- using System.Windows.Controls;
 
- using System.Windows.Data;
 
- using System.Windows.Documents;
 
- using System.Windows.Input;
 
- using System.Windows.Media;
 
- using System.Windows.Media.Imaging;
 
- using System.Windows.Navigation;
 
- using System.Windows.Shapes;
 
- using Venus_MainPages.Unity;
 
- namespace Venus_MainPages.Views
 
- {
 
-     /// <summary>
 
-     /// WaferAssociationUnit.xaml 的交互逻辑
 
-     /// </summary>
 
-     public partial class WaferAssociationUnit : UserControl
 
-     {
 
-         public WaferAssociationUnit()
 
-         {
 
-             InitializeComponent();
 
-         }
 
-         public WaferAssociationInfo WAInfo
 
-         {
 
-             get { return (WaferAssociationInfo)GetValue(WAInfoProperty); }
 
-             set { SetValue(WAInfoProperty, value); }
 
-         }
 
-         public static readonly DependencyProperty WAInfoProperty = DependencyProperty.Register("WAInfo", typeof(WaferAssociationInfo), typeof(WaferAssociationUnit));
 
-        
 
-         private void cb_DropDownOpened(object sender, EventArgs e)
 
-         {
 
-             cb.ItemsSource= GetFilesNames(System.IO.Path.Combine(QueryDataClient.Instance.Service.GetData("GetRTPath").ToString(), "Recipes", "Sequence")).ToList();
 
-         }
 
-         private IEnumerable<string> GetFilesNames(string path)
 
-         {
 
-             return Directory.GetFiles(path, "*.seq")
 
-       .Select(System.IO.Path.GetFileNameWithoutExtension);
 
-         }
 
-         private void cb_SelectionChanged(object sender, SelectionChangedEventArgs e)
 
-         {
 
-             WAInfo.SequenceName = cb.SelectedValue.ToString();
 
-         }
 
-     }
 
- }
 
 
  |