BinSetting.xaml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <UserControl xmlns:UserControls="clr-namespace:ivf_tl_Manage.UserControls" x:Class="ivf_tl_Manage.Views.BinSetting"
  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:ivf_tl_Manage.Views"
  7. xmlns:oxy="http://oxyplot.org/wpf"
  8. xmlns:customControl="clr-namespace:ivf_tl_CustomControls;assembly=ivf_tl_CustomControls_PC"
  9. xmlns:userControl="clr-namespace:ivf_tl_Manage.UserControls"
  10. mc:Ignorable="d"
  11. Width="1830" Height="1015"
  12. FontFamily="{StaticResource sourceHan}">
  13. <UserControl.Resources>
  14. <Style TargetType="Border" x:Key="borderStyle">
  15. <Setter Property="BorderBrush" Value="#C6C6C6"></Setter>
  16. <Setter Property="Background">
  17. <Setter.Value>
  18. <ImageBrush ImageSource="/Resources/Images/date_date1.png"></ImageBrush>
  19. </Setter.Value>
  20. </Setter>
  21. <Style.Triggers>
  22. <Trigger Property="IsMouseOver" Value="True">
  23. <Setter Property="BorderBrush" Value="#4D75AC"></Setter>
  24. <Setter Property="Background">
  25. <Setter.Value>
  26. <ImageBrush ImageSource="/Resources/Images/date_date.png"></ImageBrush>
  27. </Setter.Value>
  28. </Setter>
  29. </Trigger>
  30. </Style.Triggers>
  31. </Style>
  32. <Style TargetType="Border" x:Key="borderStyle111">
  33. <Setter Property="BorderBrush" Value="#C6C6C6"></Setter>
  34. <Setter Property="Background" Value="#F6F6F6"></Setter>
  35. <Setter Property="CornerRadius" Value="8"></Setter>
  36. <Style.Triggers>
  37. <Trigger Property="IsMouseOver" Value="True">
  38. <Setter Property="BorderBrush" Value="#4D75AC"></Setter>
  39. <Setter Property="Background" Value="#4D75AC"></Setter>
  40. </Trigger>
  41. </Style.Triggers>
  42. </Style>
  43. </UserControl.Resources>
  44. <Canvas Width="1830" Height="1015" PreviewMouseDown="Canvas_PreviewMouseDown" Background="Transparent">
  45. <TextBlock Canvas.Left="44" Canvas.Top="30" Text="{DynamicResource 0003}" FontWeight="Bold" Foreground="Black" FontSize="32"/>
  46. <StackPanel Orientation="Horizontal" Canvas.Left="50" Canvas.Top="95">
  47. <TextBlock VerticalAlignment="Center" Canvas.Left="50" Canvas.Top="110" Text="{DynamicResource 0013}" FontWeight="Medium" Foreground="#707070" FontSize="20"/>
  48. <customControl:ComBoxCustom2 Margin="15 0 0 0" VerticalAlignment="Center" x:Name="test" Canvas.Left="145" Canvas.Top="104" Width="300" Height="44" Padding="20 0 0 0" DropDownClosed="TL_DropDownClosed" ItemsSource="{Binding TlInfoList}" SelectedValue="{Binding SelectTL}" DisplayMemberPath="tlName" TipString="{DynamicResource 0044}" PopupWidth="300" BorderThickness="1" Background="Transparent" PopupPadding="20 5 0 10" PopupVerticalOffset="10" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" FontWeight="Medium" Foreground="#4D4D4D" FontSize="20" PopupMaxHeight="190" DefeatImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PullDownGrayIcon.png" OpenImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PullDownBlueIcon.png"/>
  49. <TextBlock VerticalAlignment="Center" Margin="35 0 0 0" Canvas.Left="480" Canvas.Top="110" FontWeight="Medium" Foreground="#707070" FontSize="20" Text="{DynamicResource 0030}"/>
  50. <ListBox Margin="15 0 0 0" VerticalAlignment="Center" x:Name="lb_House" Canvas.Left="570" Canvas.Top="94" Style="{StaticResource ListBoxStylePic}" SelectionChanged="ListBox_SelectionChanged" ItemsSource="{Binding HouseList}" SelectedValue="{Binding SelectHouse}" BorderThickness="0" Padding="0" Height="62" Background="Transparent">
  51. <ListBox.ItemsPanel>
  52. <ItemsPanelTemplate>
  53. <StackPanel Orientation="Horizontal"/>
  54. </ItemsPanelTemplate>
  55. </ListBox.ItemsPanel>
  56. </ListBox>
  57. </StackPanel>
  58. <!--<TextBlock Canvas.Left="50" Canvas.Top="110" Text="{DynamicResource 0013}" FontWeight="Medium" Foreground="#707070" FontSize="20"/>
  59. <customControl:ComBoxCustom2 x:Name="test1" Canvas.Left="145" Canvas.Top="104" Width="300" Height="44" Padding="20 0 0 0" DropDownClosed="TL_DropDownClosed" ItemsSource="{Binding TlInfoList}" SelectedValue="{Binding SelectTL}" DisplayMemberPath="tlName" TipString="{DynamicResource 0044}" PopupWidth="300" BorderThickness="1" Background="Transparent" PopupPadding="20 5 0 10" PopupVerticalOffset="10" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" FontWeight="Medium" Foreground="#4D4D4D" FontSize="20" PopupMaxHeight="190" DefeatImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PullDownGrayIcon.png" OpenImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PullDownBlueIcon.png"/>
  60. <TextBlock Canvas.Left="480" Canvas.Top="110" FontWeight="Medium" Foreground="#707070" FontSize="20" Text="{DynamicResource 0030}"/>
  61. <ListBox x:Name="lb_House1" Canvas.Left="570" Canvas.Top="94" Style="{StaticResource ListBoxStylePic}" SelectionChanged="ListBox_SelectionChanged" ItemsSource="{Binding HouseList}" SelectedValue="{Binding SelectHouse}" BorderThickness="0" Padding="0" Height="62" Background="Transparent">
  62. <ListBox.ItemsPanel>
  63. <ItemsPanelTemplate>
  64. <StackPanel Orientation="Horizontal"/>
  65. </ItemsPanelTemplate>
  66. </ListBox.ItemsPanel>
  67. </ListBox>-->
  68. <Border x:Name="db_selectTime" BorderThickness="0" Style="{StaticResource borderStyle}" MouseDown="db_selectTime_MouseDown" Width="480" Height="64" Canvas.Left="30" Canvas.Top="549" HorizontalAlignment="Center" VerticalAlignment="Top" >
  69. <Canvas >
  70. <TextBlock x:Name="tb_startTime" Text="{DynamicResource 0202}" Canvas.Left="30" Canvas.Top="16" VerticalAlignment="Center" HorizontalAlignment="Left" FontWeight="Medium" Foreground="#9B9B9B" FontSize="20"></TextBlock>
  71. <Rectangle Canvas.Left="213" Canvas.Top="31" Width="14" Height="1" Fill="#9B9B9B"></Rectangle>
  72. <TextBlock x:Name="tb_endTime" Text="{DynamicResource 0203}" Canvas.Left="237" Canvas.Top="16" VerticalAlignment="Center" HorizontalAlignment="Left" FontWeight="Medium" Foreground="#9B9B9B" FontSize="20"></TextBlock>
  73. <Image x:Name="img_Date" Width="24" Height="24" Canvas.Left="433" Canvas.Top="20" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/date_bg1.png" MouseEnter="img_Date_MouseEnter" MouseLeave="img_Date_MouseLeave"></Image>
  74. </Canvas>
  75. </Border>
  76. <customControl:ButtonCornerRadius Canvas.Left="520" Canvas.Top="549" Width="123" Height="64" MarginMask="10" Click="Next7_Click" Content="{DynamicResource 0063}" FontSize="15">
  77. <customControl:ButtonCornerRadius.Background>
  78. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/date_1.png"/>
  79. </customControl:ButtonCornerRadius.Background>
  80. </customControl:ButtonCornerRadius>
  81. <customControl:ButtonCornerRadius Canvas.Left="633" Canvas.Top="549" Width="123" Height="64" MarginMask="10" Click="Next30_Click" Content="{DynamicResource 0064}" FontSize="15">
  82. <customControl:ButtonCornerRadius.Background>
  83. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/date_1.png"/>
  84. </customControl:ButtonCornerRadius.Background>
  85. </customControl:ButtonCornerRadius>
  86. <customControl:ButtonCornerRadius Canvas.Left="1666" Canvas.Top="549" Width="134" Height="64" MarginMask="10" Click="Export_Click">
  87. <customControl:ButtonCornerRadius.Background>
  88. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/export1.png"/>
  89. </customControl:ButtonCornerRadius.Background>
  90. <customControl:ButtonCornerRadius.Content>
  91. <StackPanel Orientation="Horizontal">
  92. <Image Width="34" Height="44" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/export2.png"/>
  93. <TextBlock Grid.Column="1" Margin="5 0 0 0" VerticalAlignment="Center" TextAlignment="Center" Text="{DynamicResource 0062}" FontSize="15" Foreground="White" FontWeight="Medium"/>
  94. </StackPanel>
  95. </customControl:ButtonCornerRadius.Content>
  96. </customControl:ButtonCornerRadius>
  97. <!--<Image Visibility="Collapsed" Source="/Resources/Images/date_7.png" Width="124" Height="64" MouseDown="Image_MouseDown" Canvas.Left="520" Canvas.Top="549"></Image>
  98. <Image Visibility="Collapsed" Source="/Resources/Images/date_30.png" Width="124" Height="64" Canvas.Left="633" MouseDown="Image_MouseDown_1" Canvas.Top="549"></Image>
  99. <Image Visibility="Collapsed" Source="/Resources/Images/export.png" Width="134" Height="64" Canvas.Left="1666" MouseDown="Image_MouseDown_2" Canvas.Top="549"></Image>-->
  100. <Popup x:Name="pp_time" PlacementTarget="{Binding ElementName=db_selectTime}" AllowsTransparency="True" PopupAnimation="Slide" Placement="Bottom" VerticalOffset="-5" >
  101. <Border Width="672" Height="386">
  102. <Border.Background>
  103. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/date_pp_bg.png"></ImageBrush>
  104. </Border.Background>
  105. <Canvas x:Name="hello1">
  106. <Border Style="{StaticResource borderStyle111}" Canvas.Left="488" Canvas.Top="30" BorderThickness="1" Width="72" Height="29" MouseEnter="Border_MouseEnter" MouseLeave="Border_MouseLeave" MouseDown="Border_MouseDown">
  107. <Grid>
  108. <TextBlock x:Name="tb_confirm" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontWeight="Medium" Foreground="#707070" Text="{DynamicResource 0025}"></TextBlock>
  109. </Grid>
  110. </Border>
  111. <Border Style="{StaticResource borderStyle111}" Canvas.Left="570" Canvas.Top="30" BorderThickness="1" Width="72" Height="29" MouseEnter="Border_MouseEnter_1" MouseLeave="Border_MouseLeave_1" MouseDown="Border_MouseDown_1">
  112. <Grid>
  113. <TextBlock x:Name="tb_cancel" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontWeight="Medium" Foreground="#707070" Text="{DynamicResource 0024}"></TextBlock>
  114. </Grid>
  115. </Border>
  116. <UserControls:CustomerDateControl x:Name="starDate_Control" SelectDateAction="CustomerDateControl_SelectDateAction" Canvas.Left="30" Canvas.Top="69" Visibility="Visible" />
  117. <UserControls:CustomerDateControl x:Name="end_Control" Canvas.Left="346" SelectDateAction="CustomerDateControl_SelectDateAction_1" Canvas.Top="69" Visibility="Visible" />
  118. </Canvas>
  119. </Border>
  120. </Popup>
  121. <Canvas Canvas.Left="20" Canvas.Top="147" Width="895" Height="402">
  122. <Canvas.Background>
  123. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/HouseChartBackground.png"/>
  124. </Canvas.Background>
  125. <Rectangle Canvas.Left="48" Canvas.Top="37" Width="5" Height="30" Fill="#6AAAF5" RadiusY="2.5" RadiusX="2.5"/>
  126. <TextBlock Canvas.Left="60" Canvas.Top="37" x:Name="tb_T_now" Text="{DynamicResource 0058}" FontWeight="Medium" Foreground="#4D4D4D" FontSize="20"/>
  127. <TextBlock Canvas.Left="813" Canvas.Top="293" Text="{DynamicResource 0204}" FontWeight="Medium" Foreground="#4D4D4D" FontSize="16"/>
  128. <oxy:PlotView Canvas.Left="50" Canvas.Top="89" Width="783" Height="273" Background="Transparent" Model="{Binding TemperatureRealModel}" DefaultTrackerTemplate="{StaticResource t1}" IsMouseWheelEnabled="False"/>
  129. </Canvas>
  130. <Canvas Canvas.Left="915" Canvas.Top="147" Width="895" Height="402">
  131. <Canvas.Background>
  132. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/HouseChartBackground.png"/>
  133. </Canvas.Background>
  134. <Rectangle Canvas.Left="48" Canvas.Top="37" Width="5" Height="30" Fill="#9D77EE" RadiusY="2.5" RadiusX="2.5"/>
  135. <TextBlock Canvas.Left="60" x:Name="tb_P_now" Canvas.Top="37" Text="{DynamicResource 0059}" FontWeight="Medium" Foreground="#4D4D4D" FontSize="20"/>
  136. <TextBlock Canvas.Left="813" Canvas.Top="293" Text="{DynamicResource 0204}" FontWeight="Medium" Foreground="#4D4D4D" FontSize="16"/>
  137. <oxy:PlotView Canvas.Left="50" Canvas.Top="89" Width="783" Height="273" Background="Transparent" Model="{Binding PressureRealModel}" DefaultTrackerTemplate="{StaticResource t2}" IsMouseWheelEnabled="False"/>
  138. </Canvas>
  139. <Canvas Canvas.Left="20" Canvas.Top="603" Width="895" Height="402">
  140. <Canvas.Background>
  141. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/HouseChartBackground.png"/>
  142. </Canvas.Background>
  143. <Rectangle Canvas.Left="48" Canvas.Top="37" Width="5" Height="30" Fill="#A9C9EE" RadiusY="2.5" RadiusX="2.5"/>
  144. <TextBlock Canvas.Left="60" Canvas.Top="37" x:Name="tb_T_history" Text="{DynamicResource 0060}" FontWeight="Medium" Foreground="#4D4D4D" FontSize="20"/>
  145. <TextBlock Canvas.Left="813" Canvas.Top="293" Text="{DynamicResource 0204}" FontWeight="Medium" Foreground="#4D4D4D" FontSize="16"/>
  146. <oxy:PlotView Canvas.Left="50" Canvas.Top="89" Width="783" Height="273" Background="Transparent" Model="{Binding TemperatureHistoryModel}" DefaultTrackerTemplate="{StaticResource t3}"/>
  147. </Canvas>
  148. <Canvas Canvas.Left="915" Canvas.Top="603" Width="895" Height="402">
  149. <Canvas.Background>
  150. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/HouseChartBackground.png"/>
  151. </Canvas.Background>
  152. <Rectangle Canvas.Left="48" Canvas.Top="37" Width="5" Height="30" Fill="#C5AFF4" RadiusY="2.5" RadiusX="2.5"/>
  153. <TextBlock Canvas.Left="60" Canvas.Top="37" x:Name="tb_P_history" Text="{DynamicResource 0061}" FontWeight="Medium" Foreground="#4D4D4D" FontSize="20"/>
  154. <TextBlock Canvas.Left="813" Canvas.Top="293" Text="{DynamicResource 0204}" FontWeight="Medium" Foreground="#4D4D4D" FontSize="16"/>
  155. <oxy:PlotView Canvas.Left="50" Canvas.Top="89" Width="783" Height="273" Background="Transparent" Model="{Binding PressureHistoryModel}" DefaultTrackerTemplate="{StaticResource t4}"/>
  156. </Canvas>
  157. </Canvas>
  158. </UserControl>