调整模块界面布局
This commit is contained in:
parent
7646429961
commit
c2641efdd9
@ -19,16 +19,12 @@
|
|||||||
x:Name="root"
|
x:Name="root"
|
||||||
Width="416"
|
Width="416"
|
||||||
Height="38">
|
Height="38">
|
||||||
<!--<Canvas.ContextMenu>
|
|
||||||
<ContextMenu ItemsSource="{Binding Menu}" />
|
|
||||||
</Canvas.ContextMenu>-->
|
|
||||||
<Image
|
<Image
|
||||||
Width="75"
|
Width="75"
|
||||||
Height="80"
|
Height="80"
|
||||||
Margin="-20,-24"
|
Margin="-20,-24"
|
||||||
Source="Images/AtmRobotMultiLP/dock.png"
|
Source="Images/AtmRobotMultiLP/dock.png"
|
||||||
Visibility="{Binding ShowDock, Converter={StaticResource BoolVisibilityConverter}}" />
|
Visibility="{Binding ShowDock, Converter={StaticResource BoolVisibilityConverter}}" />
|
||||||
<!--<Image Width="38" Height="38" Source="Images/AtmRobotMultiLP/robotDock.png" />-->
|
|
||||||
<Common:AxisCanvas
|
<Common:AxisCanvas
|
||||||
x:Name="canvas1"
|
x:Name="canvas1"
|
||||||
Canvas.Left="10"
|
Canvas.Left="10"
|
||||||
@ -49,20 +45,17 @@
|
|||||||
Width="80"
|
Width="80"
|
||||||
Height="38">
|
Height="38">
|
||||||
<Image Source="Images/AtmRobotMultiLP/dq02.png" />
|
<Image Source="Images/AtmRobotMultiLP/dq02.png" />
|
||||||
<!--<Image Source="Images/pm2.png" Canvas.Left="3" Canvas.Top="-41" Visibility="{Binding IsArmWater}"/>-->
|
|
||||||
<!--<Image Source="Images/pm2.png" Visibility="{Binding HasWafer}" Canvas.Top="-40" Canvas.Left="27" />-->
|
|
||||||
|
|
||||||
<Image
|
<Image
|
||||||
Canvas.Left="8"
|
Canvas.Left="8"
|
||||||
Canvas.Top="-17"
|
Canvas.Top="-17"
|
||||||
Width="70"
|
Width="65"
|
||||||
Source="Images/pm52.png"
|
Source="Images/pm52.png"
|
||||||
Visibility="{Binding HasTray}" />
|
Visibility="{Binding HasTray}" />
|
||||||
<controls:WaferCtrl
|
<controls:WaferCtrl
|
||||||
Canvas.Left="22"
|
Canvas.Left="19"
|
||||||
Canvas.Top="-3"
|
Canvas.Top="-7"
|
||||||
Width="42"
|
Width="44"
|
||||||
Height="42"
|
Height="44"
|
||||||
WaferData="{Binding Wafer1}" />
|
WaferData="{Binding Wafer1}" />
|
||||||
|
|
||||||
</Common:AxisCanvas>
|
</Common:AxisCanvas>
|
||||||
|
|||||||
@ -243,17 +243,16 @@ namespace SicUI.Controls.M2C4Parts
|
|||||||
StartPosition= new RobotPosition()
|
StartPosition= new RobotPosition()
|
||||||
{
|
{
|
||||||
Z=0,
|
Z=0,
|
||||||
Root = 99,
|
Root = 100,
|
||||||
Arm = 240,
|
Arm = 240,
|
||||||
Hand = 240
|
Hand = -110
|
||||||
},
|
},
|
||||||
EndPosition= new RobotPosition()
|
EndPosition= new RobotPosition()
|
||||||
{
|
{
|
||||||
Root = 239,
|
Root =238,
|
||||||
Arm = 0,
|
Arm = 0,
|
||||||
Hand = 360
|
Hand = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ "ArmA.PM2",new StationPosition() //ArmA.ReactorB
|
{ "ArmA.PM2",new StationPosition() //ArmA.ReactorB
|
||||||
@ -261,13 +260,13 @@ namespace SicUI.Controls.M2C4Parts
|
|||||||
StartPosition= new RobotPosition()
|
StartPosition= new RobotPosition()
|
||||||
{
|
{
|
||||||
Z=0,
|
Z=0,
|
||||||
Root = 10,
|
Root = 60,
|
||||||
Arm = 194,
|
Arm = 120,
|
||||||
Hand = 99
|
Hand = 130
|
||||||
},
|
},
|
||||||
EndPosition= new RobotPosition()
|
EndPosition= new RobotPosition()
|
||||||
{
|
{
|
||||||
Root = -58,
|
Root = -54,
|
||||||
Arm = 360,
|
Arm = 360,
|
||||||
Hand = 0
|
Hand = 0
|
||||||
}
|
}
|
||||||
@ -278,14 +277,14 @@ namespace SicUI.Controls.M2C4Parts
|
|||||||
StartPosition= new RobotPosition()
|
StartPosition= new RobotPosition()
|
||||||
{
|
{
|
||||||
Z=0,
|
Z=0,
|
||||||
Root = 80,
|
Root = 5,
|
||||||
Arm = 190,
|
Arm = 240,
|
||||||
Hand = 100
|
Hand = -110
|
||||||
},
|
},
|
||||||
EndPosition= new RobotPosition()
|
EndPosition= new RobotPosition()
|
||||||
{
|
{
|
||||||
Root = 13,
|
Root = 137,
|
||||||
Arm = 360,
|
Arm = 0,
|
||||||
Hand = 0
|
Hand = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -312,22 +311,22 @@ namespace SicUI.Controls.M2C4Parts
|
|||||||
StartPosition= new RobotPosition()
|
StartPosition= new RobotPosition()
|
||||||
{
|
{
|
||||||
Z=0,
|
Z=0,
|
||||||
Root =-45,
|
Root = 170,
|
||||||
Arm = 240,
|
Arm = 120,
|
||||||
Hand = 240
|
Hand = 120
|
||||||
},
|
},
|
||||||
EndPosition= new RobotPosition()
|
EndPosition= new RobotPosition()
|
||||||
{
|
{
|
||||||
Root = 90,
|
Root = 47,
|
||||||
Arm = 0,
|
Arm = 360,
|
||||||
Hand = 360
|
Hand = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
static void StationPositionChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
private static void StationPositionChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
||||||
{
|
{
|
||||||
var self = (AtmRobotMultiLP)d;
|
var self = (AtmRobotMultiLP)d;
|
||||||
var positions = (Dictionary<string, StationPosition>)e.NewValue;
|
var positions = (Dictionary<string, StationPosition>)e.NewValue;
|
||||||
@ -499,12 +498,15 @@ namespace SicUI.Controls.M2C4Parts
|
|||||||
case RobotAction.None:
|
case RobotAction.None:
|
||||||
case RobotAction.Moving:
|
case RobotAction.Moving:
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case RobotAction.Picking:
|
case RobotAction.Picking:
|
||||||
waferPresent = true;
|
waferPresent = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RobotAction.Placing:
|
case RobotAction.Placing:
|
||||||
waferPresent = false;
|
waferPresent = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -514,13 +516,16 @@ namespace SicUI.Controls.M2C4Parts
|
|||||||
case RobotArm.ArmA:
|
case RobotArm.ArmA:
|
||||||
WaferPresentA = waferPresent;
|
WaferPresentA = waferPresent;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RobotArm.ArmB:
|
case RobotArm.ArmB:
|
||||||
WaferPresentB = waferPresent;
|
WaferPresentB = waferPresent;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RobotArm.Both:
|
case RobotArm.Both:
|
||||||
WaferPresentA = waferPresent;
|
WaferPresentA = waferPresent;
|
||||||
WaferPresentB = waferPresent;
|
WaferPresentB = waferPresent;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -531,6 +536,4 @@ namespace SicUI.Controls.M2C4Parts
|
|||||||
AnimationHelper.TranslateX(root, start, target, MoveTime, onComplete);
|
AnimationHelper.TranslateX(root, start, target, MoveTime, onComplete);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -174,8 +174,10 @@
|
|||||||
Width="550"
|
Width="550"
|
||||||
Height="80"
|
Height="80"
|
||||||
HasTray="{Binding TMRobotHaveTray}"
|
HasTray="{Binding TMRobotHaveTray}"
|
||||||
|
HasWafer="{Binding IsArmWater}"
|
||||||
IsEnabled="{Binding TMEnableWaferClick}"
|
IsEnabled="{Binding TMEnableWaferClick}"
|
||||||
RobotMoveInfo="{Binding TmRobotMoveInfo}"
|
RobotMoveInfo="{Binding TmRobotMoveInfo}"
|
||||||
|
Wafer1="{Binding TMRobotWafer1}"
|
||||||
RotateAngle="123"
|
RotateAngle="123"
|
||||||
ShowDock="False"
|
ShowDock="False"
|
||||||
TranslateX="120" />
|
TranslateX="120" />
|
||||||
@ -225,9 +227,9 @@
|
|||||||
|
|
||||||
<Canvas Visibility="{Binding IsPM1Installed, Converter={StaticResource BoolVisibilityConverter}}">
|
<Canvas Visibility="{Binding IsPM1Installed, Converter={StaticResource BoolVisibilityConverter}}">
|
||||||
<Image
|
<Image
|
||||||
Canvas.Left="248"
|
Canvas.Left="247"
|
||||||
Canvas.Top="182"
|
Canvas.Top="180"
|
||||||
Width="80"
|
Width="82"
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
Source="Images/pm52.png"
|
Source="Images/pm52.png"
|
||||||
@ -235,8 +237,8 @@
|
|||||||
<controls:WaferCtrl
|
<controls:WaferCtrl
|
||||||
Canvas.Left="258"
|
Canvas.Left="258"
|
||||||
Canvas.Top="192"
|
Canvas.Top="192"
|
||||||
Width="60"
|
Width="58"
|
||||||
Height="60"
|
Height="58"
|
||||||
IsEnabled="{Binding PM1EnableWaferClick}"
|
IsEnabled="{Binding PM1EnableWaferClick}"
|
||||||
IsRotary="{Binding IsPm1WaferRotary}"
|
IsRotary="{Binding IsPm1WaferRotary}"
|
||||||
WaferData="{Binding PM1Wafer}" />
|
WaferData="{Binding PM1Wafer}" />
|
||||||
@ -262,9 +264,9 @@
|
|||||||
|
|
||||||
<Canvas Visibility="{Binding IsLoadLockInstalled, Converter={StaticResource BoolVisibilityConverter}}">
|
<Canvas Visibility="{Binding IsLoadLockInstalled, Converter={StaticResource BoolVisibilityConverter}}">
|
||||||
<Image
|
<Image
|
||||||
Canvas.Left="450"
|
Canvas.Left="449"
|
||||||
Canvas.Top="436"
|
Canvas.Top="435"
|
||||||
Width="80"
|
Width="82"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Source="Images/pm52.png"
|
Source="Images/pm52.png"
|
||||||
@ -272,8 +274,8 @@
|
|||||||
<controls:WaferCtrl
|
<controls:WaferCtrl
|
||||||
Canvas.Left="460"
|
Canvas.Left="460"
|
||||||
Canvas.Top="446"
|
Canvas.Top="446"
|
||||||
Width="60"
|
Width="58"
|
||||||
Height="60"
|
Height="58"
|
||||||
IsEnabled="{Binding LLEnableWaferClick}"
|
IsEnabled="{Binding LLEnableWaferClick}"
|
||||||
WaferData="{Binding LoadLockWafer}" />
|
WaferData="{Binding LoadLockWafer}" />
|
||||||
</Canvas>
|
</Canvas>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user