1
This commit is contained in:
@@ -0,0 +1,126 @@
|
|||||||
|
|
||||||
|
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
|
||||||
|
values('BC7616E5-E6B2-4C32-A3C4-8B2877B73DD0','工业管道安装汇总表(舟山特检院要求表)','JGZL/IndustrialInstallationSummaryZhoushan.aspx',52,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
|
||||||
|
go
|
||||||
|
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||||
|
values('7D9788EA-5015-4C75-9345-6413C5CE31B7','BC7616E5-E6B2-4C32-A3C4-8B2877B73DD0','增加',1)
|
||||||
|
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||||
|
values('4F1EFB19-F2B0-45FA-A23D-E099B0F349C6','BC7616E5-E6B2-4C32-A3C4-8B2877B73DD0','修改',2)
|
||||||
|
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||||
|
values('987AB25A-D7ED-4955-B871-21CD85B75282','BC7616E5-E6B2-4C32-A3C4-8B2877B73DD0','删除',3)
|
||||||
|
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||||
|
values('868F695F-2963-49AE-A479-4E6BCB90B061','BC7616E5-E6B2-4C32-A3C4-8B2877B73DD0','提交',4)
|
||||||
|
go
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE [dbo].[JGZL_IndustrialInstallationSummaryZhoushan](
|
||||||
|
[SummaryId] [nvarchar](50) NOT NULL,
|
||||||
|
[ProjectId] [nvarchar](50) NULL,
|
||||||
|
[InstallationName] [nvarchar](50) NULL,
|
||||||
|
[TestPackageCode] [nvarchar](50) NULL,
|
||||||
|
[PipelineName] [nvarchar](50) NULL,
|
||||||
|
[PipelineCode] [nvarchar](50) NULL,
|
||||||
|
[PipelineLevel] [nvarchar](50) NULL,
|
||||||
|
[Material] [nvarchar](50) NULL,
|
||||||
|
[Medium] [nvarchar](50) NULL,
|
||||||
|
[Diameter] [decimal](18, 2) NULL,
|
||||||
|
[WallThickness] [decimal](18, 2) NULL,
|
||||||
|
[PipelineLength] [decimal](18, 2) NULL,
|
||||||
|
[WeldJointsCount] [int] NULL,
|
||||||
|
[PipeFittings] [int] NULL,
|
||||||
|
[StartPoint] [nvarchar](50) NULL,
|
||||||
|
[EndPoint] [nvarchar](50) NULL,
|
||||||
|
[DesignTemperature] [decimal](18, 2) NULL,
|
||||||
|
[DesignPressure] [decimal](18, 2) NULL,
|
||||||
|
[OperatingTemperature] [decimal](18, 2) NULL,
|
||||||
|
[OperatingPressure] [decimal](18, 2) NULL,
|
||||||
|
[PressureTestMedium] [nvarchar](50) NULL,
|
||||||
|
[PressureTestPressure] [decimal](18, 2) NULL,
|
||||||
|
[TestDate] [datetime] NULL,
|
||||||
|
CONSTRAINT [PK_JGZL_IndustrialInstallationSummaryZhoushan] PRIMARY KEY CLUSTERED
|
||||||
|
(
|
||||||
|
[SummaryId] 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_IndustrialInstallationSummaryZhoushan] WITH CHECK ADD CONSTRAINT [FK_JGZL_IndustrialInstallationSummaryZhoushan_Base_Project] FOREIGN KEY([ProjectId])
|
||||||
|
REFERENCES [dbo].[Base_Project] ([ProjectId])
|
||||||
|
GO
|
||||||
|
|
||||||
|
ALTER TABLE [dbo].[JGZL_IndustrialInstallationSummaryZhoushan] CHECK CONSTRAINT [FK_JGZL_IndustrialInstallationSummaryZhoushan_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_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'SummaryId'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @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_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'InstallationName'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'试压包编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'TestPackageCode'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管道名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'PipelineName'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管道编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'PipelineCode'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管道级别' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'PipelineLevel'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'材质' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'Material'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'介质' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'Medium'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公称直径(mm)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'Diameter'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公称壁厚(mm)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'WallThickness'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管道长度(m)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'PipelineLength'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'焊口总数(个)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'WeldJointsCount'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管件数量(个)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'PipeFittings'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'起点' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'StartPoint'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'终点' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'EndPoint'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'设计温度(℃)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'DesignTemperature'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'设计压力(MPa)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'DesignPressure'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作温度℃' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'OperatingTemperature'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作压力Mpa' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'OperatingPressure'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'压力试验介质' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'PressureTestMedium'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'压力试验压力Mpa' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'PressureTestPressure'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'试压时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'TestDate'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'压力管道安装汇总表(舟山特检院要求表)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan'
|
||||||
|
GO
|
||||||
|
|
||||||
|
|
||||||
@@ -264,6 +264,7 @@
|
|||||||
<Compile Include="JGZL\ArchivalTransferService.cs" />
|
<Compile Include="JGZL\ArchivalTransferService.cs" />
|
||||||
<Compile Include="JGZL\DocumentDescriptionService.cs" />
|
<Compile Include="JGZL\DocumentDescriptionService.cs" />
|
||||||
<Compile Include="JGZL\FileDirectoryService.cs" />
|
<Compile Include="JGZL\FileDirectoryService.cs" />
|
||||||
|
<Compile Include="JGZL\IndustrialInstallationSummaryZhoushanService.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\LeakageVacuumService.cs" />
|
||||||
|
|||||||
@@ -0,0 +1,76 @@
|
|||||||
|
using Model;
|
||||||
|
using Org.BouncyCastle.Bcpg.OpenPgp;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace BLL
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 压力管道安装汇总表(舟山特检院要求表)
|
||||||
|
/// </summary>
|
||||||
|
public class IndustrialInstallationSummaryZhoushanService
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 根据项目Id获取压力管道安装汇总表(舟山特检院要求表)
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="projectId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static List<Model.JGZL_IndustrialInstallationSummaryZhoushan> GetInstallationSummaryZhoushanByProjectId(string projectId)
|
||||||
|
{
|
||||||
|
return (from x in Funs.DB.JGZL_IndustrialInstallationSummaryZhoushan where x.ProjectId == projectId select x).ToList();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 增加
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="zs"></param>
|
||||||
|
public static void AddIndustrialInstallationSummaryZhoushan(Model.JGZL_IndustrialInstallationSummaryZhoushan zs)
|
||||||
|
{
|
||||||
|
SGGLDB db = Funs.DB;
|
||||||
|
Model.JGZL_IndustrialInstallationSummaryZhoushan newZS = new JGZL_IndustrialInstallationSummaryZhoushan();
|
||||||
|
newZS.SummaryId = zs.SummaryId;
|
||||||
|
newZS.ProjectId= zs.ProjectId;
|
||||||
|
newZS.InstallationName= zs.InstallationName;
|
||||||
|
newZS.TestPackageCode = zs.TestPackageCode;
|
||||||
|
newZS.PipelineName = zs.PipelineName;
|
||||||
|
newZS.PipelineCode = zs.PipelineCode;
|
||||||
|
newZS.PipelineLevel = zs.PipelineLevel;
|
||||||
|
newZS.Material = zs.Material;
|
||||||
|
newZS.Medium= zs.Medium;
|
||||||
|
newZS.Diameter= zs.Diameter;
|
||||||
|
newZS.WallThickness= zs.WallThickness;
|
||||||
|
newZS.PipelineLength = zs.PipelineLength;
|
||||||
|
newZS.WeldJointsCount= zs.WeldJointsCount;
|
||||||
|
newZS.PipeFittings= zs.PipeFittings;
|
||||||
|
newZS.StartPoint= zs.StartPoint;
|
||||||
|
newZS.EndPoint= zs.EndPoint;
|
||||||
|
newZS.DesignTemperature= zs.DesignTemperature;
|
||||||
|
newZS.DesignPressure= zs.DesignPressure;
|
||||||
|
newZS.OperatingTemperature= zs.OperatingTemperature;
|
||||||
|
newZS.OperatingPressure = zs.OperatingPressure;
|
||||||
|
newZS.PressureTestPressure= zs.PressureTestPressure;
|
||||||
|
newZS.PressureTestMedium = zs.PressureTestMedium;
|
||||||
|
newZS.TestDate= zs.TestDate;
|
||||||
|
db.JGZL_IndustrialInstallationSummaryZhoushan.InsertOnSubmit(newZS);
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 根据项目Id删除压力管道安装汇总表(舟山特检院要求表)
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="projectId"></param>
|
||||||
|
public static void DeleteIndustrialInstallationSummaryZhoushanByProjectId(string projectId)
|
||||||
|
{
|
||||||
|
SGGLDB db = Funs.DB;
|
||||||
|
var q = (from x in db.JGZL_IndustrialInstallationSummaryZhoushan where x.ProjectId == projectId select x).ToList();
|
||||||
|
if (q.Count>0)
|
||||||
|
{
|
||||||
|
db.JGZL_IndustrialInstallationSummaryZhoushan.DeleteAllOnSubmit(q);
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="10/26/2024 15:04:43" ReportInfo.Modified="04/22/2026 23:04:05" ReportInfo.CreatorVersion="2017.1.16.0">
|
<Report ScriptLanguage="CSharp" ReportInfo.Created="10/26/2024 15:04:43" ReportInfo.Modified="09/24/2026 13:25:49" 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;
|
||||||
@@ -39,7 +39,7 @@ namespace FastReport
|
|||||||
}
|
}
|
||||||
</ScriptText>
|
</ScriptText>
|
||||||
<Dictionary>
|
<Dictionary>
|
||||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFjpTGEarsSxENa6kYDYyuhA==">
|
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFXRA52hHA2Zz6d5lLvCYfUA==">
|
||||||
<TableDataSource Name="Data" DataType="System.Int32" PropName="HJGL_BakeRecords" Enabled="true" TableName="Data">
|
<TableDataSource Name="Data" DataType="System.Int32" PropName="HJGL_BakeRecords" Enabled="true" TableName="Data">
|
||||||
<Column Name="BakeDateMonth" DataType="System.String"/>
|
<Column Name="BakeDateMonth" DataType="System.String"/>
|
||||||
<Column Name="BakeDateDay" DataType="System.String" PropName="Column"/>
|
<Column Name="BakeDateDay" DataType="System.String" PropName="Column"/>
|
||||||
@@ -65,9 +65,9 @@ namespace FastReport
|
|||||||
</MsSqlDataConnection>
|
</MsSqlDataConnection>
|
||||||
<Parameter Name="ProjectName" DataType="System.String"/>
|
<Parameter Name="ProjectName" DataType="System.String"/>
|
||||||
</Dictionary>
|
</Dictionary>
|
||||||
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="16" TopMargin="22" RightMargin="13.2" BottomMargin="17" Guides="0,1011.67,330.2,33.91,100.06,52.81,729.89,81.16,43.36,822.17,744.9,778.81,788.26,812.72,856.08,899.44,933.35,77.27,177.33,277.39,383.01,464.17,507.53,618.71,797.71,575.35,662.07,78.32,541.44,695.98,763.8,9.45,1001.7,708.75,1011.51,43.38,77.31,177.39,277.47,383.13,52.83,464.31,507.69,541.62,575.55,618.93,662.31,696.24,730.17,764.1,798.03,821.9301,855.86,899.24,933.17,1011.63,515.05,33.89,100.04,52.79,62.24,71.69,3.84,43.34,63.18">
|
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="16" TopMargin="22" RightMargin="13.2" BottomMargin="17" Guides="0,1011.67,330.2,33.91,100.06,52.81,729.89,81.16,43.36,822.17,24.46,78.32,77.27,177.33,277.39,383.01,464.17,507.53,618.71,797.71,899.44,933.35,575.35,662.07,856.08,541.44,695.98,763.8,1011.51,43.38,77.31,177.39,277.47,383.13,52.83,464.31,507.69,541.62,575.55,618.93,662.31,696.24,730.17,764.1,798.03,821.9301,855.86,899.24,933.17,1011.63,515.05,33.89,100.04,52.79,62.24,71.69,3.84,43.34,63.18">
|
||||||
<PageHeaderBand Name="PageHeader1" Width="1012.28" Height="205.81" Guides="56.7,205.81,0,78.25,101.87,23.62,149.11,125.49,28.35,37.8">
|
<PageHeaderBand Name="PageHeader1" Width="1012.28" Height="149.11" Guides="0,149.11,78.25,101.87,23.62,125.49">
|
||||||
<TableObject Name="Table1" Top="56.7" Width="1011.67" Height="149.11">
|
<TableObject Name="Table1" Width="1011.67" Height="149.11">
|
||||||
<TableColumn Name="Column1" Width="43.36"/>
|
<TableColumn Name="Column1" Width="43.36"/>
|
||||||
<TableColumn Name="Column2" Width="33.91"/>
|
<TableColumn Name="Column2" Width="33.91"/>
|
||||||
<TableColumn Name="Column3" Width="100.06"/>
|
<TableColumn Name="Column3" Width="100.06"/>
|
||||||
@@ -182,10 +182,8 @@ namespace FastReport
|
|||||||
<TableCell Name="Cell89" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
<TableCell Name="Cell89" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
</TableObject>
|
</TableObject>
|
||||||
<TextObject Name="Text1" Left="9.45" Width="992.25" Height="28.35" Text="浙 江 鼎 盛 石 化 工 程 有 限 公 司" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold"/>
|
|
||||||
<TextObject Name="Text2" Left="708.75" Top="37.8" Width="292.95" Height="18.9" Text="ZDS-T6.37.075.A/1.2020" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
|
||||||
</PageHeaderBand>
|
</PageHeaderBand>
|
||||||
<DataBand Name="Data1" Top="209.81" Width="1012.28" Height="33.07" Guides="0,33.07">
|
<DataBand Name="Data1" Top="153.11" Width="1012.28" Height="33.07" Guides="0,33.07">
|
||||||
<TableObject Name="Table2" Width="1011.51" Height="33.07" ManualBuildEvent="Table2_ManualBuild">
|
<TableObject Name="Table2" Width="1011.51" Height="33.07" ManualBuildEvent="Table2_ManualBuild">
|
||||||
<TableColumn Name="Column22" Width="43.38"/>
|
<TableColumn Name="Column22" Width="43.38"/>
|
||||||
<TableColumn Name="Column23" Width="33.93"/>
|
<TableColumn Name="Column23" Width="33.93"/>
|
||||||
@@ -233,8 +231,8 @@ namespace FastReport
|
|||||||
</TableRow>
|
</TableRow>
|
||||||
</TableObject>
|
</TableObject>
|
||||||
</DataBand>
|
</DataBand>
|
||||||
<ColumnFooterBand Name="ColumnFooter1" Top="283.95" Width="1012.28">
|
<ColumnFooterBand Name="ColumnFooter1" Top="227.25" Width="1012.28">
|
||||||
<ChildBand Name="Child1" Top="246.88" Width="1012.28" Height="33.07" Guides="0,33.07" FillUnusedSpace="true">
|
<ChildBand Name="Child1" Top="190.18" Width="1012.28" Height="33.07" Guides="0,33.07" FillUnusedSpace="true">
|
||||||
<TableObject Name="Table3" Width="1011.67" Height="33.07">
|
<TableObject Name="Table3" Width="1011.67" Height="33.07">
|
||||||
<TableColumn Name="Column43" Width="43.36"/>
|
<TableColumn Name="Column43" Width="43.36"/>
|
||||||
<TableColumn Name="Column44" Width="33.91"/>
|
<TableColumn Name="Column44" Width="33.91"/>
|
||||||
@@ -283,7 +281,7 @@ namespace FastReport
|
|||||||
</TableObject>
|
</TableObject>
|
||||||
</ChildBand>
|
</ChildBand>
|
||||||
</ColumnFooterBand>
|
</ColumnFooterBand>
|
||||||
<PageFooterBand Name="PageFooter1" Top="287.95" Width="1012.28" Height="43.47" Guides="0,43.47">
|
<PageFooterBand Name="PageFooter1" Top="231.25" Width="1012.28" Height="43.47" Guides="0,43.47">
|
||||||
<TableObject Name="Table4" Width="1011.63" Height="43.47">
|
<TableObject Name="Table4" Width="1011.63" Height="43.47">
|
||||||
<TableColumn Name="Column64" Width="33.89"/>
|
<TableColumn Name="Column64" Width="33.89"/>
|
||||||
<TableColumn Name="Column65" Width="33.89"/>
|
<TableColumn Name="Column65" Width="33.89"/>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="10/26/2024 15:04:43" ReportInfo.Modified="11/05/2024 15:06:25" ReportInfo.CreatorVersion="2017.1.16.0">
|
<Report ScriptLanguage="CSharp" ReportInfo.Created="10/26/2024 15:04:43" ReportInfo.Modified="09/24/2026 13:53:49" 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;
|
||||||
@@ -39,7 +39,7 @@ namespace FastReport
|
|||||||
}
|
}
|
||||||
</ScriptText>
|
</ScriptText>
|
||||||
<Dictionary>
|
<Dictionary>
|
||||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJIsLkZzjrsv+NOSh6uCq6Ug==">
|
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFUQPsnPetCK/eKuGGko7kWA==">
|
||||||
<TableDataSource Name="Data" DataType="System.Int32" PropName="HJGL_BakeRecords" Enabled="true" TableName="Data">
|
<TableDataSource Name="Data" DataType="System.Int32" PropName="HJGL_BakeRecords" Enabled="true" TableName="Data">
|
||||||
<Column Name="BakeDateMonth" DataType="System.String"/>
|
<Column Name="BakeDateMonth" DataType="System.String"/>
|
||||||
<Column Name="BakeDateDay" DataType="System.String" PropName="Column"/>
|
<Column Name="BakeDateDay" DataType="System.String" PropName="Column"/>
|
||||||
|
|||||||
@@ -20,17 +20,19 @@
|
|||||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" EnableCheckBoxSelect="true"
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" EnableCheckBoxSelect="true"
|
||||||
KeepCurrentSelection="true" runat="server" BoxFlex="1" DataKeyNames="BakeRecordsId"
|
KeepCurrentSelection="true" runat="server" BoxFlex="1" DataKeyNames="BakeRecordsId"
|
||||||
DataIDField="BakeRecordsId" AllowSorting="true" SortField="BakeDate" SortDirection="DESC"
|
DataIDField="BakeRecordsId" AllowSorting="true" SortField="BakeDate" SortDirection="DESC"
|
||||||
OnSort="Grid1_Sort" EnableTextSelection="True">
|
OnSort="Grid1_Sort" EnableTextSelection="True" AllowPaging="true" IsDatabasePaging="true" PageSize="50"
|
||||||
|
OnPageIndexChange="Grid1_PageIndexChange" >
|
||||||
<Toolbars>
|
<Toolbars>
|
||||||
<f:Toolbar ID="Toolbar3" Position="Top" ToolbarAlign="Right" runat="server">
|
<f:Toolbar ID="Toolbar3" Position="Top" ToolbarAlign="Right" runat="server">
|
||||||
<Items>
|
<Items>
|
||||||
<f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelWidth="50px" Width="265px"
|
<f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelWidth="50px" Width="200px"
|
||||||
EnableEdit="true">
|
EnableEdit="true">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
<f:DatePicker ID="txtStartDate" runat="server" Label="烘烤日期" EmptyText="开始时间" Width="220px" LabelAlign="Right"></f:DatePicker>
|
<f:DatePicker ID="txtStartDate" runat="server" Label="烘烤日期" EmptyText="开始时间" Width="220px" LabelAlign="Right"></f:DatePicker>
|
||||||
<f:Label ID="Label1" runat="server" Text="-"></f:Label>
|
<f:Label ID="Label1" runat="server" Text="-"></f:Label>
|
||||||
<f:DatePicker ID="txtEndDate" runat="server" EmptyText="结束时间" Width="120px"></f:DatePicker>
|
<f:DatePicker ID="txtEndDate" runat="server" EmptyText="结束时间" Width="120px"></f:DatePicker>
|
||||||
<f:TextBox runat="server" Label="焊材牌号" ID="txtBrand" EmptyText="输入查询条件" Width="300px" LabelAlign="right"></f:TextBox>
|
<f:DropDownList ID="drpUnitStore" runat="server" Label="焊材库" LabelAlign="Right" Width="220px" LabelWidth="80px"></f:DropDownList>
|
||||||
|
<f:TextBox runat="server" Label="焊材牌号" ID="txtBrand" EmptyText="输入查询条件" Width="200px" LabelAlign="right"></f:TextBox>
|
||||||
<f:Button ID="btnSearch" runat="server" Text="查询" Icon="SystemSearch" OnClick="btnSearch_Click"></f:Button>
|
<f:Button ID="btnSearch" runat="server" Text="查询" Icon="SystemSearch" OnClick="btnSearch_Click"></f:Button>
|
||||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||||
</f:ToolbarFill>
|
</f:ToolbarFill>
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ namespace FineUIPro.Web.HJGL.MaterialManage
|
|||||||
this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectList("1");
|
this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectList("1");
|
||||||
this.drpProjectId.DataBind();
|
this.drpProjectId.DataBind();
|
||||||
Funs.FineUIPleaseSelect(this.drpProjectId);
|
Funs.FineUIPleaseSelect(this.drpProjectId);
|
||||||
|
|
||||||
|
BLL.UnitStoreService.InitUnitStoreDropDownList(drpUnitStore, null, true);
|
||||||
BindGrid();
|
BindGrid();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -82,13 +84,18 @@ namespace FineUIPro.Web.HJGL.MaterialManage
|
|||||||
strSql += " AND BakeRecords.BakeDate <= @endDate";
|
strSql += " AND BakeRecords.BakeDate <= @endDate";
|
||||||
listStr.Add(new SqlParameter("@endDate", this.txtEndDate.Text.Trim()));
|
listStr.Add(new SqlParameter("@endDate", this.txtEndDate.Text.Trim()));
|
||||||
}
|
}
|
||||||
|
if (this.drpUnitStore.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpUnitStore.SelectedValue))
|
||||||
|
{
|
||||||
|
strSql += " AND BakeRecords.UnitStoreId = @UnitStoreId";
|
||||||
|
listStr.Add(new SqlParameter("@UnitStoreId", this.drpUnitStore.SelectedValue));
|
||||||
|
}
|
||||||
strSql += " order by BakeRecords.BakeDate desc";
|
strSql += " order by BakeRecords.BakeDate desc";
|
||||||
SqlParameter[] parameter = listStr.ToArray();
|
SqlParameter[] parameter = listStr.ToArray();
|
||||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||||
|
|
||||||
Grid1.RecordCount = tb.Rows.Count;
|
Grid1.RecordCount = tb.Rows.Count;
|
||||||
//var table = this.GetPagedDataTable(Grid1, tb);
|
var table = this.GetPagedDataTable(Grid1, tb);
|
||||||
Grid1.DataSource = tb;
|
Grid1.DataSource = table;
|
||||||
Grid1.DataBind();
|
Grid1.DataBind();
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
@@ -107,6 +114,19 @@ namespace FineUIPro.Web.HJGL.MaterialManage
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region 页索引改变事件
|
||||||
|
/// <summary>
|
||||||
|
/// 页索引改变事件
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||||
|
{
|
||||||
|
Grid1.PageIndex = e.NewPageIndex;
|
||||||
|
BindGrid();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region 提交
|
#region 提交
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 确定按钮
|
/// 确定按钮
|
||||||
|
|||||||
+30
-19
@@ -7,11 +7,13 @@
|
|||||||
// </自动生成>
|
// </自动生成>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace FineUIPro.Web.HJGL.MaterialManage {
|
namespace FineUIPro.Web.HJGL.MaterialManage
|
||||||
|
{
|
||||||
|
|
||||||
public partial class ElectrodeBakeRecordNewSelect {
|
|
||||||
|
public partial class ElectrodeBakeRecordNewSelect
|
||||||
|
{
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// form1 控件。
|
/// form1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// PageManager1 控件。
|
/// PageManager1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.PageManager PageManager1;
|
protected global::FineUIPro.PageManager PageManager1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Panel1 控件。
|
/// Panel1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Panel Panel1;
|
protected global::FineUIPro.Panel Panel1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// panelCenterRegion 控件。
|
/// panelCenterRegion 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Panel panelCenterRegion;
|
protected global::FineUIPro.Panel panelCenterRegion;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Grid1 控件。
|
/// Grid1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Grid Grid1;
|
protected global::FineUIPro.Grid Grid1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Toolbar3 控件。
|
/// Toolbar3 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Toolbar Toolbar3;
|
protected global::FineUIPro.Toolbar Toolbar3;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// drpProjectId 控件。
|
/// drpProjectId 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList drpProjectId;
|
protected global::FineUIPro.DropDownList drpProjectId;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtStartDate 控件。
|
/// txtStartDate 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DatePicker txtStartDate;
|
protected global::FineUIPro.DatePicker txtStartDate;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Label1 控件。
|
/// Label1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Label Label1;
|
protected global::FineUIPro.Label Label1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtEndDate 控件。
|
/// txtEndDate 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -101,7 +103,16 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DatePicker txtEndDate;
|
protected global::FineUIPro.DatePicker txtEndDate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpUnitStore 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpUnitStore;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtBrand 控件。
|
/// txtBrand 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -110,7 +121,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.TextBox txtBrand;
|
protected global::FineUIPro.TextBox txtBrand;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// btnSearch 控件。
|
/// btnSearch 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -119,7 +130,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Button btnSearch;
|
protected global::FineUIPro.Button btnSearch;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ToolbarFill1 控件。
|
/// ToolbarFill1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -128,7 +139,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// btnSure 控件。
|
/// btnSure 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -137,7 +148,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Button btnSure;
|
protected global::FineUIPro.Button btnSure;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Window2 控件。
|
/// Window2 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -229,7 +229,7 @@ namespace FineUIPro.Web.JGZL
|
|||||||
|
|
||||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||||
BLL.Common.FastReportService.AddFastreportTable(dt);
|
BLL.Common.FastReportService.AddFastreportTable(dt);
|
||||||
initTemplatePath = "File\\Fastreport\\JGZL\\焊条烘烤记录.frx";
|
initTemplatePath = "File\\Fastreport\\焊条烘烤记录.frx";
|
||||||
|
|
||||||
if (File.Exists(rootPath + initTemplatePath))
|
if (File.Exists(rootPath + initTemplatePath))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -419,6 +419,9 @@ namespace Model
|
|||||||
partial void InsertJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
|
partial void InsertJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
|
||||||
partial void UpdateJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
|
partial void UpdateJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
|
||||||
partial void DeleteJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
|
partial void DeleteJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
|
||||||
|
partial void InsertJGZL_IndustrialInstallationSummaryZhoushan(JGZL_IndustrialInstallationSummaryZhoushan instance);
|
||||||
|
partial void UpdateJGZL_IndustrialInstallationSummaryZhoushan(JGZL_IndustrialInstallationSummaryZhoushan instance);
|
||||||
|
partial void DeleteJGZL_IndustrialInstallationSummaryZhoushan(JGZL_IndustrialInstallationSummaryZhoushan instance);
|
||||||
partial void InsertJGZL_IndustrialPipelineInstallationQualityCertificate(JGZL_IndustrialPipelineInstallationQualityCertificate instance);
|
partial void InsertJGZL_IndustrialPipelineInstallationQualityCertificate(JGZL_IndustrialPipelineInstallationQualityCertificate instance);
|
||||||
partial void UpdateJGZL_IndustrialPipelineInstallationQualityCertificate(JGZL_IndustrialPipelineInstallationQualityCertificate instance);
|
partial void UpdateJGZL_IndustrialPipelineInstallationQualityCertificate(JGZL_IndustrialPipelineInstallationQualityCertificate instance);
|
||||||
partial void DeleteJGZL_IndustrialPipelineInstallationQualityCertificate(JGZL_IndustrialPipelineInstallationQualityCertificate instance);
|
partial void DeleteJGZL_IndustrialPipelineInstallationQualityCertificate(JGZL_IndustrialPipelineInstallationQualityCertificate instance);
|
||||||
@@ -2058,6 +2061,14 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public System.Data.Linq.Table<JGZL_IndustrialInstallationSummaryZhoushan> JGZL_IndustrialInstallationSummaryZhoushan
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this.GetTable<JGZL_IndustrialInstallationSummaryZhoushan>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public System.Data.Linq.Table<JGZL_IndustrialPipelineInstallationQualityCertificate> JGZL_IndustrialPipelineInstallationQualityCertificate
|
public System.Data.Linq.Table<JGZL_IndustrialPipelineInstallationQualityCertificate> JGZL_IndustrialPipelineInstallationQualityCertificate
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -5027,6 +5038,8 @@ namespace Model
|
|||||||
|
|
||||||
private EntitySet<JGZL_HandoverCertificate> _JGZL_HandoverCertificate;
|
private EntitySet<JGZL_HandoverCertificate> _JGZL_HandoverCertificate;
|
||||||
|
|
||||||
|
private EntitySet<JGZL_IndustrialInstallationSummaryZhoushan> _JGZL_IndustrialInstallationSummaryZhoushan;
|
||||||
|
|
||||||
private EntitySet<JGZL_IndustrialPipelineInstallationQualityCertificate> _JGZL_IndustrialPipelineInstallationQualityCertificate;
|
private EntitySet<JGZL_IndustrialPipelineInstallationQualityCertificate> _JGZL_IndustrialPipelineInstallationQualityCertificate;
|
||||||
|
|
||||||
private EntitySet<JGZL_IndustrialPipelineInstallationSummary> _JGZL_IndustrialPipelineInstallationSummary;
|
private EntitySet<JGZL_IndustrialPipelineInstallationSummary> _JGZL_IndustrialPipelineInstallationSummary;
|
||||||
@@ -5231,6 +5244,7 @@ namespace Model
|
|||||||
this._JGZL_ElectrostaticGrounding = new EntitySet<JGZL_ElectrostaticGrounding>(new Action<JGZL_ElectrostaticGrounding>(this.attach_JGZL_ElectrostaticGrounding), new Action<JGZL_ElectrostaticGrounding>(this.detach_JGZL_ElectrostaticGrounding));
|
this._JGZL_ElectrostaticGrounding = new EntitySet<JGZL_ElectrostaticGrounding>(new Action<JGZL_ElectrostaticGrounding>(this.attach_JGZL_ElectrostaticGrounding), new Action<JGZL_ElectrostaticGrounding>(this.detach_JGZL_ElectrostaticGrounding));
|
||||||
this._JGZL_FileDirectory = new EntitySet<JGZL_FileDirectory>(new Action<JGZL_FileDirectory>(this.attach_JGZL_FileDirectory), new Action<JGZL_FileDirectory>(this.detach_JGZL_FileDirectory));
|
this._JGZL_FileDirectory = new EntitySet<JGZL_FileDirectory>(new Action<JGZL_FileDirectory>(this.attach_JGZL_FileDirectory), new Action<JGZL_FileDirectory>(this.detach_JGZL_FileDirectory));
|
||||||
this._JGZL_HandoverCertificate = new EntitySet<JGZL_HandoverCertificate>(new Action<JGZL_HandoverCertificate>(this.attach_JGZL_HandoverCertificate), new Action<JGZL_HandoverCertificate>(this.detach_JGZL_HandoverCertificate));
|
this._JGZL_HandoverCertificate = new EntitySet<JGZL_HandoverCertificate>(new Action<JGZL_HandoverCertificate>(this.attach_JGZL_HandoverCertificate), new Action<JGZL_HandoverCertificate>(this.detach_JGZL_HandoverCertificate));
|
||||||
|
this._JGZL_IndustrialInstallationSummaryZhoushan = new EntitySet<JGZL_IndustrialInstallationSummaryZhoushan>(new Action<JGZL_IndustrialInstallationSummaryZhoushan>(this.attach_JGZL_IndustrialInstallationSummaryZhoushan), new Action<JGZL_IndustrialInstallationSummaryZhoushan>(this.detach_JGZL_IndustrialInstallationSummaryZhoushan));
|
||||||
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));
|
||||||
@@ -6526,6 +6540,19 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_IndustrialInstallationSummaryZhoushan_Base_Project", Storage="_JGZL_IndustrialInstallationSummaryZhoushan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||||
|
public EntitySet<JGZL_IndustrialInstallationSummaryZhoushan> JGZL_IndustrialInstallationSummaryZhoushan
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._JGZL_IndustrialInstallationSummaryZhoushan;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
this._JGZL_IndustrialInstallationSummaryZhoushan.Assign(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_IndustrialPipelineInstallationQualityCertificate_Base_Project", Storage="_JGZL_IndustrialPipelineInstallationQualityCertificate", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_IndustrialPipelineInstallationQualityCertificate_Base_Project", Storage="_JGZL_IndustrialPipelineInstallationQualityCertificate", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||||
public EntitySet<JGZL_IndustrialPipelineInstallationQualityCertificate> JGZL_IndustrialPipelineInstallationQualityCertificate
|
public EntitySet<JGZL_IndustrialPipelineInstallationQualityCertificate> JGZL_IndustrialPipelineInstallationQualityCertificate
|
||||||
{
|
{
|
||||||
@@ -7744,6 +7771,18 @@ namespace Model
|
|||||||
entity.Base_Project = null;
|
entity.Base_Project = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void attach_JGZL_IndustrialInstallationSummaryZhoushan(JGZL_IndustrialInstallationSummaryZhoushan entity)
|
||||||
|
{
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
entity.Base_Project = this;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void detach_JGZL_IndustrialInstallationSummaryZhoushan(JGZL_IndustrialInstallationSummaryZhoushan entity)
|
||||||
|
{
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
entity.Base_Project = null;
|
||||||
|
}
|
||||||
|
|
||||||
private void attach_JGZL_IndustrialPipelineInstallationQualityCertificate(JGZL_IndustrialPipelineInstallationQualityCertificate entity)
|
private void attach_JGZL_IndustrialPipelineInstallationQualityCertificate(JGZL_IndustrialPipelineInstallationQualityCertificate entity)
|
||||||
{
|
{
|
||||||
this.SendPropertyChanging();
|
this.SendPropertyChanging();
|
||||||
@@ -88812,6 +88851,637 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_IndustrialInstallationSummaryZhoushan")]
|
||||||
|
public partial class JGZL_IndustrialInstallationSummaryZhoushan : INotifyPropertyChanging, INotifyPropertyChanged
|
||||||
|
{
|
||||||
|
|
||||||
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||||
|
|
||||||
|
private string _SummaryId;
|
||||||
|
|
||||||
|
private string _ProjectId;
|
||||||
|
|
||||||
|
private string _InstallationName;
|
||||||
|
|
||||||
|
private string _TestPackageCode;
|
||||||
|
|
||||||
|
private string _PipelineName;
|
||||||
|
|
||||||
|
private string _PipelineCode;
|
||||||
|
|
||||||
|
private string _PipelineLevel;
|
||||||
|
|
||||||
|
private string _Material;
|
||||||
|
|
||||||
|
private string _Medium;
|
||||||
|
|
||||||
|
private System.Nullable<decimal> _Diameter;
|
||||||
|
|
||||||
|
private System.Nullable<decimal> _WallThickness;
|
||||||
|
|
||||||
|
private System.Nullable<decimal> _PipelineLength;
|
||||||
|
|
||||||
|
private System.Nullable<int> _WeldJointsCount;
|
||||||
|
|
||||||
|
private System.Nullable<int> _PipeFittings;
|
||||||
|
|
||||||
|
private string _StartPoint;
|
||||||
|
|
||||||
|
private string _EndPoint;
|
||||||
|
|
||||||
|
private System.Nullable<decimal> _DesignTemperature;
|
||||||
|
|
||||||
|
private System.Nullable<decimal> _DesignPressure;
|
||||||
|
|
||||||
|
private System.Nullable<decimal> _OperatingTemperature;
|
||||||
|
|
||||||
|
private System.Nullable<decimal> _OperatingPressure;
|
||||||
|
|
||||||
|
private string _PressureTestMedium;
|
||||||
|
|
||||||
|
private System.Nullable<decimal> _PressureTestPressure;
|
||||||
|
|
||||||
|
private System.Nullable<System.DateTime> _TestDate;
|
||||||
|
|
||||||
|
private EntityRef<Base_Project> _Base_Project;
|
||||||
|
|
||||||
|
#region 可扩展性方法定义
|
||||||
|
partial void OnLoaded();
|
||||||
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||||
|
partial void OnCreated();
|
||||||
|
partial void OnSummaryIdChanging(string value);
|
||||||
|
partial void OnSummaryIdChanged();
|
||||||
|
partial void OnProjectIdChanging(string value);
|
||||||
|
partial void OnProjectIdChanged();
|
||||||
|
partial void OnInstallationNameChanging(string value);
|
||||||
|
partial void OnInstallationNameChanged();
|
||||||
|
partial void OnTestPackageCodeChanging(string value);
|
||||||
|
partial void OnTestPackageCodeChanged();
|
||||||
|
partial void OnPipelineNameChanging(string value);
|
||||||
|
partial void OnPipelineNameChanged();
|
||||||
|
partial void OnPipelineCodeChanging(string value);
|
||||||
|
partial void OnPipelineCodeChanged();
|
||||||
|
partial void OnPipelineLevelChanging(string value);
|
||||||
|
partial void OnPipelineLevelChanged();
|
||||||
|
partial void OnMaterialChanging(string value);
|
||||||
|
partial void OnMaterialChanged();
|
||||||
|
partial void OnMediumChanging(string value);
|
||||||
|
partial void OnMediumChanged();
|
||||||
|
partial void OnDiameterChanging(System.Nullable<decimal> value);
|
||||||
|
partial void OnDiameterChanged();
|
||||||
|
partial void OnWallThicknessChanging(System.Nullable<decimal> value);
|
||||||
|
partial void OnWallThicknessChanged();
|
||||||
|
partial void OnPipelineLengthChanging(System.Nullable<decimal> value);
|
||||||
|
partial void OnPipelineLengthChanged();
|
||||||
|
partial void OnWeldJointsCountChanging(System.Nullable<int> value);
|
||||||
|
partial void OnWeldJointsCountChanged();
|
||||||
|
partial void OnPipeFittingsChanging(System.Nullable<int> value);
|
||||||
|
partial void OnPipeFittingsChanged();
|
||||||
|
partial void OnStartPointChanging(string value);
|
||||||
|
partial void OnStartPointChanged();
|
||||||
|
partial void OnEndPointChanging(string value);
|
||||||
|
partial void OnEndPointChanged();
|
||||||
|
partial void OnDesignTemperatureChanging(System.Nullable<decimal> value);
|
||||||
|
partial void OnDesignTemperatureChanged();
|
||||||
|
partial void OnDesignPressureChanging(System.Nullable<decimal> value);
|
||||||
|
partial void OnDesignPressureChanged();
|
||||||
|
partial void OnOperatingTemperatureChanging(System.Nullable<decimal> value);
|
||||||
|
partial void OnOperatingTemperatureChanged();
|
||||||
|
partial void OnOperatingPressureChanging(System.Nullable<decimal> value);
|
||||||
|
partial void OnOperatingPressureChanged();
|
||||||
|
partial void OnPressureTestMediumChanging(string value);
|
||||||
|
partial void OnPressureTestMediumChanged();
|
||||||
|
partial void OnPressureTestPressureChanging(System.Nullable<decimal> value);
|
||||||
|
partial void OnPressureTestPressureChanged();
|
||||||
|
partial void OnTestDateChanging(System.Nullable<System.DateTime> value);
|
||||||
|
partial void OnTestDateChanged();
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
public JGZL_IndustrialInstallationSummaryZhoushan()
|
||||||
|
{
|
||||||
|
this._Base_Project = default(EntityRef<Base_Project>);
|
||||||
|
OnCreated();
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SummaryId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||||
|
public string SummaryId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._SummaryId;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._SummaryId != value))
|
||||||
|
{
|
||||||
|
this.OnSummaryIdChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._SummaryId = value;
|
||||||
|
this.SendPropertyChanged("SummaryId");
|
||||||
|
this.OnSummaryIdChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||||
|
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="_InstallationName", DbType="NVarChar(50)")]
|
||||||
|
public string InstallationName
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._InstallationName;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._InstallationName != value))
|
||||||
|
{
|
||||||
|
this.OnInstallationNameChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._InstallationName = value;
|
||||||
|
this.SendPropertyChanged("InstallationName");
|
||||||
|
this.OnInstallationNameChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestPackageCode", DbType="NVarChar(50)")]
|
||||||
|
public string TestPackageCode
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._TestPackageCode;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._TestPackageCode != value))
|
||||||
|
{
|
||||||
|
this.OnTestPackageCodeChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._TestPackageCode = value;
|
||||||
|
this.SendPropertyChanged("TestPackageCode");
|
||||||
|
this.OnTestPackageCodeChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineName", DbType="NVarChar(50)")]
|
||||||
|
public string PipelineName
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._PipelineName;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._PipelineName != value))
|
||||||
|
{
|
||||||
|
this.OnPipelineNameChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._PipelineName = value;
|
||||||
|
this.SendPropertyChanged("PipelineName");
|
||||||
|
this.OnPipelineNameChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[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="_PipelineLevel", DbType="NVarChar(50)")]
|
||||||
|
public string PipelineLevel
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._PipelineLevel;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._PipelineLevel != value))
|
||||||
|
{
|
||||||
|
this.OnPipelineLevelChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._PipelineLevel = value;
|
||||||
|
this.SendPropertyChanged("PipelineLevel");
|
||||||
|
this.OnPipelineLevelChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Material", DbType="NVarChar(50)")]
|
||||||
|
public string Material
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._Material;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._Material != value))
|
||||||
|
{
|
||||||
|
this.OnMaterialChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._Material = value;
|
||||||
|
this.SendPropertyChanged("Material");
|
||||||
|
this.OnMaterialChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Medium", DbType="NVarChar(50)")]
|
||||||
|
public string Medium
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._Medium;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._Medium != value))
|
||||||
|
{
|
||||||
|
this.OnMediumChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._Medium = value;
|
||||||
|
this.SendPropertyChanged("Medium");
|
||||||
|
this.OnMediumChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Diameter", DbType="Decimal(18,2)")]
|
||||||
|
public System.Nullable<decimal> Diameter
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._Diameter;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._Diameter != value))
|
||||||
|
{
|
||||||
|
this.OnDiameterChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._Diameter = value;
|
||||||
|
this.SendPropertyChanged("Diameter");
|
||||||
|
this.OnDiameterChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WallThickness", DbType="Decimal(18,2)")]
|
||||||
|
public System.Nullable<decimal> WallThickness
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._WallThickness;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._WallThickness != value))
|
||||||
|
{
|
||||||
|
this.OnWallThicknessChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._WallThickness = value;
|
||||||
|
this.SendPropertyChanged("WallThickness");
|
||||||
|
this.OnWallThicknessChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineLength", DbType="Decimal(18,2)")]
|
||||||
|
public System.Nullable<decimal> PipelineLength
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._PipelineLength;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._PipelineLength != value))
|
||||||
|
{
|
||||||
|
this.OnPipelineLengthChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._PipelineLength = value;
|
||||||
|
this.SendPropertyChanged("PipelineLength");
|
||||||
|
this.OnPipelineLengthChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldJointsCount", DbType="Int")]
|
||||||
|
public System.Nullable<int> WeldJointsCount
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._WeldJointsCount;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._WeldJointsCount != value))
|
||||||
|
{
|
||||||
|
this.OnWeldJointsCountChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._WeldJointsCount = value;
|
||||||
|
this.SendPropertyChanged("WeldJointsCount");
|
||||||
|
this.OnWeldJointsCountChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipeFittings", DbType="Int")]
|
||||||
|
public System.Nullable<int> PipeFittings
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._PipeFittings;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._PipeFittings != value))
|
||||||
|
{
|
||||||
|
this.OnPipeFittingsChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._PipeFittings = value;
|
||||||
|
this.SendPropertyChanged("PipeFittings");
|
||||||
|
this.OnPipeFittingsChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartPoint", DbType="NVarChar(50)")]
|
||||||
|
public string StartPoint
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._StartPoint;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._StartPoint != value))
|
||||||
|
{
|
||||||
|
this.OnStartPointChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._StartPoint = value;
|
||||||
|
this.SendPropertyChanged("StartPoint");
|
||||||
|
this.OnStartPointChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndPoint", DbType="NVarChar(50)")]
|
||||||
|
public string EndPoint
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._EndPoint;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._EndPoint != value))
|
||||||
|
{
|
||||||
|
this.OnEndPointChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._EndPoint = value;
|
||||||
|
this.SendPropertyChanged("EndPoint");
|
||||||
|
this.OnEndPointChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignTemperature", DbType="Decimal(18,2)")]
|
||||||
|
public System.Nullable<decimal> DesignTemperature
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._DesignTemperature;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._DesignTemperature != value))
|
||||||
|
{
|
||||||
|
this.OnDesignTemperatureChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._DesignTemperature = value;
|
||||||
|
this.SendPropertyChanged("DesignTemperature");
|
||||||
|
this.OnDesignTemperatureChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignPressure", DbType="Decimal(18,2)")]
|
||||||
|
public System.Nullable<decimal> 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="_OperatingTemperature", DbType="Decimal(18,2)")]
|
||||||
|
public System.Nullable<decimal> OperatingTemperature
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._OperatingTemperature;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._OperatingTemperature != value))
|
||||||
|
{
|
||||||
|
this.OnOperatingTemperatureChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._OperatingTemperature = value;
|
||||||
|
this.SendPropertyChanged("OperatingTemperature");
|
||||||
|
this.OnOperatingTemperatureChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperatingPressure", DbType="Decimal(18,2)")]
|
||||||
|
public System.Nullable<decimal> OperatingPressure
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._OperatingPressure;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._OperatingPressure != value))
|
||||||
|
{
|
||||||
|
this.OnOperatingPressureChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._OperatingPressure = value;
|
||||||
|
this.SendPropertyChanged("OperatingPressure");
|
||||||
|
this.OnOperatingPressureChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PressureTestMedium", DbType="NVarChar(50)")]
|
||||||
|
public string PressureTestMedium
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._PressureTestMedium;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._PressureTestMedium != value))
|
||||||
|
{
|
||||||
|
this.OnPressureTestMediumChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._PressureTestMedium = value;
|
||||||
|
this.SendPropertyChanged("PressureTestMedium");
|
||||||
|
this.OnPressureTestMediumChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PressureTestPressure", DbType="Decimal(18,2)")]
|
||||||
|
public System.Nullable<decimal> PressureTestPressure
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._PressureTestPressure;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._PressureTestPressure != value))
|
||||||
|
{
|
||||||
|
this.OnPressureTestPressureChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._PressureTestPressure = value;
|
||||||
|
this.SendPropertyChanged("PressureTestPressure");
|
||||||
|
this.OnPressureTestPressureChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestDate", DbType="DateTime")]
|
||||||
|
public System.Nullable<System.DateTime> TestDate
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._TestDate;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._TestDate != value))
|
||||||
|
{
|
||||||
|
this.OnTestDateChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._TestDate = value;
|
||||||
|
this.SendPropertyChanged("TestDate");
|
||||||
|
this.OnTestDateChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_IndustrialInstallationSummaryZhoushan_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_IndustrialInstallationSummaryZhoushan.Remove(this);
|
||||||
|
}
|
||||||
|
this._Base_Project.Entity = value;
|
||||||
|
if ((value != null))
|
||||||
|
{
|
||||||
|
value.JGZL_IndustrialInstallationSummaryZhoushan.Add(this);
|
||||||
|
this._ProjectId = value.ProjectId;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this._ProjectId = default(string);
|
||||||
|
}
|
||||||
|
this.SendPropertyChanged("Base_Project");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
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_IndustrialPipelineInstallationQualityCertificate")]
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_IndustrialPipelineInstallationQualityCertificate")]
|
||||||
public partial class JGZL_IndustrialPipelineInstallationQualityCertificate : INotifyPropertyChanging, INotifyPropertyChanged
|
public partial class JGZL_IndustrialPipelineInstallationQualityCertificate : INotifyPropertyChanging, INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user