30 lines
2.2 KiB
Plaintext
30 lines
2.2 KiB
Plaintext
|
|
<UserControl x:Class="Cowain.Bake.UI.FactoryMaintenance.Views.MomOutboundView"
|
||
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
|
|
xmlns:local="clr-namespace:Cowain.Bake.UI.FactoryMaintenance.Views"
|
||
|
|
mc:Ignorable="d"
|
||
|
|
d:DesignHeight="360" d:DesignWidth="800">
|
||
|
|
<Grid>
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition Height="60"/>
|
||
|
|
<RowDefinition Height="50"/>
|
||
|
|
<RowDefinition Height="*"/>
|
||
|
|
<RowDefinition/>
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
<Border Background="#EEE" Margin="4" CornerRadius="6" BorderThickness="1"/>
|
||
|
|
<StackPanel Orientation="Horizontal" Margin="12,10,10,10" HorizontalAlignment="Left" >
|
||
|
|
<TextBlock VerticalAlignment="Center" Margin="4">电芯条码:</TextBlock>
|
||
|
|
<TextBox Text="{Binding BatteryCode,Mode=TwoWay}" Margin="5" Width="320"/>
|
||
|
|
<Button Content="发送出站信息" Style="{StaticResource ButtonSuccess}" Margin="20,0,0,0" Width="100" Command="{Binding SendToMomCommand}"/>
|
||
|
|
<!--<Button Content="发送" Style="{StaticResource ButtonPrimary}" Margin="20,0,0,0" Width="60" Command="{Binding SendToMomCommand}"/>-->
|
||
|
|
</StackPanel>
|
||
|
|
<Border Background="#EEE" Margin="4" CornerRadius="6" BorderThickness="1" Grid.Row="1" Grid.RowSpan="4"/>
|
||
|
|
<!--<TextBlock VerticalAlignment="Center" Grid.Row="1" Margin="12,0,0,0">发送信息:</TextBlock>
|
||
|
|
<TextBox Text="{Binding SendData,Mode=TwoWay}" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" Margin="10,0,10,0" Grid.Row="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>-->
|
||
|
|
<TextBlock VerticalAlignment="Center" Grid.Row="1" Margin="12,0,0,0">收到信息:</TextBlock>
|
||
|
|
<TextBox Text="{Binding RecvData,Mode=TwoWay}" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" Margin="10,0,10,0" Grid.Row="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
|
||
|
|
</Grid>
|
||
|
|
</UserControl>
|