|
- <Window x:Class="SCADA.Test.MainWindow"
- 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"
- WindowState="Maximized"
- WindowStartupLocation="CenterScreen"
- xmlns:local="clr-namespace:SCADA.Test"
- mc:Ignorable="d"
- Title="MainWindow" Height="450" Width="800">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition Width="200"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="40"/>
- <RowDefinition/>
- <RowDefinition Height="200"/>
- </Grid.RowDefinitions>
- <Button Click="Button_Click">加载文件</Button>
-
- <local:RunCanvas Grid.Row="1" x:Name="runCanvas"/>
-
- <TextBox x:Name="LogShow" Grid.Row="2" TextWrapping="Wrap" Foreground="#FFF100C7" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" FontFamily="宋体" Background="#FF282B29" FontSize="10"></TextBox>
-
- <Grid Grid.Column="1" Grid.RowSpan="2">
-
- <Border BorderBrush="AntiqueWhite" BorderThickness="3">
- <StackPanel>
- <TextBlock Margin="10,0,0,10" FontSize="24" HorizontalAlignment="Center">运行消息发送</TextBlock>
-
- <TextBlock Margin="10,0,0,10" FontSize="16">消息名称</TextBlock>
- <ComboBox x:Name="mlname"></ComboBox>
-
- <TextBlock Margin="10,0,0,10" FontSize="16">号</TextBlock>
- <TextBox x:Name="hm">1</TextBox>
-
- <TextBlock Margin="10,0,0,10" FontSize="16">消息</TextBlock>
- <ComboBox x:Name="xx"></ComboBox>
-
- <Button Margin="10,10,0,10" Width="100" Height="40" Click="Button_Click_1">发送</Button>
-
-
- <TextBlock Margin="10,0,0,10" FontSize="24" HorizontalAlignment="Center">数据发送</TextBlock>
-
- <TextBlock Margin="10,0,0,10" FontSize="16">消息名称</TextBlock>
- <ComboBox x:Name="xxnc"></ComboBox>
-
- <TextBlock Margin="10,0,0,10" FontSize="16">消息号</TextBlock>
- <TextBox x:Name="ch">1</TextBox>
-
- <TextBlock Margin="10,0,0,10" FontSize="16">标题</TextBlock>
- <TextBox x:Name="bt">标题</TextBox>
-
- <TextBlock Margin="10,0,0,10" FontSize="16">重量</TextBlock>
- <TextBox x:Name="zl">35.23</TextBox>
-
- <TextBlock Margin="10,0,0,10" FontSize="16">仓号说明</TextBlock>
- <TextBox x:Name="cgs">35.23</TextBox>
-
- <Button Margin="10,10,0,10" Width="100" Height="40" Click="Button_Click_2" >发送</Button>
- </StackPanel>
- </Border>
- </Grid>
- </Grid>
- </Window>
|