You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

33 lines
2.8 KiB

<UserControl
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:IOTContainer.View"
xmlns:Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero2" x:Class="IOTContainer.View.ServiceInfoView"
mc:Ignorable="d"
d:DesignWidth="500" Width="500">
<Border Padding="40 0">
<StackPanel>
<Label Style="{StaticResource TitleLabelStyle}" Margin="0 0 0 20" Content="千目应用程序" />
<Label Style="{StaticResource TipsLabelStyle}" Content="楼栋"/>
<ComboBox Style="{StaticResource ComboBoxStyle}" ItemsSource="{Binding BuildingList}" Margin="0 0 0 20" DisplayMemberPath="name" SelectedValuePath="code" SelectedItem="{Binding SelectedBuilding}" />
<Label Style="{StaticResource TipsLabelStyle}" Content="楼层" />
<ComboBox Style="{StaticResource ComboBoxStyle}" ItemsSource="{Binding FloorList}" Margin="0 0 0 20" DisplayMemberPath="name" SelectedValuePath="code" SelectedItem="{Binding SelectedFloor}" />
<Label Style="{StaticResource TipsLabelStyle}" Content="设备名" />
<ComboBox Style="{StaticResource ComboBoxStyle}" ItemsSource="{Binding MachineList}" Margin="0 0 0 25" DisplayMemberPath="name" SelectedValuePath="code" SelectedItem="{Binding SelectedMachine}" />
<Label Style="{StaticResource TipsLabelStyle}" Content="IP地址" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding IP}" Margin="0 0 0 20" IsReadOnly="True" />
<Label Style="{StaticResource TipsLabelStyle}" Content="MAC地址"/>
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding MAC}" Margin="0 0 0 20" IsReadOnly="True" />
<Label Style="{StaticResource TipsLabelStyle}" Content="设备类型"/>
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding SelectedType}" Margin="0 0 0 20" IsReadOnly="True" />
<Label Style="{StaticResource TipsLabelStyle}" Content="设备属性"/>
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding SelectedAttr}" Margin="0 0 0 15" IsReadOnly="True" />
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Button Style="{StaticResource NexButtonStyle}" Content="上一页" Margin="0 25 0 0" Command="{Binding PrePageCommand}" />
<Button Style="{StaticResource SureButtonStyle}" Content="完成" Margin="10 25 0 0" Command="{Binding Activate}" />
</StackPanel>
</StackPanel>
</Border>
</UserControl>