<Window x:Class="智慧物流软件系统.StoreInfoHistoryVoltageWindow"
        xmlns:hc="https://handyorg.github.io/handycontrol"  
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        Title="电压历史数据（标定时记录上一次数据）" Height="650" Width="660" ResizeMode="NoResize" FontSize="25" 
        Icon="/Resources/Logo.ico" WindowStartupLocation="CenterScreen" >
    <Grid Background="AliceBlue">
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <TextBlock Text="库位编码" Name="storeCodeTxt" FontSize="40" HorizontalAlignment="Center"></TextBlock>
        <DataGrid Grid.Row="1" Name="dataGrid" FontSize="15" AutoGenerateColumns="False" HeadersVisibility="All" CanUserAddRows="False">
            <DataGrid.Columns>
                <DataGridTextColumn Header="电压标准值" Binding="{Binding StandardVoltage}" Width="*"/>
                <DataGridTextColumn Header="电压偏移值" Binding="{Binding OffsetVoltage}" Width="*"/>
                <DataGridTextColumn Header="电压当前值" Binding="{Binding CurrentVoltage}" Width="*"/>
                <DataGridTextColumn Header="记录时间" Binding="{Binding CreateTime,StringFormat='yyyy-MM-dd HH:mm:ss'}" Width="1.5*"/>
            </DataGrid.Columns>
        </DataGrid>
        <Button Content="关闭" Height="45" FontSize="28" Grid.Row="2" Click="Button_Click"></Button>
    </Grid>
</Window>