Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7c78c33c47 | |||
| b2f446f93d |
@@ -0,0 +1,74 @@
|
|||||||
|
|
||||||
|
CREATE TABLE [dbo].[JGZL_LeakageVacuum](
|
||||||
|
[LeakageVacuumId] [nvarchar](50) NOT NULL,
|
||||||
|
[ProjectId] [nvarchar](50) NOT NULL,
|
||||||
|
[SystemName] [nvarchar](50) NULL,
|
||||||
|
[SystemCode] [nvarchar](50) NULL,
|
||||||
|
[CheckItemResult1] [nvarchar](50) NULL,
|
||||||
|
[CheckItemResult2] [nvarchar](50) NULL,
|
||||||
|
[CheckItemResult3] [nvarchar](50) NULL,
|
||||||
|
[CheckItemResult4] [nvarchar](50) NULL,
|
||||||
|
[CheckItemResult5] [nvarchar](50) NULL,
|
||||||
|
[Conclusion] [nvarchar](500) NULL,
|
||||||
|
CONSTRAINT [PK_JGZL_LeakageVacuum] PRIMARY KEY CLUSTERED
|
||||||
|
(
|
||||||
|
[LeakageVacuumId] ASC
|
||||||
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
|
||||||
|
) ON [PRIMARY]
|
||||||
|
GO
|
||||||
|
|
||||||
|
ALTER TABLE [dbo].[JGZL_LeakageVacuum] WITH CHECK ADD CONSTRAINT [FK_JGZL_LeakageVacuum_Base_Project] FOREIGN KEY([ProjectId])
|
||||||
|
REFERENCES [dbo].[Base_Project] ([ProjectId])
|
||||||
|
GO
|
||||||
|
|
||||||
|
ALTER TABLE [dbo].[JGZL_LeakageVacuum] CHECK CONSTRAINT [FK_JGZL_LeakageVacuum_Base_Project]
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_LeakageVacuum', @level2type=N'COLUMN',@level2name=N'LeakageVacuumId'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_LeakageVacuum', @level2type=N'COLUMN',@level2name=N'ProjectId'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'系统名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_LeakageVacuum', @level2type=N'COLUMN',@level2name=N'SystemName'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'系统编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_LeakageVacuum', @level2type=N'COLUMN',@level2name=N'SystemCode'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'试验结论' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_LeakageVacuum', @level2type=N'COLUMN',@level2name=N'Conclusion'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管道系统泄漏性/真空试验条件确认与试验记录' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_LeakageVacuum'
|
||||||
|
GO
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE [dbo].[JGZL_LeakageVacuumTestRecord](
|
||||||
|
[LeakageVacuumTestRecordId] [nvarchar](50) NOT NULL,
|
||||||
|
[LeakageVacuumId] [nvarchar](50) NULL,
|
||||||
|
[PipelineId] [nvarchar](50) NULL,
|
||||||
|
[PipelineCode] [nvarchar](50) NULL,
|
||||||
|
[DesignPressure] [nvarchar](50) NULL,
|
||||||
|
[DesignTem] [nvarchar](50) NULL,
|
||||||
|
[TestAmbientTemp] [nvarchar](50) NULL,
|
||||||
|
[TestMediumTemp] [nvarchar](50) NULL,
|
||||||
|
[LeakPressure] [nvarchar](50) NULL,
|
||||||
|
[LeakMedium] [nvarchar](50) NULL,
|
||||||
|
[VacuumPressure] [nvarchar](50) NULL,
|
||||||
|
[VacuumMedium] [nvarchar](50) NULL,
|
||||||
|
CONSTRAINT [PK_JGZL_LeakageVacuumTestRecord] PRIMARY KEY CLUSTERED
|
||||||
|
(
|
||||||
|
[LeakageVacuumTestRecordId] ASC
|
||||||
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
|
||||||
|
) ON [PRIMARY]
|
||||||
|
GO
|
||||||
|
|
||||||
|
ALTER TABLE [dbo].[JGZL_LeakageVacuumTestRecord] WITH CHECK ADD CONSTRAINT [FK_JGZL_LeakageVacuumTestRecord_JGZL_LeakageVacuum] FOREIGN KEY([LeakageVacuumId])
|
||||||
|
REFERENCES [dbo].[JGZL_LeakageVacuum] ([LeakageVacuumId])
|
||||||
|
GO
|
||||||
|
|
||||||
|
ALTER TABLE [dbo].[JGZL_LeakageVacuumTestRecord] CHECK CONSTRAINT [FK_JGZL_LeakageVacuumTestRecord_JGZL_LeakageVacuum]
|
||||||
|
GO
|
||||||
|
|
||||||
|
update Sys_Menu set MenuName='管道系统泄漏性/真空试验条件确认与试验记录',Url='JGZL/LeakageVacuum.aspx' where MenuId='FF56CCBE-0B8C-4AF6-832E-EC6ED1584C94'
|
||||||
|
go
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
update Sys_Menu set MenuName='工业管道安装质量证明书(安装2025版)',SortIndex=50 where MenuId='F5833B38-65DF-4236-A676-EE75F9487061'
|
||||||
|
update Sys_Menu set MenuName='工业管道安装汇总表(安装2025版)',SortIndex=51 where MenuId='C527812C-0FF8-4EAC-B1FD-3B561DBE46ED'
|
||||||
|
update Sys_Menu set MenuName='工业管道安装质量证明书(安装2020版)',SortIndex=53 where MenuId='1B71BBF6-2686-458F-B6F9-639A5B71AE86'
|
||||||
|
update Sys_Menu set MenuName='工业管道安装汇总表(安装2020版)',SortIndex=54 where MenuId='151BA8BA-E6A8-4941-AEAB-1D32AD6BAC31'
|
||||||
|
update Sys_Menu set MenuName='压力管道改造维修质量证明书(改造、重大修理、维修)',SortIndex=55 where MenuId='087420E0-A459-4CD7-A1B6-A7A5E001ABF8'
|
||||||
|
go
|
||||||
@@ -266,6 +266,8 @@
|
|||||||
<Compile Include="JGZL\FileDirectoryService.cs" />
|
<Compile Include="JGZL\FileDirectoryService.cs" />
|
||||||
<Compile Include="JGZL\InsulationAcceptanceRecordItemService.cs" />
|
<Compile Include="JGZL\InsulationAcceptanceRecordItemService.cs" />
|
||||||
<Compile Include="JGZL\InsulationAcceptanceRecordService.cs" />
|
<Compile Include="JGZL\InsulationAcceptanceRecordService.cs" />
|
||||||
|
<Compile Include="JGZL\LeakageVacuumService.cs" />
|
||||||
|
<Compile Include="JGZL\LeakageVacuumTestRecordServic.cs" />
|
||||||
<Compile Include="JGZL\LeakTestOfPipelineSystemRecordItemService.cs" />
|
<Compile Include="JGZL\LeakTestOfPipelineSystemRecordItemService.cs" />
|
||||||
<Compile Include="JGZL\ModRepairQualityCertificateService.cs" />
|
<Compile Include="JGZL\ModRepairQualityCertificateService.cs" />
|
||||||
<Compile Include="JGZL\PressureTestOfPipelineSystemRecordItemService.cs" />
|
<Compile Include="JGZL\PressureTestOfPipelineSystemRecordItemService.cs" />
|
||||||
|
|||||||
@@ -1831,6 +1831,11 @@ namespace BLL
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public const string JGZL_BlowingCleaningMenuId = "E64FC226-8164-43F7-AA4D-6E268EDEC5BC";
|
public const string JGZL_BlowingCleaningMenuId = "E64FC226-8164-43F7-AA4D-6E268EDEC5BC";
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 管道系统泄漏性/真空试验条件确认与试验记录
|
||||||
|
/// </summary>
|
||||||
|
public const string JGZL_LeakageVacuumMenuId = "FF56CCBE-0B8C-4AF6-832E-EC6ED1584C94";
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 防腐工程质量验收记录
|
/// 防腐工程质量验收记录
|
||||||
@@ -2625,6 +2630,11 @@ namespace BLL
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public const string JGZL_ArchivalTransferUrl = "File\\Word\\JGZL\\档案资料移交表导出模板.docx";
|
public const string JGZL_ArchivalTransferUrl = "File\\Word\\JGZL\\档案资料移交表导出模板.docx";
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 管道系统泄漏性/真空试验条件确认与试验记录
|
||||||
|
/// </summary>
|
||||||
|
public const string JGZL_LeakageVacuumUrl = "File\\Word\\JGZL\\管道系统泄漏性试验记录导出模板.docx";
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -2636,5 +2646,7 @@ namespace BLL
|
|||||||
/// 焊缝返修台账导出模板
|
/// 焊缝返修台账导出模板
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const string HJGL_WeldRepairListsUrl = "File\\Excel\\焊缝返修台账导出模板.xlsx";
|
public const string HJGL_WeldRepairListsUrl = "File\\Excel\\焊缝返修台账导出模板.xlsx";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,85 @@
|
|||||||
|
using Model;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Diagnostics.Eventing.Reader;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace BLL
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 管道系统泄漏性/真空试验条件确认与试验记录
|
||||||
|
/// </summary>
|
||||||
|
public class LeakageVacuumService
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 根据项目Id获取管道系统泄漏性/真空试验条件确认与试验记录
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="projectId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static Model.JGZL_LeakageVacuum GetLeakageVacuumByProjectId(string projectId)
|
||||||
|
{
|
||||||
|
return Funs.DB.JGZL_LeakageVacuum.FirstOrDefault(e => e.ProjectId == projectId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 添加获取管道系统泄漏性/真空试验条件确认与试验记录
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="leakageVacuum"></param>
|
||||||
|
public static void AddLeakageVacuum(Model.JGZL_LeakageVacuum leakageVacuum)
|
||||||
|
{
|
||||||
|
Model.SGGLDB db = Funs.DB;
|
||||||
|
Model.JGZL_LeakageVacuum newLeakageVacuum = new Model.JGZL_LeakageVacuum();
|
||||||
|
newLeakageVacuum.LeakageVacuumId = leakageVacuum.LeakageVacuumId;
|
||||||
|
newLeakageVacuum.ProjectId = leakageVacuum.ProjectId;
|
||||||
|
newLeakageVacuum.SystemName = leakageVacuum.SystemName;
|
||||||
|
newLeakageVacuum.SystemCode = leakageVacuum.SystemCode;
|
||||||
|
newLeakageVacuum.CheckItemResult1 = leakageVacuum.CheckItemResult1;
|
||||||
|
newLeakageVacuum.CheckItemResult2 = leakageVacuum.CheckItemResult2;
|
||||||
|
newLeakageVacuum.CheckItemResult3 = leakageVacuum.CheckItemResult3;
|
||||||
|
newLeakageVacuum.CheckItemResult4 = leakageVacuum.CheckItemResult4;
|
||||||
|
newLeakageVacuum.CheckItemResult5 = leakageVacuum.CheckItemResult5;
|
||||||
|
newLeakageVacuum.Conclusion = leakageVacuum.Conclusion;
|
||||||
|
db.JGZL_LeakageVacuum.InsertOnSubmit(newLeakageVacuum);
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 修改管道系统泄漏性/真空试验条件确认与试验记录
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="leakageVacuum"></param>
|
||||||
|
public static void UpdateLeakageVacuum(Model.JGZL_LeakageVacuum leakageVacuum)
|
||||||
|
{
|
||||||
|
Model.SGGLDB db = Funs.DB;
|
||||||
|
Model.JGZL_LeakageVacuum newLeakageVacuum = db.JGZL_LeakageVacuum.FirstOrDefault(e => e.LeakageVacuumId == leakageVacuum.LeakageVacuumId);
|
||||||
|
if (newLeakageVacuum != null)
|
||||||
|
{
|
||||||
|
newLeakageVacuum.SystemName = leakageVacuum.SystemName;
|
||||||
|
newLeakageVacuum.SystemCode = leakageVacuum.SystemCode;
|
||||||
|
newLeakageVacuum.CheckItemResult1 = leakageVacuum.CheckItemResult1;
|
||||||
|
newLeakageVacuum.CheckItemResult2 = leakageVacuum.CheckItemResult2;
|
||||||
|
newLeakageVacuum.CheckItemResult3 = leakageVacuum.CheckItemResult3;
|
||||||
|
newLeakageVacuum.CheckItemResult4 = leakageVacuum.CheckItemResult4;
|
||||||
|
newLeakageVacuum.CheckItemResult5 = leakageVacuum.CheckItemResult5;
|
||||||
|
newLeakageVacuum.Conclusion = leakageVacuum.Conclusion;
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 根据主键删除管道系统泄漏性/真空试验条件确认与试验记录
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="leakageVacuumId"></param>
|
||||||
|
public static void DeleteLeakageVacuumById(string leakageVacuumId)
|
||||||
|
{
|
||||||
|
SGGLDB db = Funs.DB;
|
||||||
|
Model.JGZL_LeakageVacuum leakageVacuum = db.JGZL_LeakageVacuum.FirstOrDefault(e => e.LeakageVacuumId == leakageVacuumId);
|
||||||
|
if (leakageVacuum != null)
|
||||||
|
{
|
||||||
|
db.JGZL_LeakageVacuum.DeleteOnSubmit(leakageVacuum);
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,72 @@
|
|||||||
|
using Model;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace BLL
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 管道系统泄漏性/真空试验条件确认与试验记录
|
||||||
|
/// </summary>
|
||||||
|
public class LeakageVacuumTestRecordServic
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 根据主键获取明细信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="leakageVacuumId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static List<Model.JGZL_LeakageVacuumTestRecord> GetLeakageVacuumTestRecordByLeakageVacuumId(string leakageVacuumId)
|
||||||
|
{
|
||||||
|
return (from x in Funs.DB.JGZL_LeakageVacuumTestRecord where x.LeakageVacuumId == leakageVacuumId select x).ToList();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 添加试验记录
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="record"></param>
|
||||||
|
public static void AddLeakageVacuumTestRecord(Model.JGZL_LeakageVacuumTestRecord record)
|
||||||
|
{
|
||||||
|
SGGLDB db = Funs.DB;
|
||||||
|
Model.JGZL_LeakageVacuumTestRecord newRecord = new JGZL_LeakageVacuumTestRecord();
|
||||||
|
newRecord.LeakageVacuumTestRecordId = record.LeakageVacuumTestRecordId;
|
||||||
|
newRecord.LeakageVacuumId = record.LeakageVacuumId;
|
||||||
|
newRecord.PipelineId = record.PipelineId;
|
||||||
|
newRecord.PipelineCode = record.PipelineCode;
|
||||||
|
newRecord.DesignPressure = record.DesignPressure;
|
||||||
|
newRecord.DesignTem = record.DesignTem;
|
||||||
|
newRecord.TestAmbientTemp = record.TestAmbientTemp;
|
||||||
|
newRecord.TestMediumTemp = record.TestMediumTemp;
|
||||||
|
newRecord.LeakPressure = record.LeakPressure;
|
||||||
|
newRecord.LeakMedium = record.LeakMedium;
|
||||||
|
newRecord.VacuumPressure = record.VacuumPressure;
|
||||||
|
newRecord.VacuumMedium = record.VacuumMedium;
|
||||||
|
db.JGZL_LeakageVacuumTestRecord.InsertOnSubmit(newRecord);
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 根据主键Id删除试验记录
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="leakageVacuumId"></param>
|
||||||
|
public static void DeleteLeakageVacuumTestRecordByLeakageVacuumId(string leakageVacuumId)
|
||||||
|
{
|
||||||
|
SGGLDB db = Funs.DB;
|
||||||
|
var q = (from x in db.JGZL_LeakageVacuumTestRecord where x.LeakageVacuumId == leakageVacuumId select x).ToList();
|
||||||
|
if (q.Count > 0)
|
||||||
|
{
|
||||||
|
db.JGZL_LeakageVacuumTestRecord.DeleteAllOnSubmit(q);
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Model.JGZL_LeakageVacuumTestRecord GetItemByIsoNo(string projectId, string isoNo)
|
||||||
|
{
|
||||||
|
return (from x in Funs.DB.JGZL_LeakageVacuumTestRecord
|
||||||
|
join y in Funs.DB.JGZL_LeakageVacuum on x.LeakageVacuumId equals y.LeakageVacuumId
|
||||||
|
where y.ProjectId == projectId && x.PipelineCode == isoNo
|
||||||
|
select x).FirstOrDefault();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,285 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 10:23:50" ReportInfo.Modified="09/15/2026 16:22:39" 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)
|
||||||
|
{
|
||||||
|
DataSourceBase rowData = Report.GetDataSource("Data");
|
||||||
|
// init the data source
|
||||||
|
rowData.Init();
|
||||||
|
|
||||||
|
// print the first table row - it is a header
|
||||||
|
|
||||||
|
// now enumerate the data source and print the table body
|
||||||
|
while (rowData.HasMoreRows)
|
||||||
|
{
|
||||||
|
// print the table body
|
||||||
|
Table3.PrintRow(0);
|
||||||
|
Table3.PrintColumns();
|
||||||
|
|
||||||
|
// go next data source row
|
||||||
|
rowData.Next();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</ScriptText>
|
||||||
|
<Dictionary>
|
||||||
|
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF9KaaYnf752kTTcgAAMfUGw==">
|
||||||
|
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
|
||||||
|
<Column Name="PipelineNo" DataType="System.String" PropName="attach_image_id"/>
|
||||||
|
<Column Name="DesignPressure" DataType="System.String" PropName="image_series"/>
|
||||||
|
<Column Name="DesignTem" DataType="System.String" PropName="file_name"/>
|
||||||
|
<Column Name="TestAmbientTemp" DataType="System.String" PropName="file_size"/>
|
||||||
|
<Column Name="TestMediumTemp" Enabled="false" DataType="System.String" PropName="created_date"/>
|
||||||
|
<Column Name="LeakPressure" DataType="System.String" PropName="created_by"/>
|
||||||
|
<Column Name="LeakMedium" DataType="System.String" PropName="series_desc"/>
|
||||||
|
<Column Name="VacuumPressure" DataType="System.String" PropName="Column"/>
|
||||||
|
<Column Name="VacuumMedium" DataType="System.String" PropName="Column"/>
|
||||||
|
<Column Name="TestMediumTemp" DataType="System.String" PropName="Column"/>
|
||||||
|
</TableDataSource>
|
||||||
|
</MsSqlDataConnection>
|
||||||
|
<MsSqlDataConnection Name="Connection1" ConnectionString="rijcmlqM3/HbiZANEYP3Y6oNtE7mqsCE0NW5tkXiWL0RJsdm/BnXhHrIFd8DaTyqYvkCZwzaaQipsiBeb+lBhzIDpDvfvxDsovr3/ckbYEBSCcpPFiH7Npcn4kPkDoxtl7XrCt1j63ma3mCLcLPN9o74aBqqd1WZsaEs7MLRtSWt4L/IDLoaEYKi0euV49rY12ECZLm">
|
||||||
|
<TableDataSource Name="MainData" DataType="System.Int32" PropName="JGZL_LeakageVacuum" Enabled="true" TableName="MainData">
|
||||||
|
<Column Name="ProjectName" DataType="System.String" PropName="LeakageVacuumId"/>
|
||||||
|
<Column Name="SystemName" DataType="System.String" PropName="ProjectId"/>
|
||||||
|
<Column Name="SystemCode" DataType="System.String" PropName="SystemName"/>
|
||||||
|
<Column Name="SystemCode" Enabled="false" DataType="System.String"/>
|
||||||
|
<Column Name="CheckItemResult1" DataType="System.String"/>
|
||||||
|
<Column Name="CheckItemResult2" DataType="System.String"/>
|
||||||
|
<Column Name="CheckItemResult3" DataType="System.String"/>
|
||||||
|
<Column Name="CheckItemResult4" DataType="System.String"/>
|
||||||
|
<Column Name="CheckItemResult5" DataType="System.String"/>
|
||||||
|
<Column Name="Conclusion" DataType="System.String"/>
|
||||||
|
</TableDataSource>
|
||||||
|
</MsSqlDataConnection>
|
||||||
|
<Parameter Name="ProjectName" DataType="System.String"/>
|
||||||
|
<Parameter Name="SystemName" DataType="System.String"/>
|
||||||
|
<Parameter Name="SystemCode" DataType="System.String"/>
|
||||||
|
<Parameter Name="TestConclusion" DataType="System.String"/>
|
||||||
|
<Parameter Name="Remark" DataType="System.String"/>
|
||||||
|
</Dictionary>
|
||||||
|
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" Guides="0,624.25,141.89,37.87,406.72,397.04,491.54,122.92,104.06,104.02,141.91,520.19,283.8,623.8,425.3,623.7,71.55,62.1,52.65,43.2,66.15,137.7,209.25,280.8,342.9,395.55,504.9,438.75,557.55,207.9,415.8">
|
||||||
|
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="160.65" Guides="0,160.65,94.5,66.15,9.45,28.35">
|
||||||
|
<TableObject Name="Table1" Width="624.25" Height="160.65">
|
||||||
|
<TableColumn Name="Column1" Width="104.02"/>
|
||||||
|
<TableColumn Name="Column2" Width="37.87"/>
|
||||||
|
<TableColumn Name="Column3" Width="141.91"/>
|
||||||
|
<TableColumn Name="Column4" Width="122.92"/>
|
||||||
|
<TableColumn Name="Column5" Width="113.47"/>
|
||||||
|
<TableColumn Name="Column6" Width="104.06"/>
|
||||||
|
<TableRow Name="Row1" Height="66.15">
|
||||||
|
<TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3503—J407" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" ColSpan="2" RowSpan="2"/>
|
||||||
|
<TableCell Name="Cell2" Border.Lines="All"/>
|
||||||
|
<TableCell Name="Cell3" Border.Lines="All" Text="管道系统泄漏性/真空 试验条件确认与试验记录" HorzAlign="Center" VertAlign="Center" Font="华文中宋, 16pt, style=Bold" ColSpan="2" RowSpan="2">
|
||||||
|
<TextObject Name="Text1" Left="255.15" Top="9.45" Width="94.5" Height="18.9" Text="工程名称:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
</TableCell>
|
||||||
|
<TableCell Name="Cell4" Border.Lines="All"/>
|
||||||
|
<TableCell Name="Cell5" Border.Lines="Left, Right, Top" Text=" [MainData.ProjectName]" Padding="2, 9, 2, 1" Font="楷体, 10.5pt" ColSpan="2"/>
|
||||||
|
<TableCell Name="Cell26" Border.Lines="All"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row2" Height="28.35">
|
||||||
|
<TableCell Name="Cell6" Border.Lines="All"/>
|
||||||
|
<TableCell Name="Cell7" Border.Lines="All"/>
|
||||||
|
<TableCell Name="Cell8" Border.Lines="All"/>
|
||||||
|
<TableCell Name="Cell9" Border.Lines="All"/>
|
||||||
|
<TableCell Name="Cell10" Border.Lines="Left, Bottom" Text="单位工程名称:" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell27" Border.Lines="Right, Bottom" Text="管道安装工程" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row3" Height="66.15">
|
||||||
|
<TableCell Name="Cell11" Border.Lines="All" Text="系统名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell12" Border.Lines="All" Text="[MainData.SystemName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
|
||||||
|
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell14" Border.Lines="All" Text="系统编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell15" Border.Lines="All" Text="[MainData.SystemCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
|
||||||
|
<TableCell Name="Cell28" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
<ChildBand Name="Child1" Top="164.65" Width="623.7" Height="160.56" Guides="0,160.56,26.76,53.52,80.28,107.04,133.8">
|
||||||
|
<TableObject Name="Table6" Width="623.8" Height="160.56" Border.Lines="All">
|
||||||
|
<TableColumn Name="Column40" Width="425.3"/>
|
||||||
|
<TableColumn Name="Column41" Width="198.5"/>
|
||||||
|
<TableRow Name="Row17" Height="26.76">
|
||||||
|
<TableCell Name="Cell130" Border.Lines="All" Text="检查项目与要求" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell131" Border.Lines="All" Text="检查结果" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row18" Height="26.76">
|
||||||
|
<TableCell Name="Cell135" Border.Lines="All" Text="管道压力试验合格" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell136" Border.Lines="All" Text="[MainData.CheckItemResult1]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row19" Height="26.76">
|
||||||
|
<TableCell Name="Cell140" Border.Lines="All" Text="压力试验采用的临时法兰、螺栓、垫片等均已更换" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell141" Border.Lines="All" Text="[MainData.CheckItemResult2]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row20" Height="26.76">
|
||||||
|
<TableCell Name="Cell145" Border.Lines="All" Text="未参与压力试验的安全附件及仪表等已安装复位" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell146" Border.Lines="All" Text="[MainData.CheckItemResult3]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row21" Height="26.76">
|
||||||
|
<TableCell Name="Cell150" Border.Lines="All" Text="试验管道系统的阀门已全部开启" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell151" Border.Lines="All" Text="[MainData.CheckItemResult4]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row22" Height="26.76">
|
||||||
|
<TableCell Name="Cell152" Border.Lines="All" Text="试压用压力表、精度等级、检定状态符合规范要求" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell153" Border.Lines="All" Text="[MainData.CheckItemResult5]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
<ChildBand Name="Child3" Top="329.21" Width="623.7" Height="103.96" Guides="0,103.96,33.08,66.16,37.8">
|
||||||
|
<TableObject Name="Table2" Width="623.7" Height="103.96" Border.Lines="Left, Bottom">
|
||||||
|
<TableColumn Name="Column7" Width="137.7"/>
|
||||||
|
<TableColumn Name="Column8" Width="71.55"/>
|
||||||
|
<TableColumn Name="Column9" Width="71.55"/>
|
||||||
|
<TableColumn Name="Column10" Width="62.1"/>
|
||||||
|
<TableColumn Name="Column12" Width="52.65"/>
|
||||||
|
<TableColumn Name="Column13" Width="43.2"/>
|
||||||
|
<TableColumn Name="Column34"/>
|
||||||
|
<TableColumn Name="Column14" Width="52.65"/>
|
||||||
|
<TableColumn Name="Column35"/>
|
||||||
|
<TableRow Name="Row4" Height="33.08">
|
||||||
|
<TableCell Name="Cell29" Border.Lines="All" Text="试 验 记 录 " HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="9"/>
|
||||||
|
<TableCell Name="Cell30" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell31" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell32" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell54" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell55" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell120"/>
|
||||||
|
<TableCell Name="Cell56" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell123"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row5" Height="33.08">
|
||||||
|
<TableCell Name="Cell34" Border.Lines="All" Text="管道编号 /单线号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||||
|
<TableCell Name="Cell35" Border.Lines="All" Text="设计压力 MPa" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||||
|
<TableCell Name="Cell36" Border.Lines="All" Text="设计温度 ℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||||
|
<TableCell Name="Cell37" Border.Lines="All" Text="试验环境温度 ℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||||
|
<TableCell Name="Cell57" Border.Lines="All" Text="试验介质温度 ℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||||
|
<TableCell Name="Cell58" Border.Lines="All" Text="泄漏性试验" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||||
|
<TableCell Name="Cell121"/>
|
||||||
|
<TableCell Name="Cell59" Border.Lines="All" Text="真空试验" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||||
|
<TableCell Name="Cell124"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row16" Height="37.8">
|
||||||
|
<TableCell Name="Cell113"/>
|
||||||
|
<TableCell Name="Cell114"/>
|
||||||
|
<TableCell Name="Cell115"/>
|
||||||
|
<TableCell Name="Cell116"/>
|
||||||
|
<TableCell Name="Cell117"/>
|
||||||
|
<TableCell Name="Cell118" Border.Lines="All" Text="压力 MPa" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell122" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell119" Border.Lines="All" Text="压力 MPa" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell125" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
</ChildBand>
|
||||||
|
</ChildBand>
|
||||||
|
</PageHeaderBand>
|
||||||
|
<DataBand Name="Data1" Top="437.17" Width="623.7" Height="33.08" Guides="0,33.08">
|
||||||
|
<TableObject Name="Table3" Width="623.7" Height="33.08" Border.Lines="Left, Bottom" ManualBuildEvent="Table3_ManualBuild">
|
||||||
|
<TableColumn Name="Column15" Width="137.7"/>
|
||||||
|
<TableColumn Name="Column16" Width="71.55"/>
|
||||||
|
<TableColumn Name="Column17" Width="71.55"/>
|
||||||
|
<TableColumn Name="Column18" Width="62.1"/>
|
||||||
|
<TableColumn Name="Column20" Width="52.65"/>
|
||||||
|
<TableColumn Name="Column21" Width="43.2"/>
|
||||||
|
<TableColumn Name="Column36"/>
|
||||||
|
<TableColumn Name="Column22" Width="52.65"/>
|
||||||
|
<TableColumn Name="Column37"/>
|
||||||
|
<TableRow Name="Row7" Height="33.08">
|
||||||
|
<TableCell Name="Cell68" Border.Lines="All" Text="[Data.PipelineNo]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell69" Border.Lines="All" Text="[Data.DesignPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell70" Border.Lines="All" Text="[Data.DesignTem]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell71" Border.Lines="All" Text="[Data.TestAmbientTemp]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell73" Border.Lines="All" Text="[Data.TestMediumTemp]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell74" Border.Lines="All" Text="[Data.LeakPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell126" Border.Lines="All" Text="[Data.LeakMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell75" Border.Lines="All" Text="[Data.VacuumPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell127" Border.Lines="All" Text="[Data.VacuumMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
</DataBand>
|
||||||
|
<ColumnFooterBand Name="ColumnFooter1" Top="511.33" Width="623.7">
|
||||||
|
<ChildBand Name="Child2" Top="474.25" Width="623.7" Height="33.08" Guides="0,33.08" FillUnusedSpace="true">
|
||||||
|
<TableObject Name="Table4" Width="623.7" Height="33.08" Border.Lines="Left, Bottom">
|
||||||
|
<TableColumn Name="Column23" Width="137.7"/>
|
||||||
|
<TableColumn Name="Column24" Width="71.55"/>
|
||||||
|
<TableColumn Name="Column25" Width="71.55"/>
|
||||||
|
<TableColumn Name="Column26" Width="62.1"/>
|
||||||
|
<TableColumn Name="Column28" Width="52.65"/>
|
||||||
|
<TableColumn Name="Column29" Width="43.2"/>
|
||||||
|
<TableColumn Name="Column38"/>
|
||||||
|
<TableColumn Name="Column30" Width="52.65"/>
|
||||||
|
<TableColumn Name="Column39"/>
|
||||||
|
<TableRow Name="Row8" Height="33.08">
|
||||||
|
<TableCell Name="Cell76" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell78" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell81" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell82" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell128" Border.Lines="All"/>
|
||||||
|
<TableCell Name="Cell83" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell129" Border.Lines="All"/>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
</ChildBand>
|
||||||
|
</ColumnFooterBand>
|
||||||
|
<PageFooterBand Name="PageFooter1" Top="515.33" Width="623.7" Height="211.26" Guides="0,211.26,30.18,60.36,90.54,120.72,150.9,181.08">
|
||||||
|
<TableObject Name="Table5" Width="623.7" Height="211.26" Border.Lines="All">
|
||||||
|
<TableColumn Name="Column31" Width="207.9"/>
|
||||||
|
<TableColumn Name="Column32" Width="207.9"/>
|
||||||
|
<TableColumn Name="Column33" Width="207.9"/>
|
||||||
|
<TableRow Name="Row9" Height="30.18">
|
||||||
|
<TableCell Name="Cell84" Text="试验结论:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||||
|
<TableCell Name="Cell85" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell86" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row10" Height="30.18">
|
||||||
|
<TableCell Name="Cell89" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||||
|
<TableCell Name="Cell90" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell91" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row11" Height="30.18">
|
||||||
|
<TableCell Name="Cell94" Border.Lines="All" Text="建设/监理单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell95" Border.Lines="All" Text="总 承 包 单 位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell96" Border.Lines="All" Text="施 工 单 位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row12" Height="30.18">
|
||||||
|
<TableCell Name="Cell99" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell100" Border.Lines="Left, Right" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell101" Text="施工班组长:" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row13" Height="30.18">
|
||||||
|
<TableCell Name="Cell104" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell105" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell106" Text="质量检查员:" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row14" Height="30.18">
|
||||||
|
<TableCell Name="Cell107" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell108" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell109" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
<TableRow Name="Row15" Height="30.18">
|
||||||
|
<TableCell Name="Cell110" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell111" Border.Lines="Left, Right" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
<TableCell Name="Cell112" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
</PageFooterBand>
|
||||||
|
</ReportPage>
|
||||||
|
</Report>
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 10:23:50" ReportInfo.Modified="03/19/2026 15:08:11" ReportInfo.CreatorVersion="2017.1.16.0">
|
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 10:23:50" ReportInfo.Modified="09/14/2026 14:54:57" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||||
<ScriptText>using System;
|
<ScriptText>using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -42,7 +42,7 @@ namespace FastReport
|
|||||||
}
|
}
|
||||||
</ScriptText>
|
</ScriptText>
|
||||||
<Dictionary>
|
<Dictionary>
|
||||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFg1qRjSswFxgpEVsc1cd7Ug==">
|
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFLqIlIgZXSpuHRnSqyOh9GQ==">
|
||||||
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
|
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
|
||||||
<Column Name="PipelineNo" DataType="System.String" PropName="attach_image_id"/>
|
<Column Name="PipelineNo" DataType="System.String" PropName="attach_image_id"/>
|
||||||
<Column Name="DesignPressure" DataType="System.String" PropName="image_series"/>
|
<Column Name="DesignPressure" DataType="System.String" PropName="image_series"/>
|
||||||
|
|||||||
Binary file not shown.
@@ -1408,6 +1408,7 @@
|
|||||||
<Content Include="JGZL\IndustrialPipelineQualityCertificate2020.aspx" />
|
<Content Include="JGZL\IndustrialPipelineQualityCertificate2020.aspx" />
|
||||||
<Content Include="JGZL\InsulationAcceptanceRecord.aspx" />
|
<Content Include="JGZL\InsulationAcceptanceRecord.aspx" />
|
||||||
<Content Include="JGZL\InsulationAcceptanceRecordEdit.aspx" />
|
<Content Include="JGZL\InsulationAcceptanceRecordEdit.aspx" />
|
||||||
|
<Content Include="JGZL\LeakageVacuum.aspx" />
|
||||||
<Content Include="JGZL\ModRepairQualityCertificate.aspx" />
|
<Content Include="JGZL\ModRepairQualityCertificate.aspx" />
|
||||||
<Content Include="JGZL\PressureTestOfPipelineSystemConfirmationRecord.aspx" />
|
<Content Include="JGZL\PressureTestOfPipelineSystemConfirmationRecord.aspx" />
|
||||||
<Content Include="JGZL\LeakTestOfPipelineSystemRecord.aspx" />
|
<Content Include="JGZL\LeakTestOfPipelineSystemRecord.aspx" />
|
||||||
@@ -7090,6 +7091,13 @@
|
|||||||
<Compile Include="JGZL\InsulationAcceptanceRecordEdit.aspx.designer.cs">
|
<Compile Include="JGZL\InsulationAcceptanceRecordEdit.aspx.designer.cs">
|
||||||
<DependentUpon>InsulationAcceptanceRecordEdit.aspx</DependentUpon>
|
<DependentUpon>InsulationAcceptanceRecordEdit.aspx</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="JGZL\LeakageVacuum.aspx.cs">
|
||||||
|
<DependentUpon>LeakageVacuum.aspx</DependentUpon>
|
||||||
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="JGZL\LeakageVacuum.aspx.designer.cs">
|
||||||
|
<DependentUpon>LeakageVacuum.aspx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="JGZL\ModRepairQualityCertificate.aspx.cs">
|
<Compile Include="JGZL\ModRepairQualityCertificate.aspx.cs">
|
||||||
<DependentUpon>ModRepairQualityCertificate.aspx</DependentUpon>
|
<DependentUpon>ModRepairQualityCertificate.aspx</DependentUpon>
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<UseIISExpress>true</UseIISExpress>
|
<UseIISExpress>true</UseIISExpress>
|
||||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||||
<Use64BitIISExpress />
|
<Use64BitIISExpress />
|
||||||
<IISExpressSSLPort />
|
<IISExpressSSLPort />
|
||||||
<IISExpressAnonymousAuthentication />
|
<IISExpressAnonymousAuthentication />
|
||||||
|
|||||||
@@ -159,10 +159,16 @@ namespace FineUIPro.Web.JGZL
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.CertificateId = string.Empty;
|
this.CertificateId = string.Empty;
|
||||||
this.txtInstallationInspection.Text = "浙江省特种设备研究院";
|
this.txtCertificateCode.Text = "0XXX-91330921MA2A2R3F6G-" + DateTime.Now.Year;
|
||||||
|
var insta = (from x in Funs.DB.Project_Installation where x.ProjectId == this.CurrUser.LoginProjectId select x).FirstOrDefault();
|
||||||
|
if (insta != null)
|
||||||
|
{
|
||||||
|
this.txtDeliveryUnit.Text = insta.InstallationName;
|
||||||
|
this.txtDeliveryUnitCode.Text = insta.InstallationCode;
|
||||||
|
}
|
||||||
|
this.txtInstallationInspection.Text = "浙江省特种设备科学研究院";
|
||||||
this.txtConstructionUnit.Text = "浙江石油化工有限公司";
|
this.txtConstructionUnit.Text = "浙江石油化工有限公司";
|
||||||
this.txtSpecialEquipmentProductionLicenseCode.Text = "TS3833339-2028";
|
this.txtSpecialEquipmentProductionLicenseCode.Text = "TS3833339-2028";
|
||||||
//this.txtRemark.Text = "GB50517-2023";
|
|
||||||
this.txtPipelineLength.Text = BLL.HJGL_PW_IsoInfoService.GetPipeLineLengthList(this.tvControlItem.SelectedNodeID).Value.ToString(".##");
|
this.txtPipelineLength.Text = BLL.HJGL_PW_IsoInfoService.GetPipeLineLengthList(this.tvControlItem.SelectedNodeID).Value.ToString(".##");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -141,6 +141,13 @@ namespace FineUIPro.Web.JGZL
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.CertificateId = string.Empty;
|
this.CertificateId = string.Empty;
|
||||||
|
this.txtCertificateCode.Text = "0XXX-31330921MA2A2R3F6G-" + DateTime.Now.Year;
|
||||||
|
var insta = (from x in Funs.DB.Project_Installation where x.ProjectId == this.CurrUser.LoginProjectId select x).FirstOrDefault();
|
||||||
|
if (insta != null)
|
||||||
|
{
|
||||||
|
this.txtDeliveryUnit.Text = insta.InstallationName;
|
||||||
|
this.txtDeliveryUnitCode.Text = insta.InstallationCode;
|
||||||
|
}
|
||||||
this.txtInstallationInspection.Text = "浙江省特种设备科学研究院";
|
this.txtInstallationInspection.Text = "浙江省特种设备科学研究院";
|
||||||
this.txtConstructionUnit.Text = "浙江石油化工有限公司";
|
this.txtConstructionUnit.Text = "浙江石油化工有限公司";
|
||||||
this.txtSpecialEquipmentProductionLicenseCode.Text = "TS3833339-2028";
|
this.txtSpecialEquipmentProductionLicenseCode.Text = "TS3833339-2028";
|
||||||
|
|||||||
@@ -0,0 +1,225 @@
|
|||||||
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LeakageVacuum.aspx.cs" Inherits="FineUIPro.Web.JGZL.LeakageVacuum" %>
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head runat="server">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<title>管道系统泄漏性/真空试验条件确认与试验记录</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<form id="form1" runat="server">
|
||||||
|
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||||
|
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
|
||||||
|
<Items>
|
||||||
|
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
|
||||||
|
EnableCollapse="true" Width="220px" Title="管道系统泄漏性/真空试验条件确认与试验记录" ShowBorder="true" Layout="VBox"
|
||||||
|
ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
|
||||||
|
<Toolbars>
|
||||||
|
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
|
||||||
|
<Items>
|
||||||
|
<f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelAlign="Right" AutoPostBack="true" EnableEdit="true"
|
||||||
|
OnSelectedIndexChanged="drpProjectId_SelectedIndexChanged" LabelWidth="50px">
|
||||||
|
</f:DropDownList>
|
||||||
|
</Items>
|
||||||
|
</f:Toolbar>
|
||||||
|
</Toolbars>
|
||||||
|
<Items>
|
||||||
|
<f:Tree ID="tvControlItem" ShowHeader="false" Title="管道系统泄漏性/真空试验条件确认与试验记录" OnNodeCommand="tvControlItem_NodeCommand"
|
||||||
|
runat="server" ShowBorder="false" EnableCollapse="true" EnableSingleClickExpand="true"
|
||||||
|
AutoLeafIdentification="true" EnableSingleExpand="true" EnableTextSelection="true">
|
||||||
|
</f:Tree>
|
||||||
|
</Items>
|
||||||
|
</f:Panel>
|
||||||
|
<f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
|
||||||
|
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="管道系统泄漏性/真空试验条件确认与试验记录"
|
||||||
|
TitleToolTip="管道系统泄漏性/真空试验条件确认与试验记录" AutoScroll="true">
|
||||||
|
<Toolbars>
|
||||||
|
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
|
||||||
|
<Items>
|
||||||
|
<%--<f:DropDownList ID="drpIsoNoS" runat="server" Label="管道编号" LabelAlign="Right" AutoPostBack="true" OnSelectedIndexChanged="drpIsoNoS_SelectedIndexChanged" EnableMultiSelect="true" EnableCheckBoxSelect="true" AutoSelectFirstItem="false" Width="500px"></f:DropDownList>--%>
|
||||||
|
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||||
|
</f:ToolbarFill>
|
||||||
|
<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>
|
||||||
|
<f:Button ID="btnSave" Text="保存" ToolTip="保存" Icon="SystemSave" runat="server" OnClick="btnSave_Click"></f:Button>
|
||||||
|
<f:Button ID="btnPrint" Text="打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
|
||||||
|
EnableAjax="false" DisableControlBeforePostBack="false" Hidden="true">
|
||||||
|
</f:Button>
|
||||||
|
</Items>
|
||||||
|
</f:Toolbar>
|
||||||
|
</Toolbars>
|
||||||
|
<Items>
|
||||||
|
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true"
|
||||||
|
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||||
|
<Rows>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:TextBox ID="txtSystemName" Label="系统名称" runat="server" LabelWidth="80px">
|
||||||
|
</f:TextBox>
|
||||||
|
<f:TextBox ID="txtSystemCode" Label="系统编号" runat="server" LabelWidth="80px">
|
||||||
|
</f:TextBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<%-- <f:SimpleForm ID="SimpleForm2" runat="server"
|
||||||
|
ShowHeader="false" ShowBorder="false" EnableTableStyle="true" MessageTarget="Qtip">
|
||||||
|
<Items>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>--%>
|
||||||
|
<f:DropDownList ID="drpCheckResult1" runat="server" Label="管道压力试验合格" LabelAlign="Right" LabelWidth="350px">
|
||||||
|
<f:ListItem Value="合格" Text="合格" Selected="true" />
|
||||||
|
<f:ListItem Value="不合格" Text="不合格" />
|
||||||
|
<f:ListItem Value="/" Text="/" />
|
||||||
|
</f:DropDownList>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:DropDownList ID="drpCheckResult2" runat="server" Label="压力试验采用的临时法兰、螺栓、垫片等均已更换" LabelAlign="Right" LabelWidth="350px">
|
||||||
|
<f:ListItem Value="合格" Text="合格" Selected="true" />
|
||||||
|
<f:ListItem Value="不合格" Text="不合格" />
|
||||||
|
<f:ListItem Value="/" Text="/" />
|
||||||
|
</f:DropDownList>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:DropDownList ID="drpCheckResult3" runat="server" Label="未参与压力试验的安全附件及仪表等已安装复位" LabelAlign="Right" LabelWidth="350px">
|
||||||
|
<f:ListItem Value="合格" Text="合格" Selected="true" />
|
||||||
|
<f:ListItem Value="不合格" Text="不合格" />
|
||||||
|
<f:ListItem Value="/" Text="/" />
|
||||||
|
</f:DropDownList>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:DropDownList ID="drpCheckResult4" runat="server" Label="试验管道系统的阀门已全部开启" LabelAlign="Right" LabelWidth="350px">
|
||||||
|
<f:ListItem Value="合格" Text="合格" Selected="true" />
|
||||||
|
<f:ListItem Value="不合格" Text="不合格" />
|
||||||
|
<f:ListItem Value="/" Text="/" />
|
||||||
|
</f:DropDownList>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:DropDownList ID="drpCheckResult5" runat="server" Label="试压用压力表、精度等级、检定状态符合规范要求" LabelAlign="Right" LabelWidth="350px">
|
||||||
|
<f:ListItem Value="合格" Text="合格" Selected="true" />
|
||||||
|
<f:ListItem Value="不合格" Text="不合格" />
|
||||||
|
<f:ListItem Value="/" Text="/" />
|
||||||
|
</f:DropDownList>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<%-- </Items>
|
||||||
|
</f:SimpleForm>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>--%>
|
||||||
|
</Rows>
|
||||||
|
</f:Form>
|
||||||
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="试验记录" EnableCollapse="true"
|
||||||
|
runat="server" BoxFlex="1" DataKeyNames="LeakageVacuumTestRecordId" AllowCellEditing="true"
|
||||||
|
EnableColumnLines="true" ClicksToEdit="1" DataIDField="LeakageVacuumTestRecordId" AllowSorting="true"
|
||||||
|
SortField="PipelineCode" SortDirection="ASC" OnSort="Grid1_Sort" AllowPaging="true"
|
||||||
|
IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
|
||||||
|
EnableTextSelection="True" AutoScroll="true" OnPreDataBound="Grid1_PreDataBound">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField HeaderText="管道编号/单线号" ColumnID="PipelineCode" DataField="PipelineCode" SortField="PipelineCode"
|
||||||
|
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="200px">
|
||||||
|
<Editor>
|
||||||
|
<f:TextBox ID="txtPipelineCode" runat="server"></f:TextBox>
|
||||||
|
</Editor>
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField HeaderText="设计压力MPa" ColumnID="DesignPressure" DataField="DesignPressure" SortField="DesignPressure"
|
||||||
|
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
|
||||||
|
<Editor>
|
||||||
|
<f:TextBox ID="txtDesignPressure" runat="server"></f:TextBox>
|
||||||
|
</Editor>
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField HeaderText="设计温度℃" ColumnID="DesignTem" DataField="DesignTem" SortField="DesignTem"
|
||||||
|
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
|
||||||
|
<Editor>
|
||||||
|
<f:TextBox ID="txtDesignTem" runat="server"></f:TextBox>
|
||||||
|
</Editor>
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField HeaderText="试验环境温度℃" ColumnID="TestAmbientTemp" DataField="TestAmbientTemp" SortField="TestAmbientTemp"
|
||||||
|
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
||||||
|
<Editor>
|
||||||
|
<f:TextBox ID="txtTestAmbientTemp" runat="server"></f:TextBox>
|
||||||
|
</Editor>
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField HeaderText="试验介质温度℃
|
||||||
|
"
|
||||||
|
ColumnID="TestMediumTemp" DataField="TestMediumTemp" SortField="TestMediumTemp"
|
||||||
|
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
||||||
|
<Editor>
|
||||||
|
<f:TextBox ID="txtTestMediumTemp" runat="server"></f:TextBox>
|
||||||
|
</Editor>
|
||||||
|
</f:RenderField>
|
||||||
|
<f:GroupField HeaderText="泄漏性试验" runat="server" TextAlign="Center" HeaderTextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField HeaderText="压力MPa" ColumnID="LeakPressure" DataField="LeakPressure" SortField="LeakPressure"
|
||||||
|
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
|
||||||
|
<Editor>
|
||||||
|
<f:TextBox ID="txtLeakPressure" runat="server"></f:TextBox>
|
||||||
|
</Editor>
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField HeaderText="介质" ColumnID="LeakMedium" DataField="LeakMedium" SortField="LeakMedium"
|
||||||
|
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
||||||
|
<Editor>
|
||||||
|
<f:TextBox ID="txtLeakMedium" runat="server"></f:TextBox>
|
||||||
|
</Editor>
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField HeaderText="真空试验" runat="server" TextAlign="Center" HeaderTextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField HeaderText="压力MPa" ColumnID="VacuumPressure" DataField="VacuumPressure" SortField="VacuumPressure"
|
||||||
|
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
|
||||||
|
<Editor>
|
||||||
|
<f:TextBox ID="txtVacuumPressure" runat="server"></f:TextBox>
|
||||||
|
</Editor>
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField HeaderText="介质" ColumnID="VacuumMedium" DataField="VacuumMedium" SortField="VacuumMedium"
|
||||||
|
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
||||||
|
<Editor>
|
||||||
|
<f:TextBox ID="txtVacuumMedium" runat="server"></f:TextBox>
|
||||||
|
</Editor>
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:LinkButtonField ColumnID="Delete3" Width="60px" EnablePostBack="false" Icon="Delete"
|
||||||
|
HeaderTextAlign="Center" HeaderText="删除" />
|
||||||
|
<f:RenderField HeaderText="主键" ColumnID="LeakageVacuumTestRecordId" DataField="LeakageVacuumTestRecordId" SortField="LeakageVacuumTestRecordId"
|
||||||
|
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="140px" Hidden="true">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField HeaderText="管线Id" ColumnID="PipelineId" DataField="PipelineId" SortField="PipelineId"
|
||||||
|
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="140px" Hidden="true">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
<PageItems>
|
||||||
|
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
|
||||||
|
</f:ToolbarSeparator>
|
||||||
|
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
|
||||||
|
</f:ToolbarText>
|
||||||
|
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
|
||||||
|
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||||
|
<f:ListItem Text="10" Value="10" />
|
||||||
|
<f:ListItem Text="15" Value="15" />
|
||||||
|
<f:ListItem Text="20" Value="20" />
|
||||||
|
<f:ListItem Text="25" Value="25" />
|
||||||
|
</f:DropDownList>
|
||||||
|
</PageItems>
|
||||||
|
</f:Grid>
|
||||||
|
</Items>
|
||||||
|
</f:Panel>
|
||||||
|
</Items>
|
||||||
|
</f:Panel>
|
||||||
|
<f:Window ID="WindowPrint" Title="打印管道吹扫/清洗检验记录" Hidden="true" EnableIFrame="true" EnableMaximize="false"
|
||||||
|
Target="Top" EnableResize="true" runat="server" IsModal="true" Width="1024px"
|
||||||
|
Height="600px">
|
||||||
|
</f:Window>
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,817 @@
|
|||||||
|
using Aspose.Words;
|
||||||
|
using Aspose.Words.Tables;
|
||||||
|
using BLL;
|
||||||
|
using FastReport.DevComponents.DotNetBar;
|
||||||
|
using Model;
|
||||||
|
using Newtonsoft.Json.Linq;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Data;
|
||||||
|
using System.Data.SqlClient;
|
||||||
|
using System.DirectoryServices.ActiveDirectory;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.UI;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
|
||||||
|
namespace FineUIPro.Web.JGZL
|
||||||
|
{
|
||||||
|
public partial class LeakageVacuum : PageBase
|
||||||
|
{
|
||||||
|
#region 定义项
|
||||||
|
/// <summary>
|
||||||
|
/// 主键
|
||||||
|
/// </summary>
|
||||||
|
private string LeakageVacuumTestRecordId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return (string)ViewState["LeakageVacuumTestRecordId"];
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
ViewState["LeakageVacuumTestRecordId"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 项目Id
|
||||||
|
/// </summary>
|
||||||
|
private string ProjectId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return (string)ViewState["ProjectId"];
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
ViewState["ProjectId"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 外键—LeakageVacuumId
|
||||||
|
/// </summary>
|
||||||
|
public string LeakageVacuumId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return (string)ViewState["LeakageVacuumId"];
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
ViewState["LeakageVacuumId"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 定义集合
|
||||||
|
/// </summary>
|
||||||
|
private static List<Model.JGZL_LeakageVacuumTestRecord> itemLists = new List<JGZL_LeakageVacuumTestRecord>();
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 加载页面
|
||||||
|
/// <summary>
|
||||||
|
/// 加载页面
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (!IsPostBack)
|
||||||
|
{
|
||||||
|
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
|
||||||
|
|
||||||
|
this.drpProjectId.DataTextField = "ProjectCode";
|
||||||
|
this.drpProjectId.DataValueField = "ProjectId";
|
||||||
|
this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
|
||||||
|
this.drpProjectId.DataBind();
|
||||||
|
Funs.FineUIPleaseSelect(this.drpProjectId);
|
||||||
|
|
||||||
|
this.drpProjectId.SelectedValue = this.CurrUser.LoginProjectId;
|
||||||
|
this.InitTreeMenu();//加载树
|
||||||
|
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||||
|
this.ProjectId = this.tvControlItem.SelectedNodeID;
|
||||||
|
|
||||||
|
DataIsoInfo();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DataIsoInfo()
|
||||||
|
{
|
||||||
|
this.txtSystemCode.Text = string.Empty;
|
||||||
|
this.txtSystemName.Text = string.Empty;
|
||||||
|
this.drpCheckResult1.SelectedValue = "合格";
|
||||||
|
this.drpCheckResult2.SelectedValue = "合格";
|
||||||
|
this.drpCheckResult3.SelectedValue = "合格";
|
||||||
|
this.drpCheckResult4.SelectedValue = "合格";
|
||||||
|
this.drpCheckResult5.SelectedValue = "合格";
|
||||||
|
itemLists.Clear();
|
||||||
|
if (!string.IsNullOrEmpty(this.ProjectId))
|
||||||
|
{
|
||||||
|
var record = BLL.LeakageVacuumService.GetLeakageVacuumByProjectId(this.ProjectId);
|
||||||
|
if (record != null)
|
||||||
|
{
|
||||||
|
this.LeakageVacuumId = record.LeakageVacuumId;
|
||||||
|
this.txtSystemCode.Text = record.SystemCode;
|
||||||
|
this.txtSystemName.Text = record.SystemName;
|
||||||
|
this.drpCheckResult1.SelectedValue = record.CheckItemResult1;
|
||||||
|
this.drpCheckResult2.SelectedValue = record.CheckItemResult2;
|
||||||
|
this.drpCheckResult3.SelectedValue = record.CheckItemResult3;
|
||||||
|
this.drpCheckResult4.SelectedValue = record.CheckItemResult4;
|
||||||
|
this.drpCheckResult5.SelectedValue = record.CheckItemResult5;
|
||||||
|
|
||||||
|
var isoInfos = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByProjectId(this.ProjectId);
|
||||||
|
itemLists = BLL.LeakageVacuumTestRecordServic.GetLeakageVacuumTestRecordByLeakageVacuumId(this.LeakageVacuumId);
|
||||||
|
if (itemLists.Count > 0)
|
||||||
|
{
|
||||||
|
foreach (var item in isoInfos)
|
||||||
|
{
|
||||||
|
var iso = itemLists.Where(x => x.PipelineId != null && !string.IsNullOrEmpty(x.PipelineId) && x.PipelineId == item.ISO_ID).FirstOrDefault();
|
||||||
|
if (iso == null)
|
||||||
|
{
|
||||||
|
Model.JGZL_LeakageVacuumTestRecord newIso = new JGZL_LeakageVacuumTestRecord();
|
||||||
|
newIso.LeakageVacuumTestRecordId = SQLHelper.GetNewID(typeof(Model.JGZL_LeakageVacuumTestRecord));
|
||||||
|
newIso.PipelineId = item.ISO_ID;
|
||||||
|
newIso.PipelineCode = item.ISO_IsoNo;
|
||||||
|
newIso.DesignPressure = item.ISO_DesignPress.HasValue ? item.ISO_DesignPress.Value.ToString("0.##########") : "";
|
||||||
|
newIso.DesignTem = item.ISO_DesignTemperature.HasValue ? item.ISO_DesignTemperature.Value.ToString("0.##########") : "";
|
||||||
|
newIso.LeakPressure = item.LeakageTest.ToString();
|
||||||
|
itemLists.Add(newIso);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
foreach (var item in isoInfos)
|
||||||
|
{
|
||||||
|
Model.JGZL_LeakageVacuumTestRecord newItem = new JGZL_LeakageVacuumTestRecord();
|
||||||
|
newItem.LeakageVacuumTestRecordId = SQLHelper.GetNewID(typeof(Model.JGZL_LeakageVacuumTestRecord));
|
||||||
|
newItem.PipelineId = item.ISO_ID;
|
||||||
|
newItem.PipelineCode = item.ISO_IsoNo;
|
||||||
|
newItem.DesignPressure = item.ISO_DesignPress.HasValue ? item.ISO_DesignPress.Value.ToString("0.##########") : "";
|
||||||
|
newItem.DesignTem = item.ISO_DesignTemperature.HasValue ? item.ISO_DesignTemperature.Value.ToString("0.##########") : "";
|
||||||
|
newItem.LeakPressure = item.LeakageTest.ToString();
|
||||||
|
itemLists.Add(newItem);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.Grid1.DataSource = itemLists;
|
||||||
|
this.Grid1.DataBind();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 加载树项目
|
||||||
|
/// <summary>
|
||||||
|
/// 加载树
|
||||||
|
/// </summary>
|
||||||
|
private void InitTreeMenu()
|
||||||
|
{
|
||||||
|
this.tvControlItem.Nodes.Clear();
|
||||||
|
TreeNode rootNode = new TreeNode();
|
||||||
|
rootNode.Text = "项目";
|
||||||
|
rootNode.ToolTip = "项目";
|
||||||
|
rootNode.NodeID = "0";
|
||||||
|
rootNode.Expanded = true;
|
||||||
|
this.tvControlItem.Nodes.Add(rootNode);
|
||||||
|
|
||||||
|
List<Model.Base_Project> projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
|
||||||
|
if (this.drpProjectId.SelectedValue != BLL.Const._Null)
|
||||||
|
{
|
||||||
|
projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList();
|
||||||
|
}
|
||||||
|
foreach (var item in projects)
|
||||||
|
{
|
||||||
|
TreeNode rootProjectNode = new TreeNode();//定义根节点
|
||||||
|
rootProjectNode.Text = item.ProjectCode;
|
||||||
|
rootProjectNode.NodeID = item.ProjectId;
|
||||||
|
rootProjectNode.EnableClickEvent = true;
|
||||||
|
rootProjectNode.Expanded = true;
|
||||||
|
rootProjectNode.ToolTip = item.ProjectName;
|
||||||
|
rootProjectNode.CommandName = "项目名称";
|
||||||
|
rootNode.Nodes.Add(rootProjectNode);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 点击TreeView
|
||||||
|
/// <summary>
|
||||||
|
/// 点击TreeView
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
|
||||||
|
{
|
||||||
|
if (this.tvControlItem.SelectedNodeID != "0")
|
||||||
|
{
|
||||||
|
this.BindGrid();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 数据绑定
|
||||||
|
/// <summary>
|
||||||
|
/// 数据绑定
|
||||||
|
/// </summary>
|
||||||
|
private void BindGrid()
|
||||||
|
{
|
||||||
|
//string projectIds = BLL.Base_ProjectService.GetStrOnProjectIds(this.CurrUser.UserId, "1");
|
||||||
|
string strSql = @"SELECT * from JGZL_LeakageVacuumTestRecord m left join JGZL_LeakageVacuum b on b.LeakageVacuumId = m.LeakageVacuumId where 1=1";
|
||||||
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
|
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||||
|
{
|
||||||
|
strSql += " AND b.ProjectId = @ProjectId";
|
||||||
|
listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID));
|
||||||
|
}
|
||||||
|
//else
|
||||||
|
//{
|
||||||
|
// strSql += " AND CHARINDEX(ProjectId,@ProjectId)>0 ";
|
||||||
|
// listStr.Add(new SqlParameter("@ProjectId", projectIds));
|
||||||
|
//}
|
||||||
|
SqlParameter[] parameter = listStr.ToArray();
|
||||||
|
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||||
|
// 2.获取当前分页数据
|
||||||
|
Grid1.RecordCount = tb.Rows.Count;
|
||||||
|
//tb = GetFilteredTable(Grid1.FilteredData, tb);
|
||||||
|
var table = this.GetPagedDataTable(Grid1, tb);
|
||||||
|
Grid1.DataSource = table;
|
||||||
|
Grid1.DataBind();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 分页排序
|
||||||
|
#region 页索引改变事件
|
||||||
|
/// <summary>
|
||||||
|
/// 页索引改变事件
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||||
|
{
|
||||||
|
BindGrid();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 排序
|
||||||
|
/// <summary>
|
||||||
|
/// 排序
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Grid1_Sort(object sender, GridSortEventArgs e)
|
||||||
|
{
|
||||||
|
BindGrid();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 分页选择下拉改变事件
|
||||||
|
/// <summary>
|
||||||
|
/// 分页选择下拉改变事件
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
|
||||||
|
BindGrid();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 查询
|
||||||
|
///<summary>
|
||||||
|
///查询
|
||||||
|
///</summary>
|
||||||
|
///<param name="sender"></param>
|
||||||
|
///<param name="e"></param>
|
||||||
|
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||||
|
this.ProjectId = this.tvControlItem.SelectedNodeID;
|
||||||
|
this.InitTreeMenu();
|
||||||
|
DataIsoInfo();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 查询
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void TextBox_TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.BindGrid();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 维护
|
||||||
|
/// <summary>
|
||||||
|
/// 增加
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnAdd_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||||
|
{
|
||||||
|
JArray teamGroupData = Grid1.GetMergedData();
|
||||||
|
List<JObject> list = new List<JObject>();
|
||||||
|
foreach (JObject teamGroupRow in teamGroupData)
|
||||||
|
{
|
||||||
|
JObject values = teamGroupRow.Value<JObject>("values");
|
||||||
|
list.Add(values);
|
||||||
|
}
|
||||||
|
|
||||||
|
JObject defaultObj = new JObject
|
||||||
|
{
|
||||||
|
{ "LeakageVacuumTestRecordId", Guid.NewGuid() },
|
||||||
|
{ "LeakageVacuumId", this.LeakageVacuumId },
|
||||||
|
{ "PipelineId", "" },
|
||||||
|
{ "PipelineCode", "" },
|
||||||
|
{ "DesignPressure", "" },
|
||||||
|
{ "DesignTem", "" },
|
||||||
|
{ "TestAmbientTemp", "" },
|
||||||
|
{ "TestMediumTemp", "" },
|
||||||
|
{ "LeakPressure", "" },
|
||||||
|
{ "LeakMedium", "" },
|
||||||
|
{ "VacuumPressure", "" },
|
||||||
|
{ "VacuumMedium", "" },
|
||||||
|
{
|
||||||
|
"Delete3",
|
||||||
|
String.Format("<a href=\"javascript:;\" onclick=\"{0}\"><img src=\"{1}\"/></a>",
|
||||||
|
GetDeleteScriptGrid1(), IconHelper.GetResolvedIconUrl(Icon.Delete))
|
||||||
|
}
|
||||||
|
};
|
||||||
|
list.Add(defaultObj);
|
||||||
|
Grid1.DataSource = list;
|
||||||
|
Grid1.DataBind();
|
||||||
|
//PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("PressureTestOfPipelineSystemRecordEdit.aspx?projectId={0}", this.tvControlItem.SelectedNodeID, "新增 - ")));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void Grid1_PreDataBound(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
// 设置LinkButtonField的点击客户端事件
|
||||||
|
LinkButtonField deleteField = Grid1.FindColumn("Delete3") as LinkButtonField;
|
||||||
|
deleteField.OnClientClick = GetDeleteScriptGrid1();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 删除提示
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
private string GetDeleteScriptGrid1()
|
||||||
|
{
|
||||||
|
return Confirm.GetShowReference("删除选中行?", String.Empty, MessageBoxIcon.Question,
|
||||||
|
Grid1.GetDeleteSelectedRowsReference(), String.Empty);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 保存
|
||||||
|
/// <summary>
|
||||||
|
/// 保存按钮
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnSave_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId,
|
||||||
|
Const.JGZL_LeakageVacuumMenuId, Const.BtnSave))
|
||||||
|
{
|
||||||
|
Model.JGZL_LeakageVacuum newRecord = new JGZL_LeakageVacuum();
|
||||||
|
newRecord.SystemCode = this.txtSystemCode.Text;
|
||||||
|
newRecord.SystemName = this.txtSystemName.Text;
|
||||||
|
newRecord.CheckItemResult1 = this.drpCheckResult1.SelectedValue;
|
||||||
|
newRecord.CheckItemResult2 = this.drpCheckResult2.SelectedValue;
|
||||||
|
newRecord.CheckItemResult3 = this.drpCheckResult3.SelectedValue;
|
||||||
|
newRecord.CheckItemResult4 = this.drpCheckResult4.SelectedValue;
|
||||||
|
newRecord.CheckItemResult5 = this.drpCheckResult5.SelectedValue;
|
||||||
|
if (!string.IsNullOrEmpty(this.LeakageVacuumId))
|
||||||
|
{
|
||||||
|
newRecord.LeakageVacuumId = this.LeakageVacuumId;
|
||||||
|
BLL.LeakageVacuumService.UpdateLeakageVacuum(newRecord);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
newRecord.ProjectId = this.tvControlItem.SelectedNodeID;
|
||||||
|
newRecord.LeakageVacuumId = SQLHelper.GetNewID(typeof(Model.JGZL_LeakageVacuum));
|
||||||
|
this.LeakageVacuumId = newRecord.LeakageVacuumId;
|
||||||
|
BLL.LeakageVacuumService.AddLeakageVacuum(newRecord);
|
||||||
|
}
|
||||||
|
saveItem();
|
||||||
|
BindGrid();
|
||||||
|
ShowNotify("保存成功!", MessageBoxIcon.Success);
|
||||||
|
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void saveItem()
|
||||||
|
{
|
||||||
|
itemLists.Clear();
|
||||||
|
BLL.LeakageVacuumTestRecordServic.DeleteLeakageVacuumTestRecordByLeakageVacuumId(this.LeakageVacuumId);
|
||||||
|
JArray teamGroupData = Grid1.GetMergedData();
|
||||||
|
foreach (JObject teamGroupRow in teamGroupData)
|
||||||
|
{
|
||||||
|
JObject values = teamGroupRow.Value<JObject>("values");
|
||||||
|
int rowIndex = teamGroupRow.Value<int>("index");
|
||||||
|
Model.JGZL_LeakageVacuumTestRecord newDetail = new Model.JGZL_LeakageVacuumTestRecord
|
||||||
|
{
|
||||||
|
LeakageVacuumTestRecordId = values.Value<string>("LeakageVacuumTestRecordId"),
|
||||||
|
LeakageVacuumId = this.LeakageVacuumId,
|
||||||
|
PipelineId = values.Value<string>("PipelineId"),
|
||||||
|
PipelineCode = values.Value<string>("PipelineCode"),
|
||||||
|
DesignPressure = values.Value<string>("DesignPressure"),
|
||||||
|
DesignTem = values.Value<string>("DesignTem"),
|
||||||
|
TestAmbientTemp = values.Value<string>("TestAmbientTemp"),
|
||||||
|
TestMediumTemp = values.Value<string>("TestMediumTemp"),
|
||||||
|
LeakPressure = values.Value<string>("LeakPressure"),
|
||||||
|
LeakMedium = values.Value<string>("LeakMedium"),
|
||||||
|
VacuumPressure = values.Value<string>("VacuumPressure"),
|
||||||
|
VacuumMedium = values.Value<string>("VacuumMedium"),
|
||||||
|
};
|
||||||
|
itemLists.Add(newDetail);
|
||||||
|
}
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (itemLists.Count > 0)
|
||||||
|
{
|
||||||
|
Funs.DB.JGZL_LeakageVacuumTestRecord.InsertAllOnSubmit(itemLists);
|
||||||
|
}
|
||||||
|
Funs.DB.SubmitChanges();
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 打印
|
||||||
|
/// <summary>
|
||||||
|
/// 打印
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnPrint_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string projectId = this.tvControlItem.SelectedNodeID;
|
||||||
|
|
||||||
|
if (projectId != null)
|
||||||
|
{
|
||||||
|
string initTemplatePath = "";
|
||||||
|
string rootPath = Server.MapPath("~/");
|
||||||
|
BLL.Common.FastReportService.ResetData();
|
||||||
|
|
||||||
|
var report = BLL.LeakageVacuumService.GetLeakageVacuumByProjectId(projectId);
|
||||||
|
if (report != null)
|
||||||
|
{
|
||||||
|
DataTable dt = new DataTable();
|
||||||
|
dt.TableName = "MainData";
|
||||||
|
dt.Columns.Add("ProjectName");
|
||||||
|
dt.Columns.Add("SystemName");
|
||||||
|
dt.Columns.Add("SystemCode");
|
||||||
|
dt.Columns.Add("CheckItemResult1");
|
||||||
|
dt.Columns.Add("CheckItemResult2");
|
||||||
|
dt.Columns.Add("CheckItemResult3");
|
||||||
|
dt.Columns.Add("CheckItemResult4");
|
||||||
|
dt.Columns.Add("CheckItemResult5");
|
||||||
|
dt.Columns.Add("Conclusion");
|
||||||
|
|
||||||
|
var newRow = dt.NewRow();
|
||||||
|
newRow["ProjectName"] = BLL.Base_ProjectService.GetProjectByProjectId(report.ProjectId).ProjectName;
|
||||||
|
newRow["SystemName"] = this.txtSystemName.Text.Trim();
|
||||||
|
newRow["SystemCode"] = this.txtSystemCode.Text.Trim();
|
||||||
|
newRow["CheckItemResult1"] = report.CheckItemResult1;
|
||||||
|
newRow["CheckItemResult2"] = report.CheckItemResult2;
|
||||||
|
newRow["CheckItemResult3"] = report.CheckItemResult3;
|
||||||
|
newRow["CheckItemResult4"] = report.CheckItemResult4;
|
||||||
|
newRow["CheckItemResult5"] = report.CheckItemResult5;
|
||||||
|
newRow["Conclusion"] = report.Conclusion;
|
||||||
|
dt.Rows.Add(newRow);
|
||||||
|
BLL.Common.FastReportService.AddFastreportTable(dt);
|
||||||
|
|
||||||
|
var recordLists = BLL.LeakageVacuumTestRecordServic.GetLeakageVacuumTestRecordByLeakageVacuumId(report.LeakageVacuumId);
|
||||||
|
if (recordLists.Count == Grid1.GetMergedData().Count)
|
||||||
|
{
|
||||||
|
DataTable itemdt = new DataTable();
|
||||||
|
itemdt.TableName = "Data";
|
||||||
|
itemdt.Columns.Add("PipelineNo");
|
||||||
|
itemdt.Columns.Add("DesignPressure");
|
||||||
|
itemdt.Columns.Add("DesignTem");
|
||||||
|
itemdt.Columns.Add("TestAmbientTemp");
|
||||||
|
itemdt.Columns.Add("TestMediumTemp");
|
||||||
|
itemdt.Columns.Add("LeakPressure");
|
||||||
|
itemdt.Columns.Add("LeakMedium");
|
||||||
|
itemdt.Columns.Add("VacuumPressure");
|
||||||
|
itemdt.Columns.Add("VacuumMedium");
|
||||||
|
|
||||||
|
foreach (var item in recordLists)
|
||||||
|
{
|
||||||
|
var newRow2 = itemdt.NewRow();
|
||||||
|
newRow2["PipelineNo"] = item.PipelineCode;
|
||||||
|
newRow2["DesignPressure"] = item.DesignPressure;
|
||||||
|
newRow2["DesignTem"] = item.DesignTem;
|
||||||
|
newRow2["TestAmbientTemp"] = item.TestAmbientTemp;
|
||||||
|
newRow2["TestMediumTemp"] = item.TestMediumTemp;
|
||||||
|
newRow2["LeakPressure"] = item.LeakPressure;
|
||||||
|
newRow2["LeakMedium"] = item.LeakMedium;
|
||||||
|
newRow2["VacuumPressure"] = item.VacuumPressure;
|
||||||
|
newRow2["VacuumMedium"] = item.VacuumMedium;
|
||||||
|
itemdt.Rows.Add(newRow2);
|
||||||
|
}
|
||||||
|
BLL.Common.FastReportService.AddFastreportTable(itemdt);
|
||||||
|
|
||||||
|
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||||
|
//keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
|
||||||
|
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||||
|
|
||||||
|
initTemplatePath = "File\\Fastreport\\JGZL\\管道系统泄漏性、真空试验条件确认与试验记录.frx";
|
||||||
|
if (File.Exists(rootPath + initTemplatePath))
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请先保存数据!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请先保存数据!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 导出按钮
|
||||||
|
/// 导出按钮
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnOut_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string rootPath = Server.MapPath("~/");
|
||||||
|
string initTemplatePath = string.Empty;
|
||||||
|
string uploadfilepath = string.Empty;
|
||||||
|
string newUrl = string.Empty;
|
||||||
|
string filePath = string.Empty;
|
||||||
|
|
||||||
|
//每页显示的固定数据行数
|
||||||
|
int rowsPerPage = 8;
|
||||||
|
|
||||||
|
string projectId = this.tvControlItem.SelectedNodeID;
|
||||||
|
if (!string.IsNullOrEmpty(projectId))
|
||||||
|
{
|
||||||
|
var report = BLL.LeakageVacuumService.GetLeakageVacuumByProjectId(projectId);
|
||||||
|
if (report != null)
|
||||||
|
{
|
||||||
|
initTemplatePath = Const.JGZL_LeakageVacuumUrl;
|
||||||
|
uploadfilepath = rootPath + initTemplatePath;
|
||||||
|
|
||||||
|
newUrl = uploadfilepath.Replace("管道系统泄漏性试验记录导出模板", "管道系统泄漏性试验记录");
|
||||||
|
if (File.Exists(newUrl))
|
||||||
|
{
|
||||||
|
File.Delete(newUrl);
|
||||||
|
}
|
||||||
|
File.Copy(uploadfilepath, newUrl);
|
||||||
|
//更新书签内容
|
||||||
|
Document doc = new Aspose.Words.Document(newUrl);
|
||||||
|
DocumentBuilder builder = new DocumentBuilder(doc);
|
||||||
|
|
||||||
|
Aspose.Words.Tables.Table table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, 0, true);
|
||||||
|
|
||||||
|
Bookmark projectName = doc.Range.Bookmarks["ProjectName"];
|
||||||
|
if (projectName != null)
|
||||||
|
{
|
||||||
|
projectName.Text = BLL.Base_ProjectService.GetProjectByProjectId(report.ProjectId).ProjectName;
|
||||||
|
}
|
||||||
|
Bookmark systemName = doc.Range.Bookmarks["SystemName"];
|
||||||
|
if (systemName != null)
|
||||||
|
{
|
||||||
|
systemName.Text = report.SystemName;
|
||||||
|
}
|
||||||
|
Bookmark systemCode = doc.Range.Bookmarks["SystemCode"];
|
||||||
|
if (systemCode != null)
|
||||||
|
{
|
||||||
|
systemCode.Text = report.SystemCode;
|
||||||
|
}
|
||||||
|
Bookmark checkItemResult1 = doc.Range.Bookmarks["CheckItemResult1"];
|
||||||
|
if (checkItemResult1 != null)
|
||||||
|
{
|
||||||
|
checkItemResult1.Text = report.CheckItemResult1;
|
||||||
|
}
|
||||||
|
Bookmark checkItemResult2 = doc.Range.Bookmarks["CheckItemResult2"];
|
||||||
|
if (checkItemResult2 != null)
|
||||||
|
{
|
||||||
|
checkItemResult2.Text = report.CheckItemResult2;
|
||||||
|
}
|
||||||
|
Bookmark checkItemResult3 = doc.Range.Bookmarks["CheckItemResult3"];
|
||||||
|
if (checkItemResult3 != null)
|
||||||
|
{
|
||||||
|
checkItemResult3.Text = report.CheckItemResult3;
|
||||||
|
}
|
||||||
|
Bookmark checkItemResult4 = doc.Range.Bookmarks["CheckItemResult4"];
|
||||||
|
if (checkItemResult4 != null)
|
||||||
|
{
|
||||||
|
checkItemResult4.Text = report.CheckItemResult4;
|
||||||
|
}
|
||||||
|
Bookmark checkItemResult5 = doc.Range.Bookmarks["CheckItemResult5"];
|
||||||
|
if (checkItemResult5 != null)
|
||||||
|
{
|
||||||
|
checkItemResult5.Text = report.CheckItemResult5;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置表头行重复显示
|
||||||
|
table.Rows[0].RowFormat.HeadingFormat = true;
|
||||||
|
table.Rows[1].RowFormat.HeadingFormat = true;
|
||||||
|
table.Rows[2].RowFormat.HeadingFormat = true;
|
||||||
|
table.Rows[3].RowFormat.HeadingFormat = true;
|
||||||
|
table.Rows[4].RowFormat.HeadingFormat = true;
|
||||||
|
table.Rows[5].RowFormat.HeadingFormat = true;
|
||||||
|
table.Rows[6].RowFormat.HeadingFormat = true;
|
||||||
|
table.Rows[7].RowFormat.HeadingFormat = true;
|
||||||
|
table.Rows[8].RowFormat.HeadingFormat = true;
|
||||||
|
table.Rows[9].RowFormat.HeadingFormat = true;
|
||||||
|
table.Rows[10].RowFormat.HeadingFormat = true;
|
||||||
|
|
||||||
|
// ====固定表格布局=====
|
||||||
|
table.AutoFit(AutoFitBehavior.FixedColumnWidths);
|
||||||
|
table.AllowAutoFit = false;
|
||||||
|
table.Alignment = TableAlignment.Center;
|
||||||
|
|
||||||
|
// 先记录页尾行,并从表格中移除
|
||||||
|
//Row footerRow = table.Rows[table.Rows.Count - 1];
|
||||||
|
//table.Rows.RemoveAt(table.Rows.Count - 1);
|
||||||
|
|
||||||
|
var recordLists = BLL.LeakageVacuumTestRecordServic.GetLeakageVacuumTestRecordByLeakageVacuumId(report.LeakageVacuumId);
|
||||||
|
if (recordLists.Count == Grid1.GetMergedData().Count)
|
||||||
|
{
|
||||||
|
int i = 0;
|
||||||
|
foreach (var item in recordLists)
|
||||||
|
{
|
||||||
|
//创建行
|
||||||
|
Aspose.Words.Tables.Row row = new Aspose.Words.Tables.Row(doc);
|
||||||
|
row.Cells.Add(CreateCell(item.PipelineCode, doc, 128.42, "", ""));//管道编号/单线号
|
||||||
|
row.Cells.Add(CreateCell(item.DesignPressure, doc, 35.72, "", ""));//设计压力
|
||||||
|
row.Cells.Add(CreateCell(item.DesignTem, doc, 41.96, "", ""));//设计温度
|
||||||
|
row.Cells.Add(CreateCell(item.TestAmbientTemp, doc, 52.73, "", ""));//试验环境温度℃
|
||||||
|
row.Cells.Add(CreateCell(item.TestMediumTemp, doc, 41.96, "", ""));//试验介质温度℃
|
||||||
|
row.Cells.Add(CreateCell(item.LeakPressure, doc, 39.4, "", ""));//泄漏性试验-压力
|
||||||
|
row.Cells.Add(CreateCell(item.LeakMedium, doc, 41.96, "", ""));//泄漏性试验-介质
|
||||||
|
row.Cells.Add(CreateCell(item.VacuumPressure, doc, 45.07, "", ""));//真空试验-压力
|
||||||
|
row.Cells.Add(CreateCell(item.VacuumMedium, doc, 41.39, "", ""));//真空试验-介质
|
||||||
|
|
||||||
|
table.Rows.Insert(i + 11, row);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 计算并插入空白行,填满整页
|
||||||
|
// 计算总数据行数
|
||||||
|
int totalDataRows = recordLists.Count;
|
||||||
|
// 计算需要补充的空白行数量
|
||||||
|
int remainder = totalDataRows % rowsPerPage;
|
||||||
|
int needBlankRows = remainder == 0 ? 0 : rowsPerPage - remainder;
|
||||||
|
|
||||||
|
// 插入空白行(和数据行格式保持一致,仅内容为空)
|
||||||
|
//for (int i = 0; i < needBlankRows - 1; i++)
|
||||||
|
//{
|
||||||
|
// Aspose.Words.Tables.Row blankRow = new Aspose.Words.Tables.Row(doc);
|
||||||
|
// 空白行的单元格宽度和数据行保持一致
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 22.68, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 65.49, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 37.14, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 27.78, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 28.06, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 28, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 34.87, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 43.66, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 59.82, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 34.58, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 33.74, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 27, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 45.93, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 37.14, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 30.62, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 48.76, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 25.23, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 28.92, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 48.76, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 26.08, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 56.7, "", ""));
|
||||||
|
//blankRow.Cells.Add(CreateCell("", doc, 22.11, "", ""));
|
||||||
|
// 插入到表格最后一行
|
||||||
|
// table.Rows.Add(blankRow);
|
||||||
|
//}
|
||||||
|
//把页尾行重新加回表格最后
|
||||||
|
//table.Rows.Add(footerRow);
|
||||||
|
|
||||||
|
doc.Save(newUrl);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请先保存数据!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
string fileName = Path.GetFileName(newUrl);
|
||||||
|
FileInfo info = new FileInfo(newUrl);
|
||||||
|
long fileSize = info.Length;
|
||||||
|
Response.Clear();
|
||||||
|
Response.ContentType = "application/x-zip-compressed";
|
||||||
|
Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
|
||||||
|
Response.AddHeader("Content-Length", fileSize.ToString());
|
||||||
|
Response.TransmitFile(newUrl, 0, fileSize);
|
||||||
|
Response.Flush();
|
||||||
|
Response.Close();
|
||||||
|
File.Delete(newUrl);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("没有要导出的数据!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Cell CreateCell(String value, Document doc, double cellWidth, string cellMerge = "", string CenterPage = "", string cellUnitLeft = "")
|
||||||
|
{
|
||||||
|
Cell cell = new Cell(doc);
|
||||||
|
Paragraph p = new Paragraph(doc);
|
||||||
|
if (!string.IsNullOrEmpty(cellMerge))
|
||||||
|
{
|
||||||
|
if (cellMerge == "0")
|
||||||
|
{
|
||||||
|
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.First;//竖直方向合并的第一个单元格
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.Previous;//竖直方向合并的第一个单元格
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(CenterPage))
|
||||||
|
{
|
||||||
|
//序号
|
||||||
|
value = " " + value;
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(cellUnitLeft))
|
||||||
|
{
|
||||||
|
p.ParagraphFormat.Alignment = ParagraphAlignment.Left;//表格中字体居左
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
p.ParagraphFormat.Alignment = ParagraphAlignment.Center;//表格中字体居中
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
p.AppendChild(new Run(doc, value));
|
||||||
|
|
||||||
|
cell.CellFormat.Width = cellWidth;
|
||||||
|
|
||||||
|
cell.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;
|
||||||
|
|
||||||
|
cell.CellFormat.Borders.LineWidth = 0.75;
|
||||||
|
|
||||||
|
cell.AppendChild(p);
|
||||||
|
return cell;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,341 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <自动生成>
|
||||||
|
// 此代码由工具生成。
|
||||||
|
//
|
||||||
|
// 对此文件的更改可能导致不正确的行为,如果
|
||||||
|
// 重新生成代码,则所做更改将丢失。
|
||||||
|
// </自动生成>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace FineUIPro.Web.JGZL
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
public partial class LeakageVacuum
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// form1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// PageManager1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.PageManager PageManager1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Panel1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Panel Panel1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// panelLeftRegion 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Panel panelLeftRegion;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Toolbar1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Toolbar Toolbar1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpProjectId 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpProjectId;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// tvControlItem 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Tree tvControlItem;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// panelCenterRegion 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Panel panelCenterRegion;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Toolbar2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Toolbar Toolbar2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ToolbarFill1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnAdd 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnAdd;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnSave 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnSave;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnPrint 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnPrint;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnOut 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnOut;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// SimpleForm1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Form SimpleForm1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtSystemName 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtSystemName;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtSystemCode 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtSystemCode;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpCheckResult1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpCheckResult1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpCheckResult2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpCheckResult2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpCheckResult3 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpCheckResult3;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpCheckResult4 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpCheckResult4;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpCheckResult5 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpCheckResult5;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Grid1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Grid Grid1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtPipelineCode 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtPipelineCode;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtDesignPressure 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtDesignPressure;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtDesignTem 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtDesignTem;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtTestAmbientTemp 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtTestAmbientTemp;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtTestMediumTemp 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtTestMediumTemp;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtLeakPressure 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtLeakPressure;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtLeakMedium 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtLeakMedium;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtVacuumPressure 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtVacuumPressure;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtVacuumMedium 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtVacuumMedium;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ToolbarSeparator1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ToolbarText1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ddlPageSize 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// WindowPrint 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Window WindowPrint;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -81,16 +81,21 @@
|
|||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:DropDownList ID="drpIsoId" runat="server" Label="管线号" LabelAlign="Right" LabelWidth="170px" EnableEdit="true" EnableMultiSelect="true" Required="true" ShowRedStar="true" AutoPostBack="true" OnSelectedIndexChanged="drpIsoId_SelectedIndexChanged"></f:DropDownList>
|
<f:DropDownList ID="drpIsoId" runat="server" Label="管线号" LabelAlign="Right" LabelWidth="170px" EnableEdit="true" EnableMultiSelect="true" Required="true" ShowRedStar="true" AutoPostBack="true" OnSelectedIndexChanged="drpIsoId_SelectedIndexChanged" AutoSelectFirstItem="false"></f:DropDownList>
|
||||||
<f:TextBox ID="txtPipeLength" runat="server" Label="管道长度" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
|
<f:TextBox ID="txtPipeLength" runat="server" Label="管道长度" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtPipeCategory" runat="server" Label="管道类别" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
|
<%--<f:TextBox ID="txtPipeCategory" runat="server" Label="管道类别" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>--%>
|
||||||
|
<f:DropDownList ID="drpPipeCategory" runat="server" Label="管道类别" LabelAlign="Right" LabelWidth="170px">
|
||||||
|
<f:ListItem Value="GC1" Text="GC1" Selected="true" />
|
||||||
|
<f:ListItem Value="GC2" Text="GC2" />
|
||||||
|
<f:ListItem Value="GC3" Text="GC3" />
|
||||||
|
</f:DropDownList>
|
||||||
<f:CheckBoxList ID="cblConCategory" Label="施工类别" runat="server" LabelWidth="170px" LabelAlign="Right">
|
<f:CheckBoxList ID="cblConCategory" Label="施工类别" runat="server" LabelWidth="170px" LabelAlign="Right">
|
||||||
<Items>
|
<Items>
|
||||||
<f:CheckItem Text="改造" Value="改造" />
|
<f:CheckItem Text="改造" Value="改造" Selected="true"/>
|
||||||
<f:CheckItem Text="重大维修" Value="重大维修" />
|
<f:CheckItem Text="重大维修" Value="重大维修" />
|
||||||
<f:CheckItem Text="维修" Value="维修" />
|
<f:CheckItem Text="维修" Value="维修" />
|
||||||
</Items>
|
</Items>
|
||||||
@@ -138,7 +143,7 @@
|
|||||||
<f:DatePicker ID="txtCompletionDate" runat="server" Label="竣工日期" LabelAlign="Right" LabelWidth="170px" DateFormatString="yyyy年MM月dd日"></f:DatePicker>
|
<f:DatePicker ID="txtCompletionDate" runat="server" Label="竣工日期" LabelAlign="Right" LabelWidth="170px" DateFormatString="yyyy年MM月dd日"></f:DatePicker>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<%-- <f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:Label ID="Label2" runat="server"></f:Label>
|
<f:Label ID="Label2" runat="server"></f:Label>
|
||||||
<f:TextBox ID="txtQC_Inspector" runat="server" Label="质检员" LabelAlign="Right" LabelWidth="170px"></f:TextBox>
|
<f:TextBox ID="txtQC_Inspector" runat="server" Label="质检员" LabelAlign="Right" LabelWidth="170px"></f:TextBox>
|
||||||
@@ -149,7 +154,7 @@
|
|||||||
<f:Label ID="Label3" runat="server"></f:Label>
|
<f:Label ID="Label3" runat="server"></f:Label>
|
||||||
<f:TextBox ID="txtQA_Engineer" runat="server" Label="质量保证工程师" LabelAlign="Right" LabelWidth="170px"></f:TextBox>
|
<f:TextBox ID="txtQA_Engineer" runat="server" Label="质量保证工程师" LabelAlign="Right" LabelWidth="170px"></f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>--%>
|
||||||
</Rows>
|
</Rows>
|
||||||
</f:Form>
|
</f:Form>
|
||||||
<%--<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="工业管道安装质量证明书 (改造、修理)" EnableCollapse="true"
|
<%--<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="工业管道安装质量证明书 (改造、修理)" EnableCollapse="true"
|
||||||
|
|||||||
@@ -88,8 +88,8 @@ namespace FineUIPro.Web.JGZL
|
|||||||
txtNotificationCode.Text = string.Empty;
|
txtNotificationCode.Text = string.Empty;
|
||||||
drpIsoId.SelectedValue = string.Empty;
|
drpIsoId.SelectedValue = string.Empty;
|
||||||
txtPipeLength.Text = string.Empty;
|
txtPipeLength.Text = string.Empty;
|
||||||
txtPipeCategory.Text = string.Empty;
|
drpPipeCategory.SelectedIndex = 0;
|
||||||
cblConCategory.SelectedValueArray = null;
|
cblConCategory.SelectedIndexArray[0] = 0;
|
||||||
txtUseUnit.Text = string.Empty;
|
txtUseUnit.Text = string.Empty;
|
||||||
txtUseUSCC.Text = string.Empty;
|
txtUseUSCC.Text = string.Empty;
|
||||||
txtUseAddress.Text = string.Empty;
|
txtUseAddress.Text = string.Empty;
|
||||||
@@ -98,8 +98,8 @@ namespace FineUIPro.Web.JGZL
|
|||||||
txtDesignLicenseCode.Text = string.Empty;
|
txtDesignLicenseCode.Text = string.Empty;
|
||||||
txtModRepairProject.Text = string.Empty;
|
txtModRepairProject.Text = string.Empty;
|
||||||
txtCompletionDate.Text = string.Empty;
|
txtCompletionDate.Text = string.Empty;
|
||||||
txtQC_Inspector.Text = string.Empty;
|
//txtQC_Inspector.Text = string.Empty;
|
||||||
txtQA_Engineer.Text = string.Empty;
|
//txtQA_Engineer.Text = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PageData()
|
private void PageData()
|
||||||
@@ -126,7 +126,7 @@ namespace FineUIPro.Web.JGZL
|
|||||||
this.drpIsoId.SelectedValueArray = report.ISO_ID.Split(',');
|
this.drpIsoId.SelectedValueArray = report.ISO_ID.Split(',');
|
||||||
}
|
}
|
||||||
this.txtPipeLength.Text = report.PipeLength;
|
this.txtPipeLength.Text = report.PipeLength;
|
||||||
this.txtPipeCategory.Text = report.PipeCategory;
|
this.drpPipeCategory.Text = report.PipeCategory;
|
||||||
this.cblConCategory.SelectedValueArray = report.ConCategory.Split(',');
|
this.cblConCategory.SelectedValueArray = report.ConCategory.Split(',');
|
||||||
this.txtUseUnit.Text = report.UseUnit;
|
this.txtUseUnit.Text = report.UseUnit;
|
||||||
this.txtUseUSCC.Text = report.UseUSCC;
|
this.txtUseUSCC.Text = report.UseUSCC;
|
||||||
@@ -136,17 +136,22 @@ namespace FineUIPro.Web.JGZL
|
|||||||
this.txtDesignLicenseCode.Text = report.DesignLicenseCode;
|
this.txtDesignLicenseCode.Text = report.DesignLicenseCode;
|
||||||
this.txtModRepairProject.Text = report.ModRepairProject;
|
this.txtModRepairProject.Text = report.ModRepairProject;
|
||||||
this.txtCompletionDate.Text = report.CompletionDate.HasValue ? string.Format("{0:yyyy年MM月dd日}", report.CompletionDate) : "";
|
this.txtCompletionDate.Text = report.CompletionDate.HasValue ? string.Format("{0:yyyy年MM月dd日}", report.CompletionDate) : "";
|
||||||
this.txtQC_Inspector.Text = report.QC_Inspector;
|
//this.txtQC_Inspector.Text = report.QC_Inspector;
|
||||||
this.txtQA_Engineer.Text = report.QA_Engineer;
|
//this.txtQA_Engineer.Text = report.QA_Engineer;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.QualityCertificateId = string.Empty;
|
this.QualityCertificateId = string.Empty;
|
||||||
//this.txtInstallationInspection.Text = "浙江省特种设备研究院";
|
this.txtQualityCertificateCode.Text = "0XXX-91330921MA2A2R3F6G-" + DateTime.Now.Year + "-XX";
|
||||||
//this.txtConstructionUnit.Text = "浙江石油化工有限公司";
|
this.txtConUnit.Text = "浙江鼎盛石化工程有限公司";
|
||||||
//this.txtSpecialEquipmentProductionLicenseCode.Text = "TS3833339-2028";
|
this.txtConUnitUSCC.Text = "91330921MA2A2R3F6G";
|
||||||
////this.txtRemark.Text = "GB50517-2023";
|
this.txtLicenseCode.Text = "TS383339-2028";
|
||||||
//this.txtPipelineLength.Text = BLL.HJGL_PW_IsoInfoService.GetPipeLineLengthList(this.tvControlItem.SelectedNodeID).Value.ToString(".##");
|
this.txtLicenseScope.Text = "GC1";
|
||||||
|
this.txtNotificationCode.Text = "0XXX-91330921MA2A2R3F6G-" + DateTime.Now.Year;
|
||||||
|
this.txtUseUnit.Text = "浙江石油化工有限公司";
|
||||||
|
this.txtUseUSCC.Text = "913309003440581426";
|
||||||
|
this.txtUseAddress.Text = pro.ProjectName;
|
||||||
|
this.txtModRepairProject.Text = "压力管道(" + pro.ProjectName + ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -602,7 +607,7 @@ namespace FineUIPro.Web.JGZL
|
|||||||
newReport.ISO_ID = ids;
|
newReport.ISO_ID = ids;
|
||||||
newReport.PipelineCode = names;
|
newReport.PipelineCode = names;
|
||||||
newReport.PipeLength = this.txtPipeLength.Text.Trim();
|
newReport.PipeLength = this.txtPipeLength.Text.Trim();
|
||||||
newReport.PipeCategory = this.txtPipeCategory.Text.Trim();
|
newReport.PipeCategory = this.drpPipeCategory.SelectedValue.Trim();
|
||||||
newReport.ConCategory = this.cblConCategory.SelectedValueArray[0];
|
newReport.ConCategory = this.cblConCategory.SelectedValueArray[0];
|
||||||
newReport.UseUnit = this.txtUseUnit.Text.Trim();
|
newReport.UseUnit = this.txtUseUnit.Text.Trim();
|
||||||
newReport.UseUSCC = this.txtUseUSCC.Text.Trim();
|
newReport.UseUSCC = this.txtUseUSCC.Text.Trim();
|
||||||
@@ -613,8 +618,8 @@ namespace FineUIPro.Web.JGZL
|
|||||||
newReport.ModRepairProject = this.txtModRepairProject.Text.Trim();
|
newReport.ModRepairProject = this.txtModRepairProject.Text.Trim();
|
||||||
newReport.Remark = this.lblRemark.Text.Trim();
|
newReport.Remark = this.lblRemark.Text.Trim();
|
||||||
newReport.CompletionDate = Funs.GetNewDateTime(this.txtCompletionDate.Text.Trim());
|
newReport.CompletionDate = Funs.GetNewDateTime(this.txtCompletionDate.Text.Trim());
|
||||||
newReport.QC_Inspector = this.txtQC_Inspector.Text.Trim();
|
//newReport.QC_Inspector = this.txtQC_Inspector.Text.Trim();
|
||||||
newReport.QA_Engineer = this.txtQA_Engineer.Text.Trim();
|
//newReport.QA_Engineer = this.txtQA_Engineer.Text.Trim();
|
||||||
if (!string.IsNullOrEmpty(this.QualityCertificateId))
|
if (!string.IsNullOrEmpty(this.QualityCertificateId))
|
||||||
{
|
{
|
||||||
newReport.QualityCertificateId = this.QualityCertificateId;
|
newReport.QualityCertificateId = this.QualityCertificateId;
|
||||||
|
|||||||
@@ -240,13 +240,13 @@ namespace FineUIPro.Web.JGZL
|
|||||||
protected global::FineUIPro.TextBox txtPipeLength;
|
protected global::FineUIPro.TextBox txtPipeLength;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtPipeCategory 控件。
|
/// drpPipeCategory 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// 自动生成的字段。
|
/// 自动生成的字段。
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.TextBox txtPipeCategory;
|
protected global::FineUIPro.DropDownList drpPipeCategory;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// cblConCategory 控件。
|
/// cblConCategory 控件。
|
||||||
@@ -347,42 +347,6 @@ namespace FineUIPro.Web.JGZL
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DatePicker txtCompletionDate;
|
protected global::FineUIPro.DatePicker txtCompletionDate;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Label2 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Label Label2;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// txtQC_Inspector 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.TextBox txtQC_Inspector;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Label3 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Label Label3;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// txtQA_Engineer 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.TextBox txtQA_Engineer;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// WindowPrint 控件。
|
/// WindowPrint 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -431,6 +431,12 @@ namespace Model
|
|||||||
partial void InsertJGZL_InsulationAcceptanceRecordItem(JGZL_InsulationAcceptanceRecordItem instance);
|
partial void InsertJGZL_InsulationAcceptanceRecordItem(JGZL_InsulationAcceptanceRecordItem instance);
|
||||||
partial void UpdateJGZL_InsulationAcceptanceRecordItem(JGZL_InsulationAcceptanceRecordItem instance);
|
partial void UpdateJGZL_InsulationAcceptanceRecordItem(JGZL_InsulationAcceptanceRecordItem instance);
|
||||||
partial void DeleteJGZL_InsulationAcceptanceRecordItem(JGZL_InsulationAcceptanceRecordItem instance);
|
partial void DeleteJGZL_InsulationAcceptanceRecordItem(JGZL_InsulationAcceptanceRecordItem instance);
|
||||||
|
partial void InsertJGZL_LeakageVacuum(JGZL_LeakageVacuum instance);
|
||||||
|
partial void UpdateJGZL_LeakageVacuum(JGZL_LeakageVacuum instance);
|
||||||
|
partial void DeleteJGZL_LeakageVacuum(JGZL_LeakageVacuum instance);
|
||||||
|
partial void InsertJGZL_LeakageVacuumTestRecord(JGZL_LeakageVacuumTestRecord instance);
|
||||||
|
partial void UpdateJGZL_LeakageVacuumTestRecord(JGZL_LeakageVacuumTestRecord instance);
|
||||||
|
partial void DeleteJGZL_LeakageVacuumTestRecord(JGZL_LeakageVacuumTestRecord instance);
|
||||||
partial void InsertJGZL_LeakTestOfPipelineSystemRecord(JGZL_LeakTestOfPipelineSystemRecord instance);
|
partial void InsertJGZL_LeakTestOfPipelineSystemRecord(JGZL_LeakTestOfPipelineSystemRecord instance);
|
||||||
partial void UpdateJGZL_LeakTestOfPipelineSystemRecord(JGZL_LeakTestOfPipelineSystemRecord instance);
|
partial void UpdateJGZL_LeakTestOfPipelineSystemRecord(JGZL_LeakTestOfPipelineSystemRecord instance);
|
||||||
partial void DeleteJGZL_LeakTestOfPipelineSystemRecord(JGZL_LeakTestOfPipelineSystemRecord instance);
|
partial void DeleteJGZL_LeakTestOfPipelineSystemRecord(JGZL_LeakTestOfPipelineSystemRecord instance);
|
||||||
@@ -2084,6 +2090,22 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public System.Data.Linq.Table<JGZL_LeakageVacuum> JGZL_LeakageVacuum
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this.GetTable<JGZL_LeakageVacuum>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public System.Data.Linq.Table<JGZL_LeakageVacuumTestRecord> JGZL_LeakageVacuumTestRecord
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this.GetTable<JGZL_LeakageVacuumTestRecord>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public System.Data.Linq.Table<JGZL_LeakTestOfPipelineSystemRecord> JGZL_LeakTestOfPipelineSystemRecord
|
public System.Data.Linq.Table<JGZL_LeakTestOfPipelineSystemRecord> JGZL_LeakTestOfPipelineSystemRecord
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -5011,6 +5033,8 @@ namespace Model
|
|||||||
|
|
||||||
private EntitySet<JGZL_InsulationAcceptanceRecord> _JGZL_InsulationAcceptanceRecord;
|
private EntitySet<JGZL_InsulationAcceptanceRecord> _JGZL_InsulationAcceptanceRecord;
|
||||||
|
|
||||||
|
private EntitySet<JGZL_LeakageVacuum> _JGZL_LeakageVacuum;
|
||||||
|
|
||||||
private EntitySet<JGZL_LeakTestOfPipelineSystemRecord> _JGZL_LeakTestOfPipelineSystemRecord;
|
private EntitySet<JGZL_LeakTestOfPipelineSystemRecord> _JGZL_LeakTestOfPipelineSystemRecord;
|
||||||
|
|
||||||
private EntitySet<JGZL_MaterialIdentificationInspectionRecord> _JGZL_MaterialIdentificationInspectionRecord;
|
private EntitySet<JGZL_MaterialIdentificationInspectionRecord> _JGZL_MaterialIdentificationInspectionRecord;
|
||||||
@@ -5210,6 +5234,7 @@ namespace Model
|
|||||||
this._JGZL_IndustrialPipelineInstallationQualityCertificate = new EntitySet<JGZL_IndustrialPipelineInstallationQualityCertificate>(new Action<JGZL_IndustrialPipelineInstallationQualityCertificate>(this.attach_JGZL_IndustrialPipelineInstallationQualityCertificate), new Action<JGZL_IndustrialPipelineInstallationQualityCertificate>(this.detach_JGZL_IndustrialPipelineInstallationQualityCertificate));
|
this._JGZL_IndustrialPipelineInstallationQualityCertificate = new EntitySet<JGZL_IndustrialPipelineInstallationQualityCertificate>(new Action<JGZL_IndustrialPipelineInstallationQualityCertificate>(this.attach_JGZL_IndustrialPipelineInstallationQualityCertificate), new Action<JGZL_IndustrialPipelineInstallationQualityCertificate>(this.detach_JGZL_IndustrialPipelineInstallationQualityCertificate));
|
||||||
this._JGZL_IndustrialPipelineInstallationSummary = new EntitySet<JGZL_IndustrialPipelineInstallationSummary>(new Action<JGZL_IndustrialPipelineInstallationSummary>(this.attach_JGZL_IndustrialPipelineInstallationSummary), new Action<JGZL_IndustrialPipelineInstallationSummary>(this.detach_JGZL_IndustrialPipelineInstallationSummary));
|
this._JGZL_IndustrialPipelineInstallationSummary = new EntitySet<JGZL_IndustrialPipelineInstallationSummary>(new Action<JGZL_IndustrialPipelineInstallationSummary>(this.attach_JGZL_IndustrialPipelineInstallationSummary), new Action<JGZL_IndustrialPipelineInstallationSummary>(this.detach_JGZL_IndustrialPipelineInstallationSummary));
|
||||||
this._JGZL_InsulationAcceptanceRecord = new EntitySet<JGZL_InsulationAcceptanceRecord>(new Action<JGZL_InsulationAcceptanceRecord>(this.attach_JGZL_InsulationAcceptanceRecord), new Action<JGZL_InsulationAcceptanceRecord>(this.detach_JGZL_InsulationAcceptanceRecord));
|
this._JGZL_InsulationAcceptanceRecord = new EntitySet<JGZL_InsulationAcceptanceRecord>(new Action<JGZL_InsulationAcceptanceRecord>(this.attach_JGZL_InsulationAcceptanceRecord), new Action<JGZL_InsulationAcceptanceRecord>(this.detach_JGZL_InsulationAcceptanceRecord));
|
||||||
|
this._JGZL_LeakageVacuum = new EntitySet<JGZL_LeakageVacuum>(new Action<JGZL_LeakageVacuum>(this.attach_JGZL_LeakageVacuum), new Action<JGZL_LeakageVacuum>(this.detach_JGZL_LeakageVacuum));
|
||||||
this._JGZL_LeakTestOfPipelineSystemRecord = new EntitySet<JGZL_LeakTestOfPipelineSystemRecord>(new Action<JGZL_LeakTestOfPipelineSystemRecord>(this.attach_JGZL_LeakTestOfPipelineSystemRecord), new Action<JGZL_LeakTestOfPipelineSystemRecord>(this.detach_JGZL_LeakTestOfPipelineSystemRecord));
|
this._JGZL_LeakTestOfPipelineSystemRecord = new EntitySet<JGZL_LeakTestOfPipelineSystemRecord>(new Action<JGZL_LeakTestOfPipelineSystemRecord>(this.attach_JGZL_LeakTestOfPipelineSystemRecord), new Action<JGZL_LeakTestOfPipelineSystemRecord>(this.detach_JGZL_LeakTestOfPipelineSystemRecord));
|
||||||
this._JGZL_MaterialIdentificationInspectionRecord = new EntitySet<JGZL_MaterialIdentificationInspectionRecord>(new Action<JGZL_MaterialIdentificationInspectionRecord>(this.attach_JGZL_MaterialIdentificationInspectionRecord), new Action<JGZL_MaterialIdentificationInspectionRecord>(this.detach_JGZL_MaterialIdentificationInspectionRecord));
|
this._JGZL_MaterialIdentificationInspectionRecord = new EntitySet<JGZL_MaterialIdentificationInspectionRecord>(new Action<JGZL_MaterialIdentificationInspectionRecord>(this.attach_JGZL_MaterialIdentificationInspectionRecord), new Action<JGZL_MaterialIdentificationInspectionRecord>(this.detach_JGZL_MaterialIdentificationInspectionRecord));
|
||||||
this._JGZL_MaterialQualityCertificateDoc = new EntitySet<JGZL_MaterialQualityCertificateDoc>(new Action<JGZL_MaterialQualityCertificateDoc>(this.attach_JGZL_MaterialQualityCertificateDoc), new Action<JGZL_MaterialQualityCertificateDoc>(this.detach_JGZL_MaterialQualityCertificateDoc));
|
this._JGZL_MaterialQualityCertificateDoc = new EntitySet<JGZL_MaterialQualityCertificateDoc>(new Action<JGZL_MaterialQualityCertificateDoc>(this.attach_JGZL_MaterialQualityCertificateDoc), new Action<JGZL_MaterialQualityCertificateDoc>(this.detach_JGZL_MaterialQualityCertificateDoc));
|
||||||
@@ -6540,6 +6565,19 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_LeakageVacuum_Base_Project", Storage="_JGZL_LeakageVacuum", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||||
|
public EntitySet<JGZL_LeakageVacuum> JGZL_LeakageVacuum
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._JGZL_LeakageVacuum;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
this._JGZL_LeakageVacuum.Assign(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_LeakTestOfPipelineSystemRecord_Base_Project", Storage="_JGZL_LeakTestOfPipelineSystemRecord", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_LeakTestOfPipelineSystemRecord_Base_Project", Storage="_JGZL_LeakTestOfPipelineSystemRecord", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||||
public EntitySet<JGZL_LeakTestOfPipelineSystemRecord> JGZL_LeakTestOfPipelineSystemRecord
|
public EntitySet<JGZL_LeakTestOfPipelineSystemRecord> JGZL_LeakTestOfPipelineSystemRecord
|
||||||
{
|
{
|
||||||
@@ -7742,6 +7780,18 @@ namespace Model
|
|||||||
entity.Base_Project = null;
|
entity.Base_Project = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void attach_JGZL_LeakageVacuum(JGZL_LeakageVacuum entity)
|
||||||
|
{
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
entity.Base_Project = this;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void detach_JGZL_LeakageVacuum(JGZL_LeakageVacuum entity)
|
||||||
|
{
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
entity.Base_Project = null;
|
||||||
|
}
|
||||||
|
|
||||||
private void attach_JGZL_LeakTestOfPipelineSystemRecord(JGZL_LeakTestOfPipelineSystemRecord entity)
|
private void attach_JGZL_LeakTestOfPipelineSystemRecord(JGZL_LeakTestOfPipelineSystemRecord entity)
|
||||||
{
|
{
|
||||||
this.SendPropertyChanging();
|
this.SendPropertyChanging();
|
||||||
@@ -90909,6 +90959,720 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_LeakageVacuum")]
|
||||||
|
public partial class JGZL_LeakageVacuum : INotifyPropertyChanging, INotifyPropertyChanged
|
||||||
|
{
|
||||||
|
|
||||||
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||||
|
|
||||||
|
private string _LeakageVacuumId;
|
||||||
|
|
||||||
|
private string _ProjectId;
|
||||||
|
|
||||||
|
private string _SystemName;
|
||||||
|
|
||||||
|
private string _SystemCode;
|
||||||
|
|
||||||
|
private string _CheckItemResult1;
|
||||||
|
|
||||||
|
private string _CheckItemResult2;
|
||||||
|
|
||||||
|
private string _CheckItemResult3;
|
||||||
|
|
||||||
|
private string _CheckItemResult4;
|
||||||
|
|
||||||
|
private string _CheckItemResult5;
|
||||||
|
|
||||||
|
private string _Conclusion;
|
||||||
|
|
||||||
|
private EntityRef<Base_Project> _Base_Project;
|
||||||
|
|
||||||
|
private EntitySet<JGZL_LeakageVacuumTestRecord> _JGZL_LeakageVacuumTestRecord;
|
||||||
|
|
||||||
|
#region 可扩展性方法定义
|
||||||
|
partial void OnLoaded();
|
||||||
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||||
|
partial void OnCreated();
|
||||||
|
partial void OnLeakageVacuumIdChanging(string value);
|
||||||
|
partial void OnLeakageVacuumIdChanged();
|
||||||
|
partial void OnProjectIdChanging(string value);
|
||||||
|
partial void OnProjectIdChanged();
|
||||||
|
partial void OnSystemNameChanging(string value);
|
||||||
|
partial void OnSystemNameChanged();
|
||||||
|
partial void OnSystemCodeChanging(string value);
|
||||||
|
partial void OnSystemCodeChanged();
|
||||||
|
partial void OnCheckItemResult1Changing(string value);
|
||||||
|
partial void OnCheckItemResult1Changed();
|
||||||
|
partial void OnCheckItemResult2Changing(string value);
|
||||||
|
partial void OnCheckItemResult2Changed();
|
||||||
|
partial void OnCheckItemResult3Changing(string value);
|
||||||
|
partial void OnCheckItemResult3Changed();
|
||||||
|
partial void OnCheckItemResult4Changing(string value);
|
||||||
|
partial void OnCheckItemResult4Changed();
|
||||||
|
partial void OnCheckItemResult5Changing(string value);
|
||||||
|
partial void OnCheckItemResult5Changed();
|
||||||
|
partial void OnConclusionChanging(string value);
|
||||||
|
partial void OnConclusionChanged();
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
public JGZL_LeakageVacuum()
|
||||||
|
{
|
||||||
|
this._Base_Project = default(EntityRef<Base_Project>);
|
||||||
|
this._JGZL_LeakageVacuumTestRecord = new EntitySet<JGZL_LeakageVacuumTestRecord>(new Action<JGZL_LeakageVacuumTestRecord>(this.attach_JGZL_LeakageVacuumTestRecord), new Action<JGZL_LeakageVacuumTestRecord>(this.detach_JGZL_LeakageVacuumTestRecord));
|
||||||
|
OnCreated();
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeakageVacuumId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||||
|
public string LeakageVacuumId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._LeakageVacuumId;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._LeakageVacuumId != value))
|
||||||
|
{
|
||||||
|
this.OnLeakageVacuumIdChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._LeakageVacuumId = value;
|
||||||
|
this.SendPropertyChanged("LeakageVacuumId");
|
||||||
|
this.OnLeakageVacuumIdChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||||
|
public string ProjectId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._ProjectId;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._ProjectId != value))
|
||||||
|
{
|
||||||
|
if (this._Base_Project.HasLoadedOrAssignedValue)
|
||||||
|
{
|
||||||
|
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||||
|
}
|
||||||
|
this.OnProjectIdChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._ProjectId = value;
|
||||||
|
this.SendPropertyChanged("ProjectId");
|
||||||
|
this.OnProjectIdChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemName", DbType="NVarChar(50)")]
|
||||||
|
public string SystemName
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._SystemName;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._SystemName != value))
|
||||||
|
{
|
||||||
|
this.OnSystemNameChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._SystemName = value;
|
||||||
|
this.SendPropertyChanged("SystemName");
|
||||||
|
this.OnSystemNameChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemCode", DbType="NVarChar(50)")]
|
||||||
|
public string SystemCode
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._SystemCode;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._SystemCode != value))
|
||||||
|
{
|
||||||
|
this.OnSystemCodeChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._SystemCode = value;
|
||||||
|
this.SendPropertyChanged("SystemCode");
|
||||||
|
this.OnSystemCodeChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckItemResult1", DbType="NVarChar(50)")]
|
||||||
|
public string CheckItemResult1
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._CheckItemResult1;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._CheckItemResult1 != value))
|
||||||
|
{
|
||||||
|
this.OnCheckItemResult1Changing(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._CheckItemResult1 = value;
|
||||||
|
this.SendPropertyChanged("CheckItemResult1");
|
||||||
|
this.OnCheckItemResult1Changed();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckItemResult2", DbType="NVarChar(50)")]
|
||||||
|
public string CheckItemResult2
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._CheckItemResult2;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._CheckItemResult2 != value))
|
||||||
|
{
|
||||||
|
this.OnCheckItemResult2Changing(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._CheckItemResult2 = value;
|
||||||
|
this.SendPropertyChanged("CheckItemResult2");
|
||||||
|
this.OnCheckItemResult2Changed();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckItemResult3", DbType="NVarChar(50)")]
|
||||||
|
public string CheckItemResult3
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._CheckItemResult3;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._CheckItemResult3 != value))
|
||||||
|
{
|
||||||
|
this.OnCheckItemResult3Changing(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._CheckItemResult3 = value;
|
||||||
|
this.SendPropertyChanged("CheckItemResult3");
|
||||||
|
this.OnCheckItemResult3Changed();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckItemResult4", DbType="NVarChar(50)")]
|
||||||
|
public string CheckItemResult4
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._CheckItemResult4;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._CheckItemResult4 != value))
|
||||||
|
{
|
||||||
|
this.OnCheckItemResult4Changing(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._CheckItemResult4 = value;
|
||||||
|
this.SendPropertyChanged("CheckItemResult4");
|
||||||
|
this.OnCheckItemResult4Changed();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckItemResult5", DbType="NVarChar(50)")]
|
||||||
|
public string CheckItemResult5
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._CheckItemResult5;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._CheckItemResult5 != value))
|
||||||
|
{
|
||||||
|
this.OnCheckItemResult5Changing(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._CheckItemResult5 = value;
|
||||||
|
this.SendPropertyChanged("CheckItemResult5");
|
||||||
|
this.OnCheckItemResult5Changed();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Conclusion", DbType="NVarChar(500)")]
|
||||||
|
public string Conclusion
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._Conclusion;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._Conclusion != value))
|
||||||
|
{
|
||||||
|
this.OnConclusionChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._Conclusion = value;
|
||||||
|
this.SendPropertyChanged("Conclusion");
|
||||||
|
this.OnConclusionChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_LeakageVacuum_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
|
||||||
|
public Base_Project Base_Project
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._Base_Project.Entity;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
Base_Project previousValue = this._Base_Project.Entity;
|
||||||
|
if (((previousValue != value)
|
||||||
|
|| (this._Base_Project.HasLoadedOrAssignedValue == false)))
|
||||||
|
{
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
if ((previousValue != null))
|
||||||
|
{
|
||||||
|
this._Base_Project.Entity = null;
|
||||||
|
previousValue.JGZL_LeakageVacuum.Remove(this);
|
||||||
|
}
|
||||||
|
this._Base_Project.Entity = value;
|
||||||
|
if ((value != null))
|
||||||
|
{
|
||||||
|
value.JGZL_LeakageVacuum.Add(this);
|
||||||
|
this._ProjectId = value.ProjectId;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this._ProjectId = default(string);
|
||||||
|
}
|
||||||
|
this.SendPropertyChanged("Base_Project");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_LeakageVacuumTestRecord_JGZL_LeakageVacuum", Storage="_JGZL_LeakageVacuumTestRecord", ThisKey="LeakageVacuumId", OtherKey="LeakageVacuumId", DeleteRule="NO ACTION")]
|
||||||
|
public EntitySet<JGZL_LeakageVacuumTestRecord> JGZL_LeakageVacuumTestRecord
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._JGZL_LeakageVacuumTestRecord;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
this._JGZL_LeakageVacuumTestRecord.Assign(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public event PropertyChangingEventHandler PropertyChanging;
|
||||||
|
|
||||||
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
|
|
||||||
|
protected virtual void SendPropertyChanging()
|
||||||
|
{
|
||||||
|
if ((this.PropertyChanging != null))
|
||||||
|
{
|
||||||
|
this.PropertyChanging(this, emptyChangingEventArgs);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected virtual void SendPropertyChanged(String propertyName)
|
||||||
|
{
|
||||||
|
if ((this.PropertyChanged != null))
|
||||||
|
{
|
||||||
|
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void attach_JGZL_LeakageVacuumTestRecord(JGZL_LeakageVacuumTestRecord entity)
|
||||||
|
{
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
entity.JGZL_LeakageVacuum = this;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void detach_JGZL_LeakageVacuumTestRecord(JGZL_LeakageVacuumTestRecord entity)
|
||||||
|
{
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
entity.JGZL_LeakageVacuum = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_LeakageVacuumTestRecord")]
|
||||||
|
public partial class JGZL_LeakageVacuumTestRecord : INotifyPropertyChanging, INotifyPropertyChanged
|
||||||
|
{
|
||||||
|
|
||||||
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||||
|
|
||||||
|
private string _LeakageVacuumTestRecordId;
|
||||||
|
|
||||||
|
private string _LeakageVacuumId;
|
||||||
|
|
||||||
|
private string _PipelineId;
|
||||||
|
|
||||||
|
private string _PipelineCode;
|
||||||
|
|
||||||
|
private string _DesignPressure;
|
||||||
|
|
||||||
|
private string _DesignTem;
|
||||||
|
|
||||||
|
private string _TestAmbientTemp;
|
||||||
|
|
||||||
|
private string _TestMediumTemp;
|
||||||
|
|
||||||
|
private string _LeakPressure;
|
||||||
|
|
||||||
|
private string _LeakMedium;
|
||||||
|
|
||||||
|
private string _VacuumPressure;
|
||||||
|
|
||||||
|
private string _VacuumMedium;
|
||||||
|
|
||||||
|
private EntityRef<JGZL_LeakageVacuum> _JGZL_LeakageVacuum;
|
||||||
|
|
||||||
|
#region 可扩展性方法定义
|
||||||
|
partial void OnLoaded();
|
||||||
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||||
|
partial void OnCreated();
|
||||||
|
partial void OnLeakageVacuumTestRecordIdChanging(string value);
|
||||||
|
partial void OnLeakageVacuumTestRecordIdChanged();
|
||||||
|
partial void OnLeakageVacuumIdChanging(string value);
|
||||||
|
partial void OnLeakageVacuumIdChanged();
|
||||||
|
partial void OnPipelineIdChanging(string value);
|
||||||
|
partial void OnPipelineIdChanged();
|
||||||
|
partial void OnPipelineCodeChanging(string value);
|
||||||
|
partial void OnPipelineCodeChanged();
|
||||||
|
partial void OnDesignPressureChanging(string value);
|
||||||
|
partial void OnDesignPressureChanged();
|
||||||
|
partial void OnDesignTemChanging(string value);
|
||||||
|
partial void OnDesignTemChanged();
|
||||||
|
partial void OnTestAmbientTempChanging(string value);
|
||||||
|
partial void OnTestAmbientTempChanged();
|
||||||
|
partial void OnTestMediumTempChanging(string value);
|
||||||
|
partial void OnTestMediumTempChanged();
|
||||||
|
partial void OnLeakPressureChanging(string value);
|
||||||
|
partial void OnLeakPressureChanged();
|
||||||
|
partial void OnLeakMediumChanging(string value);
|
||||||
|
partial void OnLeakMediumChanged();
|
||||||
|
partial void OnVacuumPressureChanging(string value);
|
||||||
|
partial void OnVacuumPressureChanged();
|
||||||
|
partial void OnVacuumMediumChanging(string value);
|
||||||
|
partial void OnVacuumMediumChanged();
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
public JGZL_LeakageVacuumTestRecord()
|
||||||
|
{
|
||||||
|
this._JGZL_LeakageVacuum = default(EntityRef<JGZL_LeakageVacuum>);
|
||||||
|
OnCreated();
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeakageVacuumTestRecordId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||||
|
public string LeakageVacuumTestRecordId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._LeakageVacuumTestRecordId;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._LeakageVacuumTestRecordId != value))
|
||||||
|
{
|
||||||
|
this.OnLeakageVacuumTestRecordIdChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._LeakageVacuumTestRecordId = value;
|
||||||
|
this.SendPropertyChanged("LeakageVacuumTestRecordId");
|
||||||
|
this.OnLeakageVacuumTestRecordIdChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeakageVacuumId", DbType="NVarChar(50)")]
|
||||||
|
public string LeakageVacuumId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._LeakageVacuumId;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._LeakageVacuumId != value))
|
||||||
|
{
|
||||||
|
if (this._JGZL_LeakageVacuum.HasLoadedOrAssignedValue)
|
||||||
|
{
|
||||||
|
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||||
|
}
|
||||||
|
this.OnLeakageVacuumIdChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._LeakageVacuumId = value;
|
||||||
|
this.SendPropertyChanged("LeakageVacuumId");
|
||||||
|
this.OnLeakageVacuumIdChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineId", DbType="NVarChar(50)")]
|
||||||
|
public string PipelineId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._PipelineId;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._PipelineId != value))
|
||||||
|
{
|
||||||
|
this.OnPipelineIdChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._PipelineId = value;
|
||||||
|
this.SendPropertyChanged("PipelineId");
|
||||||
|
this.OnPipelineIdChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineCode", DbType="NVarChar(50)")]
|
||||||
|
public string PipelineCode
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._PipelineCode;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._PipelineCode != value))
|
||||||
|
{
|
||||||
|
this.OnPipelineCodeChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._PipelineCode = value;
|
||||||
|
this.SendPropertyChanged("PipelineCode");
|
||||||
|
this.OnPipelineCodeChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignPressure", DbType="NVarChar(50)")]
|
||||||
|
public string DesignPressure
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._DesignPressure;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._DesignPressure != value))
|
||||||
|
{
|
||||||
|
this.OnDesignPressureChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._DesignPressure = value;
|
||||||
|
this.SendPropertyChanged("DesignPressure");
|
||||||
|
this.OnDesignPressureChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignTem", DbType="NVarChar(50)")]
|
||||||
|
public string DesignTem
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._DesignTem;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._DesignTem != value))
|
||||||
|
{
|
||||||
|
this.OnDesignTemChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._DesignTem = value;
|
||||||
|
this.SendPropertyChanged("DesignTem");
|
||||||
|
this.OnDesignTemChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestAmbientTemp", DbType="NVarChar(50)")]
|
||||||
|
public string TestAmbientTemp
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._TestAmbientTemp;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._TestAmbientTemp != value))
|
||||||
|
{
|
||||||
|
this.OnTestAmbientTempChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._TestAmbientTemp = value;
|
||||||
|
this.SendPropertyChanged("TestAmbientTemp");
|
||||||
|
this.OnTestAmbientTempChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestMediumTemp", DbType="NVarChar(50)")]
|
||||||
|
public string TestMediumTemp
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._TestMediumTemp;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._TestMediumTemp != value))
|
||||||
|
{
|
||||||
|
this.OnTestMediumTempChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._TestMediumTemp = value;
|
||||||
|
this.SendPropertyChanged("TestMediumTemp");
|
||||||
|
this.OnTestMediumTempChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeakPressure", DbType="NVarChar(50)")]
|
||||||
|
public string LeakPressure
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._LeakPressure;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._LeakPressure != value))
|
||||||
|
{
|
||||||
|
this.OnLeakPressureChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._LeakPressure = value;
|
||||||
|
this.SendPropertyChanged("LeakPressure");
|
||||||
|
this.OnLeakPressureChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeakMedium", DbType="NVarChar(50)")]
|
||||||
|
public string LeakMedium
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._LeakMedium;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._LeakMedium != value))
|
||||||
|
{
|
||||||
|
this.OnLeakMediumChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._LeakMedium = value;
|
||||||
|
this.SendPropertyChanged("LeakMedium");
|
||||||
|
this.OnLeakMediumChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VacuumPressure", DbType="NVarChar(50)")]
|
||||||
|
public string VacuumPressure
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._VacuumPressure;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._VacuumPressure != value))
|
||||||
|
{
|
||||||
|
this.OnVacuumPressureChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._VacuumPressure = value;
|
||||||
|
this.SendPropertyChanged("VacuumPressure");
|
||||||
|
this.OnVacuumPressureChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VacuumMedium", DbType="NVarChar(50)")]
|
||||||
|
public string VacuumMedium
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._VacuumMedium;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._VacuumMedium != value))
|
||||||
|
{
|
||||||
|
this.OnVacuumMediumChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._VacuumMedium = value;
|
||||||
|
this.SendPropertyChanged("VacuumMedium");
|
||||||
|
this.OnVacuumMediumChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_LeakageVacuumTestRecord_JGZL_LeakageVacuum", Storage="_JGZL_LeakageVacuum", ThisKey="LeakageVacuumId", OtherKey="LeakageVacuumId", IsForeignKey=true)]
|
||||||
|
public JGZL_LeakageVacuum JGZL_LeakageVacuum
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._JGZL_LeakageVacuum.Entity;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
JGZL_LeakageVacuum previousValue = this._JGZL_LeakageVacuum.Entity;
|
||||||
|
if (((previousValue != value)
|
||||||
|
|| (this._JGZL_LeakageVacuum.HasLoadedOrAssignedValue == false)))
|
||||||
|
{
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
if ((previousValue != null))
|
||||||
|
{
|
||||||
|
this._JGZL_LeakageVacuum.Entity = null;
|
||||||
|
previousValue.JGZL_LeakageVacuumTestRecord.Remove(this);
|
||||||
|
}
|
||||||
|
this._JGZL_LeakageVacuum.Entity = value;
|
||||||
|
if ((value != null))
|
||||||
|
{
|
||||||
|
value.JGZL_LeakageVacuumTestRecord.Add(this);
|
||||||
|
this._LeakageVacuumId = value.LeakageVacuumId;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this._LeakageVacuumId = default(string);
|
||||||
|
}
|
||||||
|
this.SendPropertyChanged("JGZL_LeakageVacuum");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public event PropertyChangingEventHandler PropertyChanging;
|
||||||
|
|
||||||
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
|
|
||||||
|
protected virtual void SendPropertyChanging()
|
||||||
|
{
|
||||||
|
if ((this.PropertyChanging != null))
|
||||||
|
{
|
||||||
|
this.PropertyChanging(this, emptyChangingEventArgs);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected virtual void SendPropertyChanged(String propertyName)
|
||||||
|
{
|
||||||
|
if ((this.PropertyChanged != null))
|
||||||
|
{
|
||||||
|
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_LeakTestOfPipelineSystemRecord")]
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_LeakTestOfPipelineSystemRecord")]
|
||||||
public partial class JGZL_LeakTestOfPipelineSystemRecord : INotifyPropertyChanging, INotifyPropertyChanged
|
public partial class JGZL_LeakTestOfPipelineSystemRecord : INotifyPropertyChanging, INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user