ServoAxisStatus.xaml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <Page x:Class="B20UVLog.Pages.ServoAxisStatus"
  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:B20UVLog.Pages" xmlns:My="clr-namespace:MyWPFControl.Controls;assembly=MyWPFControl"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="ServoAxisStatus">
  10. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="auto"/>
  13. <RowDefinition Height="auto"/>
  14. <RowDefinition Height="*"/>
  15. </Grid.RowDefinitions>
  16. <TextBlock Grid.Row="0" Text="Servo Axis Status" FontSize="25" Margin="10 5"/>
  17. <StackPanel Grid.Row="1" Orientation="Horizontal" VerticalAlignment="Center">
  18. <My:MComboBox>
  19. <ComboBoxItem>WSZ1</ComboBoxItem>
  20. <ComboBoxItem>WSZ2</ComboBoxItem>
  21. <ComboBoxItem>WSZ3</ComboBoxItem>
  22. <ComboBoxItem>WSZ4</ComboBoxItem>
  23. <ComboBoxItem>WSX1</ComboBoxItem>
  24. <ComboBoxItem>WSX2</ComboBoxItem>
  25. <ComboBoxItem>WSY1</ComboBoxItem>
  26. <ComboBoxItem>WSY2</ComboBoxItem>
  27. <ComboBoxItem>CSXL</ComboBoxItem>
  28. <ComboBoxItem>CSYL</ComboBoxItem>
  29. <ComboBoxItem>CSZL</ComboBoxItem>
  30. <ComboBoxItem>CSXR</ComboBoxItem>
  31. <ComboBoxItem>CSYR</ComboBoxItem>
  32. <ComboBoxItem>CSZR</ComboBoxItem>
  33. <ComboBoxItem>WSL</ComboBoxItem>
  34. <ComboBoxItem>WSS</ComboBoxItem>
  35. </My:MComboBox>
  36. <My:MDateTimePicker x:Name="DTPStart" Title="开始时间"/>
  37. <TextBlock Text="--" VerticalAlignment="Center" Margin="2"/>
  38. <My:MDateTimePicker x:Name="DTPEnd" Title="结束时间"/>
  39. <My:MButton x:Name="BtnSearch" Content="查询" Type="Primary" Click="BtnSearch_Click"/>
  40. <My:MButton x:Name="BtnReset" Content="条件重置" Click="BtnReset_Click"/>
  41. <My:MButton x:Name="BtnExport" Content="导出报表" Click="BtnExport_Click" Type="Warning"/>
  42. </StackPanel>
  43. <StackPanel x:Name="DP" Grid.Row="2">
  44. <My:MDataGrid x:Name="MyControlDataGrid" DockPanel.Dock="Top" AutoGenerateColumns="True"/>
  45. <My:MPagination x:Name="MyPagination" DockPanel.Dock="Bottom" PageIndexChange="MyPagination_PageIndexChange"/>
  46. </StackPanel>
  47. </Grid>
  48. </Page>