From cda0b866e9e76b7e1178e864de337baff4559c26 Mon Sep 17 00:00:00 2001 From: geh <1923421292@qq.com> Date: Fri, 14 Nov 2025 14:21:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DataBase/版本日志/SUBQHSE_V2025-11-13-geh.sql | 7 + ...25-11-13-geh(View_Project_CQMSData_CQMS).sql | 36 + ...25-11-13-geh(View_Project_HJGLData_HJGL).sql | 33 + ...25-11-13-geh(View_Project_HSSEData_HSSE).sql | 41 + .../Project_CQMSData_CQMS.aspx | 157 +- .../Project_CQMSData_CQMS.aspx.cs | 28 +- .../Project_CQMSData_CQMS.aspx.designer.cs | 13 +- .../Project_HJGLData_HJGL.aspx | 53 +- .../Project_HJGLData_HJGL.aspx.cs | 28 +- .../Project_HJGLData_HJGL.aspx.designer.cs | 13 +- .../Project_HSSEData_HSSE.aspx | 210 +- .../Project_HSSEData_HSSE.aspx.cs | 27 +- .../Project_HSSEData_HSSE.aspx.designer.cs | 13 +- SGGL/Model/Model.cs | 3147 +++++++++++++++++ 14 files changed, 3745 insertions(+), 61 deletions(-) create mode 100644 DataBase/版本日志/SUBQHSE_V2025-11-13-geh.sql create mode 100644 DataBase/版本日志/SUBQHSE_V2025-11-13-geh(View_Project_CQMSData_CQMS).sql create mode 100644 DataBase/版本日志/SUBQHSE_V2025-11-13-geh(View_Project_HJGLData_HJGL).sql create mode 100644 DataBase/版本日志/SUBQHSE_V2025-11-13-geh(View_Project_HSSEData_HSSE).sql diff --git a/DataBase/版本日志/SUBQHSE_V2025-11-13-geh.sql b/DataBase/版本日志/SUBQHSE_V2025-11-13-geh.sql new file mode 100644 index 00000000..901f6814 --- /dev/null +++ b/DataBase/版本日志/SUBQHSE_V2025-11-13-geh.sql @@ -0,0 +1,7 @@ + +--拆分前 +INSERT INTO [dbo].[Sys_Menu] ([MenuId], [MenuName], [Icon], [Url], [SortIndex], [SuperMenu], [MenuType], [IsOffice], [IsEnd], [IsUsed]) VALUES (N'F32D79E1-7116-45F2-9964-3F6CB243C403', N'安全数据统计', NULL, N'ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx', 80, N'C2297533-B7C0-441E-B29F-ADE87C6F8978', N'Menu_SysSet', '1', '1', '1'); +INSERT INTO [dbo].[Sys_Menu] ([MenuId], [MenuName], [Icon], [Url], [SortIndex], [SuperMenu], [MenuType], [IsOffice], [IsEnd], [IsUsed]) VALUES (N'7AF59776-21CD-4B6A-A765-2F888E4AF8BD', N'质量数据统计', NULL, N'ZHGL/DataSync/ProjectDataSync/Project_CQMSData_CQMS.aspx', 90, N'C2297533-B7C0-441E-B29F-ADE87C6F8978', N'Menu_SysSet', '1', '1', '1'); +INSERT INTO [dbo].[Sys_Menu] ([MenuId], [MenuName], [Icon], [Url], [SortIndex], [SuperMenu], [MenuType], [IsOffice], [IsEnd], [IsUsed]) VALUES (N'8358C2EE-2B65-4001-AC09-32B6936AA3CA', N'焊接数据统计', NULL, N'ZHGL/DataSync/ProjectDataSync/Project_HJGLData_HJGL.aspx', 100, N'C2297533-B7C0-441E-B29F-ADE87C6F8978', N'Menu_SysSet', '1', '1', '1'); +go + diff --git a/DataBase/版本日志/SUBQHSE_V2025-11-13-geh(View_Project_CQMSData_CQMS).sql b/DataBase/版本日志/SUBQHSE_V2025-11-13-geh(View_Project_CQMSData_CQMS).sql new file mode 100644 index 00000000..e51dcbc3 --- /dev/null +++ b/DataBase/版本日志/SUBQHSE_V2025-11-13-geh(View_Project_CQMSData_CQMS).sql @@ -0,0 +1,36 @@ + + + + + +CREATE View [dbo].[View_Project_CQMSData_CQMS] +as + WITH LatestData AS ( + SELECT + person.CollCropCode, + MAX(ReportDate) AS LatestReportDate + FROM + dbo.Project_CQMSData_CQMS person + GROUP BY + person.CollCropCode +),RankedData AS ( + SELECT + cqms.* + FROM + dbo.Project_CQMSData_CQMS cqms + INNER JOIN + LatestData l ON cqms.CollCropCode = l.CollCropCode AND cqms.ReportDate = l.LatestReportDate +) +SELECT + pro.ProjectName, + pro.ShortName, + rd.* +FROM RankedData rd +LEFT JOIN Base_Project pro ON pro.ProjectId = rd.ProjectId +where pro.ProjectName !='' and pro.ProjectState='1' + + +GO + + + diff --git a/DataBase/版本日志/SUBQHSE_V2025-11-13-geh(View_Project_HJGLData_HJGL).sql b/DataBase/版本日志/SUBQHSE_V2025-11-13-geh(View_Project_HJGLData_HJGL).sql new file mode 100644 index 00000000..4cb3735a --- /dev/null +++ b/DataBase/版本日志/SUBQHSE_V2025-11-13-geh(View_Project_HJGLData_HJGL).sql @@ -0,0 +1,33 @@ + + + +CREATE View [dbo].[View_Project_HJGLData_HJGL] +as +WITH LatestData AS ( + SELECT + person.CollCropCode, + MAX(ReportDate) AS LatestReportDate + FROM + dbo.Project_HJGLData_HJGL person + GROUP BY + person.CollCropCode +),RankedData AS ( + SELECT + hjgl.* + FROM + dbo.Project_HJGLData_HJGL hjgl + INNER JOIN + LatestData l ON hjgl.CollCropCode = l.CollCropCode AND hjgl.ReportDate = l.LatestReportDate +) +SELECT + pro.ProjectName, + pro.ShortName, + rd.* +FROM RankedData rd +LEFT JOIN Base_Project pro ON pro.ProjectId = rd.ProjectId +where pro.ProjectName !='' and pro.ProjectState='1' + + +GO + + diff --git a/DataBase/版本日志/SUBQHSE_V2025-11-13-geh(View_Project_HSSEData_HSSE).sql b/DataBase/版本日志/SUBQHSE_V2025-11-13-geh(View_Project_HSSEData_HSSE).sql new file mode 100644 index 00000000..c6406651 --- /dev/null +++ b/DataBase/版本日志/SUBQHSE_V2025-11-13-geh(View_Project_HSSEData_HSSE).sql @@ -0,0 +1,41 @@ + +CREATE view [dbo].[View_Project_HSSEData_HSSE] as +WITH LatestData AS ( + SELECT + project.CollCropCode, + MAX(ReportDate) AS LatestReportDate + FROM + dbo.Project_HSSEData_HSSE project + GROUP BY + project.CollCropCode +),RankedData AS ( + SELECT + hsse.* + FROM + dbo.Project_HSSEData_HSSE hsse + INNER JOIN + LatestData l ON hsse.CollCropCode = l.CollCropCode AND hsse.ReportDate = l.LatestReportDate +),TotalWorkNumData as +( + select t3.ProjectId,t3.ProjectName,sum(TotalWorkNum) as TotalWorkNum + from Base_Project t3 + join Information_MillionsMonthlyReportItem t1 on ((t1.Name = ('['+t3.ProjectCode+']'+t3.ProjectName)) OR + (t1.Name = t3.ProjectName) ) + join Information_MillionsMonthlyReport t2 on t1.MillionsMonthlyReportId = t2.MillionsMonthlyReportId + where t2.Year=Year(getdate()) and t2.Month - - --%> + + + + - + <%-- @@ -155,7 +158,145 @@ FieldType="String" HeaderText="检验批个数" TextAlign="Left" HeaderTextAlign="Center" > - + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_CQMSData_CQMS.aspx.cs b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_CQMSData_CQMS.aspx.cs index 396851f7..a5cc5e82 100644 --- a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_CQMSData_CQMS.aspx.cs +++ b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_CQMSData_CQMS.aspx.cs @@ -4,7 +4,8 @@ using System.Data.SqlClient; using System.Text; using BLL; using AspNet = System.Web.UI.WebControls; - +using System.Collections.Generic; +using System.Linq; namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync { public partial class Project_CQMSData_CQMS : PageBase @@ -27,16 +28,23 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync /// private void BindGrid() { - Model.Project_CQMSData_CQMS table = new Model.Project_CQMSData_CQMS(); - table.ProjectId = this.CurrUser.ProjectId; - var tb = BLL.Project_CQMSDataService.getListData(table, Grid1); - Grid1.RecordCount = Project_CQMSDataService.count; - //tb = GetFilteredTable(Grid1.FilteredData, tb); - Grid1.DataSource = tb; + var list = from x in Funs.DB.View_Project_CQMSData_CQMS select x; + if (!string.IsNullOrEmpty(txtProjectName.Text.Trim())) + { + list = list.Where(x => x.ProjectName.Contains(txtProjectName.Text.Trim())); + } + int count = list.Count(); + list = SortConditionHelper.SortingAndPaging(list, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize); + + Grid1.RecordCount = count; + Grid1.DataSource = list.ToList(); Grid1.DataBind(); } #endregion - + protected void btSearch_Click(object sender, EventArgs e) + { + BindGrid(); + } #region GV 数据操作 /// /// 过滤表头 @@ -179,7 +187,7 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync { if (buttonList.Contains(BLL.Const.BtnAdd)) { - this.btnNew.Hidden = false; + // this.btnNew.Hidden = false; } if (buttonList.Contains(BLL.Const.BtnModify)) { @@ -205,7 +213,7 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("CQMS首页数据表" + filename, System.Text.Encoding.UTF8) + ".xls"); Response.ContentType = "application/excel"; Response.ContentEncoding = System.Text.Encoding.UTF8; - this.Grid1.PageSize = 500; + this.Grid1.PageSize = 10000; this.BindGrid(); Response.Write(GetGridTableHtml(Grid1)); Response.End(); diff --git a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_CQMSData_CQMS.aspx.designer.cs b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_CQMSData_CQMS.aspx.designer.cs index 7db1814a..b5b0bcd3 100644 --- a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_CQMSData_CQMS.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_CQMSData_CQMS.aspx.designer.cs @@ -60,13 +60,22 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync protected global::FineUIPro.Toolbar Toolbar2; /// - /// btnNew 控件。 + /// txtProjectName 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.Button btnNew; + protected global::FineUIPro.TextBox txtProjectName; + + /// + /// btSearch 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btSearch; /// /// btnOut 控件。 diff --git a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HJGLData_HJGL.aspx b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HJGLData_HJGL.aspx index 43746729..758d77e7 100644 --- a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HJGLData_HJGL.aspx +++ b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HJGLData_HJGL.aspx @@ -34,23 +34,26 @@ - - --%> + + + + - + <%-- @@ -83,7 +86,41 @@ FieldType="String" HeaderText="合格片数" TextAlign="Left" HeaderTextAlign="Center" > - + --%> + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HJGLData_HJGL.aspx.cs b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HJGLData_HJGL.aspx.cs index 1ee319ba..cdba51a3 100644 --- a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HJGLData_HJGL.aspx.cs +++ b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HJGLData_HJGL.aspx.cs @@ -7,7 +7,8 @@ using System.Web.UI; using System.Web.UI.WebControls; using BLL; using AspNet = System.Web.UI.WebControls; - +using System.Data; +using System.Data.SqlClient; namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync { public partial class Project_HJGLData_HJGL : PageBase @@ -30,16 +31,25 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync /// private void BindGrid() { - Model.Project_HJGLData_HJGL table = new Model.Project_HJGLData_HJGL(); - table.ProjectId = this.CurrUser.LoginProjectId; - var tb = BLL.Project_HJGLData_HJGLService.getListData(table, Grid1); - Grid1.RecordCount = Project_HJGLData_HJGLService.count; - //tb = GetFilteredTable(Grid1.FilteredData, tb); - Grid1.DataSource = tb; + var list = from x in Funs.DB.View_Project_HJGLData_HJGL select x; + if (!string.IsNullOrEmpty(txtProjectName.Text.Trim())) + { + list = list.Where(x => x.ProjectName.Contains(txtProjectName.Text.Trim())); + } + int count = list.Count(); + list = SortConditionHelper.SortingAndPaging(list, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize); + + Grid1.RecordCount = count; + Grid1.DataSource = list.ToList(); Grid1.DataBind(); } #endregion + protected void btSearch_Click(object sender, EventArgs e) + { + BindGrid(); + } + #region GV 数据操作 /// /// 过滤表头 @@ -181,7 +191,7 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync { if (buttonList.Contains(BLL.Const.BtnAdd)) { - this.btnNew.Hidden = false; + // this.btnNew.Hidden = false; } if (buttonList.Contains(BLL.Const.BtnModify)) { @@ -207,7 +217,7 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("焊接首页数据表" + filename, System.Text.Encoding.UTF8) + ".xls"); Response.ContentType = "application/excel"; Response.ContentEncoding = System.Text.Encoding.UTF8; - this.Grid1.PageSize = 500; + this.Grid1.PageSize = 10000; this.BindGrid(); Response.Write(GetGridTableHtml(Grid1)); Response.End(); diff --git a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HJGLData_HJGL.aspx.designer.cs b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HJGLData_HJGL.aspx.designer.cs index 2c329669..a0f629f1 100644 --- a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HJGLData_HJGL.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HJGLData_HJGL.aspx.designer.cs @@ -60,13 +60,22 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync protected global::FineUIPro.Toolbar Toolbar2; /// - /// btnNew 控件。 + /// txtProjectName 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.Button btnNew; + protected global::FineUIPro.TextBox txtProjectName; + + /// + /// btSearch 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btSearch; /// /// btnOut 控件。 diff --git a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx index 6ab0533f..e2b054e0 100644 --- a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx +++ b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx @@ -34,23 +34,26 @@ - - --%> + + + + - + <%-- @@ -98,6 +101,9 @@ + + @@ -213,10 +219,10 @@ FieldType="String" HeaderText="项目级演练次数" TextAlign="Left" HeaderTextAlign="Center" > + FieldType="String" HeaderText="费用提取(元)" TextAlign="Left" HeaderTextAlign="Center" > + FieldType="String" HeaderText="费用使用(元)" TextAlign="Left" HeaderTextAlign="Center" > @@ -277,9 +283,189 @@ - - - + #1# + + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx.cs b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx.cs index a2fdadeb..46efcf63 100644 --- a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx.cs +++ b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx.cs @@ -7,6 +7,8 @@ using System.Web.UI; using System.Web.UI.WebControls; using BLL; using AspNet = System.Web.UI.WebControls; +using System.Data; +using System.Data.SqlClient; namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync { public partial class Project_HSSEData_HSSE :PageBase @@ -29,12 +31,16 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync /// private void BindGrid() { - Model.Project_HSSEData_HSSE table = new Model.Project_HSSEData_HSSE(); - table.ProjectId = this.CurrUser.LoginProjectId; - var tb = BLL.Project_HSSEData_HSSEService.GetListData(table, Grid1); - Grid1.RecordCount = Project_HSSEData_HSSEService.Count; - //tb = GetFilteredTable(Grid1.FilteredData, tb); - Grid1.DataSource = tb; + var list = from x in Funs.DB.View_Project_HSSEData_HSSE select x; + if (!string.IsNullOrEmpty(txtProjectName.Text.Trim())) + { + list = list.Where(x => x.ProjectName.Contains(txtProjectName.Text.Trim())); + } + int count = list.Count(); + list = SortConditionHelper.SortingAndPaging(list, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize); + + Grid1.RecordCount = count; + Grid1.DataSource = list.ToList(); Grid1.DataBind(); } #endregion @@ -73,6 +79,11 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync this.BindGrid(); } + protected void btSearch_Click(object sender, EventArgs e) + { + BindGrid(); + } + /// /// 分页显示条数下拉框 /// @@ -179,7 +190,7 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync { if (buttonList.Contains(BLL.Const.BtnAdd)) { - this.btnNew.Hidden = false; + // this.btnNew.Hidden = false; } if (buttonList.Contains(BLL.Const.BtnModify)) { @@ -205,7 +216,7 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("HSSE首页数据表" + filename, System.Text.Encoding.UTF8) + ".xls"); Response.ContentType = "application/excel"; Response.ContentEncoding = System.Text.Encoding.UTF8; - this.Grid1.PageSize = 500; + this.Grid1.PageSize = 10000; this.BindGrid(); Response.Write(GetGridTableHtml(Grid1)); Response.End(); diff --git a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx.designer.cs b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx.designer.cs index e888089c..c8308349 100644 --- a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx.designer.cs @@ -60,13 +60,22 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync protected global::FineUIPro.Toolbar Toolbar2; /// - /// btnNew 控件。 + /// txtProjectName 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.Button btnNew; + protected global::FineUIPro.TextBox txtProjectName; + + /// + /// btSearch 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btSearch; /// /// btnOut 控件。 diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index a46ff60e..09778dd5 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -10692,6 +10692,30 @@ namespace Model } } + public System.Data.Linq.Table View_Project_CQMSData_CQMS + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table View_Project_HJGLData_HJGL + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table View_Project_HSSEData_HSSE + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table View_ProjectAccident_AccidentAnalysis { get @@ -453087,6 +453111,3129 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Project_CQMSData_CQMS")] + public partial class View_Project_CQMSData_CQMS + { + + private string _ProjectName; + + private string _ShortName; + + private string _Id; + + private string _UnitId; + + private string _ProjectId; + + private string _CollCropCode; + + private string _UnitName; + + private System.Nullable _ReportDate; + + private System.Nullable _TrainPersonNum; + + private System.Nullable _TechnicalDisclosePersonNum; + + private System.Nullable _UseNum; + + private System.Nullable _OKNum; + + private System.Nullable _CompanyPersonNum; + + private System.Nullable _BranchPersonNum; + + private System.Nullable _ProjectPersonNum; + + private System.Nullable _ProblemNum; + + private System.Nullable _ProblemCompletedNum; + + private System.Nullable _ProblemNotCompletedNum; + + private System.Nullable _SNum; + + private System.Nullable _ANum; + + private System.Nullable _BNum; + + private System.Nullable _CNum; + + private System.Nullable _KeyProcessNum; + + private System.Nullable _KeyProcessOKNum; + + private System.Nullable _SpecialProcessNum; + + private System.Nullable _SpecialProcessOKNum; + + private System.Nullable _ConcealedWorksNum; + + private System.Nullable _ConcealedWorksOKNum; + + private System.Nullable _UnitProjectOnesNum; + + private System.Nullable _UnitProjectOnesOKNum; + + private System.Nullable _MaterialInRecheckNum; + + private System.Nullable _MaterialInRecheckOKNum; + + private System.Nullable _SingleProjectNum; + + private System.Nullable _UnitProjectNum; + + private System.Nullable _SubProjectNum; + + private System.Nullable _SubdivisionalWorksNum; + + private System.Nullable _InspectionLotNum; + + private System.Nullable _EquipmentInspectionNum; + + private System.Nullable _EquipmentInspectionQualifiedNum; + + private System.Nullable _MachineInspectionNum; + + private System.Nullable _MachineInspectionQualifiedNum; + + private System.Nullable _PersonInspectionNum; + + private System.Nullable _PersonInspectionQualifiedNum; + + private System.Nullable _MaterialInspectionNum; + + private System.Nullable _MaterialInspectionQualifiedNum; + + private System.Nullable _ConstructSolutionNum; + + private System.Nullable _ConstructSolutionProjectApproveNum; + + private System.Nullable _ConstructSolutionUnitApproveNum; + + private System.Nullable _SpecialEquipmentQualityAssuranceSystemNum; + + private System.Nullable _DesignDetailsNum; + + private System.Nullable _UnitProjectAcceptNum; + + private System.Nullable _UnitProjectAcceptOKNum; + + private System.Nullable _SubProjectAcceptNum; + + private System.Nullable _SubProjectAcceptOKNum; + + private System.Nullable _SubdivisionalWorksAcceptNum; + + private System.Nullable _SubdivisionalWorksAcceptOKNum; + + private System.Nullable _ComprehensiveReviewDrawingsNum; + + private System.Nullable _ComprehensiveConTechnologyDisclosureNum; + + private System.Nullable _ComprehensiveConTechnologyDisclosurePersonNum; + + private System.Nullable _ProjectSubPersonNum; + + private System.Nullable _InspectionMachineNum; + + private System.Nullable _InspectionMachineQualifiedNum; + + public View_Project_CQMSData_CQMS() + { + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] + public string ProjectName + { + get + { + return this._ProjectName; + } + set + { + if ((this._ProjectName != value)) + { + this._ProjectName = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShortName", DbType="NVarChar(200)")] + public string ShortName + { + get + { + return this._ShortName; + } + set + { + if ((this._ShortName != value)) + { + this._ShortName = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this._Id = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] + public string UnitId + { + get + { + return this._UnitId; + } + set + { + if ((this._UnitId != value)) + { + this._UnitId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this._ProjectId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CollCropCode", DbType="NVarChar(50)")] + public string CollCropCode + { + get + { + return this._CollCropCode; + } + set + { + if ((this._CollCropCode != value)) + { + this._CollCropCode = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] + public string UnitName + { + get + { + return this._UnitName; + } + set + { + if ((this._UnitName != value)) + { + this._UnitName = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportDate", DbType="DateTime")] + public System.Nullable ReportDate + { + get + { + return this._ReportDate; + } + set + { + if ((this._ReportDate != value)) + { + this._ReportDate = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainPersonNum", DbType="Int")] + public System.Nullable TrainPersonNum + { + get + { + return this._TrainPersonNum; + } + set + { + if ((this._TrainPersonNum != value)) + { + this._TrainPersonNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TechnicalDisclosePersonNum", DbType="Int")] + public System.Nullable TechnicalDisclosePersonNum + { + get + { + return this._TechnicalDisclosePersonNum; + } + set + { + if ((this._TechnicalDisclosePersonNum != value)) + { + this._TechnicalDisclosePersonNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UseNum", DbType="Int")] + public System.Nullable UseNum + { + get + { + return this._UseNum; + } + set + { + if ((this._UseNum != value)) + { + this._UseNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OKNum", DbType="Int")] + public System.Nullable OKNum + { + get + { + return this._OKNum; + } + set + { + if ((this._OKNum != value)) + { + this._OKNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanyPersonNum", DbType="Int")] + public System.Nullable CompanyPersonNum + { + get + { + return this._CompanyPersonNum; + } + set + { + if ((this._CompanyPersonNum != value)) + { + this._CompanyPersonNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BranchPersonNum", DbType="Int")] + public System.Nullable BranchPersonNum + { + get + { + return this._BranchPersonNum; + } + set + { + if ((this._BranchPersonNum != value)) + { + this._BranchPersonNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectPersonNum", DbType="Int")] + public System.Nullable ProjectPersonNum + { + get + { + return this._ProjectPersonNum; + } + set + { + if ((this._ProjectPersonNum != value)) + { + this._ProjectPersonNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProblemNum", DbType="Int")] + public System.Nullable ProblemNum + { + get + { + return this._ProblemNum; + } + set + { + if ((this._ProblemNum != value)) + { + this._ProblemNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProblemCompletedNum", DbType="Int")] + public System.Nullable ProblemCompletedNum + { + get + { + return this._ProblemCompletedNum; + } + set + { + if ((this._ProblemCompletedNum != value)) + { + this._ProblemCompletedNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProblemNotCompletedNum", DbType="Int")] + public System.Nullable ProblemNotCompletedNum + { + get + { + return this._ProblemNotCompletedNum; + } + set + { + if ((this._ProblemNotCompletedNum != value)) + { + this._ProblemNotCompletedNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SNum", DbType="Int")] + public System.Nullable SNum + { + get + { + return this._SNum; + } + set + { + if ((this._SNum != value)) + { + this._SNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ANum", DbType="Int")] + public System.Nullable ANum + { + get + { + return this._ANum; + } + set + { + if ((this._ANum != value)) + { + this._ANum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BNum", DbType="Int")] + public System.Nullable BNum + { + get + { + return this._BNum; + } + set + { + if ((this._BNum != value)) + { + this._BNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CNum", DbType="Int")] + public System.Nullable CNum + { + get + { + return this._CNum; + } + set + { + if ((this._CNum != value)) + { + this._CNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_KeyProcessNum", DbType="Int")] + public System.Nullable KeyProcessNum + { + get + { + return this._KeyProcessNum; + } + set + { + if ((this._KeyProcessNum != value)) + { + this._KeyProcessNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_KeyProcessOKNum", DbType="Int")] + public System.Nullable KeyProcessOKNum + { + get + { + return this._KeyProcessOKNum; + } + set + { + if ((this._KeyProcessOKNum != value)) + { + this._KeyProcessOKNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecialProcessNum", DbType="Int")] + public System.Nullable SpecialProcessNum + { + get + { + return this._SpecialProcessNum; + } + set + { + if ((this._SpecialProcessNum != value)) + { + this._SpecialProcessNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecialProcessOKNum", DbType="Int")] + public System.Nullable SpecialProcessOKNum + { + get + { + return this._SpecialProcessOKNum; + } + set + { + if ((this._SpecialProcessOKNum != value)) + { + this._SpecialProcessOKNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConcealedWorksNum", DbType="Int")] + public System.Nullable ConcealedWorksNum + { + get + { + return this._ConcealedWorksNum; + } + set + { + if ((this._ConcealedWorksNum != value)) + { + this._ConcealedWorksNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConcealedWorksOKNum", DbType="Int")] + public System.Nullable ConcealedWorksOKNum + { + get + { + return this._ConcealedWorksOKNum; + } + set + { + if ((this._ConcealedWorksOKNum != value)) + { + this._ConcealedWorksOKNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitProjectOnesNum", DbType="Int")] + public System.Nullable UnitProjectOnesNum + { + get + { + return this._UnitProjectOnesNum; + } + set + { + if ((this._UnitProjectOnesNum != value)) + { + this._UnitProjectOnesNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitProjectOnesOKNum", DbType="Int")] + public System.Nullable UnitProjectOnesOKNum + { + get + { + return this._UnitProjectOnesOKNum; + } + set + { + if ((this._UnitProjectOnesOKNum != value)) + { + this._UnitProjectOnesOKNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialInRecheckNum", DbType="Int")] + public System.Nullable MaterialInRecheckNum + { + get + { + return this._MaterialInRecheckNum; + } + set + { + if ((this._MaterialInRecheckNum != value)) + { + this._MaterialInRecheckNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialInRecheckOKNum", DbType="Int")] + public System.Nullable MaterialInRecheckOKNum + { + get + { + return this._MaterialInRecheckOKNum; + } + set + { + if ((this._MaterialInRecheckOKNum != value)) + { + this._MaterialInRecheckOKNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SingleProjectNum", DbType="Int")] + public System.Nullable SingleProjectNum + { + get + { + return this._SingleProjectNum; + } + set + { + if ((this._SingleProjectNum != value)) + { + this._SingleProjectNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitProjectNum", DbType="Int")] + public System.Nullable UnitProjectNum + { + get + { + return this._UnitProjectNum; + } + set + { + if ((this._UnitProjectNum != value)) + { + this._UnitProjectNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubProjectNum", DbType="Int")] + public System.Nullable SubProjectNum + { + get + { + return this._SubProjectNum; + } + set + { + if ((this._SubProjectNum != value)) + { + this._SubProjectNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubdivisionalWorksNum", DbType="Int")] + public System.Nullable SubdivisionalWorksNum + { + get + { + return this._SubdivisionalWorksNum; + } + set + { + if ((this._SubdivisionalWorksNum != value)) + { + this._SubdivisionalWorksNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionLotNum", DbType="Int")] + public System.Nullable InspectionLotNum + { + get + { + return this._InspectionLotNum; + } + set + { + if ((this._InspectionLotNum != value)) + { + this._InspectionLotNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentInspectionNum", DbType="Int")] + public System.Nullable EquipmentInspectionNum + { + get + { + return this._EquipmentInspectionNum; + } + set + { + if ((this._EquipmentInspectionNum != value)) + { + this._EquipmentInspectionNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentInspectionQualifiedNum", DbType="Int")] + public System.Nullable EquipmentInspectionQualifiedNum + { + get + { + return this._EquipmentInspectionQualifiedNum; + } + set + { + if ((this._EquipmentInspectionQualifiedNum != value)) + { + this._EquipmentInspectionQualifiedNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MachineInspectionNum", DbType="Int")] + public System.Nullable MachineInspectionNum + { + get + { + return this._MachineInspectionNum; + } + set + { + if ((this._MachineInspectionNum != value)) + { + this._MachineInspectionNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MachineInspectionQualifiedNum", DbType="Int")] + public System.Nullable MachineInspectionQualifiedNum + { + get + { + return this._MachineInspectionQualifiedNum; + } + set + { + if ((this._MachineInspectionQualifiedNum != value)) + { + this._MachineInspectionQualifiedNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonInspectionNum", DbType="Int")] + public System.Nullable PersonInspectionNum + { + get + { + return this._PersonInspectionNum; + } + set + { + if ((this._PersonInspectionNum != value)) + { + this._PersonInspectionNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonInspectionQualifiedNum", DbType="Int")] + public System.Nullable PersonInspectionQualifiedNum + { + get + { + return this._PersonInspectionQualifiedNum; + } + set + { + if ((this._PersonInspectionQualifiedNum != value)) + { + this._PersonInspectionQualifiedNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialInspectionNum", DbType="Int")] + public System.Nullable MaterialInspectionNum + { + get + { + return this._MaterialInspectionNum; + } + set + { + if ((this._MaterialInspectionNum != value)) + { + this._MaterialInspectionNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialInspectionQualifiedNum", DbType="Int")] + public System.Nullable MaterialInspectionQualifiedNum + { + get + { + return this._MaterialInspectionQualifiedNum; + } + set + { + if ((this._MaterialInspectionQualifiedNum != value)) + { + this._MaterialInspectionQualifiedNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructSolutionNum", DbType="Int")] + public System.Nullable ConstructSolutionNum + { + get + { + return this._ConstructSolutionNum; + } + set + { + if ((this._ConstructSolutionNum != value)) + { + this._ConstructSolutionNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructSolutionProjectApproveNum", DbType="Int")] + public System.Nullable ConstructSolutionProjectApproveNum + { + get + { + return this._ConstructSolutionProjectApproveNum; + } + set + { + if ((this._ConstructSolutionProjectApproveNum != value)) + { + this._ConstructSolutionProjectApproveNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructSolutionUnitApproveNum", DbType="Int")] + public System.Nullable ConstructSolutionUnitApproveNum + { + get + { + return this._ConstructSolutionUnitApproveNum; + } + set + { + if ((this._ConstructSolutionUnitApproveNum != value)) + { + this._ConstructSolutionUnitApproveNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecialEquipmentQualityAssuranceSystemNum", DbType="Int")] + public System.Nullable SpecialEquipmentQualityAssuranceSystemNum + { + get + { + return this._SpecialEquipmentQualityAssuranceSystemNum; + } + set + { + if ((this._SpecialEquipmentQualityAssuranceSystemNum != value)) + { + this._SpecialEquipmentQualityAssuranceSystemNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignDetailsNum", DbType="Int")] + public System.Nullable DesignDetailsNum + { + get + { + return this._DesignDetailsNum; + } + set + { + if ((this._DesignDetailsNum != value)) + { + this._DesignDetailsNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitProjectAcceptNum", DbType="Int")] + public System.Nullable UnitProjectAcceptNum + { + get + { + return this._UnitProjectAcceptNum; + } + set + { + if ((this._UnitProjectAcceptNum != value)) + { + this._UnitProjectAcceptNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitProjectAcceptOKNum", DbType="Int")] + public System.Nullable UnitProjectAcceptOKNum + { + get + { + return this._UnitProjectAcceptOKNum; + } + set + { + if ((this._UnitProjectAcceptOKNum != value)) + { + this._UnitProjectAcceptOKNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubProjectAcceptNum", DbType="Int")] + public System.Nullable SubProjectAcceptNum + { + get + { + return this._SubProjectAcceptNum; + } + set + { + if ((this._SubProjectAcceptNum != value)) + { + this._SubProjectAcceptNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubProjectAcceptOKNum", DbType="Int")] + public System.Nullable SubProjectAcceptOKNum + { + get + { + return this._SubProjectAcceptOKNum; + } + set + { + if ((this._SubProjectAcceptOKNum != value)) + { + this._SubProjectAcceptOKNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubdivisionalWorksAcceptNum", DbType="Int")] + public System.Nullable SubdivisionalWorksAcceptNum + { + get + { + return this._SubdivisionalWorksAcceptNum; + } + set + { + if ((this._SubdivisionalWorksAcceptNum != value)) + { + this._SubdivisionalWorksAcceptNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubdivisionalWorksAcceptOKNum", DbType="Int")] + public System.Nullable SubdivisionalWorksAcceptOKNum + { + get + { + return this._SubdivisionalWorksAcceptOKNum; + } + set + { + if ((this._SubdivisionalWorksAcceptOKNum != value)) + { + this._SubdivisionalWorksAcceptOKNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ComprehensiveReviewDrawingsNum", DbType="Int")] + public System.Nullable ComprehensiveReviewDrawingsNum + { + get + { + return this._ComprehensiveReviewDrawingsNum; + } + set + { + if ((this._ComprehensiveReviewDrawingsNum != value)) + { + this._ComprehensiveReviewDrawingsNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ComprehensiveConTechnologyDisclosureNum", DbType="Int")] + public System.Nullable ComprehensiveConTechnologyDisclosureNum + { + get + { + return this._ComprehensiveConTechnologyDisclosureNum; + } + set + { + if ((this._ComprehensiveConTechnologyDisclosureNum != value)) + { + this._ComprehensiveConTechnologyDisclosureNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ComprehensiveConTechnologyDisclosurePersonNum", DbType="Int")] + public System.Nullable ComprehensiveConTechnologyDisclosurePersonNum + { + get + { + return this._ComprehensiveConTechnologyDisclosurePersonNum; + } + set + { + if ((this._ComprehensiveConTechnologyDisclosurePersonNum != value)) + { + this._ComprehensiveConTechnologyDisclosurePersonNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectSubPersonNum", DbType="Int")] + public System.Nullable ProjectSubPersonNum + { + get + { + return this._ProjectSubPersonNum; + } + set + { + if ((this._ProjectSubPersonNum != value)) + { + this._ProjectSubPersonNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionMachineNum", DbType="Int")] + public System.Nullable InspectionMachineNum + { + get + { + return this._InspectionMachineNum; + } + set + { + if ((this._InspectionMachineNum != value)) + { + this._InspectionMachineNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionMachineQualifiedNum", DbType="Int")] + public System.Nullable InspectionMachineQualifiedNum + { + get + { + return this._InspectionMachineQualifiedNum; + } + set + { + if ((this._InspectionMachineQualifiedNum != value)) + { + this._InspectionMachineQualifiedNum = value; + } + } + } + } + + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Project_HJGLData_HJGL")] + public partial class View_Project_HJGLData_HJGL + { + + private string _ProjectName; + + private string _ShortName; + + private string _Id; + + private string _UnitId; + + private string _ProjectId; + + private string _CollCropCode; + + private string _UnitName; + + private System.Nullable _ReportDate; + + private System.Nullable _WelderNum; + + private System.Nullable _TotalDineNum; + + private System.Nullable _CompleteDineNum; + + private System.Nullable _TotalFilmNum; + + private System.Nullable _OKFilmNum; + + public View_Project_HJGLData_HJGL() + { + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] + public string ProjectName + { + get + { + return this._ProjectName; + } + set + { + if ((this._ProjectName != value)) + { + this._ProjectName = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShortName", DbType="NVarChar(200)")] + public string ShortName + { + get + { + return this._ShortName; + } + set + { + if ((this._ShortName != value)) + { + this._ShortName = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this._Id = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] + public string UnitId + { + get + { + return this._UnitId; + } + set + { + if ((this._UnitId != value)) + { + this._UnitId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this._ProjectId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CollCropCode", DbType="NVarChar(50)")] + public string CollCropCode + { + get + { + return this._CollCropCode; + } + set + { + if ((this._CollCropCode != value)) + { + this._CollCropCode = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] + public string UnitName + { + get + { + return this._UnitName; + } + set + { + if ((this._UnitName != value)) + { + this._UnitName = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportDate", DbType="DateTime")] + public System.Nullable ReportDate + { + get + { + return this._ReportDate; + } + set + { + if ((this._ReportDate != value)) + { + this._ReportDate = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WelderNum", DbType="Int")] + public System.Nullable WelderNum + { + get + { + return this._WelderNum; + } + set + { + if ((this._WelderNum != value)) + { + this._WelderNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalDineNum", DbType="Int")] + public System.Nullable TotalDineNum + { + get + { + return this._TotalDineNum; + } + set + { + if ((this._TotalDineNum != value)) + { + this._TotalDineNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompleteDineNum", DbType="Int")] + public System.Nullable CompleteDineNum + { + get + { + return this._CompleteDineNum; + } + set + { + if ((this._CompleteDineNum != value)) + { + this._CompleteDineNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalFilmNum", DbType="Int")] + public System.Nullable TotalFilmNum + { + get + { + return this._TotalFilmNum; + } + set + { + if ((this._TotalFilmNum != value)) + { + this._TotalFilmNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OKFilmNum", DbType="Int")] + public System.Nullable OKFilmNum + { + get + { + return this._OKFilmNum; + } + set + { + if ((this._OKFilmNum != value)) + { + this._OKFilmNum = value; + } + } + } + } + + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Project_HSSEData_HSSE")] + public partial class View_Project_HSSEData_HSSE + { + + private string _ProjectName; + + private string _ShortName; + + private string _Id; + + private string _UnitId; + + private string _ProjectId; + + private string _CollCropCode; + + private string _UnitName; + + private System.Nullable _ReportDate; + + private System.Nullable _BeUnderConstructionNum; + + private System.Nullable _ShutdownNum; + + private System.Nullable _JoinConstructionPersonNum; + + private System.Nullable _MajorProjectsUnderConstructionNum; + + private System.Nullable _TotalWorkingHour; + + private System.Nullable _LostWorkingHour; + + private System.Nullable _SafeWorkingHour; + + private System.Nullable _SafeTrainNum; + + private System.Nullable _SpecialTrainNum; + + private System.Nullable _SpecialOperationTrainNum; + + private System.Nullable _TotalEnergyConsumption; + + private System.Nullable _IncomeComprehensiveEnergyConsumption; + + private System.Nullable _NewWaterConsumption; + + private System.Nullable _HeadOfficeInspectorGeneralNum; + + private System.Nullable _HeadOfficeFullTimeNum; + + private System.Nullable _BranchInspectorGeneralNum; + + private System.Nullable _BranchFullTimeNum; + + private System.Nullable _ProjectInspectorGeneralNum; + + private System.Nullable _ProjectFullTimeNum; + + private System.Nullable _ProjectSafetyMonitorNum; + + private System.Nullable _SafetyInjectionEngineer; + + private System.Nullable _CertificateANum; + + private System.Nullable _CertificateBNum; + + private System.Nullable _CertificateCNum; + + private System.Nullable _SafetyCommitteeMeetingNum; + + private System.Nullable _EnterpriseTopicsMeetingNum; + + private System.Nullable _ProjectSafetyLeadingGroupMeetingNum; + + private System.Nullable _ProjectSafetyMeetingNum; + + private System.Nullable _CompanyLeadShiftCheckNum; + + private System.Nullable _CompanyComprehensiveCheckNum; + + private System.Nullable _CompanySpecialCheckNum; + + private System.Nullable _ProjectLeadShiftCheckNum; + + private System.Nullable _ProjectSpecialCheckNum; + + private System.Nullable _ProjectMajorCheckNum; + + private System.Nullable _NearMissNum; + + private System.Nullable _RecordableEventNum; + + private System.Nullable _GeneralAccidentNum; + + private System.Nullable _MajorAccidentNum; + + private System.Nullable _SeriousAccidentNum; + + private System.Nullable _SpecialSeriousAccidentNum; + + private System.Nullable _CompanyComprehensivePlanNum; + + private System.Nullable _CompanySpecialPlanNum; + + private System.Nullable _CompanyOnSiteDisposalPlan; + + private System.Nullable _CompanyDrillNum; + + private System.Nullable _ProjectComprehensivePlanNum; + + private System.Nullable _ProjectSpecialPlanNum; + + private System.Nullable _ProjectOnSiteDisposalPlan; + + private System.Nullable _ProjectDrillNum; + + private System.Nullable _CostExtract; + + private System.Nullable _CostUse; + + private System.Nullable _UseEquipmentNum; + + private System.Nullable _SpecialEquipmentNum; + + private System.Nullable _LicensesNum; + + private System.Nullable _LicensesCloseNum; + + private System.Nullable _GeneralClosedNum; + + private System.Nullable _GeneralNotClosedNum; + + private System.Nullable _MajorClosedNum; + + private System.Nullable _MajorNotClosedNum; + + private System.Nullable _GeneralRiskNum; + + private System.Nullable _LowRiskNum; + + private System.Nullable _MediumRiskNum; + + private System.Nullable _HighRiskNum; + + private System.Nullable _CompletedNum; + + private System.Nullable _TrainPersonNum; + + private System.Nullable _ConstructionNum; + + private System.Nullable _FinishedNum; + + private System.Nullable _SuperCompletedNum; + + private System.Nullable _SuperTrainPersonNum; + + private System.Nullable _SuperConstructionNum; + + private System.Nullable _SuperFinishedNum; + + private System.Nullable _EnvironmentalTrainNum; + + private System.Nullable _HseTechnicalNum; + + private System.Nullable _ArgumentNum; + + private System.Nullable _SuperArgumentNum; + + private System.Nullable _ProjectDrillPersonNum; + + private System.Nullable _CompanyDrillPersonNum; + + private System.Nullable _BranchLeadShiftCheckNum; + + private System.Nullable _BranchComprehensiveCheckNum; + + private System.Nullable _BranchSpecialCheckNum; + + private System.Nullable _QualityPersonNum; + + private System.Nullable _OperativesNum; + + private System.Nullable _SuperOperativesNum; + + private System.Nullable _BranchComprehensivePlanNum; + + private System.Nullable _BranchSpecialPlanNum; + + private System.Nullable _BranchOnSiteDisposalPlan; + + private System.Nullable _BranchDrillNum; + + private System.Nullable _BranchDrillPersonNum; + + private System.Nullable _ProjectSubFullTimeNum; + + private System.Nullable _TotalWorkNum; + + public View_Project_HSSEData_HSSE() + { + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] + public string ProjectName + { + get + { + return this._ProjectName; + } + set + { + if ((this._ProjectName != value)) + { + this._ProjectName = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShortName", DbType="NVarChar(200)")] + public string ShortName + { + get + { + return this._ShortName; + } + set + { + if ((this._ShortName != value)) + { + this._ShortName = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this._Id = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] + public string UnitId + { + get + { + return this._UnitId; + } + set + { + if ((this._UnitId != value)) + { + this._UnitId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this._ProjectId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CollCropCode", DbType="NVarChar(50)")] + public string CollCropCode + { + get + { + return this._CollCropCode; + } + set + { + if ((this._CollCropCode != value)) + { + this._CollCropCode = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] + public string UnitName + { + get + { + return this._UnitName; + } + set + { + if ((this._UnitName != value)) + { + this._UnitName = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportDate", DbType="DateTime")] + public System.Nullable ReportDate + { + get + { + return this._ReportDate; + } + set + { + if ((this._ReportDate != value)) + { + this._ReportDate = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BeUnderConstructionNum", DbType="Int")] + public System.Nullable BeUnderConstructionNum + { + get + { + return this._BeUnderConstructionNum; + } + set + { + if ((this._BeUnderConstructionNum != value)) + { + this._BeUnderConstructionNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShutdownNum", DbType="Int")] + public System.Nullable ShutdownNum + { + get + { + return this._ShutdownNum; + } + set + { + if ((this._ShutdownNum != value)) + { + this._ShutdownNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JoinConstructionPersonNum", DbType="Int")] + public System.Nullable JoinConstructionPersonNum + { + get + { + return this._JoinConstructionPersonNum; + } + set + { + if ((this._JoinConstructionPersonNum != value)) + { + this._JoinConstructionPersonNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MajorProjectsUnderConstructionNum", DbType="Int")] + public System.Nullable MajorProjectsUnderConstructionNum + { + get + { + return this._MajorProjectsUnderConstructionNum; + } + set + { + if ((this._MajorProjectsUnderConstructionNum != value)) + { + this._MajorProjectsUnderConstructionNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalWorkingHour", DbType="Int")] + public System.Nullable TotalWorkingHour + { + get + { + return this._TotalWorkingHour; + } + set + { + if ((this._TotalWorkingHour != value)) + { + this._TotalWorkingHour = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LostWorkingHour", DbType="Int")] + public System.Nullable LostWorkingHour + { + get + { + return this._LostWorkingHour; + } + set + { + if ((this._LostWorkingHour != value)) + { + this._LostWorkingHour = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SafeWorkingHour", DbType="Int")] + public System.Nullable SafeWorkingHour + { + get + { + return this._SafeWorkingHour; + } + set + { + if ((this._SafeWorkingHour != value)) + { + this._SafeWorkingHour = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SafeTrainNum", DbType="Int")] + public System.Nullable SafeTrainNum + { + get + { + return this._SafeTrainNum; + } + set + { + if ((this._SafeTrainNum != value)) + { + this._SafeTrainNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecialTrainNum", DbType="Int")] + public System.Nullable SpecialTrainNum + { + get + { + return this._SpecialTrainNum; + } + set + { + if ((this._SpecialTrainNum != value)) + { + this._SpecialTrainNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecialOperationTrainNum", DbType="Int")] + public System.Nullable SpecialOperationTrainNum + { + get + { + return this._SpecialOperationTrainNum; + } + set + { + if ((this._SpecialOperationTrainNum != value)) + { + this._SpecialOperationTrainNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalEnergyConsumption", DbType="Int")] + public System.Nullable TotalEnergyConsumption + { + get + { + return this._TotalEnergyConsumption; + } + set + { + if ((this._TotalEnergyConsumption != value)) + { + this._TotalEnergyConsumption = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IncomeComprehensiveEnergyConsumption", DbType="Int")] + public System.Nullable IncomeComprehensiveEnergyConsumption + { + get + { + return this._IncomeComprehensiveEnergyConsumption; + } + set + { + if ((this._IncomeComprehensiveEnergyConsumption != value)) + { + this._IncomeComprehensiveEnergyConsumption = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NewWaterConsumption", DbType="Int")] + public System.Nullable NewWaterConsumption + { + get + { + return this._NewWaterConsumption; + } + set + { + if ((this._NewWaterConsumption != value)) + { + this._NewWaterConsumption = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HeadOfficeInspectorGeneralNum", DbType="Int")] + public System.Nullable HeadOfficeInspectorGeneralNum + { + get + { + return this._HeadOfficeInspectorGeneralNum; + } + set + { + if ((this._HeadOfficeInspectorGeneralNum != value)) + { + this._HeadOfficeInspectorGeneralNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HeadOfficeFullTimeNum", DbType="Int")] + public System.Nullable HeadOfficeFullTimeNum + { + get + { + return this._HeadOfficeFullTimeNum; + } + set + { + if ((this._HeadOfficeFullTimeNum != value)) + { + this._HeadOfficeFullTimeNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BranchInspectorGeneralNum", DbType="Int")] + public System.Nullable BranchInspectorGeneralNum + { + get + { + return this._BranchInspectorGeneralNum; + } + set + { + if ((this._BranchInspectorGeneralNum != value)) + { + this._BranchInspectorGeneralNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BranchFullTimeNum", DbType="Int")] + public System.Nullable BranchFullTimeNum + { + get + { + return this._BranchFullTimeNum; + } + set + { + if ((this._BranchFullTimeNum != value)) + { + this._BranchFullTimeNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectInspectorGeneralNum", DbType="Int")] + public System.Nullable ProjectInspectorGeneralNum + { + get + { + return this._ProjectInspectorGeneralNum; + } + set + { + if ((this._ProjectInspectorGeneralNum != value)) + { + this._ProjectInspectorGeneralNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectFullTimeNum", DbType="Int")] + public System.Nullable ProjectFullTimeNum + { + get + { + return this._ProjectFullTimeNum; + } + set + { + if ((this._ProjectFullTimeNum != value)) + { + this._ProjectFullTimeNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectSafetyMonitorNum", DbType="Int")] + public System.Nullable ProjectSafetyMonitorNum + { + get + { + return this._ProjectSafetyMonitorNum; + } + set + { + if ((this._ProjectSafetyMonitorNum != value)) + { + this._ProjectSafetyMonitorNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SafetyInjectionEngineer", DbType="Int")] + public System.Nullable SafetyInjectionEngineer + { + get + { + return this._SafetyInjectionEngineer; + } + set + { + if ((this._SafetyInjectionEngineer != value)) + { + this._SafetyInjectionEngineer = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CertificateANum", DbType="Int")] + public System.Nullable CertificateANum + { + get + { + return this._CertificateANum; + } + set + { + if ((this._CertificateANum != value)) + { + this._CertificateANum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CertificateBNum", DbType="Int")] + public System.Nullable CertificateBNum + { + get + { + return this._CertificateBNum; + } + set + { + if ((this._CertificateBNum != value)) + { + this._CertificateBNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CertificateCNum", DbType="Int")] + public System.Nullable CertificateCNum + { + get + { + return this._CertificateCNum; + } + set + { + if ((this._CertificateCNum != value)) + { + this._CertificateCNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SafetyCommitteeMeetingNum", DbType="Int")] + public System.Nullable SafetyCommitteeMeetingNum + { + get + { + return this._SafetyCommitteeMeetingNum; + } + set + { + if ((this._SafetyCommitteeMeetingNum != value)) + { + this._SafetyCommitteeMeetingNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EnterpriseTopicsMeetingNum", DbType="Int")] + public System.Nullable EnterpriseTopicsMeetingNum + { + get + { + return this._EnterpriseTopicsMeetingNum; + } + set + { + if ((this._EnterpriseTopicsMeetingNum != value)) + { + this._EnterpriseTopicsMeetingNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectSafetyLeadingGroupMeetingNum", DbType="Int")] + public System.Nullable ProjectSafetyLeadingGroupMeetingNum + { + get + { + return this._ProjectSafetyLeadingGroupMeetingNum; + } + set + { + if ((this._ProjectSafetyLeadingGroupMeetingNum != value)) + { + this._ProjectSafetyLeadingGroupMeetingNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectSafetyMeetingNum", DbType="Int")] + public System.Nullable ProjectSafetyMeetingNum + { + get + { + return this._ProjectSafetyMeetingNum; + } + set + { + if ((this._ProjectSafetyMeetingNum != value)) + { + this._ProjectSafetyMeetingNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanyLeadShiftCheckNum", DbType="Int")] + public System.Nullable CompanyLeadShiftCheckNum + { + get + { + return this._CompanyLeadShiftCheckNum; + } + set + { + if ((this._CompanyLeadShiftCheckNum != value)) + { + this._CompanyLeadShiftCheckNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanyComprehensiveCheckNum", DbType="Int")] + public System.Nullable CompanyComprehensiveCheckNum + { + get + { + return this._CompanyComprehensiveCheckNum; + } + set + { + if ((this._CompanyComprehensiveCheckNum != value)) + { + this._CompanyComprehensiveCheckNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanySpecialCheckNum", DbType="Int")] + public System.Nullable CompanySpecialCheckNum + { + get + { + return this._CompanySpecialCheckNum; + } + set + { + if ((this._CompanySpecialCheckNum != value)) + { + this._CompanySpecialCheckNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectLeadShiftCheckNum", DbType="Int")] + public System.Nullable ProjectLeadShiftCheckNum + { + get + { + return this._ProjectLeadShiftCheckNum; + } + set + { + if ((this._ProjectLeadShiftCheckNum != value)) + { + this._ProjectLeadShiftCheckNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectSpecialCheckNum", DbType="Int")] + public System.Nullable ProjectSpecialCheckNum + { + get + { + return this._ProjectSpecialCheckNum; + } + set + { + if ((this._ProjectSpecialCheckNum != value)) + { + this._ProjectSpecialCheckNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectMajorCheckNum", DbType="Int")] + public System.Nullable ProjectMajorCheckNum + { + get + { + return this._ProjectMajorCheckNum; + } + set + { + if ((this._ProjectMajorCheckNum != value)) + { + this._ProjectMajorCheckNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NearMissNum", DbType="Int")] + public System.Nullable NearMissNum + { + get + { + return this._NearMissNum; + } + set + { + if ((this._NearMissNum != value)) + { + this._NearMissNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordableEventNum", DbType="Int")] + public System.Nullable RecordableEventNum + { + get + { + return this._RecordableEventNum; + } + set + { + if ((this._RecordableEventNum != value)) + { + this._RecordableEventNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GeneralAccidentNum", DbType="Int")] + public System.Nullable GeneralAccidentNum + { + get + { + return this._GeneralAccidentNum; + } + set + { + if ((this._GeneralAccidentNum != value)) + { + this._GeneralAccidentNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MajorAccidentNum", DbType="Int")] + public System.Nullable MajorAccidentNum + { + get + { + return this._MajorAccidentNum; + } + set + { + if ((this._MajorAccidentNum != value)) + { + this._MajorAccidentNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SeriousAccidentNum", DbType="Int")] + public System.Nullable SeriousAccidentNum + { + get + { + return this._SeriousAccidentNum; + } + set + { + if ((this._SeriousAccidentNum != value)) + { + this._SeriousAccidentNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecialSeriousAccidentNum", DbType="Int")] + public System.Nullable SpecialSeriousAccidentNum + { + get + { + return this._SpecialSeriousAccidentNum; + } + set + { + if ((this._SpecialSeriousAccidentNum != value)) + { + this._SpecialSeriousAccidentNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanyComprehensivePlanNum", DbType="Int")] + public System.Nullable CompanyComprehensivePlanNum + { + get + { + return this._CompanyComprehensivePlanNum; + } + set + { + if ((this._CompanyComprehensivePlanNum != value)) + { + this._CompanyComprehensivePlanNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanySpecialPlanNum", DbType="Int")] + public System.Nullable CompanySpecialPlanNum + { + get + { + return this._CompanySpecialPlanNum; + } + set + { + if ((this._CompanySpecialPlanNum != value)) + { + this._CompanySpecialPlanNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanyOnSiteDisposalPlan", DbType="Int")] + public System.Nullable CompanyOnSiteDisposalPlan + { + get + { + return this._CompanyOnSiteDisposalPlan; + } + set + { + if ((this._CompanyOnSiteDisposalPlan != value)) + { + this._CompanyOnSiteDisposalPlan = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanyDrillNum", DbType="Int")] + public System.Nullable CompanyDrillNum + { + get + { + return this._CompanyDrillNum; + } + set + { + if ((this._CompanyDrillNum != value)) + { + this._CompanyDrillNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectComprehensivePlanNum", DbType="Int")] + public System.Nullable ProjectComprehensivePlanNum + { + get + { + return this._ProjectComprehensivePlanNum; + } + set + { + if ((this._ProjectComprehensivePlanNum != value)) + { + this._ProjectComprehensivePlanNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectSpecialPlanNum", DbType="Int")] + public System.Nullable ProjectSpecialPlanNum + { + get + { + return this._ProjectSpecialPlanNum; + } + set + { + if ((this._ProjectSpecialPlanNum != value)) + { + this._ProjectSpecialPlanNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectOnSiteDisposalPlan", DbType="Int")] + public System.Nullable ProjectOnSiteDisposalPlan + { + get + { + return this._ProjectOnSiteDisposalPlan; + } + set + { + if ((this._ProjectOnSiteDisposalPlan != value)) + { + this._ProjectOnSiteDisposalPlan = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectDrillNum", DbType="Int")] + public System.Nullable ProjectDrillNum + { + get + { + return this._ProjectDrillNum; + } + set + { + if ((this._ProjectDrillNum != value)) + { + this._ProjectDrillNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostExtract", DbType="Int")] + public System.Nullable CostExtract + { + get + { + return this._CostExtract; + } + set + { + if ((this._CostExtract != value)) + { + this._CostExtract = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostUse", DbType="Int")] + public System.Nullable CostUse + { + get + { + return this._CostUse; + } + set + { + if ((this._CostUse != value)) + { + this._CostUse = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UseEquipmentNum", DbType="Int")] + public System.Nullable UseEquipmentNum + { + get + { + return this._UseEquipmentNum; + } + set + { + if ((this._UseEquipmentNum != value)) + { + this._UseEquipmentNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecialEquipmentNum", DbType="Int")] + public System.Nullable SpecialEquipmentNum + { + get + { + return this._SpecialEquipmentNum; + } + set + { + if ((this._SpecialEquipmentNum != value)) + { + this._SpecialEquipmentNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LicensesNum", DbType="Int")] + public System.Nullable LicensesNum + { + get + { + return this._LicensesNum; + } + set + { + if ((this._LicensesNum != value)) + { + this._LicensesNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LicensesCloseNum", DbType="Int")] + public System.Nullable LicensesCloseNum + { + get + { + return this._LicensesCloseNum; + } + set + { + if ((this._LicensesCloseNum != value)) + { + this._LicensesCloseNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GeneralClosedNum", DbType="Int")] + public System.Nullable GeneralClosedNum + { + get + { + return this._GeneralClosedNum; + } + set + { + if ((this._GeneralClosedNum != value)) + { + this._GeneralClosedNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GeneralNotClosedNum", DbType="Int")] + public System.Nullable GeneralNotClosedNum + { + get + { + return this._GeneralNotClosedNum; + } + set + { + if ((this._GeneralNotClosedNum != value)) + { + this._GeneralNotClosedNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MajorClosedNum", DbType="Int")] + public System.Nullable MajorClosedNum + { + get + { + return this._MajorClosedNum; + } + set + { + if ((this._MajorClosedNum != value)) + { + this._MajorClosedNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MajorNotClosedNum", DbType="Int")] + public System.Nullable MajorNotClosedNum + { + get + { + return this._MajorNotClosedNum; + } + set + { + if ((this._MajorNotClosedNum != value)) + { + this._MajorNotClosedNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GeneralRiskNum", DbType="Int")] + public System.Nullable GeneralRiskNum + { + get + { + return this._GeneralRiskNum; + } + set + { + if ((this._GeneralRiskNum != value)) + { + this._GeneralRiskNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LowRiskNum", DbType="Int")] + public System.Nullable LowRiskNum + { + get + { + return this._LowRiskNum; + } + set + { + if ((this._LowRiskNum != value)) + { + this._LowRiskNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MediumRiskNum", DbType="Int")] + public System.Nullable MediumRiskNum + { + get + { + return this._MediumRiskNum; + } + set + { + if ((this._MediumRiskNum != value)) + { + this._MediumRiskNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HighRiskNum", DbType="Int")] + public System.Nullable HighRiskNum + { + get + { + return this._HighRiskNum; + } + set + { + if ((this._HighRiskNum != value)) + { + this._HighRiskNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompletedNum", DbType="Int")] + public System.Nullable CompletedNum + { + get + { + return this._CompletedNum; + } + set + { + if ((this._CompletedNum != value)) + { + this._CompletedNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainPersonNum", DbType="Int")] + public System.Nullable TrainPersonNum + { + get + { + return this._TrainPersonNum; + } + set + { + if ((this._TrainPersonNum != value)) + { + this._TrainPersonNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionNum", DbType="Int")] + public System.Nullable ConstructionNum + { + get + { + return this._ConstructionNum; + } + set + { + if ((this._ConstructionNum != value)) + { + this._ConstructionNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FinishedNum", DbType="Int")] + public System.Nullable FinishedNum + { + get + { + return this._FinishedNum; + } + set + { + if ((this._FinishedNum != value)) + { + this._FinishedNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SuperCompletedNum", DbType="Int")] + public System.Nullable SuperCompletedNum + { + get + { + return this._SuperCompletedNum; + } + set + { + if ((this._SuperCompletedNum != value)) + { + this._SuperCompletedNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SuperTrainPersonNum", DbType="Int")] + public System.Nullable SuperTrainPersonNum + { + get + { + return this._SuperTrainPersonNum; + } + set + { + if ((this._SuperTrainPersonNum != value)) + { + this._SuperTrainPersonNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SuperConstructionNum", DbType="Int")] + public System.Nullable SuperConstructionNum + { + get + { + return this._SuperConstructionNum; + } + set + { + if ((this._SuperConstructionNum != value)) + { + this._SuperConstructionNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SuperFinishedNum", DbType="Int")] + public System.Nullable SuperFinishedNum + { + get + { + return this._SuperFinishedNum; + } + set + { + if ((this._SuperFinishedNum != value)) + { + this._SuperFinishedNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EnvironmentalTrainNum", DbType="Int")] + public System.Nullable EnvironmentalTrainNum + { + get + { + return this._EnvironmentalTrainNum; + } + set + { + if ((this._EnvironmentalTrainNum != value)) + { + this._EnvironmentalTrainNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HseTechnicalNum", DbType="Int")] + public System.Nullable HseTechnicalNum + { + get + { + return this._HseTechnicalNum; + } + set + { + if ((this._HseTechnicalNum != value)) + { + this._HseTechnicalNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ArgumentNum", DbType="Int")] + public System.Nullable ArgumentNum + { + get + { + return this._ArgumentNum; + } + set + { + if ((this._ArgumentNum != value)) + { + this._ArgumentNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SuperArgumentNum", DbType="Int")] + public System.Nullable SuperArgumentNum + { + get + { + return this._SuperArgumentNum; + } + set + { + if ((this._SuperArgumentNum != value)) + { + this._SuperArgumentNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectDrillPersonNum", DbType="Int")] + public System.Nullable ProjectDrillPersonNum + { + get + { + return this._ProjectDrillPersonNum; + } + set + { + if ((this._ProjectDrillPersonNum != value)) + { + this._ProjectDrillPersonNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanyDrillPersonNum", DbType="Int")] + public System.Nullable CompanyDrillPersonNum + { + get + { + return this._CompanyDrillPersonNum; + } + set + { + if ((this._CompanyDrillPersonNum != value)) + { + this._CompanyDrillPersonNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BranchLeadShiftCheckNum", DbType="Int")] + public System.Nullable BranchLeadShiftCheckNum + { + get + { + return this._BranchLeadShiftCheckNum; + } + set + { + if ((this._BranchLeadShiftCheckNum != value)) + { + this._BranchLeadShiftCheckNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BranchComprehensiveCheckNum", DbType="Int")] + public System.Nullable BranchComprehensiveCheckNum + { + get + { + return this._BranchComprehensiveCheckNum; + } + set + { + if ((this._BranchComprehensiveCheckNum != value)) + { + this._BranchComprehensiveCheckNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BranchSpecialCheckNum", DbType="Int")] + public System.Nullable BranchSpecialCheckNum + { + get + { + return this._BranchSpecialCheckNum; + } + set + { + if ((this._BranchSpecialCheckNum != value)) + { + this._BranchSpecialCheckNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualityPersonNum", DbType="Int")] + public System.Nullable QualityPersonNum + { + get + { + return this._QualityPersonNum; + } + set + { + if ((this._QualityPersonNum != value)) + { + this._QualityPersonNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperativesNum", DbType="Int")] + public System.Nullable OperativesNum + { + get + { + return this._OperativesNum; + } + set + { + if ((this._OperativesNum != value)) + { + this._OperativesNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SuperOperativesNum", DbType="Int")] + public System.Nullable SuperOperativesNum + { + get + { + return this._SuperOperativesNum; + } + set + { + if ((this._SuperOperativesNum != value)) + { + this._SuperOperativesNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BranchComprehensivePlanNum", DbType="Int")] + public System.Nullable BranchComprehensivePlanNum + { + get + { + return this._BranchComprehensivePlanNum; + } + set + { + if ((this._BranchComprehensivePlanNum != value)) + { + this._BranchComprehensivePlanNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BranchSpecialPlanNum", DbType="Int")] + public System.Nullable BranchSpecialPlanNum + { + get + { + return this._BranchSpecialPlanNum; + } + set + { + if ((this._BranchSpecialPlanNum != value)) + { + this._BranchSpecialPlanNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BranchOnSiteDisposalPlan", DbType="Int")] + public System.Nullable BranchOnSiteDisposalPlan + { + get + { + return this._BranchOnSiteDisposalPlan; + } + set + { + if ((this._BranchOnSiteDisposalPlan != value)) + { + this._BranchOnSiteDisposalPlan = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BranchDrillNum", DbType="Int")] + public System.Nullable BranchDrillNum + { + get + { + return this._BranchDrillNum; + } + set + { + if ((this._BranchDrillNum != value)) + { + this._BranchDrillNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BranchDrillPersonNum", DbType="Int")] + public System.Nullable BranchDrillPersonNum + { + get + { + return this._BranchDrillPersonNum; + } + set + { + if ((this._BranchDrillPersonNum != value)) + { + this._BranchDrillPersonNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectSubFullTimeNum", DbType="Int")] + public System.Nullable ProjectSubFullTimeNum + { + get + { + return this._ProjectSubFullTimeNum; + } + set + { + if ((this._ProjectSubFullTimeNum != value)) + { + this._ProjectSubFullTimeNum = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalWorkNum", DbType="Decimal(38,4)")] + public System.Nullable TotalWorkNum + { + get + { + return this._TotalWorkNum; + } + set + { + if ((this._TotalWorkNum != value)) + { + this._TotalWorkNum = value; + } + } + } + } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_ProjectAccident_AccidentAnalysis")] public partial class View_ProjectAccident_AccidentAnalysis {