年度变更建库软件5.0版本
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.
 
 

120 lines
9.0 KiB

<windows:BaseWindow
xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils"
x:Class="Kingo.Plugin.YJJK.View.UnifiedBuildDataBase"
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:Kingo.Plugin.YJJK.View"
xmlns:btn="clr-namespace:KUI.Button;assembly=KUI"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:comboBox="clr-namespace:KUI.ComboBox;assembly=KUI"
mc:Ignorable="d" Title="一键建库" Width="700" Height="620" ResizeMode="NoResize">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="*"/>
<!--<RowDefinition Height="80"/>
<RowDefinition Height="80"/>
<RowDefinition Height="80"/>
<RowDefinition Height="80"/>-->
<RowDefinition Height="60"/>
</Grid.RowDefinitions>
<GroupBox Grid.ColumnSpan="2" Header="增量数据提取" Margin="8" FontSize="14">
<StackPanel>
<CheckBox Name="CheckBox_DLTB" Margin="20,5" Content="地类图斑增量数据提取(地类图斑更新层、地类图斑更新过程层)" Grid.ColumnSpan="2" IsChecked="True"/>
<CheckBox Name="CheckBox_XZQData" Margin="20,5" Grid.Column="0" Visibility="Collapsed" Content="行政区数据提取" IsChecked="True"/>
<CheckBox Name="CheckBox_GDDB" Margin="20,5" Grid.Column="1" Content="耕地等别数据提取(耕地等别更新层)" IsChecked="True"/>
<CheckBox Name="CheckBox_CJDCQ" Margin="20,5" Grid.Column="2" Content="村级调查区增量数据提取(村级调查区更新层、村级调查区更新过程层、村级调查区界线更新层)" IsChecked="True"/>
<CheckBox Name="CheckBox_XZQ" Margin="20,5" Grid.Column="3" Content="行政区增量数据提取(行政区更新层、行政区更新过程层、行政区界线更新层)" IsChecked="True"/>
<CheckBox Name="CheckBox_CZCData" Margin="20,5" Content="城镇村增量数据提取(城镇村更新层、城镇村更新过程层)" IsChecked="True"/>
<CheckBox Name="CheckBox_SXWH" Margin="20,5" Content="属性维护(标识码、要素代码、椭球面积计算、扣除地类系数、扣除面积、项目属性赋值)" IsChecked="True"/>
<CheckBox Name="CheckBox_ZLHZ" Margin="20,5" Content="增量汇总(变更一览表)" IsChecked="True"/>
</StackPanel>
</GroupBox>
<GroupBox x:Name="DLTBData" Header="坐落变化信息参数" Grid.Row="1" Margin="8" FontSize="14">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="0" />
<RowDefinition Height="0" />
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="70" />
<ColumnDefinition />
<ColumnDefinition Width="80" />
</Grid.ColumnDefinitions>
<!--<Label Content="范围图斑:" VerticalAlignment="Center" HorizontalAlignment="Right" Grid.Row="1"/>
<TextBox x:Name="btnNewData" IsReadOnly="True" Grid.Row="1" Grid.Column="1" Height="30" Margin="5,0"/>
<btn:KImgButton Height="30" x:Name="btnSelTB" Grid.Row="1" Grid.Column="2" VerticalContentAlignment="Center" Content="选择范围" Click="BtnSelTB_Click" />-->
<dxg:GridControl x:Name="gvCtrl" HorizontalAlignment="Stretch" Margin="5" Grid.Row="2" Grid.ColumnSpan="3" AutoGenerateColumns="None" VerticalAlignment="Stretch">
<dxg:GridControl.View>
<dxg:TableView Name="tvAttr2" ShowTotalSummary="False" ShowSearchPanelMode="Never" MultiSelectMode="Row" ShowGroupPanel="False" AllowFilterEditor="False" AllowEditing="True" />
</dxg:GridControl.View>
<dxg:GridControl.Columns>
<dxg:GridColumn FieldName="ID" Header="ID" Width="0" Visible="False"/>
<dxg:GridColumn FieldName="DataDicTionary" Header="DataDicTionary" Width="0" Visible="False"/>
<dxg:GridColumn FieldName="BGQDM" Header="变更前代码" Width="120" ReadOnly="True" />
<dxg:GridColumn FieldName="BGQMC" Header="变更前名称" Width="120" ReadOnly="True"/>
<dxg:GridColumn FieldName="BGHDM" Header="变更后代码" Width="120" ReadOnly="True"/>
<!--<dxg:GridColumn FieldName="BGHDM" Header="变更后代码" Width="240" >
<dxg:GridColumn.CellTemplate>
<DataTemplate>
<StackPanel>
<comboBox:AutoCompleteBox
ItemsSource="{Binding RowData.Row.Data}"
IsEditable="True"
Tag="{Binding RowData.Row.ID}"
Text="{Binding CODE, UpdateSourceTrigger=LostFocus}"
ValueMemberPath="CODE"
DisplayMemberPath="DisplayName"
Height="24"
SelectionChanged="ComboBox_SelectionChanged"
SelectedValue="{Binding RowData.Row.BGHDM}"
/>
</StackPanel>
</DataTemplate>
</dxg:GridColumn.CellTemplate>
</dxg:GridColumn>-->
<dxg:GridColumn FieldName="BGHMC" Header="变更后名称" Width="120" ReadOnly="True"/>
<!--<dxg:GridColumn Header="操作" Width="60">
<dxg:GridColumn.CellTemplate>
<DataTemplate>
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBlock x:Name="txt_Delete" Width="30" HorizontalAlignment="Center" VerticalAlignment="Center" Tag="{Binding RowData.Row.ID}" MouseLeftButtonDown="Txt_Delete_MouseLeftButtonDown" Cursor="Hand" Text="删除" Foreground="Blue" Margin="15,0,0,0"/>
</StackPanel>
</Grid>
</DataTemplate>
</dxg:GridColumn.CellTemplate>
</dxg:GridColumn>-->
</dxg:GridControl.Columns>
</dxg:GridControl>
<!--<StackPanel Grid.Row="2" Grid.Column="2">
<btn:KImgButton Height="30" x:Name="btnOpenFile" Margin="0,8" VerticalContentAlignment="Center" Content="打开文件" Click="BtnOpenFile_Click" />
<btn:KImgButton Height="30" x:Name="btnAddRow" Margin="0" VerticalContentAlignment="Center" Content="添 加" Click="Txt_Add_MouseLeftButtonDown" />
</StackPanel>-->
</Grid>
</GroupBox>
<GroupBox x:Name="XZQData" Header="行政区数据提取" Grid.Row="1" Margin="8" Visibility="Collapsed" Grid.ColumnSpan="2">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
</Grid>
</GroupBox>
<GroupBox x:Name="CZCData" Header="城镇村数据提取" Grid.Row="2" Visibility="Collapsed" Margin="8" Grid.ColumnSpan="2">
</GroupBox>
<GroupBox x:Name="SXWH" Header="属性维护" Grid.Row="3" Margin="8" Visibility="Collapsed" Grid.ColumnSpan="2">
</GroupBox>
<GroupBox x:Name="ZLHZ" Header="增量汇总" Grid.Row="4" Margin="8" Visibility="Collapsed" Grid.ColumnSpan="2">
</GroupBox>
<StackPanel Grid.ColumnSpan="2" Grid.Row="5" VerticalAlignment="Center" Orientation="Horizontal" HorizontalAlignment="Center">
<btn:KImgButton Height="30" x:Name="btnOK" VerticalContentAlignment="Center" Margin="20,0" Content="确 定" Click="BtnOK_Click" />
<btn:KImgButton Height="30" x:Name="btnCancel" VerticalContentAlignment="Center" Margin="20,0" Content="取 消" Click="BtnCancel_Click" />
</StackPanel>
</Grid>
</windows:BaseWindow>