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

62 lines
4.5 KiB

6 months ago
<windows:BaseWindow
x:Class="Kingo.Plugin.General.ViewDTBJK.UCJKResultExport"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid Margin="5">
<Grid.Resources>
<Style TargetType="TextBlock" x:Key="txt_Triggers">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Foreground" Value="Red" />
<Setter Property="FontSize" Value="15"/>
</Trigger>
</Style.Triggers>
</Style>
</Grid.Resources>
<Grid.RowDefinitions>
<RowDefinition Height="35"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<dxlc:LayoutGroup Grid.Row="0" Orientation="Horizontal" >
<dx:SimpleButton Content="变 更 检 查" Width="100" Height="22" x:Name="btnCheck" Click="BtnCheck_Click"/>
<dx:SimpleButton Content="导 出 成 果" Width="100" Height="22" x:Name="btnExport" Click="BtnExport_Click"/>
<dx:SimpleButton Content="导出批量任务" ToolTip="导入建库任务矢量数据供第三方软件编辑" Width="100" Height="22" x:Name="btnExportRW" Click="BtnExportRW_Click"/>
<dx:SimpleButton Content="导入批量成果" ToolTip="变更范围(DTBDLTBGX)需要维护TBBSM字段,填写WYRW图斑的TBBSM,且新增图斑与WYRW图斑需要相交或相邻,否则不会导入" 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>
<dxg:GridControl Grid.Row="1" AutoPopulateColumns="False" Name="gridPackage" AutoGenerateColumns="KeepOld" Background="Black" ScrollViewer.CanContentScroll="True" >
<dxg:GridControl.View>
<dxg:TableView Name="viewPackage" ShowCheckBoxSelectorColumn="True" ShowTotalSummary="True" MultiSelectMode="Row" IsTotalSummaryMenuEnabled="False" AllowGroupSummaryCascadeUpdate="False" ShowFixedTotalSummary="False" PrintSelectedRowsOnly="True" ShowSearchPanelMode="Never" ShowGroupPanel="False" ShowAutoFilterRow="True" AllowEditing="False" BestFitMode="VisibleRows" >
</dxg:TableView>
</dxg:GridControl.View>
<dxg:GridControl.Columns>
<dxg:GridColumn Header="任务包名称" Width="250" FieldName="PackageName" AutoFilterCondition="Contains"/>
<dxg:GridColumn Header="外业图斑标识码" Width="125" FieldName="TBBSM" AutoFilterCondition="Contains"/>
<dxg:GridColumn Header="状态" Width="70" FieldName="ZT" AutoFilterCondition="Contains"/>
<dxg:GridColumn Header="星标图斑" Width="60" FieldName="XBTB" AutoFilterCondition="Contains"/>
<dxg:GridColumn Header="返外业" Width="60" FieldName="FWY" AutoFilterCondition="Contains"/>
<dxg:GridColumn Header="外业备注" Width="90" FieldName="WYBZ" AutoFilterCondition="Contains"/>
<dxg:GridColumn Header="路径" Width="*" FieldName="PackagePath" AutoFilterCondition="Contains"/>
<!--<dxg:GridColumn Header="操作" Width="*" AutoFilterCondition="Contains" Visible="False">
<dxg:GridColumn.CellTemplate>
<DataTemplate>
<dx:SimpleButton Content="速报" Tag="{Binding Path=RowData.Row}" Width="55" Height="22" x:Name="BtnSFSB" Visibility="{Binding Path=RowData.Row.SFSBVisibility}" Click="BtnSFSB_Click"/>
</DataTemplate>
</dxg:GridColumn.CellTemplate>
</dxg:GridColumn>-->
</dxg:GridControl.Columns>
<dxg:GridControl.TotalSummary>
<dxg:GridSummaryItem FieldName="TBBSM" SummaryType="Count" DisplayFormat="图斑总数: {0:0} 个"/>
</dxg:GridControl.TotalSummary>
</dxg:GridControl>
</Grid>
</windows:BaseWindow>