123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <Window x:Class="Aitex.UI.Charting.View.DataSourceSelection"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:dt="clr-namespace:Loya.Dameer;assembly=Loya.Dameer"
- Title="{DynamicResource GlobalLableDataSourceSelection}" Height="401" Width="980" WindowStartupLocation="CenterScreen" WindowStyle="SingleBorderWindow" ResizeMode="NoResize" xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" FontFamily="Arial,SimSun">
- <Window.Resources>
- <Style TargetType="{x:Type Label}">
- <Setter Property="Foreground" Value="Black"/>
- </Style>
- <Style TargetType="TabControl" />
- </Window.Resources>
- <Grid>
- <TabControl>
- <TabItem Header="{DynamicResource GlobalLableByRecipe}" Name="tab1">
- <Grid Background="LightGoldenrodYellow">
- <Grid Margin="0,0,0,0" Width="960">
- <Grid.Resources>
- <Style TargetType="Button">
- <Setter Property="VerticalAlignment" Value="Top"/>
- </Style>
- </Grid.Resources>
- <Button Command="{Binding SearchRecipeHistoryCommand}" Content="{DynamicResource GlobalLableQuery}" Height="54" HorizontalAlignment="Left" IsDefault="False" Margin="364,267,0,0" Name="buttonQuery" VerticalAlignment="Top" Width="90" />
- <!--<ComboBox ItemsSource="{Binding RecipeSearch_UserDefinedIdList}" Text="{Binding RecipeSearch_SelectedUserDefinedId,Mode=TwoWay}" FontSize="13" Height="25" HorizontalAlignment="Left" IsEditable="True" Margin="392,268,0,0" Name="userSusceptorId" VerticalAlignment="Top" Width="190" />-->
- <!--<Label Content="用户编号" FontSize="13" Height="28" HorizontalAlignment="Left" Margin="327,267,0,0" Name="label51" VerticalAlignment="Top" />-->
- <!--<Label Content="工艺程序名" FontSize="13" Height="28" HorizontalAlignment="Left" Margin="610,262,0,0" Name="label3" VerticalAlignment="Top" />-->
- <!--<ComboBox ItemsSource="{Binding RecipeSearch_ChamberList}" SelectedItem="{Binding RecipeSearch_SelectedChamber,Mode=TwoWay}" FontSize="13" Height="25" HorizontalAlignment="Left" Margin="686,298,0,0" Name="comboBoxReactor" SelectedIndex="1" VerticalAlignment="Top" Width="190"/>-->
- <Label Content="{DynamicResource GlobalLableBeginTime}" FontSize="13" Height="28" HorizontalAlignment="Left" Margin="12,268,0,0" Name="label4" VerticalAlignment="Top" />
- <!--<Label Content="工艺反应腔" FontSize="13" Height="28" HorizontalAlignment="Left" Margin="610,296,0,0" Name="label5" VerticalAlignment="Top" />-->
- <!--<ComboBox ItemsSource="{Binding RecipeSearch_RecipeNameList}" Text="{Binding RecipeSearch_SelectedRecipeName,Mode=TwoWay}" FontSize="13" Height="25" HorizontalAlignment="Left" IsEditable="True" Margin="686,264,0,0" Name="recipeName" VerticalAlignment="Top" Width="190" />-->
- <!--<Label Content="石墨盘描述" FontSize="13" Height="28" HorizontalAlignment="Left" Margin="316,298,0,0" Name="label6" VerticalAlignment="Top" />
- <ComboBox ItemsSource="{Binding RecipeSearch_SusceptorDescList}" Text="{Binding RecipeSearch_SelectedSusceptorDesc,Mode=TwoWay}" FontSize="13" Height="25" IsEditable="True" Margin="392,299,0,0" Name="susceptorDescription" VerticalAlignment="Top" HorizontalAlignment="Left" Width="190" />-->
- <xctk:TimePicker Value="{Binding RecipeSearch_BeginTime,Mode=TwoWay}" FontFamily="Arial,SimSun" Height="25" HorizontalAlignment="Left" Margin="194,268,0,0" Name="timeBegin" VerticalAlignment="Top" Width="83" FontSize="12" Format="Custom" FormatString="HH:mm" />
- <DatePicker SelectedDate="{Binding RecipeSearch_BeginDate,Mode=TwoWay}" FontFamily="Arial,SimSun" Height="25" HorizontalAlignment="Left" Margin="87,268,0,0" Name="dateBegin" VerticalAlignment="Top" Width="101" FontSize="12" />
- <xctk:TimePicker Value="{Binding RecipeSearch_EndTime,Mode=TwoWay}" FontFamily="Arial,SimSun" Height="25" HorizontalAlignment="Left" Margin="194,299,0,0" Name="timeEnd" VerticalAlignment="Top" Width="83" FontSize="12" Format="Custom" FormatString="HH:mm" />
- <DatePicker SelectedDate="{Binding RecipeSearch_EndDate,Mode=TwoWay}" FontFamily="Arial,SimSun" Height="25" HorizontalAlignment="Left" Margin="87,299,0,0" Name="dateEnd" VerticalAlignment="Top" Width="101" FontSize="12" />
- <DataGrid AutoGenerateColumns="False" Background="White" FontFamily="Arial,SimSun" FontSize="12" Height="248" ItemsSource="{Binding RecipeSearch_SusceptorData}" Margin="-7,6,-2,0" Name="dataGrid_SusceptorList" SelectionUnit="FullRow" VerticalAlignment="Top" HorizontalScrollBarVisibility="Visible" CanUserAddRows="False" CanUserDeleteRows="False">
- <DataGrid.Columns>
- <!--<DataGridTextColumn Binding="{Binding SusceptorId, Mode=OneWay}" CanUserReorder="False" CanUserResize="False" CanUserSort="True" Header="炉次编号" IsReadOnly="True" Width="100">
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="FrameworkElement.ToolTip" Value="{Binding SusceptorId}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>-->
- <!--<DataGridTextColumn Binding="{Binding UserDefinedId, Mode=OneWay}" CanUserReorder="False" CanUserResize="False" CanUserSort="True" Header="用户定义编号" IsReadOnly="True" Width="200">
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="FrameworkElement.ToolTip" Value="{Binding UserDefinedId}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>-->
- <!--<DataGridTextColumn Binding="{Binding CreateTime, Mode=OneWay}" CanUserReorder="False" CanUserResize="False" CanUserSort="True" Header="记录创建时间" IsReadOnly="True" Width="128">
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="FrameworkElement.ToolTip" Value="{Binding CreateTime}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>-->
- <DataGridTextColumn Binding="{Binding ProcessBeginTime, Mode=OneWay}" CanUserReorder="False" CanUserResize="False" CanUserSort="True" IsReadOnly="True" Width="128">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableProcessBeginTime}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="FrameworkElement.ToolTip" Value="{Binding ProcessBeginTime}" />
-
- </Style>
- </DataGridTextColumn.CellStyle>
-
- </DataGridTextColumn>
- <DataGridTextColumn Binding="{Binding ProcessEndTime, Mode=OneWay}" CanUserReorder="False" CanUserResize="False" CanUserSort="True" IsReadOnly="True" Width="128">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableProcessEndTime}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="FrameworkElement.ToolTip" Value="{Binding ProcessEndTime}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <!--<DataGridTextColumn Binding="{Binding DeleteTime, Mode=OneWay}" CanUserReorder="False" CanUserResize="False" CanUserSort="True" Header="记录结束时间" IsReadOnly="True" Width="128">
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="FrameworkElement.ToolTip" Value="{Binding DeleteTime}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>-->
- <!--<DataGridTextColumn Binding="{Binding ProcessIn, Mode=OneWay}" CanUserReorder="False" CanUserResize="False" CanUserSort="True" Header="反应腔" IsReadOnly="True" Width="70">
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="FrameworkElement.ToolTip" Value="{Binding ProcessIn}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>-->
- <DataGridTextColumn Binding="{Binding RecipeShortName, Mode=OneWay}" CanUserReorder="False" CanUserResize="False" CanUserSort="True" IsReadOnly="True" Width="250">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableProcessName}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="FrameworkElement.ToolTip" Value="{Binding RecipeShortName}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Binding="{Binding SusceptorStatus, Mode=OneWay}" CanUserReorder="True" CanUserResize="False" CanUserSort="True" IsReadOnly="True" Width="110">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableProcessStatus}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="FrameworkElement.ToolTip" Value="{Binding SusceptorStatus}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Binding="{Binding Description, Mode=OneWay}" CanUserReorder="False" CanUserResize="False" CanUserSort="True" IsReadOnly="True" Width="*">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableDescription}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="FrameworkElement.ToolTip" Value="{Binding Description}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- </DataGrid.Columns>
- <DataGrid.Style>
- <Style TargetType="ItemsControl">
- <Style.Resources>
-
- </Style.Resources>
- <Setter Property="Control.HorizontalContentAlignment" Value="Stretch" />
- </Style>
- </DataGrid.Style>
- </DataGrid>
- <Label Content="{DynamicResource GlobalLableEndTime}" FontSize="13" Height="28" HorizontalAlignment="Left" Margin="22,296,0,0" Name="label8" VerticalAlignment="Top" />
- <Button Content="{DynamicResource GlobalLableAdd}" Height="54" HorizontalAlignment="Left" VerticalAlignment="Top" Width="85" Command="{Binding AddDataSourceByRecipeCommand}" Margin="484,268,0,0" />
- </Grid>
- </Grid>
- </TabItem>
- <TabItem Header="{DynamicResource GlobalLableByTime}" Name="tab2">
- <Grid HorizontalAlignment="Stretch" Background="LightGoldenrodYellow" VerticalAlignment="Stretch">
- <Grid.Resources>
- <Style TargetType="Button">
- <Setter Property="VerticalAlignment" Value="Top"/>
- </Style>
- </Grid.Resources>
- <xctk:TimePicker Value="{Binding TimeSearch_BeginTime,Mode=TwoWay}" FontFamily="Arial,SimSun" FontSize="12" Height="25" HorizontalAlignment="Left" Margin="199,13,0,0" Name="CustomizedTimeBegin" VerticalAlignment="Top" Width="101" EndTime="23:59:59" TimeInterval="01:00:00" Format="Custom" FormatString="HH:mm" />
- <DatePicker SelectedDate="{Binding TimeSearch_BeginDate,Mode=TwoWay}" FontFamily="Arial,SimSun" FontSize="12" Height="25" HorizontalAlignment="Left" Margin="90,10,0,0" Name="CustomizedDateBegin" VerticalAlignment="Top" Width="101" />
- <xctk:TimePicker Value="{Binding TimeSearch_EndTime,Mode=TwoWay}" FontFamily="Arial,SimSun" FontSize="12" Height="25" HorizontalAlignment="Left" Margin="199,44,0,0" Name="CustomizedTimeEnd" VerticalAlignment="Top" Width="101" EndTime="23:59:59" TimeInterval="01:00:00" Format="Custom" FormatString="HH:mm" />
- <DatePicker SelectedDate="{Binding TimeSearch_EndDate,Mode=TwoWay}" FontFamily="Arial,SimSun" FontSize="12" Height="25" HorizontalAlignment="Left" Margin="90,44,0,0" Name="CustomizedDateEnd" VerticalAlignment="Top" Width="101" />
- <!--<ComboBox ItemsSource="{Binding TimeSearch_ChamberList}" SelectedItem="{Binding TimeSearch_SelectedChamber}" FontSize="13" Height="25" HorizontalAlignment="Left" Margin="90,77,0,0" Name="CustomizedChamberSelection" SelectedIndex="1" VerticalAlignment="Top" Width="101"/>-->
- <Label Content="{DynamicResource GlobalLableBeginTime}" FontSize="13" Height="28" HorizontalAlignment="Left" Margin="23,10,0,0" Name="label2" VerticalAlignment="Top" />
- <Label Content="{DynamicResource GlobalLableEndTime}" FontSize="13" Height="28" HorizontalAlignment="Left" Margin="23,44,0,0" Name="label14" VerticalAlignment="Top" />
- <!--<Label Content="腔体选择" FontSize="13" Height="28" HorizontalAlignment="Left" Margin="23,74,0,0" Name="label7" VerticalAlignment="Top" />-->
- <Button Command="{Binding AddDataSourceByTimeCommand}" Content="{DynamicResource GlobalLableAdd}" Height="26" HorizontalAlignment="Left" Margin="199,77,0,0" VerticalAlignment="Top" Width="101" />
- </Grid>
- </TabItem>
- </TabControl>
- </Grid>
- </Window>
|