调整模块界面布局

This commit is contained in:
hanqiangqiang 2026-04-09 10:35:31 +08:00
parent 7646429961
commit c2641efdd9
3 changed files with 54 additions and 56 deletions

View File

@ -19,16 +19,12 @@
x:Name="root"
Width="416"
Height="38">
<!--<Canvas.ContextMenu>
<ContextMenu ItemsSource="{Binding Menu}" />
</Canvas.ContextMenu>-->
<Image
Width="75"
Height="80"
Margin="-20,-24"
Source="Images/AtmRobotMultiLP/dock.png"
Visibility="{Binding ShowDock, Converter={StaticResource BoolVisibilityConverter}}" />
<!--<Image Width="38" Height="38" Source="Images/AtmRobotMultiLP/robotDock.png" />-->
<Common:AxisCanvas
x:Name="canvas1"
Canvas.Left="10"
@ -49,20 +45,17 @@
Width="80"
Height="38">
<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
Canvas.Left="8"
Canvas.Top="-17"
Width="70"
Width="65"
Source="Images/pm52.png"
Visibility="{Binding HasTray}" />
<controls:WaferCtrl
Canvas.Left="22"
Canvas.Top="-3"
Width="42"
Height="42"
Canvas.Left="19"
Canvas.Top="-7"
Width="44"
Height="44"
WaferData="{Binding Wafer1}" />
</Common:AxisCanvas>

View File

@ -243,17 +243,16 @@ namespace SicUI.Controls.M2C4Parts
StartPosition= new RobotPosition()
{
Z=0,
Root = 99,
Root = 100,
Arm = 240,
Hand = 240
Hand = -110
},
EndPosition= new RobotPosition()
{
Root = 239,
Root =238,
Arm = 0,
Hand = 360
Hand = 0
}
}
},
{ "ArmA.PM2",new StationPosition() //ArmA.ReactorB
@ -261,13 +260,13 @@ namespace SicUI.Controls.M2C4Parts
StartPosition= new RobotPosition()
{
Z=0,
Root = 10,
Arm = 194,
Hand = 99
Root = 60,
Arm = 120,
Hand = 130
},
EndPosition= new RobotPosition()
{
Root = -58,
Root = -54,
Arm = 360,
Hand = 0
}
@ -278,14 +277,14 @@ namespace SicUI.Controls.M2C4Parts
StartPosition= new RobotPosition()
{
Z=0,
Root = 80,
Arm = 190,
Hand = 100
Root = 5,
Arm = 240,
Hand = -110
},
EndPosition= new RobotPosition()
{
Root = 13,
Arm = 360,
Root = 137,
Arm = 0,
Hand = 0
}
}
@ -312,22 +311,22 @@ namespace SicUI.Controls.M2C4Parts
StartPosition= new RobotPosition()
{
Z=0,
Root =-45,
Arm = 240,
Hand = 240
Root = 170,
Arm = 120,
Hand = 120
},
EndPosition= new RobotPosition()
{
Root = 90,
Arm = 0,
Hand = 360
Root = 47,
Arm = 360,
Hand = 0
}
}
},
};
}
static void StationPositionChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
private static void StationPositionChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var self = (AtmRobotMultiLP)d;
var positions = (Dictionary<string, StationPosition>)e.NewValue;
@ -499,12 +498,15 @@ namespace SicUI.Controls.M2C4Parts
case RobotAction.None:
case RobotAction.Moving:
return;
case RobotAction.Picking:
waferPresent = true;
break;
case RobotAction.Placing:
waferPresent = false;
break;
default:
break;
}
@ -514,13 +516,16 @@ namespace SicUI.Controls.M2C4Parts
case RobotArm.ArmA:
WaferPresentA = waferPresent;
break;
case RobotArm.ArmB:
WaferPresentB = waferPresent;
break;
case RobotArm.Both:
WaferPresentA = waferPresent;
WaferPresentB = waferPresent;
break;
default:
break;
}
@ -531,6 +536,4 @@ namespace SicUI.Controls.M2C4Parts
AnimationHelper.TranslateX(root, start, target, MoveTime, onComplete);
}
}
}

View File

@ -174,8 +174,10 @@
Width="550"
Height="80"
HasTray="{Binding TMRobotHaveTray}"
HasWafer="{Binding IsArmWater}"
IsEnabled="{Binding TMEnableWaferClick}"
RobotMoveInfo="{Binding TmRobotMoveInfo}"
Wafer1="{Binding TMRobotWafer1}"
RotateAngle="123"
ShowDock="False"
TranslateX="120" />
@ -225,9 +227,9 @@
<Canvas Visibility="{Binding IsPM1Installed, Converter={StaticResource BoolVisibilityConverter}}">
<Image
Canvas.Left="248"
Canvas.Top="182"
Width="80"
Canvas.Left="247"
Canvas.Top="180"
Width="82"
HorizontalAlignment="Center"
VerticalAlignment="Top"
Source="Images/pm52.png"
@ -235,8 +237,8 @@
<controls:WaferCtrl
Canvas.Left="258"
Canvas.Top="192"
Width="60"
Height="60"
Width="58"
Height="58"
IsEnabled="{Binding PM1EnableWaferClick}"
IsRotary="{Binding IsPm1WaferRotary}"
WaferData="{Binding PM1Wafer}" />
@ -262,9 +264,9 @@
<Canvas Visibility="{Binding IsLoadLockInstalled, Converter={StaticResource BoolVisibilityConverter}}">
<Image
Canvas.Left="450"
Canvas.Top="436"
Width="80"
Canvas.Left="449"
Canvas.Top="435"
Width="82"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Source="Images/pm52.png"
@ -272,8 +274,8 @@
<controls:WaferCtrl
Canvas.Left="460"
Canvas.Top="446"
Width="60"
Height="60"
Width="58"
Height="58"
IsEnabled="{Binding LLEnableWaferClick}"
WaferData="{Binding LoadLockWafer}" />
</Canvas>