FFUControlView.xaml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <UserControl x:Class="SorterUI.Views.Maintenance.FFUControlView"
  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:ctrlCommon="clr-namespace:Aitex.Sorter.UI.Controls.Common;assembly=Aitex.Sorter.UI"
  7. xmlns:local="clr-namespace:SorterUI.Views"
  8. xmlns:controls="clr-namespace:Aitex.Sorter.UI.Controls;assembly=Aitex.Sorter.UI"
  9. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  10. mc:Ignorable="d" x:Name="self"
  11. d:DesignHeight="718" d:DesignWidth="1120">
  12. <WrapPanel Orientation="Horizontal">
  13. <controls:HeaderPanel Header="FFU Monitor" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5" Height="360" Width="355" >
  14. <Grid ctrlCommon:GridHelper.Column0="LightBlue" ctrlCommon:GridHelper.Column1="Transparent" Margin="0,0,0,-37">
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="40" />
  17. <RowDefinition Height="40" />
  18. <RowDefinition Height="40" />
  19. <RowDefinition Height="40" />
  20. <RowDefinition Height="40" />
  21. <RowDefinition Height="40" />
  22. <RowDefinition Height="40" />
  23. <RowDefinition Height="40" />
  24. <RowDefinition Height="40" />
  25. <RowDefinition Height="40" />
  26. </Grid.RowDefinitions>
  27. <Grid.ColumnDefinitions>
  28. <ColumnDefinition Width="220" />
  29. <ColumnDefinition Width="130" />
  30. </Grid.ColumnDefinitions>
  31. <TextBlock Grid.Row="0" Grid.Column="0" Text="FFU1 Speed(RPM)" FontSize="18" />
  32. <Label Grid.Row="0" Grid.Column="1" Content="{Binding FFUSpeed1}" />
  33. <TextBlock Grid.Row="1" Grid.Column="0" Text="FFU2 Speed(RPM)" FontSize="18" />
  34. <Label Grid.Row="1" Grid.Column="1" Content="{Binding FFUSpeed2}" />
  35. <TextBlock Grid.Row="2" Grid.Column="0" Text="Diff.Pressure(Pa)" FontSize="18" />
  36. <Label Grid.Row="2" Grid.Column="1">
  37. <Label.Content>
  38. <TextBlock TextAlignment="Center" Text="{Binding DiffPressure1, StringFormat={}{0:F1} }"/>
  39. </Label.Content>
  40. </Label>
  41. <!--<TextBlock Grid.Row="3" Grid.Column="0" Text="Fan Speed Alarm" FontSize="18" />
  42. <Label Grid.Row="3" Grid.Column="1" Content="{Binding SpoolingTotal}" />
  43. <TextBlock Grid.Row="4" Grid.Column="0" Text="Diff.Pressure Alarm" FontSize="18" />
  44. <Label Grid.Row="4" Grid.Column="1" Content="{Binding SpoolingFullTime}" />
  45. <TextBlock Grid.Row="5" Grid.Column="0" Text="FFU1 COM Status" FontSize="18" />
  46. <Label Grid.Row="5" Grid.Column="1" Content="{Binding SpoolingStartTime}" />
  47. <TextBlock Grid.Row="6" Grid.Column="0" Text="Diff Pressure COM Status" FontSize="18" />
  48. <Label Grid.Row="6" Grid.Column="1" Content="{Binding SpoolingStartTime}" />-->
  49. <Button Grid.Row="3" Grid.Column="1" Content="Set FFU Speed" Command="{Binding SetFFUCommand}" CommandParameter="FFU" Margin="0,5,0,0" Width="Auto" Height="35"/>
  50. <!--:CommandHelper.CommandName="{x:Static Common:DeviceOperationName.AlignerRelease}"
  51. common:CommandHelper.Target="{x:Static Common:DeviceName.Aligner}" /-->
  52. <StackPanel Orientation="Horizontal" Grid.Row="5" Grid.ColumnSpan="2" HorizontalAlignment="Center">
  53. </StackPanel>
  54. </Grid>
  55. </controls:HeaderPanel>
  56. <controls:HeaderPanel Width="600" Height="360" Header="FFU Config" VerticalAlignment="Top" Margin="5">
  57. <StackPanel Orientation="Vertical">
  58. <controls:AITScDoubleRow ScName="Fan Control Mode"
  59. ScId="System.FFUControlMode"
  60. ScFeedback="{Binding ConfigFeedback.System_FFUControlMode}"
  61. ScSetPoint="{Binding ConfigSetPoint.System_FFUControlMode}"
  62. Command="{Binding SetConfigCommand}" NameWidth="350" FeedbackWidth="90"
  63. SetPointWidth="90" CommandWidth="60" Visibility="Collapsed"/>
  64. <controls:AITScDoubleRow ScName="Fan Speed Setpoint"
  65. ScId="System.FFUFanSpeedSetPoint"
  66. ScFeedback="{Binding ConfigFeedback.System_FFUFanSpeedSetPoint}"
  67. ScSetPoint="{Binding ConfigSetPoint.System_FFUFanSpeedSetPoint}"
  68. Command="{Binding SetConfigCommand}" NameWidth="350" FeedbackWidth="90"
  69. SetPointWidth="90" CommandWidth="60" />
  70. <controls:AITScDoubleRow ScName="Diff Pressure Setpoint"
  71. ScId="System.DiffPressureSetPoint"
  72. ScFeedback="{Binding ConfigFeedback.System_DiffPressureSetPoint}"
  73. ScSetPoint="{Binding ConfigSetPoint.System_DiffPressureSetPoint}"
  74. Command="{Binding SetConfigCommand}" NameWidth="350" FeedbackWidth="90"
  75. SetPointWidth="90" CommandWidth="60" Visibility="Collapsed"/>
  76. </StackPanel>
  77. </controls:HeaderPanel>
  78. </WrapPanel>
  79. </UserControl>