-
施工分包商
+ <%--
施工分包商
--%>
-
问题类别
+
问题类别
@@ -686,20 +693,20 @@ var basePath = '<%= ResolveUrl("~/") %>';
// 使用刚指定的配置项和数据显示图表。
myChart.setOption(option)
}
- var four1 =<%=Four1 %>;
- var xArr = four1.categories
+ var four2 =<%=Four2 %>;
+ var xArr = four2.categories
var series = [{
name: '待整改',
type: 'bar',
barWidth: 20,
barGap:0.05,
- data: four1.series[0].data,
+ data: four2.series[0].data,
itemStyle: { normal: { color: '#88cc00' } }
}, {
name: '全部',
type: 'bar',
barWidth: 20,
- data: four1.series[0].data2,
+ data: four2.series[0].data2,
itemStyle: { normal: { color: '#AE4B23' } }
}];
category_Four('four', xArr, series)
diff --git a/SGGL/FineUIPro.Web/common/mainMenu_HSSE.aspx.cs b/SGGL/FineUIPro.Web/common/mainMenu_HSSE.aspx.cs
index 247bcab..41d3c40 100644
--- a/SGGL/FineUIPro.Web/common/mainMenu_HSSE.aspx.cs
+++ b/SGGL/FineUIPro.Web/common/mainMenu_HSSE.aspx.cs
@@ -5,6 +5,8 @@ using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
+using System.Data;
+using System.Data.SqlClient;
namespace FineUIPro.Web
{
@@ -43,48 +45,151 @@ namespace FineUIPro.Web
///
private void getSitePerson()
{
- int AllCount = 0;
- //var getallin = APIPageDataService.getPersonInOutNum(this.ProjectId, DateTime.Now.AddDays(-1));
- DateTime dateValue = DateTime.Now.AddDays(-1);
- List getallin = new List();
- var getInMaxs = from x in Funs.DB.SitePerson_Person
- join y in Funs.DB.Base_WorkPost on x.WorkPostId equals y.WorkPostId
- where x.ProjectId == this.CurrUser.LoginProjectId && x.IsUsed == true
- select new Model.PageDataPersonInOutItem
- {
- PersonId = x.PersonId,
- PostType = y.PostType,
- WorkPostId = x.WorkPostId,
- };
- if (getInMaxs.Count() > 0)
+ // int AllCount = 0;
+ // //var getallin = APIPageDataService.getPersonInOutNum(this.ProjectId, DateTime.Now.AddDays(-1));
+ // DateTime dateValue = DateTime.Now.AddDays(-1);
+ // List getallin = new List();
+ // var getInMaxs = from x in Funs.DB.SitePerson_Person
+ // join y in Funs.DB.Base_WorkPost on x.WorkPostId equals y.WorkPostId
+ // where x.ProjectId == this.CurrUser.LoginProjectId && x.IsUsed == true
+ // select new Model.PageDataPersonInOutItem
+ // {
+ // PersonId = x.PersonId,
+ // PostType = y.PostType,
+ // WorkPostId = x.WorkPostId,
+ // };
+ // if (getInMaxs.Count() > 0)
+ // {
+ // getallin = getInMaxs.Distinct().ToList();
+ // }
+ // //AllCount = getallin.Count();
+ // var getEmployInOutRecords = (from x in Funs.DB.T_d_EmployInOutRecord
+ // join y in Funs.DB.SitePerson_Person on new { ss1 = x.ProjectId, ss = x.IDCardNo } equals new { ss1 = y.ProjectId, ss = y.IdentityCard }
+ // where y.ProjectId == this.CurrUser.LoginProjectId && y.IsUsed == true && x.ProjectId == this.CurrUser.LoginProjectId && x.RecordDate.Value == DateTime.Now.Date
+ // select x.IDCardNo).Distinct();
+ //
+ // //if (AllCount > 0)
+ // //{
+ // // ////总人数
+ // // this.divperson.InnerHtml = ((AllCount % 10000) / 1000).ToString();
+ // // this.person00.InnerHtml = ((AllCount % 1000) / 100).ToString();
+ // // this.person01.InnerHtml = ((AllCount % 100) / 10).ToString();
+ // // this.person02.InnerHtml = (AllCount % 10).ToString();
+ // //}
+ //
+ //
+ // AllCount = getEmployInOutRecords.Count();
+ // if (AllCount > 0)
+ // {
+ // ////总人数
+ // this.divperson.InnerHtml = ((AllCount % 10000) / 1000).ToString();
+ // this.person00.InnerHtml = ((AllCount % 1000) / 100).ToString();
+ // this.person01.InnerHtml = ((AllCount % 100) / 10).ToString();
+ // this.person02.InnerHtml = (AllCount % 10).ToString();
+ // }
+
+ string strSql = @"SELECT DISTINCT ProjectUser.ProjectUserId,ProjectUser.ProjectId,ProjectUser.UserId,ProjectUser.WorkAreaId,Users.UserCode,Users.UserName,ProjectUser.UnitId,Unit.UnitCode,Unit.UnitName,ProjectUnit.UnitType,sysConst.ConstText AS UnitTypeName,ProjectUser.RoleId,ProjectUser.IsPost,(CASE WHEN ProjectUser.IsPost = 1 THEN '在岗' ELSE '离岗' END) AS IsPostName,WorkPost.WorkPostName,UnitCode"
+ + @" ,RoleName= STUFF(( SELECT ',' + RoleName FROM dbo.Sys_Role where PATINDEX('%,' + RTRIM(RoleId) + ',%',',' +ProjectUser.RoleId + ',')>0 FOR XML PATH('')), 1, 1,'')"
+ + @" FROM Project_ProjectUser AS ProjectUser "
+ + @" LEFT JOIN Base_Project AS Project ON ProjectUser.ProjectId = Project.ProjectId "
+ + @" LEFT JOIN Sys_User AS Users ON ProjectUser.UserId = Users.UserId "
+ + @" LEFT JOIN Sys_Role AS Role ON ProjectUser.RoleId = Role.RoleId "
+ + @" LEFT JOIN Project_ProjectUnit AS ProjectUnit ON ProjectUser.UnitId = ProjectUnit.UnitId AND ProjectUser.ProjectId= ProjectUnit.ProjectId "
+ + @" LEFT JOIN Base_Unit AS Unit ON ProjectUser.UnitId = Unit.UnitId "
+ + @" LEFT JOIN SitePerson_Person AS Person ON ProjectUser.ProjectId =Person.ProjectId AND Users.IdentityCard = Person.IdentityCard "
+ + @" LEFT JOIN Base_WorkPost AS WorkPost ON Person.WorkPostId =WorkPost.WorkPostId "
+ + @" LEFT JOIN Sys_Const AS sysConst ON sysConst.GroupId = '" + BLL.ConstValue.Group_ProjectUnitType + "' AND ProjectUnit.UnitType=sysConst.ConstValue "
+ + @" WHERE 1=1 ";
+
+
+ List listStr = new List();
+ strSql += " AND ProjectUser.ProjectId = @ProjectId";
+ listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+ var projectPeople = tb.Rows.Count;
+
+
+ //当前日
+ // 获取当前日期的00点
+ DateTime now = DateTime.Now;
+ DateTime StartDate = DateTime.Now.Date;
+
+ DateTime EndDate = new DateTime(now.Year, now.Month, now.Day, 23, 59, 59);
+ //当前月
+ // 获取当前年份和月份
+ int year = DateTime.Now.Year;
+ int month = DateTime.Now.Month;
+ // 获取当前月份的开始00点
+ DateTime startOfMonth = new DateTime(year, month, 1);
+ DateTime startOfNextMonth = startOfMonth.AddMonths(1);
+ // 如果你需要当前月份的最后一天的23:59:59
+ DateTime endOfMonth = startOfNextMonth.AddSeconds(-1);
+
+ string strSql1 = "SELECT ClassMeeting.ClassMeetingId,ClassMeeting.ProjectId,CodeRecords.Code AS ClassMeetingCode,Unit.UnitId,Unit.UnitName,ClassMeeting.ClassMeetingName,ClassMeeting.ClassMeetingDate,ClassMeeting.CompileMan,ClassMeeting.ClassMeetingContents,ClassMeeting.CompileDate,ClassMeeting.States "
+ + @" ,(CASE WHEN ClassMeeting.States = " + BLL.Const.State_0 + " OR ClassMeeting.States IS NULL THEN '待['+ISNULL(OperateUser.UserName,Users.UserName)+']提交' WHEN ClassMeeting.States = " + BLL.Const.State_2 + " THEN '审核/审批完成' ELSE '待['+OperateUser.UserName+']办理' END) AS FlowOperateName"
+ + @" FROM Meeting_ClassMeeting AS ClassMeeting "
+ + @" LEFT JOIN Sys_CodeRecords AS CodeRecords ON ClassMeeting.ClassMeetingId = CodeRecords.DataId "
+ + @" LEFT JOIN Sys_FlowOperate AS FlowOperate ON ClassMeeting.ClassMeetingId = FlowOperate.DataId AND FlowOperate.IsClosed <> 1"
+ + @" LEFT JOIN Sys_User AS OperateUser ON FlowOperate.OperaterId=OperateUser.UserId"
+ + @" LEFT JOIN Sys_User AS Users ON ClassMeeting.CompileMan = Users.UserId"
+ + @" LEFT JOIN Base_Unit AS Unit ON Unit.UnitId=Users.UnitId WHERE 1=1 ";
+ List listStr1 = new List();
+ if (!string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
{
- getallin = getInMaxs.Distinct().ToList();
+ strSql1 += " AND ClassMeeting.ProjectId = @ProjectId";
+ listStr1.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
}
- //AllCount = getallin.Count();
- var getEmployInOutRecords = (from x in Funs.DB.T_d_EmployInOutRecord
- join y in Funs.DB.SitePerson_Person on new { ss1 = x.ProjectId, ss = x.IDCardNo } equals new { ss1 = y.ProjectId, ss = y.IdentityCard }
- where y.ProjectId == this.CurrUser.LoginProjectId && y.IsUsed == true && x.ProjectId == this.CurrUser.LoginProjectId && x.RecordDate.Value == DateTime.Now.Date
- select x.IDCardNo).Distinct();
-
- //if (AllCount > 0)
- //{
- // ////总人数
- // this.divperson.InnerHtml = ((AllCount % 10000) / 1000).ToString();
- // this.person00.InnerHtml = ((AllCount % 1000) / 100).ToString();
- // this.person01.InnerHtml = ((AllCount % 100) / 10).ToString();
- // this.person02.InnerHtml = (AllCount % 10).ToString();
- //}
-
-
- AllCount = getEmployInOutRecords.Count();
- if (AllCount > 0)
+ strSql1 += " AND ClassMeeting.ClassMeetingDate BETWEEN @StartDate AND @EndDate";
+ listStr1.Add(new SqlParameter("@StartDate", StartDate));
+ listStr1.Add(new SqlParameter("@EndDate", EndDate));
+ SqlParameter[] parameter1 = listStr1.ToArray();
+ DataTable tb1 = SQLHelper.GetDataTableRunText(strSql1, parameter1);
+ var dr = tb1.Rows.Count;
+
+
+ string strSql2 = "SELECT ClassMeeting.ClassMeetingId,ClassMeeting.ProjectId,CodeRecords.Code AS ClassMeetingCode,Unit.UnitId,Unit.UnitName,ClassMeeting.ClassMeetingName,ClassMeeting.ClassMeetingDate,ClassMeeting.CompileMan,ClassMeeting.ClassMeetingContents,ClassMeeting.CompileDate,ClassMeeting.States "
+ + @" ,(CASE WHEN ClassMeeting.States = " + BLL.Const.State_0 + " OR ClassMeeting.States IS NULL THEN '待['+ISNULL(OperateUser.UserName,Users.UserName)+']提交' WHEN ClassMeeting.States = " + BLL.Const.State_2 + " THEN '审核/审批完成' ELSE '待['+OperateUser.UserName+']办理' END) AS FlowOperateName"
+ + @" FROM Meeting_ClassMeeting AS ClassMeeting "
+ + @" LEFT JOIN Sys_CodeRecords AS CodeRecords ON ClassMeeting.ClassMeetingId = CodeRecords.DataId "
+ + @" LEFT JOIN Sys_FlowOperate AS FlowOperate ON ClassMeeting.ClassMeetingId = FlowOperate.DataId AND FlowOperate.IsClosed <> 1"
+ + @" LEFT JOIN Sys_User AS OperateUser ON FlowOperate.OperaterId=OperateUser.UserId"
+ + @" LEFT JOIN Sys_User AS Users ON ClassMeeting.CompileMan = Users.UserId"
+ + @" LEFT JOIN Base_Unit AS Unit ON Unit.UnitId=Users.UnitId WHERE 1=1 ";
+ List listStr2 = new List();
+ if (!string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
+ {
+ strSql2 += " AND ClassMeeting.ProjectId = @ProjectId";
+ listStr2.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
+ }
+ strSql2 += " AND ClassMeeting.ClassMeetingDate BETWEEN @StartDate AND @EndDate";
+ listStr2.Add(new SqlParameter("@StartDate", startOfMonth));
+ listStr2.Add(new SqlParameter("@EndDate", endOfMonth));
+ SqlParameter[] parameter2 = listStr2.ToArray();
+ DataTable tb2 = SQLHelper.GetDataTableRunText(strSql2, parameter2);
+
+ var dy = tb2.Rows.Count;
+
+ var count1 = projectPeople + dr;
+ var count2 = projectPeople + dy;
+ if (count1 > 0)
{
////总人数
- this.divperson.InnerHtml = ((AllCount % 10000) / 1000).ToString();
- this.person00.InnerHtml = ((AllCount % 1000) / 100).ToString();
- this.person01.InnerHtml = ((AllCount % 100) / 10).ToString();
- this.person02.InnerHtml = (AllCount % 10).ToString();
+ this.divperson.InnerHtml = ((count1 % 10000) / 1000).ToString();
+ this.person00.InnerHtml = ((count1 % 1000) / 100).ToString();
+ this.person01.InnerHtml = ((count1 % 100) / 10).ToString();
+ this.person02.InnerHtml = (count1 % 10).ToString();
}
+
+ if (count2 > 0)
+ {
+ ////总人数
+ this.divperson1.InnerHtml = ((count2 % 10000) / 1000).ToString();
+ this.person001.InnerHtml = ((count2 % 1000) / 100).ToString();
+ this.person011.InnerHtml = ((count2 % 100) / 10).ToString();
+ this.person021.InnerHtml = (count2 % 10).ToString();
+ }
+
}
#endregion
diff --git a/SGGL/FineUIPro.Web/common/mainMenu_HSSE.aspx.designer.cs b/SGGL/FineUIPro.Web/common/mainMenu_HSSE.aspx.designer.cs
index f61efdb..c86f1b2 100644
--- a/SGGL/FineUIPro.Web/common/mainMenu_HSSE.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/common/mainMenu_HSSE.aspx.designer.cs
@@ -7,11 +7,13 @@
// 自动生成>
//------------------------------------------------------------------------------
-namespace FineUIPro.Web {
-
-
- public partial class mainMenu_HSSE {
-
+namespace FineUIPro.Web
+{
+
+
+ public partial class mainMenu_HSSE
+ {
+
///
/// Head1 控件。
///
@@ -20,7 +22,7 @@ namespace FineUIPro.Web {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
-
+
///
/// divperson 控件。
///
@@ -29,7 +31,7 @@ namespace FineUIPro.Web {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divperson;
-
+
///
/// person00 控件。
///
@@ -38,7 +40,7 @@ namespace FineUIPro.Web {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::System.Web.UI.HtmlControls.HtmlGenericControl person00;
-
+
///
/// person01 控件。
///
@@ -47,7 +49,7 @@ namespace FineUIPro.Web {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::System.Web.UI.HtmlControls.HtmlGenericControl person01;
-
+
///
/// person02 控件。
///
@@ -56,7 +58,43 @@ namespace FineUIPro.Web {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::System.Web.UI.HtmlControls.HtmlGenericControl person02;
-
+
+ ///
+ /// divperson1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl divperson1;
+
+ ///
+ /// person001 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl person001;
+
+ ///
+ /// person011 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl person011;
+
+ ///
+ /// person021 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl person021;
+
///
/// xmb 控件。
///
diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs
index b92bba9..affdc5a 100644
--- a/SGGL/Model/Model.cs
+++ b/SGGL/Model/Model.cs
@@ -2414,12 +2414,18 @@ namespace Model
partial void InsertTechnique_Appraise(Technique_Appraise instance);
partial void UpdateTechnique_Appraise(Technique_Appraise instance);
partial void DeleteTechnique_Appraise(Technique_Appraise instance);
+ partial void InsertTechnique_AwardStandards(Technique_AwardStandards instance);
+ partial void UpdateTechnique_AwardStandards(Technique_AwardStandards instance);
+ partial void DeleteTechnique_AwardStandards(Technique_AwardStandards instance);
partial void InsertTechnique_CheckItemDetail(Technique_CheckItemDetail instance);
partial void UpdateTechnique_CheckItemDetail(Technique_CheckItemDetail instance);
partial void DeleteTechnique_CheckItemDetail(Technique_CheckItemDetail instance);
partial void InsertTechnique_CheckItemSet(Technique_CheckItemSet instance);
partial void UpdateTechnique_CheckItemSet(Technique_CheckItemSet instance);
partial void DeleteTechnique_CheckItemSet(Technique_CheckItemSet instance);
+ partial void InsertTechnique_ConstructionStandards(Technique_ConstructionStandards instance);
+ partial void UpdateTechnique_ConstructionStandards(Technique_ConstructionStandards instance);
+ partial void DeleteTechnique_ConstructionStandards(Technique_ConstructionStandards instance);
partial void InsertTechnique_Emergency(Technique_Emergency instance);
partial void UpdateTechnique_Emergency(Technique_Emergency instance);
partial void DeleteTechnique_Emergency(Technique_Emergency instance);
@@ -2441,12 +2447,18 @@ namespace Model
partial void InsertTechnique_ProjectSolutionTemplete(Technique_ProjectSolutionTemplete instance);
partial void UpdateTechnique_ProjectSolutionTemplete(Technique_ProjectSolutionTemplete instance);
partial void DeleteTechnique_ProjectSolutionTemplete(Technique_ProjectSolutionTemplete instance);
+ partial void InsertTechnique_ProtectionStandards(Technique_ProtectionStandards instance);
+ partial void UpdateTechnique_ProtectionStandards(Technique_ProtectionStandards instance);
+ partial void DeleteTechnique_ProtectionStandards(Technique_ProtectionStandards instance);
partial void InsertTechnique_Rectify(Technique_Rectify instance);
partial void UpdateTechnique_Rectify(Technique_Rectify instance);
partial void DeleteTechnique_Rectify(Technique_Rectify instance);
partial void InsertTechnique_RectifyItem(Technique_RectifyItem instance);
partial void UpdateTechnique_RectifyItem(Technique_RectifyItem instance);
partial void DeleteTechnique_RectifyItem(Technique_RectifyItem instance);
+ partial void InsertTechnique_SafetyResponsibilities(Technique_SafetyResponsibilities instance);
+ partial void UpdateTechnique_SafetyResponsibilities(Technique_SafetyResponsibilities instance);
+ partial void DeleteTechnique_SafetyResponsibilities(Technique_SafetyResponsibilities instance);
partial void InsertTechnique_SpecialScheme(Technique_SpecialScheme instance);
partial void UpdateTechnique_SpecialScheme(Technique_SpecialScheme instance);
partial void DeleteTechnique_SpecialScheme(Technique_SpecialScheme instance);
@@ -9110,6 +9122,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table Technique_AwardStandards
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table Technique_CheckItemDetail
{
get
@@ -9126,6 +9146,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table Technique_ConstructionStandards
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table Technique_Emergency
{
get
@@ -9182,6 +9210,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table Technique_ProtectionStandards
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table Technique_Rectify
{
get
@@ -9198,6 +9234,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table Technique_SafetyResponsibilities
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table Technique_SpecialScheme
{
get
@@ -388947,6 +388991,332 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Technique_AwardStandards")]
+ public partial class Technique_AwardStandards : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _AwardStandardsId;
+
+ private string _AwardStandardsCode;
+
+ private string _AwardStandardsName;
+
+ private string _CompileMan;
+
+ private System.Nullable _CompileDate;
+
+ private string _AttachUrl;
+
+ private string _AuditMan;
+
+ private System.Nullable _AuditDate;
+
+ private System.Nullable _IsPass;
+
+ private System.Nullable _IsBuild;
+
+ private string _UpState;
+
+ private string _Remark;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnAwardStandardsIdChanging(string value);
+ partial void OnAwardStandardsIdChanged();
+ partial void OnAwardStandardsCodeChanging(string value);
+ partial void OnAwardStandardsCodeChanged();
+ partial void OnAwardStandardsNameChanging(string value);
+ partial void OnAwardStandardsNameChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ partial void OnAttachUrlChanging(string value);
+ partial void OnAttachUrlChanged();
+ partial void OnAuditManChanging(string value);
+ partial void OnAuditManChanged();
+ partial void OnAuditDateChanging(System.Nullable value);
+ partial void OnAuditDateChanged();
+ partial void OnIsPassChanging(System.Nullable value);
+ partial void OnIsPassChanged();
+ partial void OnIsBuildChanging(System.Nullable value);
+ partial void OnIsBuildChanged();
+ partial void OnUpStateChanging(string value);
+ partial void OnUpStateChanged();
+ partial void OnRemarkChanging(string value);
+ partial void OnRemarkChanged();
+ #endregion
+
+ public Technique_AwardStandards()
+ {
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AwardStandardsId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string AwardStandardsId
+ {
+ get
+ {
+ return this._AwardStandardsId;
+ }
+ set
+ {
+ if ((this._AwardStandardsId != value))
+ {
+ this.OnAwardStandardsIdChanging(value);
+ this.SendPropertyChanging();
+ this._AwardStandardsId = value;
+ this.SendPropertyChanged("AwardStandardsId");
+ this.OnAwardStandardsIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AwardStandardsCode", DbType="NVarChar(50)")]
+ public string AwardStandardsCode
+ {
+ get
+ {
+ return this._AwardStandardsCode;
+ }
+ set
+ {
+ if ((this._AwardStandardsCode != value))
+ {
+ this.OnAwardStandardsCodeChanging(value);
+ this.SendPropertyChanging();
+ this._AwardStandardsCode = value;
+ this.SendPropertyChanged("AwardStandardsCode");
+ this.OnAwardStandardsCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AwardStandardsName", DbType="NVarChar(500)")]
+ public string AwardStandardsName
+ {
+ get
+ {
+ return this._AwardStandardsName;
+ }
+ set
+ {
+ if ((this._AwardStandardsName != value))
+ {
+ this.OnAwardStandardsNameChanging(value);
+ this.SendPropertyChanging();
+ this._AwardStandardsName = value;
+ this.SendPropertyChanged("AwardStandardsName");
+ this.OnAwardStandardsNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
+ public string CompileMan
+ {
+ get
+ {
+ return this._CompileMan;
+ }
+ set
+ {
+ if ((this._CompileMan != value))
+ {
+ this.OnCompileManChanging(value);
+ this.SendPropertyChanging();
+ this._CompileMan = value;
+ this.SendPropertyChanged("CompileMan");
+ this.OnCompileManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
+ public System.Nullable CompileDate
+ {
+ get
+ {
+ return this._CompileDate;
+ }
+ set
+ {
+ if ((this._CompileDate != value))
+ {
+ this.OnCompileDateChanging(value);
+ this.SendPropertyChanging();
+ this._CompileDate = value;
+ this.SendPropertyChanged("CompileDate");
+ this.OnCompileDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(2000)")]
+ public string AttachUrl
+ {
+ get
+ {
+ return this._AttachUrl;
+ }
+ set
+ {
+ if ((this._AttachUrl != value))
+ {
+ this.OnAttachUrlChanging(value);
+ this.SendPropertyChanging();
+ this._AttachUrl = value;
+ this.SendPropertyChanged("AttachUrl");
+ this.OnAttachUrlChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditMan", DbType="NVarChar(50)")]
+ public string AuditMan
+ {
+ get
+ {
+ return this._AuditMan;
+ }
+ set
+ {
+ if ((this._AuditMan != value))
+ {
+ this.OnAuditManChanging(value);
+ this.SendPropertyChanging();
+ this._AuditMan = value;
+ this.SendPropertyChanged("AuditMan");
+ this.OnAuditManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditDate", DbType="DateTime")]
+ public System.Nullable AuditDate
+ {
+ get
+ {
+ return this._AuditDate;
+ }
+ set
+ {
+ if ((this._AuditDate != value))
+ {
+ this.OnAuditDateChanging(value);
+ this.SendPropertyChanging();
+ this._AuditDate = value;
+ this.SendPropertyChanged("AuditDate");
+ this.OnAuditDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPass", DbType="Bit")]
+ public System.Nullable IsPass
+ {
+ get
+ {
+ return this._IsPass;
+ }
+ set
+ {
+ if ((this._IsPass != value))
+ {
+ this.OnIsPassChanging(value);
+ this.SendPropertyChanging();
+ this._IsPass = value;
+ this.SendPropertyChanged("IsPass");
+ this.OnIsPassChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsBuild", DbType="Bit")]
+ public System.Nullable IsBuild
+ {
+ get
+ {
+ return this._IsBuild;
+ }
+ set
+ {
+ if ((this._IsBuild != value))
+ {
+ this.OnIsBuildChanging(value);
+ this.SendPropertyChanging();
+ this._IsBuild = value;
+ this.SendPropertyChanged("IsBuild");
+ this.OnIsBuildChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpState", DbType="Char(1)")]
+ public string UpState
+ {
+ get
+ {
+ return this._UpState;
+ }
+ set
+ {
+ if ((this._UpState != value))
+ {
+ this.OnUpStateChanging(value);
+ this.SendPropertyChanging();
+ this._UpState = value;
+ this.SendPropertyChanged("UpState");
+ this.OnUpStateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")]
+ public string Remark
+ {
+ get
+ {
+ return this._Remark;
+ }
+ set
+ {
+ if ((this._Remark != value))
+ {
+ this.OnRemarkChanging(value);
+ this.SendPropertyChanging();
+ this._Remark = value;
+ this.SendPropertyChanged("Remark");
+ this.OnRemarkChanged();
+ }
+ }
+ }
+
+ 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.Technique_CheckItemDetail")]
public partial class Technique_CheckItemDetail : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -389432,6 +389802,332 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Technique_ConstructionStandards")]
+ public partial class Technique_ConstructionStandards : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _ConstructionStandardsId;
+
+ private string _ConstructionStandardsCode;
+
+ private string _ConstructionStandardsName;
+
+ private string _CompileMan;
+
+ private System.Nullable _CompileDate;
+
+ private string _AttachUrl;
+
+ private string _AuditMan;
+
+ private System.Nullable _AuditDate;
+
+ private System.Nullable _IsPass;
+
+ private System.Nullable _IsBuild;
+
+ private string _UpState;
+
+ private string _Remark;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnConstructionStandardsIdChanging(string value);
+ partial void OnConstructionStandardsIdChanged();
+ partial void OnConstructionStandardsCodeChanging(string value);
+ partial void OnConstructionStandardsCodeChanged();
+ partial void OnConstructionStandardsNameChanging(string value);
+ partial void OnConstructionStandardsNameChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ partial void OnAttachUrlChanging(string value);
+ partial void OnAttachUrlChanged();
+ partial void OnAuditManChanging(string value);
+ partial void OnAuditManChanged();
+ partial void OnAuditDateChanging(System.Nullable value);
+ partial void OnAuditDateChanged();
+ partial void OnIsPassChanging(System.Nullable value);
+ partial void OnIsPassChanged();
+ partial void OnIsBuildChanging(System.Nullable value);
+ partial void OnIsBuildChanged();
+ partial void OnUpStateChanging(string value);
+ partial void OnUpStateChanged();
+ partial void OnRemarkChanging(string value);
+ partial void OnRemarkChanged();
+ #endregion
+
+ public Technique_ConstructionStandards()
+ {
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionStandardsId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string ConstructionStandardsId
+ {
+ get
+ {
+ return this._ConstructionStandardsId;
+ }
+ set
+ {
+ if ((this._ConstructionStandardsId != value))
+ {
+ this.OnConstructionStandardsIdChanging(value);
+ this.SendPropertyChanging();
+ this._ConstructionStandardsId = value;
+ this.SendPropertyChanged("ConstructionStandardsId");
+ this.OnConstructionStandardsIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionStandardsCode", DbType="NVarChar(50)")]
+ public string ConstructionStandardsCode
+ {
+ get
+ {
+ return this._ConstructionStandardsCode;
+ }
+ set
+ {
+ if ((this._ConstructionStandardsCode != value))
+ {
+ this.OnConstructionStandardsCodeChanging(value);
+ this.SendPropertyChanging();
+ this._ConstructionStandardsCode = value;
+ this.SendPropertyChanged("ConstructionStandardsCode");
+ this.OnConstructionStandardsCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionStandardsName", DbType="NVarChar(500)")]
+ public string ConstructionStandardsName
+ {
+ get
+ {
+ return this._ConstructionStandardsName;
+ }
+ set
+ {
+ if ((this._ConstructionStandardsName != value))
+ {
+ this.OnConstructionStandardsNameChanging(value);
+ this.SendPropertyChanging();
+ this._ConstructionStandardsName = value;
+ this.SendPropertyChanged("ConstructionStandardsName");
+ this.OnConstructionStandardsNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
+ public string CompileMan
+ {
+ get
+ {
+ return this._CompileMan;
+ }
+ set
+ {
+ if ((this._CompileMan != value))
+ {
+ this.OnCompileManChanging(value);
+ this.SendPropertyChanging();
+ this._CompileMan = value;
+ this.SendPropertyChanged("CompileMan");
+ this.OnCompileManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
+ public System.Nullable CompileDate
+ {
+ get
+ {
+ return this._CompileDate;
+ }
+ set
+ {
+ if ((this._CompileDate != value))
+ {
+ this.OnCompileDateChanging(value);
+ this.SendPropertyChanging();
+ this._CompileDate = value;
+ this.SendPropertyChanged("CompileDate");
+ this.OnCompileDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(2000)")]
+ public string AttachUrl
+ {
+ get
+ {
+ return this._AttachUrl;
+ }
+ set
+ {
+ if ((this._AttachUrl != value))
+ {
+ this.OnAttachUrlChanging(value);
+ this.SendPropertyChanging();
+ this._AttachUrl = value;
+ this.SendPropertyChanged("AttachUrl");
+ this.OnAttachUrlChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditMan", DbType="NVarChar(50)")]
+ public string AuditMan
+ {
+ get
+ {
+ return this._AuditMan;
+ }
+ set
+ {
+ if ((this._AuditMan != value))
+ {
+ this.OnAuditManChanging(value);
+ this.SendPropertyChanging();
+ this._AuditMan = value;
+ this.SendPropertyChanged("AuditMan");
+ this.OnAuditManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditDate", DbType="DateTime")]
+ public System.Nullable AuditDate
+ {
+ get
+ {
+ return this._AuditDate;
+ }
+ set
+ {
+ if ((this._AuditDate != value))
+ {
+ this.OnAuditDateChanging(value);
+ this.SendPropertyChanging();
+ this._AuditDate = value;
+ this.SendPropertyChanged("AuditDate");
+ this.OnAuditDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPass", DbType="Bit")]
+ public System.Nullable IsPass
+ {
+ get
+ {
+ return this._IsPass;
+ }
+ set
+ {
+ if ((this._IsPass != value))
+ {
+ this.OnIsPassChanging(value);
+ this.SendPropertyChanging();
+ this._IsPass = value;
+ this.SendPropertyChanged("IsPass");
+ this.OnIsPassChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsBuild", DbType="Bit")]
+ public System.Nullable IsBuild
+ {
+ get
+ {
+ return this._IsBuild;
+ }
+ set
+ {
+ if ((this._IsBuild != value))
+ {
+ this.OnIsBuildChanging(value);
+ this.SendPropertyChanging();
+ this._IsBuild = value;
+ this.SendPropertyChanged("IsBuild");
+ this.OnIsBuildChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpState", DbType="Char(1)")]
+ public string UpState
+ {
+ get
+ {
+ return this._UpState;
+ }
+ set
+ {
+ if ((this._UpState != value))
+ {
+ this.OnUpStateChanging(value);
+ this.SendPropertyChanging();
+ this._UpState = value;
+ this.SendPropertyChanged("UpState");
+ this.OnUpStateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")]
+ public string Remark
+ {
+ get
+ {
+ return this._Remark;
+ }
+ set
+ {
+ if ((this._Remark != value))
+ {
+ this.OnRemarkChanging(value);
+ this.SendPropertyChanging();
+ this._Remark = value;
+ this.SendPropertyChanged("Remark");
+ this.OnRemarkChanged();
+ }
+ }
+ }
+
+ 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.Technique_Emergency")]
public partial class Technique_Emergency : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -392869,6 +393565,332 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Technique_ProtectionStandards")]
+ public partial class Technique_ProtectionStandards : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _ProtectionStandardsId;
+
+ private string _ProtectionStandardsCode;
+
+ private string _ProtectionStandardsName;
+
+ private string _CompileMan;
+
+ private System.Nullable _CompileDate;
+
+ private string _AttachUrl;
+
+ private string _AuditMan;
+
+ private System.Nullable _AuditDate;
+
+ private System.Nullable _IsPass;
+
+ private System.Nullable _IsBuild;
+
+ private string _UpState;
+
+ private string _Remark;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnProtectionStandardsIdChanging(string value);
+ partial void OnProtectionStandardsIdChanged();
+ partial void OnProtectionStandardsCodeChanging(string value);
+ partial void OnProtectionStandardsCodeChanged();
+ partial void OnProtectionStandardsNameChanging(string value);
+ partial void OnProtectionStandardsNameChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ partial void OnAttachUrlChanging(string value);
+ partial void OnAttachUrlChanged();
+ partial void OnAuditManChanging(string value);
+ partial void OnAuditManChanged();
+ partial void OnAuditDateChanging(System.Nullable value);
+ partial void OnAuditDateChanged();
+ partial void OnIsPassChanging(System.Nullable value);
+ partial void OnIsPassChanged();
+ partial void OnIsBuildChanging(System.Nullable value);
+ partial void OnIsBuildChanged();
+ partial void OnUpStateChanging(string value);
+ partial void OnUpStateChanged();
+ partial void OnRemarkChanging(string value);
+ partial void OnRemarkChanged();
+ #endregion
+
+ public Technique_ProtectionStandards()
+ {
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProtectionStandardsId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string ProtectionStandardsId
+ {
+ get
+ {
+ return this._ProtectionStandardsId;
+ }
+ set
+ {
+ if ((this._ProtectionStandardsId != value))
+ {
+ this.OnProtectionStandardsIdChanging(value);
+ this.SendPropertyChanging();
+ this._ProtectionStandardsId = value;
+ this.SendPropertyChanged("ProtectionStandardsId");
+ this.OnProtectionStandardsIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProtectionStandardsCode", DbType="NVarChar(50)")]
+ public string ProtectionStandardsCode
+ {
+ get
+ {
+ return this._ProtectionStandardsCode;
+ }
+ set
+ {
+ if ((this._ProtectionStandardsCode != value))
+ {
+ this.OnProtectionStandardsCodeChanging(value);
+ this.SendPropertyChanging();
+ this._ProtectionStandardsCode = value;
+ this.SendPropertyChanged("ProtectionStandardsCode");
+ this.OnProtectionStandardsCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProtectionStandardsName", DbType="NVarChar(500)")]
+ public string ProtectionStandardsName
+ {
+ get
+ {
+ return this._ProtectionStandardsName;
+ }
+ set
+ {
+ if ((this._ProtectionStandardsName != value))
+ {
+ this.OnProtectionStandardsNameChanging(value);
+ this.SendPropertyChanging();
+ this._ProtectionStandardsName = value;
+ this.SendPropertyChanged("ProtectionStandardsName");
+ this.OnProtectionStandardsNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
+ public string CompileMan
+ {
+ get
+ {
+ return this._CompileMan;
+ }
+ set
+ {
+ if ((this._CompileMan != value))
+ {
+ this.OnCompileManChanging(value);
+ this.SendPropertyChanging();
+ this._CompileMan = value;
+ this.SendPropertyChanged("CompileMan");
+ this.OnCompileManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
+ public System.Nullable CompileDate
+ {
+ get
+ {
+ return this._CompileDate;
+ }
+ set
+ {
+ if ((this._CompileDate != value))
+ {
+ this.OnCompileDateChanging(value);
+ this.SendPropertyChanging();
+ this._CompileDate = value;
+ this.SendPropertyChanged("CompileDate");
+ this.OnCompileDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(2000)")]
+ public string AttachUrl
+ {
+ get
+ {
+ return this._AttachUrl;
+ }
+ set
+ {
+ if ((this._AttachUrl != value))
+ {
+ this.OnAttachUrlChanging(value);
+ this.SendPropertyChanging();
+ this._AttachUrl = value;
+ this.SendPropertyChanged("AttachUrl");
+ this.OnAttachUrlChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditMan", DbType="NVarChar(50)")]
+ public string AuditMan
+ {
+ get
+ {
+ return this._AuditMan;
+ }
+ set
+ {
+ if ((this._AuditMan != value))
+ {
+ this.OnAuditManChanging(value);
+ this.SendPropertyChanging();
+ this._AuditMan = value;
+ this.SendPropertyChanged("AuditMan");
+ this.OnAuditManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditDate", DbType="DateTime")]
+ public System.Nullable AuditDate
+ {
+ get
+ {
+ return this._AuditDate;
+ }
+ set
+ {
+ if ((this._AuditDate != value))
+ {
+ this.OnAuditDateChanging(value);
+ this.SendPropertyChanging();
+ this._AuditDate = value;
+ this.SendPropertyChanged("AuditDate");
+ this.OnAuditDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPass", DbType="Bit")]
+ public System.Nullable IsPass
+ {
+ get
+ {
+ return this._IsPass;
+ }
+ set
+ {
+ if ((this._IsPass != value))
+ {
+ this.OnIsPassChanging(value);
+ this.SendPropertyChanging();
+ this._IsPass = value;
+ this.SendPropertyChanged("IsPass");
+ this.OnIsPassChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsBuild", DbType="Bit")]
+ public System.Nullable IsBuild
+ {
+ get
+ {
+ return this._IsBuild;
+ }
+ set
+ {
+ if ((this._IsBuild != value))
+ {
+ this.OnIsBuildChanging(value);
+ this.SendPropertyChanging();
+ this._IsBuild = value;
+ this.SendPropertyChanged("IsBuild");
+ this.OnIsBuildChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpState", DbType="Char(1)")]
+ public string UpState
+ {
+ get
+ {
+ return this._UpState;
+ }
+ set
+ {
+ if ((this._UpState != value))
+ {
+ this.OnUpStateChanging(value);
+ this.SendPropertyChanging();
+ this._UpState = value;
+ this.SendPropertyChanged("UpState");
+ this.OnUpStateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")]
+ public string Remark
+ {
+ get
+ {
+ return this._Remark;
+ }
+ set
+ {
+ if ((this._Remark != value))
+ {
+ this.OnRemarkChanging(value);
+ this.SendPropertyChanging();
+ this._Remark = value;
+ this.SendPropertyChanged("Remark");
+ this.OnRemarkChanged();
+ }
+ }
+ }
+
+ 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.Technique_Rectify")]
public partial class Technique_Rectify : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -393563,6 +394585,332 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Technique_SafetyResponsibilities")]
+ public partial class Technique_SafetyResponsibilities : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _SafetyResponsibilitiesId;
+
+ private string _SafetyResponsibilitiesCode;
+
+ private string _SafetyResponsibilitiesName;
+
+ private string _CompileMan;
+
+ private System.Nullable _CompileDate;
+
+ private string _AttachUrl;
+
+ private string _AuditMan;
+
+ private System.Nullable _AuditDate;
+
+ private System.Nullable _IsPass;
+
+ private System.Nullable _IsBuild;
+
+ private string _UpState;
+
+ private string _Remark;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnSafetyResponsibilitiesIdChanging(string value);
+ partial void OnSafetyResponsibilitiesIdChanged();
+ partial void OnSafetyResponsibilitiesCodeChanging(string value);
+ partial void OnSafetyResponsibilitiesCodeChanged();
+ partial void OnSafetyResponsibilitiesNameChanging(string value);
+ partial void OnSafetyResponsibilitiesNameChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ partial void OnAttachUrlChanging(string value);
+ partial void OnAttachUrlChanged();
+ partial void OnAuditManChanging(string value);
+ partial void OnAuditManChanged();
+ partial void OnAuditDateChanging(System.Nullable value);
+ partial void OnAuditDateChanged();
+ partial void OnIsPassChanging(System.Nullable value);
+ partial void OnIsPassChanged();
+ partial void OnIsBuildChanging(System.Nullable value);
+ partial void OnIsBuildChanged();
+ partial void OnUpStateChanging(string value);
+ partial void OnUpStateChanged();
+ partial void OnRemarkChanging(string value);
+ partial void OnRemarkChanged();
+ #endregion
+
+ public Technique_SafetyResponsibilities()
+ {
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SafetyResponsibilitiesId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string SafetyResponsibilitiesId
+ {
+ get
+ {
+ return this._SafetyResponsibilitiesId;
+ }
+ set
+ {
+ if ((this._SafetyResponsibilitiesId != value))
+ {
+ this.OnSafetyResponsibilitiesIdChanging(value);
+ this.SendPropertyChanging();
+ this._SafetyResponsibilitiesId = value;
+ this.SendPropertyChanged("SafetyResponsibilitiesId");
+ this.OnSafetyResponsibilitiesIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SafetyResponsibilitiesCode", DbType="NVarChar(50)")]
+ public string SafetyResponsibilitiesCode
+ {
+ get
+ {
+ return this._SafetyResponsibilitiesCode;
+ }
+ set
+ {
+ if ((this._SafetyResponsibilitiesCode != value))
+ {
+ this.OnSafetyResponsibilitiesCodeChanging(value);
+ this.SendPropertyChanging();
+ this._SafetyResponsibilitiesCode = value;
+ this.SendPropertyChanged("SafetyResponsibilitiesCode");
+ this.OnSafetyResponsibilitiesCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SafetyResponsibilitiesName", DbType="NVarChar(500)")]
+ public string SafetyResponsibilitiesName
+ {
+ get
+ {
+ return this._SafetyResponsibilitiesName;
+ }
+ set
+ {
+ if ((this._SafetyResponsibilitiesName != value))
+ {
+ this.OnSafetyResponsibilitiesNameChanging(value);
+ this.SendPropertyChanging();
+ this._SafetyResponsibilitiesName = value;
+ this.SendPropertyChanged("SafetyResponsibilitiesName");
+ this.OnSafetyResponsibilitiesNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
+ public string CompileMan
+ {
+ get
+ {
+ return this._CompileMan;
+ }
+ set
+ {
+ if ((this._CompileMan != value))
+ {
+ this.OnCompileManChanging(value);
+ this.SendPropertyChanging();
+ this._CompileMan = value;
+ this.SendPropertyChanged("CompileMan");
+ this.OnCompileManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
+ public System.Nullable CompileDate
+ {
+ get
+ {
+ return this._CompileDate;
+ }
+ set
+ {
+ if ((this._CompileDate != value))
+ {
+ this.OnCompileDateChanging(value);
+ this.SendPropertyChanging();
+ this._CompileDate = value;
+ this.SendPropertyChanged("CompileDate");
+ this.OnCompileDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(2000)")]
+ public string AttachUrl
+ {
+ get
+ {
+ return this._AttachUrl;
+ }
+ set
+ {
+ if ((this._AttachUrl != value))
+ {
+ this.OnAttachUrlChanging(value);
+ this.SendPropertyChanging();
+ this._AttachUrl = value;
+ this.SendPropertyChanged("AttachUrl");
+ this.OnAttachUrlChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditMan", DbType="NVarChar(50)")]
+ public string AuditMan
+ {
+ get
+ {
+ return this._AuditMan;
+ }
+ set
+ {
+ if ((this._AuditMan != value))
+ {
+ this.OnAuditManChanging(value);
+ this.SendPropertyChanging();
+ this._AuditMan = value;
+ this.SendPropertyChanged("AuditMan");
+ this.OnAuditManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditDate", DbType="DateTime")]
+ public System.Nullable AuditDate
+ {
+ get
+ {
+ return this._AuditDate;
+ }
+ set
+ {
+ if ((this._AuditDate != value))
+ {
+ this.OnAuditDateChanging(value);
+ this.SendPropertyChanging();
+ this._AuditDate = value;
+ this.SendPropertyChanged("AuditDate");
+ this.OnAuditDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPass", DbType="Bit")]
+ public System.Nullable IsPass
+ {
+ get
+ {
+ return this._IsPass;
+ }
+ set
+ {
+ if ((this._IsPass != value))
+ {
+ this.OnIsPassChanging(value);
+ this.SendPropertyChanging();
+ this._IsPass = value;
+ this.SendPropertyChanged("IsPass");
+ this.OnIsPassChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsBuild", DbType="Bit")]
+ public System.Nullable IsBuild
+ {
+ get
+ {
+ return this._IsBuild;
+ }
+ set
+ {
+ if ((this._IsBuild != value))
+ {
+ this.OnIsBuildChanging(value);
+ this.SendPropertyChanging();
+ this._IsBuild = value;
+ this.SendPropertyChanged("IsBuild");
+ this.OnIsBuildChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpState", DbType="Char(1)")]
+ public string UpState
+ {
+ get
+ {
+ return this._UpState;
+ }
+ set
+ {
+ if ((this._UpState != value))
+ {
+ this.OnUpStateChanging(value);
+ this.SendPropertyChanging();
+ this._UpState = value;
+ this.SendPropertyChanged("UpState");
+ this.OnUpStateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")]
+ public string Remark
+ {
+ get
+ {
+ return this._Remark;
+ }
+ set
+ {
+ if ((this._Remark != value))
+ {
+ this.OnRemarkChanging(value);
+ this.SendPropertyChanging();
+ this._Remark = value;
+ this.SendPropertyChanged("Remark");
+ this.OnRemarkChanged();
+ }
+ }
+ }
+
+ 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.Technique_SpecialScheme")]
public partial class Technique_SpecialScheme : INotifyPropertyChanging, INotifyPropertyChanged
{