1234567891011121314151617181920212223242526 |
- <UserControl x:Class="MECF.Framework.UI.Client.ClientControls.EfemControls.WaferCtrl"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
- xmlns:cal="clr-namespace:Caliburn.Micro"
- xmlns:ctrl="clr-namespace:OpenSEMI.Ctrlib.Controls">
- <Grid RenderTransformOrigin="0.5,0.5">
- <ctrl:Slot ViewType="Top" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}"
- DataContext="{Binding WaferData,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" HorizontalAlignment="Center" VerticalAlignment="Center">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="SlotMouseButtonDown">
- <cal:ActionMessage MethodName="OnMouseUp">
- <cal:Parameter Value="$source" />
- <cal:Parameter Value="$eventargs" />
- </cal:ActionMessage>
- </i:EventTrigger>
- <i:EventTrigger EventName="WaferTransferStarted">
- <cal:ActionMessage MethodName="OnWaferTransfer">
- <cal:Parameter Value="$eventargs" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </ctrl:Slot>
- </Grid>
- </UserControl>
|