PlatingCellSetupView.xaml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <UserControl x:Class="PunkHPX8_MainPages.Views.PlatingCellSetupView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:PunkHPX8_MainPages.Views"
  7. xmlns:prism="http://prismlibrary.com/"
  8. xmlns:UserControls="clr-namespace:PunkHPX8_Themes.UserControls;assembly=PunkHPX8_Themes"
  9. prism:ViewModelLocator.AutoWireViewModel="True"
  10. mc:Ignorable="d" Name="self"
  11. d:DesignHeight="600" d:DesignWidth="1500">
  12. <Grid>
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="200"/>
  15. <RowDefinition Height="200"/>
  16. <RowDefinition Height="200"/>
  17. <RowDefinition/>
  18. </Grid.RowDefinitions>
  19. <Grid.ColumnDefinitions>
  20. <ColumnDefinition Width="500"></ColumnDefinition>
  21. <ColumnDefinition Width="500"></ColumnDefinition>
  22. <ColumnDefinition Width="500"></ColumnDefinition>
  23. <ColumnDefinition/>
  24. </Grid.ColumnDefinitions>
  25. <Grid Grid.Row="0" Grid.Column="0">
  26. <Grid.ColumnDefinitions>
  27. <ColumnDefinition Width="380"></ColumnDefinition>
  28. <ColumnDefinition/>
  29. </Grid.ColumnDefinitions>
  30. <UserControls:SrdStationPositionControl HorizontalAlignment="Center" Margin="10,0,0,0" VerticalAlignment="Center" Grid.ColumnSpan="2" Width="430" Height="175"
  31. ModuleTitle="{Binding PlatingCell1_2VerticalName}"
  32. ModuleName="{Binding PlatingCell1_2VerticalName}"
  33. CurrentPosition="{Binding PlatingCell1_2VerticalMotionData.MotorPosition}"
  34. Torque="{Binding PlatingCell1_2VerticalMotionData.Torque}"
  35. CurrentStation="{Binding PlatingCell1_2VerticalCurrentStation}"
  36. Unit="mm"
  37. />
  38. </Grid>
  39. <Grid Grid.Row="0" Grid.Column="2">
  40. <Grid.ColumnDefinitions>
  41. <ColumnDefinition Width="380"></ColumnDefinition>
  42. <ColumnDefinition/>
  43. </Grid.ColumnDefinitions>
  44. <UserControls:SrdStationPositionControl HorizontalAlignment="Center" Margin="10,0,0,0" VerticalAlignment="Center" Grid.ColumnSpan="2" Width="430" Height="175"
  45. ModuleTitle="{Binding PlatingCell3_4VerticalName}"
  46. ModuleName="{Binding PlatingCell3_4VerticalName}"
  47. CurrentPosition="{Binding PlatingCell3_4VerticalMotionData.MotorPosition}"
  48. Torque="{Binding PlatingCell3_4VerticalMotionData.Torque}"
  49. CurrentStation="{Binding PlatingCell3_4VerticalCurrentStation}"
  50. Unit="mm"
  51. />
  52. </Grid>
  53. <Grid Grid.Row="1" Grid.Column="0">
  54. <Grid.ColumnDefinitions>
  55. <ColumnDefinition Width="380"></ColumnDefinition>
  56. <ColumnDefinition/>
  57. </Grid.ColumnDefinitions>
  58. <UserControls:SrdStationPositionControl HorizontalAlignment="Center" Margin="10,0,0,0" VerticalAlignment="Center" Grid.ColumnSpan="2" Width="430" Height="175"
  59. ModuleTitle="{Binding PlatingCell1RotationName}"
  60. ModuleName="{Binding PlatingCell1RotationName}"
  61. CurrentPosition="{Binding PlatingCell1RotationMotionData.MotorPosition}"
  62. Torque="{Binding PlatingCell1RotationMotionData.Torque}"
  63. CurrentStation="{Binding PlatingCell1RotationCurrentStation}"
  64. Unit="deg"
  65. />
  66. </Grid>
  67. <Grid Grid.Row="1" Grid.Column="2">
  68. <Grid.ColumnDefinitions>
  69. <ColumnDefinition Width="380"></ColumnDefinition>
  70. <ColumnDefinition/>
  71. </Grid.ColumnDefinitions>
  72. <UserControls:SrdStationPositionControl HorizontalAlignment="Center" Margin="10,0,0,0" VerticalAlignment="Center" Grid.ColumnSpan="2" Width="430" Height="175"
  73. ModuleTitle="{Binding PlatingCell2RotationName}"
  74. ModuleName="{Binding PlatingCell2RotationName}"
  75. CurrentPosition="{Binding PlatingCell2RotationMotionData.MotorPosition}"
  76. Torque="{Binding PlatingCell2RotationMotionData.Torque}"
  77. CurrentStation="{Binding PlatingCell2RotationCurrentStation}"
  78. Unit="deg"
  79. />
  80. </Grid>
  81. <Grid Grid.Row="2" Grid.Column="0">
  82. <Grid.ColumnDefinitions>
  83. <ColumnDefinition Width="380"></ColumnDefinition>
  84. <ColumnDefinition/>
  85. </Grid.ColumnDefinitions>
  86. <UserControls:SrdStationPositionControl HorizontalAlignment="Center" Margin="10,0,0,0" VerticalAlignment="Center" Grid.ColumnSpan="2" Width="430" Height="175"
  87. ModuleTitle="{Binding PlatingCell3RotationName}"
  88. ModuleName="{Binding PlatingCell3RotationName}"
  89. CurrentPosition="{Binding PlatingCell3RotationMotionData.MotorPosition}"
  90. Torque="{Binding PlatingCell3RotationMotionData.Torque}"
  91. CurrentStation="{Binding PlatingCell3RotationCurrentStation}"
  92. Unit="deg"
  93. />
  94. </Grid>
  95. <Grid Grid.Row="2" Grid.Column="2">
  96. <Grid.ColumnDefinitions>
  97. <ColumnDefinition Width="380"></ColumnDefinition>
  98. <ColumnDefinition/>
  99. </Grid.ColumnDefinitions>
  100. <UserControls:SrdStationPositionControl HorizontalAlignment="Center" Margin="10,0,0,0" VerticalAlignment="Center" Grid.ColumnSpan="2" Width="430" Height="175"
  101. ModuleTitle="{Binding PlatingCell4RotationName}"
  102. ModuleName="{Binding PlatingCell4RotationName}"
  103. CurrentPosition="{Binding PlatingCell4RotationMotionData.MotorPosition}"
  104. Torque="{Binding PlatingCell4RotationMotionData.Torque}"
  105. CurrentStation="{Binding PlatingCell4RotationCurrentStation}"
  106. Unit="deg"
  107. />
  108. </Grid>
  109. </Grid>
  110. </UserControl>