终端一体化运控平台
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

74 строки
3.2 KiB

  1. <Window x:Class="SCADA.Test.MainWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. WindowState="Maximized"
  7. WindowStartupLocation="CenterScreen"
  8. xmlns:local="clr-namespace:SCADA.Test"
  9. mc:Ignorable="d"
  10. Title="MainWindow" Height="450" Width="800">
  11. <Grid >
  12. <Grid.ColumnDefinitions>
  13. <ColumnDefinition/>
  14. <ColumnDefinition Width="200"/>
  15. </Grid.ColumnDefinitions>
  16. <Grid.RowDefinitions>
  17. <RowDefinition Height="40"/>
  18. <RowDefinition/>
  19. <RowDefinition Height="200"/>
  20. </Grid.RowDefinitions>
  21. <Button Click="Button_Click">加载文件</Button>
  22. <Grid Grid.Row="1" >
  23. <Grid.Background>
  24. <ImageBrush ImageSource="/bj.png"/>
  25. </Grid.Background>
  26. </Grid>
  27. <local:RunCanvas Grid.Row="1" x:Name="runCanvas"/>
  28. <TextBox x:Name="LogShow" Grid.Row="2" TextWrapping="Wrap" Foreground="#FFF100C7" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" FontFamily="宋体" Background="#FF282B29" FontSize="10"></TextBox>
  29. <Grid Grid.Column="1" Grid.RowSpan="2">
  30. <Border BorderBrush="AntiqueWhite" BorderThickness="3">
  31. <StackPanel>
  32. <TextBlock Margin="10,0,0,10" FontSize="24" HorizontalAlignment="Center">运行消息发送</TextBlock>
  33. <TextBlock Margin="10,0,0,10" FontSize="16">消息名称</TextBlock>
  34. <ComboBox x:Name="mlname"></ComboBox>
  35. <TextBlock Margin="10,0,0,10" FontSize="16">号</TextBlock>
  36. <TextBox x:Name="hm">1</TextBox>
  37. <TextBlock Margin="10,0,0,10" FontSize="16">消息</TextBlock>
  38. <ComboBox x:Name="xx"></ComboBox>
  39. <Button Margin="10,10,0,10" Width="100" Height="40" Click="Button_Click_1">发送</Button>
  40. <TextBlock Margin="10,0,0,10" FontSize="24" HorizontalAlignment="Center">数据发送</TextBlock>
  41. <TextBlock Margin="10,0,0,10" FontSize="16">消息名称</TextBlock>
  42. <ComboBox x:Name="xxnc"></ComboBox>
  43. <TextBlock Margin="10,0,0,10" FontSize="16">消息号</TextBlock>
  44. <TextBox x:Name="ch">1</TextBox>
  45. <TextBlock Margin="10,0,0,10" FontSize="16">标题</TextBlock>
  46. <TextBox x:Name="bt">标题</TextBox>
  47. <TextBlock Margin="10,0,0,10" FontSize="16">重量</TextBlock>
  48. <TextBox x:Name="zl">35.23</TextBox>
  49. <TextBlock Margin="10,0,0,10" FontSize="16">仓号说明</TextBlock>
  50. <TextBox x:Name="cgs">35.23</TextBox>
  51. <Button Margin="10,10,0,10" Width="100" Height="40" Click="Button_Click_2" >发送</Button>
  52. </StackPanel>
  53. </Border>
  54. </Grid>
  55. </Grid>
  56. </Window>