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.
117 lines
11 KiB
117 lines
11 KiB
<windows:BaseWindow |
|
xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils" |
|
x:Class="Kingo.Plugin.ProofManager.View.UCDBSetting" |
|
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:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid" |
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" |
|
xmlns:local="clr-namespace:Kingo.Plugin.ProofManager.View" |
|
xmlns:kui="clr-namespace:KUI;assembly=KUI" |
|
xmlns:btn="clr-namespace:KUI.Button;assembly=KUI" |
|
mc:Ignorable="d" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" |
|
Title="举证包设置" |
|
Height="570" Width="610"> |
|
<Window.Resources> |
|
<local:BCFSToBoolConverter x:Key="BCFSToBoolConverter"></local:BCFSToBoolConverter> |
|
</Window.Resources> |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="auto"/> |
|
<RowDefinition Height="auto"/> |
|
<RowDefinition Height="auto"/> |
|
<RowDefinition Height="auto"/> |
|
<RowDefinition Height="auto"/> |
|
<RowDefinition Height="auto"/> |
|
<RowDefinition Height="30"/> |
|
<RowDefinition Height="*"/> |
|
</Grid.RowDefinitions> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="130"/> |
|
<ColumnDefinition Width="*"/> |
|
<ColumnDefinition Width="130"/> |
|
</Grid.ColumnDefinitions> |
|
<StackPanel Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="3" Background="#F6F6F6" Orientation="Horizontal" Margin="0,5,0,0" Height="34"> |
|
<Image Source="/Kingo.Plugin.ProofManager;component/Resources/图斑变更.png" VerticalAlignment="Top" Height="18" Width="18" Margin="5,9,5,0"/> |
|
<TextBlock VerticalAlignment="Center" Text="待加载"></TextBlock> |
|
</StackPanel> |
|
<StackPanel Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="3" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" Height="150" Width="590"> |
|
<dxg:GridControl x:Name="dgFileData_djz" ClipboardCopyMode="ExcludeHeader" Width="590" Height="150" VerticalAlignment="Center" HorizontalAlignment="Center" > |
|
<dxg:GridControl.Columns> |
|
<dxg:GridColumn FieldName="IsChecked" AllowSorting="False" Header="" MinWidth="40" Width="60" HorizontalHeaderContentAlignment="Center" AllowColumnFiltering="False"> |
|
<dxg:GridColumn.HeaderTemplate> |
|
<DataTemplate> |
|
<StackPanel Orientation="Horizontal"> |
|
<dxe:CheckEdit x:Name="chkSelectedAll" EditValueChanged="chkSelectedAll_EditValueChanged"></dxe:CheckEdit> |
|
<TextBlock Text="全选" VerticalAlignment="Center" Margin="2,0,0,0"/> |
|
</StackPanel> |
|
</DataTemplate> |
|
</dxg:GridColumn.HeaderTemplate> |
|
</dxg:GridColumn> |
|
<dxg:GridColumn Header="文件名称" ReadOnly="True" Width="100" FieldName="FileName" HorizontalHeaderContentAlignment="Center" AutoFilterCondition="Contains" ImmediateUpdateAutoFilter="False" ImmediateUpdateColumnFilter="False"/> |
|
<dxg:GridColumn Header="文件大小" ReadOnly="True" Width="100" FieldName="FileSize" HorizontalHeaderContentAlignment="Center" AutoFilterCondition="Contains" ImmediateUpdateAutoFilter="False" ImmediateUpdateColumnFilter="False"/> |
|
<dxg:GridColumn Header="路径" ReadOnly="True" Width="200" FieldName="ParengFolder" HorizontalHeaderContentAlignment="Center" AutoFilterCondition="Contains" ImmediateUpdateAutoFilter="False" ImmediateUpdateColumnFilter="False"/> |
|
<dxg:GridColumn Header="数据表名" ReadOnly="True" Width="100" FieldName="TBName" HorizontalHeaderContentAlignment="Center" AutoFilterCondition="Contains" ImmediateUpdateAutoFilter="False" ImmediateUpdateColumnFilter="False"/> |
|
</dxg:GridControl.Columns> |
|
<dxg:GridControl.View> |
|
<dxg:TableView Name="ViewLog_djz" IsColumnMenuEnabled="False" IndicatorWidth="0" AllowBestFit="True" AllowColumnFiltering="False" ShowGroupedColumns="True" ShowGroupPanel="False" ShowAutoFilterRow="False" AllowEditing="True" ShowSearchPanelMode="Never" ShowSearchPanelCloseButton="False" ShowSearchPanelFindButton="False" SearchPanelFindFilter="Contains" SearchPanelFindMode="FindClick" SearchPanelHorizontalAlignment="Stretch" BestFitMode="Smart" ShowSearchPanelMRUButton="False" ShowFilterPanelMode="Never" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"> |
|
<dxg:TableView.RowIndicatorContentTemplate> |
|
<DataTemplate> |
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" /> |
|
</DataTemplate> |
|
</dxg:TableView.RowIndicatorContentTemplate> |
|
</dxg:TableView> |
|
</dxg:GridControl.View> |
|
</dxg:GridControl> |
|
</StackPanel> |
|
|
|
<CheckBox Grid.Row="2" x:Name="IsLoadGeo" VerticalContentAlignment="Center" FontWeight="Bold" Margin="15,5" Grid.ColumnSpan="2" Content="数据加载时,自动提取举证包中矢量数据到变更图斑层中" /> |
|
<CheckBox Grid.Row="2" x:Name="IsUpDataJC" IsChecked="False" VerticalContentAlignment="Center" FontWeight="Bold" Grid.Column="1" Content="同步DB到监测图层" Grid.ColumnSpan="2" Margin="311,0,33,0"/> |
|
<StackPanel Grid.Column="0" Grid.Row="3" Grid.ColumnSpan="3" Background="#F6F6F6" Orientation="Horizontal" Margin="0,5,0,0" Height="34"> |
|
<Image Source="/Kingo.Plugin.ProofManager;component/Resources/图斑变更.png" VerticalAlignment="Top" Height="18" Width="18" Margin="5,9,5,0"/> |
|
<TextBlock VerticalAlignment="Center" Text="已加载"></TextBlock> |
|
</StackPanel> |
|
<StackPanel Grid.Column="0" Grid.Row="4" Grid.ColumnSpan="3" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" Height="150" Width="590"> |
|
<dxg:GridControl x:Name="dgFileData_yjz" ClipboardCopyMode="ExcludeHeader" Width="590" Height="150" VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
<dxg:GridControl.Columns> |
|
<dxg:GridColumn Header="文件名称" ReadOnly="True" Width="100" FieldName="FileName" HorizontalHeaderContentAlignment="Center" AutoFilterCondition="Contains" ImmediateUpdateAutoFilter="False" ImmediateUpdateColumnFilter="False"/> |
|
<dxg:GridColumn Header="文件大小" ReadOnly="True" Width="100" FieldName="FileSize" HorizontalHeaderContentAlignment="Center" AutoFilterCondition="Contains" ImmediateUpdateAutoFilter="False" ImmediateUpdateColumnFilter="False"/> |
|
<dxg:GridColumn Header="路径" ReadOnly="True" Width="200" FieldName="ParengFolder" HorizontalHeaderContentAlignment="Center" AutoFilterCondition="Contains" ImmediateUpdateAutoFilter="False" ImmediateUpdateColumnFilter="False"/> |
|
<dxg:GridColumn Header="数据表名" ReadOnly="True" Width="100" FieldName="TBName" HorizontalHeaderContentAlignment="Center" AutoFilterCondition="Contains" ImmediateUpdateAutoFilter="False" ImmediateUpdateColumnFilter="False"/> |
|
<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.FileName}" 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.View> |
|
<dxg:TableView Name="ViewLog_yjz" IsColumnMenuEnabled="False" IndicatorWidth="0" AllowBestFit="True" AllowColumnFiltering="False" ShowGroupedColumns="True" ShowGroupPanel="False" ShowAutoFilterRow="False" AllowEditing="True" ShowSearchPanelMode="Never" ShowSearchPanelCloseButton="False" ShowSearchPanelFindButton="False" SearchPanelFindFilter="Contains" SearchPanelFindMode="FindClick" SearchPanelHorizontalAlignment="Stretch" BestFitMode="Smart" ShowSearchPanelMRUButton="False" ShowFilterPanelMode="Never" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"> |
|
<dxg:TableView.RowIndicatorContentTemplate> |
|
<DataTemplate> |
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" /> |
|
</DataTemplate> |
|
</dxg:TableView.RowIndicatorContentTemplate> |
|
</dxg:TableView> |
|
</dxg:GridControl.View> |
|
</dxg:GridControl> |
|
</StackPanel> |
|
<TextBlock Grid.Column="0" Grid.Row="5" Text="外业核实记录路径:" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="15,0,5,0" ></TextBlock> |
|
<TextBox Grid.Column="1" Grid.Row="5" x:Name="txtExcelPath" Text="{Binding ExcelPath,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" kui:ControlAttachProperty.CornerRadius="2" Height="30" Margin="1,5,0,5" HorizontalAlignment="Stretch" IsReadOnly="True" /> |
|
<btn:KImgButton Grid.Column="2" Grid.Row="5" x:Name="btnSelectExcelFile" Content="选 择" Margin="5" Width="100" HorizontalAlignment="Left" Click="BtnSelectExcelFile_Click" /> |
|
<ProgressBar x:Name="pressBar" Grid.ColumnSpan="3" Grid.Row="8" Margin="2,15" Height="0" Value="0" BorderThickness="0" /> |
|
<StackPanel Orientation="Horizontal" Grid.Row="6" Grid.ColumnSpan="3"> |
|
<TextBlock Text="注:将举证包加载到工程中显示的操作。执行该功能前须将外业任务包放置在工程目录下的举证成果文件夹下" Margin="10,0" TextWrapping="Wrap" Width="600" Foreground="Red" ></TextBlock> |
|
</StackPanel> |
|
<StackPanel Grid.Column="0" Grid.ColumnSpan="3" Grid.Row="9" Height="30" Orientation="Horizontal" HorizontalAlignment="Center"> |
|
<btn:KImgButton Margin="10,0" Content="确 定" x:Name="btnOK" Click="BtnOK_Click" /> |
|
<btn:KImgButton Margin="10,0" Content="取 消" x:Name="btnCancel" Click="BtnCancel_Click" IsEnabled="True" /> |
|
</StackPanel> |
|
</Grid> |
|
</windows:BaseWindow> |