123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Input;
- using OpenSEMI.ClientBase;
- using static Venus_Core.NiceRobotAction;
- using static Venus_Themes.UserControls.EFEM;
- namespace Venus_Themes.UserControls
- {
- /// <summary>
- /// NiceEFEM.xaml 的交互逻辑
- /// </summary>
- public partial class NiceEFEM : UserControl
- {
- public NiceEFEM()
- {
- InitializeComponent();
- }
- public static readonly DependencyProperty Aligner1WaferProperty = DependencyProperty.Register(
- "Aligner1Wafer", typeof(WaferInfo), typeof(NiceEFEM));
- public WaferInfo Aligner1Wafer
- {
- get => (WaferInfo)GetValue(Aligner1WaferProperty);
- set => SetValue(Aligner1WaferProperty, value);
- }
- public static readonly DependencyProperty LP1PresentedProperty = DependencyProperty.Register(
- "LP1Presented", typeof(bool), typeof(NiceEFEM),
- new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender));
- public bool LP1Presented
- {
- get { return (bool)this.GetValue(LP1PresentedProperty); }
- set { this.SetValue(LP1PresentedProperty, value); }
- }
- public static readonly DependencyProperty LP2PresentedProperty = DependencyProperty.Register(
- "LP2Presented", typeof(bool), typeof(NiceEFEM),
- new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender));
- public bool LP2Presented
- {
- get { return (bool)this.GetValue(LP2PresentedProperty); }
- set { this.SetValue(LP2PresentedProperty, value); }
- }
- public static readonly DependencyProperty LP3PresentedProperty = DependencyProperty.Register(
- "LP3Presented", typeof(bool), typeof(NiceEFEM),
- new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender));
- public bool LP3Presented
- {
- get { return (bool)this.GetValue(LP3PresentedProperty); }
- set { this.SetValue(LP3PresentedProperty, value); }
- }
- public static readonly DependencyProperty LP1LoadedProperty = DependencyProperty.Register(
- "LP1Loaded", typeof(bool), typeof(NiceEFEM),
- new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender));
- public bool LP1Loaded
- {
- get { return (bool)this.GetValue(LP1LoadedProperty); }
- set { this.SetValue(LP1LoadedProperty, value); }
- }
- public static readonly DependencyProperty LP2LoadedProperty = DependencyProperty.Register(
- "LP2Loaded", typeof(bool), typeof(NiceEFEM),
- new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender));
- public bool LP2Loaded
- {
- get { return (bool)this.GetValue(LP2LoadedProperty); }
- set { this.SetValue(LP2LoadedProperty, value); }
- }
- public static readonly DependencyProperty LP3LoadedProperty = DependencyProperty.Register(
- "LP3Loaded", typeof(bool), typeof(NiceEFEM),
- new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender));
- public bool LP3Loaded
- {
- get { return (bool)this.GetValue(LP3LoadedProperty); }
- set { this.SetValue(LP3LoadedProperty, value); }
- }
- public static readonly DependencyProperty RobotAWaferInfoProperty = DependencyProperty.Register(
- "RobotAWaferInfo", typeof(WaferInfo), typeof(NiceEFEM));
- public WaferInfo RobotAWaferInfo
- {
- get { return (WaferInfo)this.GetValue(RobotAWaferInfoProperty); }
- set { this.SetValue(RobotAWaferInfoProperty, value); }
- }
- public static readonly DependencyProperty RobotBWaferInfoProperty = DependencyProperty.Register(
- "RobotBWaferInfo", typeof(WaferInfo), typeof(NiceEFEM));
- public WaferInfo RobotBWaferInfo
- {
- get { return (WaferInfo)this.GetValue(RobotAWaferInfoProperty); }
- set { this.SetValue(RobotAWaferInfoProperty, value); }
- }
- public static readonly DependencyProperty Blade1RobotXActionProperty = DependencyProperty.Register(
- "Blade1RobotXAction",
- typeof(NiceGuangChuanWaferRobotXAction),
- typeof(NiceEFEM), new PropertyMetadata(NiceGuangChuanWaferRobotXAction.Retract1));
- public NiceGuangChuanWaferRobotXAction Blade1RobotXAction
- {
- get => (NiceGuangChuanWaferRobotXAction)GetValue(Blade1RobotXActionProperty);
- set => SetValue(Blade1RobotXActionProperty, value);
- }
-
- public static readonly DependencyProperty Blade2RobotXActionProperty = DependencyProperty.Register(
- "Blade2RobotXAction",
- typeof(NiceGuangChuanWaferRobotXAction),
- typeof(NiceEFEM), new PropertyMetadata(NiceGuangChuanWaferRobotXAction.Retract2));
- public NiceGuangChuanWaferRobotXAction Blade2RobotXAction
- {
- get => (NiceGuangChuanWaferRobotXAction)GetValue(Blade2RobotXActionProperty);
- set => SetValue(Blade2RobotXActionProperty, value);
- }
-
- public static readonly DependencyProperty BladeRobotTActionProperty = DependencyProperty.Register(
- "BladeRobotTAction",
- typeof(NiceGuangChuanWaferRobotTAction),
- typeof(NiceEFEM));
- public NiceGuangChuanWaferRobotTAction BladeRobotTAction
- {
- get => (NiceGuangChuanWaferRobotTAction)GetValue(BladeRobotTActionProperty);
- set => SetValue(BladeRobotTActionProperty, value);
- }
-
- //public static readonly DependencyProperty Blade2RobotTActionProperty = DependencyProperty.Register(
- // "Blade2RobotTAction",
- // typeof(NiceGuangChuanWaferRobotTAction),
- // typeof(NiceEFEM));
- //public NiceGuangChuanWaferRobotTAction Blade2RobotTAction
- //{
- // get => (NiceGuangChuanWaferRobotTAction)GetValue(Blade2RobotTActionProperty);
- // set => SetValue(Blade2RobotTActionProperty, value);
- //}
- public bool IsOnline
- {
- get { return (bool)this.GetValue(IsOnlineProperty); }
- set { this.SetValue(IsOnlineProperty, value); }
- }
- public static readonly DependencyProperty IsOnlineProperty = DependencyProperty.Register(
- "IsOnline", typeof(bool), typeof(NiceEFEM));
-
- }
- }
|