Files
SGGL_SHJ/SGGL/FineUIPro.Web/File/Fastreport/组件打印.frx
T
2022-09-05 16:36:31 +08:00

188 lines
8.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/29/2021 10:56:08" ReportInfo.Modified="08/23/2022 10:49:51" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;
namespace FastReport
{
public class ReportScript
{
/**
private void Table3_ManualBuild(object sender, EventArgs e)
{
// get the data source by its name
DataSourceBase rowData = Report.GetDataSource(&quot;Data&quot;);
// init the data source
rowData.Init();
// print the first table row - it is a header
Tabel_Data.PrintRow(0);
// each PrintRow call must be followed by either PrintColumn or PrintColumns call
// to print cells on the row
Tabel_Data.PrintColumns();
// now enumerate the data source and print the table body
while (rowData.HasMoreRows)
{
// print the table body
Tabel_Data.PrintRow(0);
Tabel_Data.PrintColumns();
// go next data source row
rowData.Next();
}
// print the last table row - it is a footer
//Tabel_Data.PrintRow(2);
//Table3.PrintColumns();
}
private void Table4_ManualBuild(object sender, EventArgs e)
{
DataSourceBase rowData = Report.GetDataSource(&quot;Table1&quot;);
// init the data source
rowData.Init();
// print the first table row - it is a header
Table4.PrintRow(0);
// each PrintRow call must be followed by either PrintColumn or PrintColumns call
// to print cells on the row
Table4.PrintColumns();
// now enumerate the data source and print the table body
// print the table body
Table4.PrintRow(1);
Table4.PrintColumns();
Table4.PrintRow(2);
Table4.PrintColumns();
Table4.PrintRow(3);
Table4.PrintColumns();
Table4.PrintRow(4);
Table4.PrintColumns();
Table4.PrintRow(5);
Table4.PrintColumns();
Table4.PrintRow(6);
Table4.PrintColumns();
// go next data source row
rowData.Next();
}
private void Table5_ManualBuild(object sender, EventArgs e)
{
Table5.PrintRow(0);
Table5.PrintColumns();
Table5.PrintRow(1);
Table5.PrintColumns();
}
**/
}
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqvJIqZbrmqGn7L0P56UFhaUHihKXxbhpqie4wmZgM2ymDKry7UxzO5md9ybQlkfKpN2rHYbp9GtH1LDQPa7z2vVu/kEnNnTKeHt9obmaC7TQDh0IvsUBSuzhGZdfAIK7YyBqykCgeZm5rvA6K5b7zHGdA+7pUpJ/9ZLpp1NuxWRG/27P7L9MSYYZ37vaRYsb+"/>
<TableDataSource Name="Table1" ReferenceName="Table1" DataType="System.Int32" Enabled="true">
<Column Name="PrefabricatedComponents" DataType="System.String" PropName="CH_TrustCode"/>
<Column Name="PlanStartDate" DataType="System.String" PropName="CH_TrustMan"/>
<Column Name="PreUnit" DataType="System.String" PropName="CH_SlopeType"/>
<Column Name="QRCode" DataType="System.String" PropName="CH_WeldMethod"/>
<Column Name="PipelineComponentId" DataType="System.String"/>
<Column Name="PipelineComponentCode" DataType="System.String"/>
<Column Name="BoxNumber" DataType="System.String"/>
<Column Name="PipelineId" DataType="System.String"/>
<Column Name="AssembleUnit" DataType="System.String"/>
<Column Name="State" DataType="System.String"/>
<Column Name="PipelineCode" DataType="System.String"/>
</TableDataSource>
<TableDataSource Name="Data" ReferenceName="Data.Data" DataType="System.Int32" Enabled="true">
<Column Name="CH_TrustID" DataType="System.String"/>
<Column Name="ISO_IsoNo" DataType="System.Int32" PropName="Column" Calculated="true" Expression=""/>
<Column Name="ISO_IsoNumber" DataType="System.Int32" PropName="Column" Calculated="true" Expression=""/>
<Column Name="JOT_JointNo" DataType="System.Int32" PropName="Column1" Calculated="true" Expression=""/>
<Column Name="WED_Code2" DataType="System.Int32" PropName="Column2" Calculated="true" Expression=""/>
<Column Name="JOT_JointDesc" DataType="System.Int32" PropName="Column3" Calculated="true" Expression=""/>
<Column Name="STE_Name1" DataType="System.Int32" PropName="Column" Calculated="true" Expression=""/>
<Column Name="Remark" DataType="System.Int32" PropName="Column1" Calculated="true" Expression=""/>
</TableDataSource>
<TableDataSource Name="Products" ReferenceName="NorthWind.Products" DataType="System.Int32" Enabled="true">
<Column Name="ProductID" DataType="System.Int32"/>
<Column Name="ProductName" DataType="System.String"/>
<Column Name="SupplierID" DataType="System.Int32"/>
<Column Name="CategoryID" DataType="System.Int32"/>
<Column Name="QuantityPerUnit" DataType="System.String"/>
<Column Name="UnitPrice" DataType="System.Decimal"/>
<Column Name="UnitsInStock" DataType="System.Int16"/>
<Column Name="UnitsOnOrder" DataType="System.Int16"/>
<Column Name="ReorderLevel" DataType="System.Int16"/>
<Column Name="Discontinued" DataType="System.Boolean" BindableControl="CheckBox"/>
<Column Name="EAN13" DataType="System.String"/>
</TableDataSource>
<Parameter Name="CH_TrustID" DataType="System.Single"/>
<Parameter Name="supUnit" DataType="System.String"/>
<Parameter Name="totalUnit" DataType="System.String"/>
<Parameter Name="ConUnit" DataType="System.String"/>
<Parameter Name="CheckUnit" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" PaperHeight="150">
<PageHeaderBand Name="PageHeader1" Width="718.2" Height="45.36"/>
<DataBand Name="Data1" Top="49.21" Width="718.2" Height="238.14" DataSource="Table1" Columns.Count="1">
<TableObject Name="Table2" Left="56.7" Top="18.9" Width="633.19" Height="189" Border.Lines="All">
<TableColumn Name="Column1" Width="160.67"/>
<TableColumn Name="Column2" Width="292.97"/>
<TableColumn Name="Column3" Width="179.55"/>
<TableRow Name="Row1" Height="34.02">
<TableCell Name="Cell1" Text=" 预制组件编号:" VertAlign="Bottom" Font="宋体, 11pt"/>
<TableCell Name="Cell2" Border.Lines="Bottom" Text="[Table1.PrefabricatedComponents]" VertAlign="Center" Font="宋体, 11pt"/>
<TableCell Name="Cell23" Text="三维模型定位" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
</TableRow>
<TableRow Name="Row2" Height="34.02">
<TableCell Name="Cell6" Text=" 管线号:" VertAlign="Bottom" Font="宋体, 11pt"/>
<TableCell Name="Cell7" Border.Lines="Bottom" Text="[Table1.PipelineCode]" VertAlign="Center" Font="宋体, 11pt"/>
<TableCell Name="Cell24" RowSpan="4">
<BarcodeObject Name="Barcode1" Left="28.35" Top="9.45" Width="125.45" Height="124.55" AutoSize="false" Text="[Table1.QRCode]" ShowText="false" AllowExpressions="true" Barcode="QR Code" Barcode.ErrorCorrection="L" Barcode.Encoding="UTF8" Barcode.QuietZone="true"/>
</TableCell>
</TableRow>
<TableRow Name="Row3" Height="34.02">
<TableCell Name="Cell11" Text=" 装置名称:" VertAlign="Bottom" Font="宋体, 11pt"/>
<TableCell Name="Cell12" Border.Lines="Bottom" VertAlign="Center" Font="宋体, 11pt"/>
<TableCell Name="Cell25"/>
</TableRow>
<TableRow Name="Row4" Height="34.02">
<TableCell Name="Cell16" Text=" 管线计划安装日期:" VertAlign="Bottom" Font="宋体, 11pt"/>
<TableCell Name="Cell17" Border.Lines="Bottom" Text="[Table1.PlanStartDate]" VertAlign="Center" Font="宋体, 11pt"/>
<TableCell Name="Cell26"/>
</TableRow>
<TableRow Name="Row5" Height="34.02">
<TableCell Name="Cell21" Text=" 预制单位:" VertAlign="Bottom" Font="宋体, 11pt"/>
<TableCell Name="Cell22" Border.Lines="Bottom" Text="[Table1.PreUnit]" VertAlign="Center" Font="宋体, 11pt"/>
<TableCell Name="Cell27"/>
</TableRow>
<TableRow Name="Row6">
<TableCell Name="Cell28"/>
<TableCell Name="Cell29"/>
<TableCell Name="Cell30"/>
</TableRow>
</TableObject>
</DataBand>
</ReportPage>
</Report>