SGGL_HBAZ/SGGL/FineUIPro.Web/File/Fastreport/试压包管线清单.frx

136 lines
7.5 KiB
Plaintext
Raw Normal View History

2025-02-12 09:27:47 +08:00
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="03/13/2022 11:00:20" ReportInfo.Modified="11/13/2024 15:18:27" 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 Table2_ManualBuild(object sender, EventArgs e)
{
DataSourceBase rowData = Report.GetDataSource(&quot;Data&quot;);
// init the data source
rowData.Init();
// now enumerate the data source and print the table body
while (rowData.HasMoreRows)
{
// print the table body
Table2.PrintRow(0);
Table2.PrintColumns();
// go next data source row
rowData.Next();
}
}
}
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqvJIqZbrmqGn7L0P56UFhadlz3NC872689s+IIjEVKRMWAnGUHqCC/lthXB9Rh4m8+wBWAwJuyC3mmUP83vc3wJy+gmjZ+OjywnOZuiuxP7Ovp5QY648QqVO9ScWvVtkMNmDdUD+HqNdZhQzFn/I4RkA5GmMG5M8v66V8ZtqkCFws/m1aUvhTuew/jsfUsm/V"/>
<TableDataSource Name="Data" ReferenceName="Data" DataType="System.Int32" Enabled="true">
<Column Name="Index" DataType="System.Int16"/>
<Column Name="ISO_IsoNo" DataType="System.String"/>
<Column Name="ISO_DesignPress" DataType="System.String"/>
<Column Name="ISO_TestPress" DataType="System.String"/>
<Column Name="ISO_DesignTemperature" DataType="System.String"/>
</TableDataSource>
<Parameter Name="InstallationName" DataType="System.String"/>
<Parameter Name="workAreaName" DataType="System.String"/>
<Parameter Name="TestPackageNo" DataType="System.String"/>
<Parameter Name="UnitNames" DataType="System.String"/>
<Parameter Name="EPCPC" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1">
<ReportTitleBand Name="ReportTitle1" Width="718.2" Height="37.8">
<TextObject Name="Text1" Left="283.5" Top="9.45" Width="160.65" Height="18.9" Text="试压包管线清单" Font="宋体, 14pt, style=Bold"/>
</ReportTitleBand>
<PageHeaderBand Name="PageHeader1" Top="41.84" Width="718.2" Height="132.3">
<TableObject Name="Table1" Left="9.45" Top="9.45" Width="699.24" Height="103.95" Border.Lines="All">
<TableColumn Name="Column1" Width="349.62"/>
<TableColumn Name="Column2" Width="349.62"/>
<TableRow Name="Row1" Height="34.65">
<TableCell Name="Cell1" Border.Lines="All" Text="装置名称:[InstallationName]" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell2" Border.Lines="All" Text="第[Page]页 共[TotalPages#]页" VertAlign="Center" Font="宋体, 12pt"/>
</TableRow>
<TableRow Name="Row2" Height="34.65">
<TableCell Name="Cell6" Border.Lines="All" Text="区域/单元/主项:[workAreaName]" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell7" Border.Lines="All" Text="EPC/PC 承包商:[EPCPC]" VertAlign="Center" Font="宋体, 12pt"/>
</TableRow>
<TableRow Name="Row3" Height="34.65">
<TableCell Name="Cell11" Border.Lines="All" Text="[TestPackageNo]试压包编号:" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell12" Border.Lines="All" Text="施工承包商:[UnitNames]" VertAlign="Center" Font="宋体, 12pt"/>
</TableRow>
</TableObject>
<TableObject Name="Table3" Left="9.45" Top="113.4" Width="700.11" Height="18.9" Border.Lines="All">
<TableColumn Name="Column9" Width="77.31"/>
<TableColumn Name="Column10" Width="124.56"/>
<TableColumn Name="Column11" Width="124.56"/>
<TableColumn Name="Column12" Width="124.56"/>
<TableColumn Name="Column13" Width="124.56"/>
<TableColumn Name="Column14" Width="124.56"/>
<TableRow Name="Row6">
<TableCell Name="Cell40" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell41" Border.Lines="All" Text="管线号" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell42" Border.Lines="All" Text="所在PID图号" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell43" Border.Lines="All" Text="设计温度 (℃)" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell44" Border.Lines="All" Text="设计压力 MPa" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell45" Border.Lines="All" Text="试验压力 MPa" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
</TableObject>
</PageHeaderBand>
<DataBand Name="Data1" Top="178.18" Width="718.2" Height="30.24">
<TableObject Name="Table2" Left="9.45" Width="699.27" Height="30.24" Border.Lines="All" ManualBuildEvent="Table2_ManualBuild">
<TableColumn Name="Column3" Width="77.17"/>
<TableColumn Name="Column4" Width="124.42"/>
<TableColumn Name="Column5" Width="124.42"/>
<TableColumn Name="Column6" Width="124.42"/>
<TableColumn Name="Column7" Width="124.42"/>
<TableColumn Name="Column8" Width="124.42"/>
<TableRow Name="Row5" Height="30.24">
<TableCell Name="Cell18" Border.Lines="All" Text="[Data.Index]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell19" Border.Lines="All" Text="[Data.ISO_IsoNo]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell20" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell21" Border.Lines="All" Text="[Data.ISO_DesignTemperature]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell22" Border.Lines="All" Text="[Data.ISO_DesignPress]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell39" Border.Lines="All" Text="[Data.ISO_TestPress]" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
</TableObject>
<DataFooterBand Name="DataFooter1" Top="246.74" Width="718.2">
<ChildBand Name="Child1" Top="212.46" Width="718.2" Height="30.24" FillUnusedSpace="true">
<TableObject Name="Table4" Left="9.45" Width="700.11" Height="30.24" Border.Lines="All">
<TableColumn Name="Column15" Width="77.31"/>
<TableColumn Name="Column16" Width="124.56"/>
<TableColumn Name="Column17" Width="124.56"/>
<TableColumn Name="Column18" Width="124.56"/>
<TableColumn Name="Column19" Width="124.56"/>
<TableColumn Name="Column20" Width="124.56"/>
<TableRow Name="Row7" Height="30.24">
<TableCell Name="Cell46" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell47" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell48" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell49" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell50" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell51" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
</TableObject>
</ChildBand>
</DataFooterBand>
</DataBand>
<PageFooterBand Name="PageFooter1" Top="250.78" Width="718.2" Height="18.9"/>
</ReportPage>
</Report>