|
|
|
|
<windows:BaseWindow xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
|
|
|
|
x:Class="Kingo.Plugin.DTBYCL.View.UCYSResultExport"
|
|
|
|
|
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:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils"
|
|
|
|
|
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
|
|
|
|
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
|
|
|
|
xmlns:local="clr-namespace:Kingo.Plugin.DTBYCL.View"
|
|
|
|
|
mc:Ignorable="d" Title="成果导出"
|
|
|
|
|
Height="530" d:DesignWidth="800">
|
|
|
|
|
<Grid Margin="5">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="35"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<!--<RowDefinition Height="35"/>-->
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<dxlc:LayoutGroup Grid.Row="0" Orientation="Horizontal" >
|
|
|
|
|
<!--<dxlc:LayoutItem Label="导出路径:" LabelHorizontalAlignment="Right" VerticalAlignment="Center">
|
|
|
|
|
<dxe:ButtonEdit x:Name="txtDBPath" IsTextEditable="False" Height="23" AllowDefaultButton="True" DefaultButtonClick="BtnSelectDBPath_Click">
|
|
|
|
|
<dxe:ButtonInfo Content=" 导 出 " x:Name="btnExport" Click="btnExport_Click"/>
|
|
|
|
|
</dxe:ButtonEdit>
|
|
|
|
|
</dxlc:LayoutItem>-->
|
|
|
|
|
<dx:SimpleButton Content="导出预审成果" ToolTip="输出预审成果任务包" Width="100" Height="22" x:Name="btnExport" Click="btnExport_Click"/>
|
|
|
|
|
<dx:SimpleButton Content="导出批量任务" ToolTip="导出预处理任务矢量数据供第三方软件编辑维护数据,导出格式为.GDB" Width="100" Height="22" x:Name="btnExportRW" Click="BtnExportRW_Click"/>
|
|
|
|
|
<dx:SimpleButton Content="导入批量成果" ToolTip="自主图斑需要维护PackName字段和SJLY(数据来源)字段,仅导入SJLY=ZZBG的图斑" Width="100" Height="22" x:Name="btnImportCG" Click="BtnImportCG_Click"/>
|
|
|
|
|
<dx:SimpleButton Content="刷 新" Width="60" Height="22" x:Name="btnRefresh" Click="BtnRefresh_Click"/>
|
|
|
|
|
</dxlc:LayoutGroup>
|
|
|
|
|
<!--<StackPanel Grid.Row="2" Orientation="Vertical">
|
|
|
|
|
<Label Content="1、导出预审成果:预审成果通过枢纽机提交;2、导出批量任务:可以将多个预审任务包矢量化后导出gdb,供第三方软件进行预审处理" Foreground="Red"></Label>
|
|
|
|
|
<Label Content="1、导出预审成果:预审成果通过枢纽机提交;" Foreground="Red"></Label>
|
|
|
|
|
</StackPanel>-->
|
|
|
|
|
<dxg:GridControl Grid.Row="1" AutoPopulateColumns="False" Name="gridPackage" AutoGenerateColumns="KeepOld" SelectionMode="Row" Background="Black" ScrollViewer.CanContentScroll="True" >
|
|
|
|
|
<dxg:GridControl.View>
|
|
|
|
|
<dxg:TableView Name="viewPackage" ShowCheckBoxSelectorColumn="True" ShowTotalSummary="False" MultiSelectMode="None" IsTotalSummaryMenuEnabled="False" AllowGroupSummaryCascadeUpdate="False" ShowFixedTotalSummary="False" ShowSearchPanelMode="Never" ShowGroupPanel="False" ShowAutoFilterRow="True" AllowEditing="False" BestFitMode="VisibleRows" >
|
|
|
|
|
</dxg:TableView>
|
|
|
|
|
</dxg:GridControl.View>
|
|
|
|
|
<dxg:GridControl.Columns>
|
|
|
|
|
<!--<dxg:GridColumn Header="序号" Width="50" Binding="{Binding XH }"/>-->
|
|
|
|
|
<dxg:GridColumn Header="状态" Width="100" Binding="{Binding State}"/>
|
|
|
|
|
<dxg:GridColumn Header="包号" Width="Auto" Binding="{Binding BID }"/>
|
|
|
|
|
<dxg:GridColumn Header="任务包名称" Width="Auto" Binding="{Binding PackageName}"/>
|
|
|
|
|
<!--<dxg:GridColumn Header="任务包路径" Width="*" Binding="{Binding PackagePath}"/>-->
|
|
|
|
|
<dxg:GridColumn Header="任务包工程路径" Width="*" Binding="{Binding PackageTempPath}"/>
|
|
|
|
|
</dxg:GridControl.Columns>
|
|
|
|
|
<!--<dxg:GridControl.TotalSummary>
|
|
|
|
|
<dxg:GridSummaryItem FieldName="BSM" SummaryType="Count" DisplayFormat="图斑总数: {0:0} 个"/>
|
|
|
|
|
</dxg:GridControl.TotalSummary>-->
|
|
|
|
|
</dxg:GridControl>
|
|
|
|
|
</Grid>
|
|
|
|
|
</windows:BaseWindow>
|