diff --git a/DataBase/版本日志/SGGLDB_WH_2024-01-26-gaofei.sql b/DataBase/版本日志/SGGLDB_WH_2024-01-26-gaofei.sql index 89ae6984..8bb9d8be 100644 --- a/DataBase/版本日志/SGGLDB_WH_2024-01-26-gaofei.sql +++ b/DataBase/版本日志/SGGLDB_WH_2024-01-26-gaofei.sql @@ -125,4 +125,84 @@ CREATE TABLE [dbo].[Transfer_Firefighting]( )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] +GO + +CREATE TABLE [dbo].[Transfer_PunchlistFrom]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [Item_No] [nvarchar](50) NULL, + [Punch_No] [nvarchar](50) NULL, + [SystemName] [nvarchar](50) NULL, + [Subsystem] [nvarchar](50) NULL, + [Test_Package] [nvarchar](50) NULL, + [Discipline] [nvarchar](50) NULL, + [DESCRIPTION] [nvarchar](50) NULL, + [Identified] [nvarchar](50) NULL, + [Category] [nvarchar](50) NULL, + [PUNCH_ITEM_FINISH_DATE] [datetime] NULL, + [Action_By] [nvarchar](50) NULL, + [Required_By] [nvarchar](50) NULL, + [PUNCH_ITEM_STATUS] [nvarchar](50) NULL, + [Comments] [nvarchar](50) NULL, + CONSTRAINT [PK_Transfer_PunchlistFrom] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] + +GO + + +CREATE TABLE [dbo].[Transfer_HVAC]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [HVAC] [nvarchar](50) NULL, + [SystemName] [nvarchar](50) NULL, + [Subsystem] [nvarchar](50) NULL, + [Test_Package] [nvarchar](50) NULL, + [Test_Package_START] [datetime] NULL, + [Test_Package_FINISH] [datetime] NULL, + [FINAL_Status] [nvarchar](50) NULL, + CONSTRAINT [PK_Transfer_HVAC] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] + +GO + +CREATE TABLE [dbo].[Transfer_Plumbing]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [Plumbing] [nvarchar](50) NULL, + [SystemName] [nvarchar](50) NULL, + [Subsystem] [nvarchar](50) NULL, + [Test_Package] [nvarchar](50) NULL, + [Test_Package_START] [datetime] NULL, + [Test_Package_FINISH] [datetime] NULL, + [FINAL_Status] [nvarchar](50) NULL, + CONSTRAINT [PK_Transfer_Plumbing] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] + +GO + +CREATE TABLE [dbo].[Transfer_Telecom]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [Telecom] [nvarchar](50) NULL, + [SystemName] [nvarchar](50) NULL, + [Subsystem] [nvarchar](50) NULL, + [Test_Package] [nvarchar](50) NULL, + [Test_Package_START] [datetime] NULL, + [Test_Package_FINISH] [datetime] NULL, + [FINAL_Status] [nvarchar](50) NULL, + CONSTRAINT [PK_Transfer_Telecom] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] + GO \ No newline at end of file diff --git a/DataBase/版本日志/SGGLDB_WH_2024-01-26-phf.sql b/DataBase/版本日志/SGGLDB_WH_2024-01-26-phf.sql index 62f666bc..ce48014a 100644 --- a/DataBase/版本日志/SGGLDB_WH_2024-01-26-phf.sql +++ b/DataBase/版本日志/SGGLDB_WH_2024-01-26-phf.sql @@ -1,5 +1,6 @@ CREATE TABLE [dbo].[Transfer_PunchlistFrom]( [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, [Item_No] [nvarchar](50) NULL, [Punch_No] [nvarchar](50) NULL, [SystemName] [nvarchar](50) NULL, diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs index daf4207e..af1db478 100644 --- a/SGGL/BLL/Common/Const.cs +++ b/SGGL/BLL/Common/Const.cs @@ -3209,7 +3209,7 @@ namespace BLL /// /// ProjectSetup导入模版文件原始的虚拟路径 /// - public const string ProjectSetupDataInUrl = "File\\Excel\\DataIn\\Project Set up导入模板.xls"; + public const string ProjectSetupDataInUrl = "File\\Excel\\DataIn\\ProjectSetup导入模板.xls"; #endregion #region 绩效考核模板文件路径 diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/Project Set up导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/ProjectSetup导入模板.xls similarity index 100% rename from SGGL/FineUIPro.Web/File/Excel/DataIn/Project Set up导入模板.xls rename to SGGL/FineUIPro.Web/File/Excel/DataIn/ProjectSetup导入模板.xls diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index b8cf3088..d94d6880 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -1834,7 +1834,9 @@ + + @@ -2086,6 +2088,7 @@ + @@ -16362,6 +16365,13 @@ InstrumentationDataIn.aspx + + Piping.aspx + ASPXCodeBehind + + + Piping.aspx + ProjectSetup.aspx ASPXCodeBehind @@ -16369,6 +16379,13 @@ ProjectSetup.aspx + + ProjectSetupDataIn.aspx + ASPXCodeBehind + + + ProjectSetupDataIn.aspx + Video.aspx ASPXCodeBehind diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user index 5c318055..c78536b4 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user @@ -1,7 +1,7 @@  - Debug|Any CPU + Release|Any CPU true false diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index 770cad83..1c236fe9 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -2342,15 +2342,27 @@ namespace Model partial void InsertTransfer_Firefighting(Transfer_Firefighting instance); partial void UpdateTransfer_Firefighting(Transfer_Firefighting instance); partial void DeleteTransfer_Firefighting(Transfer_Firefighting instance); + partial void InsertTransfer_HVAC(Transfer_HVAC instance); + partial void UpdateTransfer_HVAC(Transfer_HVAC instance); + partial void DeleteTransfer_HVAC(Transfer_HVAC instance); partial void InsertTransfer_Instrumentation(Transfer_Instrumentation instance); partial void UpdateTransfer_Instrumentation(Transfer_Instrumentation instance); partial void DeleteTransfer_Instrumentation(Transfer_Instrumentation instance); partial void InsertTransfer_Piping(Transfer_Piping instance); partial void UpdateTransfer_Piping(Transfer_Piping instance); partial void DeleteTransfer_Piping(Transfer_Piping instance); + partial void InsertTransfer_Plumbing(Transfer_Plumbing instance); + partial void UpdateTransfer_Plumbing(Transfer_Plumbing instance); + partial void DeleteTransfer_Plumbing(Transfer_Plumbing instance); partial void InsertTransfer_ProjectSetup(Transfer_ProjectSetup instance); partial void UpdateTransfer_ProjectSetup(Transfer_ProjectSetup instance); partial void DeleteTransfer_ProjectSetup(Transfer_ProjectSetup instance); + partial void InsertTransfer_PunchlistFrom(Transfer_PunchlistFrom instance); + partial void UpdateTransfer_PunchlistFrom(Transfer_PunchlistFrom instance); + partial void DeleteTransfer_PunchlistFrom(Transfer_PunchlistFrom instance); + partial void InsertTransfer_Telecom(Transfer_Telecom instance); + partial void UpdateTransfer_Telecom(Transfer_Telecom instance); + partial void DeleteTransfer_Telecom(Transfer_Telecom instance); partial void InsertUnqualified_WorkContact(Unqualified_WorkContact instance); partial void UpdateUnqualified_WorkContact(Unqualified_WorkContact instance); partial void DeleteUnqualified_WorkContact(Unqualified_WorkContact instance); @@ -8714,6 +8726,14 @@ namespace Model } } + public System.Data.Linq.Table Transfer_HVAC + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table Transfer_Instrumentation { get @@ -8730,6 +8750,14 @@ namespace Model } } + public System.Data.Linq.Table Transfer_Plumbing + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table Transfer_ProjectSetup { get @@ -8738,6 +8766,22 @@ namespace Model } } + public System.Data.Linq.Table Transfer_PunchlistFrom + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table Transfer_Telecom + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table Unqualified_WorkContact { get @@ -368549,6 +368593,260 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Transfer_HVAC")] + public partial class Transfer_HVAC : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _HVAC; + + private string _SystemName; + + private string _Subsystem; + + private string _Test_Package; + + private System.Nullable _Test_Package_START; + + private System.Nullable _Test_Package_FINISH; + + private string _FINAL_Status; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnHVACChanging(string value); + partial void OnHVACChanged(); + partial void OnSystemNameChanging(string value); + partial void OnSystemNameChanged(); + partial void OnSubsystemChanging(string value); + partial void OnSubsystemChanged(); + partial void OnTest_PackageChanging(string value); + partial void OnTest_PackageChanged(); + partial void OnTest_Package_STARTChanging(System.Nullable value); + partial void OnTest_Package_STARTChanged(); + partial void OnTest_Package_FINISHChanging(System.Nullable value); + partial void OnTest_Package_FINISHChanged(); + partial void OnFINAL_StatusChanging(string value); + partial void OnFINAL_StatusChanged(); + #endregion + + public Transfer_HVAC() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HVAC", DbType="NVarChar(50)")] + public string HVAC + { + get + { + return this._HVAC; + } + set + { + if ((this._HVAC != value)) + { + this.OnHVACChanging(value); + this.SendPropertyChanging(); + this._HVAC = value; + this.SendPropertyChanged("HVAC"); + this.OnHVACChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemName", DbType="NVarChar(50)")] + public string SystemName + { + get + { + return this._SystemName; + } + set + { + if ((this._SystemName != value)) + { + this.OnSystemNameChanging(value); + this.SendPropertyChanging(); + this._SystemName = value; + this.SendPropertyChanged("SystemName"); + this.OnSystemNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Subsystem", DbType="NVarChar(50)")] + public string Subsystem + { + get + { + return this._Subsystem; + } + set + { + if ((this._Subsystem != value)) + { + this.OnSubsystemChanging(value); + this.SendPropertyChanging(); + this._Subsystem = value; + this.SendPropertyChanged("Subsystem"); + this.OnSubsystemChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Test_Package", DbType="NVarChar(50)")] + public string Test_Package + { + get + { + return this._Test_Package; + } + set + { + if ((this._Test_Package != value)) + { + this.OnTest_PackageChanging(value); + this.SendPropertyChanging(); + this._Test_Package = value; + this.SendPropertyChanged("Test_Package"); + this.OnTest_PackageChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Test_Package_START", DbType="DateTime")] + public System.Nullable Test_Package_START + { + get + { + return this._Test_Package_START; + } + set + { + if ((this._Test_Package_START != value)) + { + this.OnTest_Package_STARTChanging(value); + this.SendPropertyChanging(); + this._Test_Package_START = value; + this.SendPropertyChanged("Test_Package_START"); + this.OnTest_Package_STARTChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Test_Package_FINISH", DbType="DateTime")] + public System.Nullable Test_Package_FINISH + { + get + { + return this._Test_Package_FINISH; + } + set + { + if ((this._Test_Package_FINISH != value)) + { + this.OnTest_Package_FINISHChanging(value); + this.SendPropertyChanging(); + this._Test_Package_FINISH = value; + this.SendPropertyChanged("Test_Package_FINISH"); + this.OnTest_Package_FINISHChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FINAL_Status", DbType="NVarChar(50)")] + public string FINAL_Status + { + get + { + return this._FINAL_Status; + } + set + { + if ((this._FINAL_Status != value)) + { + this.OnFINAL_StatusChanging(value); + this.SendPropertyChanging(); + this._FINAL_Status = value; + this.SendPropertyChanged("FINAL_Status"); + this.OnFINAL_StatusChanged(); + } + } + } + + 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.Transfer_Instrumentation")] public partial class Transfer_Instrumentation : INotifyPropertyChanging, INotifyPropertyChanged { @@ -369105,6 +369403,260 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Transfer_Plumbing")] + public partial class Transfer_Plumbing : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _Plumbing; + + private string _SystemName; + + private string _Subsystem; + + private string _Test_Package; + + private System.Nullable _Test_Package_START; + + private System.Nullable _Test_Package_FINISH; + + private string _FINAL_Status; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnPlumbingChanging(string value); + partial void OnPlumbingChanged(); + partial void OnSystemNameChanging(string value); + partial void OnSystemNameChanged(); + partial void OnSubsystemChanging(string value); + partial void OnSubsystemChanged(); + partial void OnTest_PackageChanging(string value); + partial void OnTest_PackageChanged(); + partial void OnTest_Package_STARTChanging(System.Nullable value); + partial void OnTest_Package_STARTChanged(); + partial void OnTest_Package_FINISHChanging(System.Nullable value); + partial void OnTest_Package_FINISHChanged(); + partial void OnFINAL_StatusChanging(string value); + partial void OnFINAL_StatusChanged(); + #endregion + + public Transfer_Plumbing() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Plumbing", DbType="NVarChar(50)")] + public string Plumbing + { + get + { + return this._Plumbing; + } + set + { + if ((this._Plumbing != value)) + { + this.OnPlumbingChanging(value); + this.SendPropertyChanging(); + this._Plumbing = value; + this.SendPropertyChanged("Plumbing"); + this.OnPlumbingChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemName", DbType="NVarChar(50)")] + public string SystemName + { + get + { + return this._SystemName; + } + set + { + if ((this._SystemName != value)) + { + this.OnSystemNameChanging(value); + this.SendPropertyChanging(); + this._SystemName = value; + this.SendPropertyChanged("SystemName"); + this.OnSystemNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Subsystem", DbType="NVarChar(50)")] + public string Subsystem + { + get + { + return this._Subsystem; + } + set + { + if ((this._Subsystem != value)) + { + this.OnSubsystemChanging(value); + this.SendPropertyChanging(); + this._Subsystem = value; + this.SendPropertyChanged("Subsystem"); + this.OnSubsystemChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Test_Package", DbType="NVarChar(50)")] + public string Test_Package + { + get + { + return this._Test_Package; + } + set + { + if ((this._Test_Package != value)) + { + this.OnTest_PackageChanging(value); + this.SendPropertyChanging(); + this._Test_Package = value; + this.SendPropertyChanged("Test_Package"); + this.OnTest_PackageChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Test_Package_START", DbType="DateTime")] + public System.Nullable Test_Package_START + { + get + { + return this._Test_Package_START; + } + set + { + if ((this._Test_Package_START != value)) + { + this.OnTest_Package_STARTChanging(value); + this.SendPropertyChanging(); + this._Test_Package_START = value; + this.SendPropertyChanged("Test_Package_START"); + this.OnTest_Package_STARTChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Test_Package_FINISH", DbType="DateTime")] + public System.Nullable Test_Package_FINISH + { + get + { + return this._Test_Package_FINISH; + } + set + { + if ((this._Test_Package_FINISH != value)) + { + this.OnTest_Package_FINISHChanging(value); + this.SendPropertyChanging(); + this._Test_Package_FINISH = value; + this.SendPropertyChanged("Test_Package_FINISH"); + this.OnTest_Package_FINISHChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FINAL_Status", DbType="NVarChar(50)")] + public string FINAL_Status + { + get + { + return this._FINAL_Status; + } + set + { + if ((this._FINAL_Status != value)) + { + this.OnFINAL_StatusChanging(value); + this.SendPropertyChanging(); + this._FINAL_Status = value; + this.SendPropertyChanged("FINAL_Status"); + this.OnFINAL_StatusChanged(); + } + } + } + + 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.Transfer_ProjectSetup")] public partial class Transfer_ProjectSetup : INotifyPropertyChanging, INotifyPropertyChanged { @@ -369503,6 +370055,682 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Transfer_PunchlistFrom")] + public partial class Transfer_PunchlistFrom : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _Item_No; + + private string _Punch_No; + + private string _SystemName; + + private string _Subsystem; + + private string _Test_Package; + + private string _Discipline; + + private string _DESCRIPTION; + + private string _Identified; + + private string _Category; + + private System.Nullable _PUNCH_ITEM_FINISH_DATE; + + private string _Action_By; + + private string _Required_By; + + private string _PUNCH_ITEM_STATUS; + + private string _Comments; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnItem_NoChanging(string value); + partial void OnItem_NoChanged(); + partial void OnPunch_NoChanging(string value); + partial void OnPunch_NoChanged(); + partial void OnSystemNameChanging(string value); + partial void OnSystemNameChanged(); + partial void OnSubsystemChanging(string value); + partial void OnSubsystemChanged(); + partial void OnTest_PackageChanging(string value); + partial void OnTest_PackageChanged(); + partial void OnDisciplineChanging(string value); + partial void OnDisciplineChanged(); + partial void OnDESCRIPTIONChanging(string value); + partial void OnDESCRIPTIONChanged(); + partial void OnIdentifiedChanging(string value); + partial void OnIdentifiedChanged(); + partial void OnCategoryChanging(string value); + partial void OnCategoryChanged(); + partial void OnPUNCH_ITEM_FINISH_DATEChanging(System.Nullable value); + partial void OnPUNCH_ITEM_FINISH_DATEChanged(); + partial void OnAction_ByChanging(string value); + partial void OnAction_ByChanged(); + partial void OnRequired_ByChanging(string value); + partial void OnRequired_ByChanged(); + partial void OnPUNCH_ITEM_STATUSChanging(string value); + partial void OnPUNCH_ITEM_STATUSChanged(); + partial void OnCommentsChanging(string value); + partial void OnCommentsChanged(); + #endregion + + public Transfer_PunchlistFrom() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Item_No", DbType="NVarChar(50)")] + public string Item_No + { + get + { + return this._Item_No; + } + set + { + if ((this._Item_No != value)) + { + this.OnItem_NoChanging(value); + this.SendPropertyChanging(); + this._Item_No = value; + this.SendPropertyChanged("Item_No"); + this.OnItem_NoChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Punch_No", DbType="NVarChar(50)")] + public string Punch_No + { + get + { + return this._Punch_No; + } + set + { + if ((this._Punch_No != value)) + { + this.OnPunch_NoChanging(value); + this.SendPropertyChanging(); + this._Punch_No = value; + this.SendPropertyChanged("Punch_No"); + this.OnPunch_NoChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemName", DbType="NVarChar(50)")] + public string SystemName + { + get + { + return this._SystemName; + } + set + { + if ((this._SystemName != value)) + { + this.OnSystemNameChanging(value); + this.SendPropertyChanging(); + this._SystemName = value; + this.SendPropertyChanged("SystemName"); + this.OnSystemNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Subsystem", DbType="NVarChar(50)")] + public string Subsystem + { + get + { + return this._Subsystem; + } + set + { + if ((this._Subsystem != value)) + { + this.OnSubsystemChanging(value); + this.SendPropertyChanging(); + this._Subsystem = value; + this.SendPropertyChanged("Subsystem"); + this.OnSubsystemChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Test_Package", DbType="NVarChar(50)")] + public string Test_Package + { + get + { + return this._Test_Package; + } + set + { + if ((this._Test_Package != value)) + { + this.OnTest_PackageChanging(value); + this.SendPropertyChanging(); + this._Test_Package = value; + this.SendPropertyChanged("Test_Package"); + this.OnTest_PackageChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Discipline", DbType="NVarChar(50)")] + public string Discipline + { + get + { + return this._Discipline; + } + set + { + if ((this._Discipline != value)) + { + this.OnDisciplineChanging(value); + this.SendPropertyChanging(); + this._Discipline = value; + this.SendPropertyChanged("Discipline"); + this.OnDisciplineChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DESCRIPTION", DbType="NVarChar(50)")] + public string DESCRIPTION + { + get + { + return this._DESCRIPTION; + } + set + { + if ((this._DESCRIPTION != value)) + { + this.OnDESCRIPTIONChanging(value); + this.SendPropertyChanging(); + this._DESCRIPTION = value; + this.SendPropertyChanged("DESCRIPTION"); + this.OnDESCRIPTIONChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Identified", DbType="NVarChar(50)")] + public string Identified + { + get + { + return this._Identified; + } + set + { + if ((this._Identified != value)) + { + this.OnIdentifiedChanging(value); + this.SendPropertyChanging(); + this._Identified = value; + this.SendPropertyChanged("Identified"); + this.OnIdentifiedChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Category", DbType="NVarChar(50)")] + public string Category + { + get + { + return this._Category; + } + set + { + if ((this._Category != value)) + { + this.OnCategoryChanging(value); + this.SendPropertyChanging(); + this._Category = value; + this.SendPropertyChanged("Category"); + this.OnCategoryChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PUNCH_ITEM_FINISH_DATE", DbType="DateTime")] + public System.Nullable PUNCH_ITEM_FINISH_DATE + { + get + { + return this._PUNCH_ITEM_FINISH_DATE; + } + set + { + if ((this._PUNCH_ITEM_FINISH_DATE != value)) + { + this.OnPUNCH_ITEM_FINISH_DATEChanging(value); + this.SendPropertyChanging(); + this._PUNCH_ITEM_FINISH_DATE = value; + this.SendPropertyChanged("PUNCH_ITEM_FINISH_DATE"); + this.OnPUNCH_ITEM_FINISH_DATEChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Action_By", DbType="NVarChar(50)")] + public string Action_By + { + get + { + return this._Action_By; + } + set + { + if ((this._Action_By != value)) + { + this.OnAction_ByChanging(value); + this.SendPropertyChanging(); + this._Action_By = value; + this.SendPropertyChanged("Action_By"); + this.OnAction_ByChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Required_By", DbType="NVarChar(50)")] + public string Required_By + { + get + { + return this._Required_By; + } + set + { + if ((this._Required_By != value)) + { + this.OnRequired_ByChanging(value); + this.SendPropertyChanging(); + this._Required_By = value; + this.SendPropertyChanged("Required_By"); + this.OnRequired_ByChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PUNCH_ITEM_STATUS", DbType="NVarChar(50)")] + public string PUNCH_ITEM_STATUS + { + get + { + return this._PUNCH_ITEM_STATUS; + } + set + { + if ((this._PUNCH_ITEM_STATUS != value)) + { + this.OnPUNCH_ITEM_STATUSChanging(value); + this.SendPropertyChanging(); + this._PUNCH_ITEM_STATUS = value; + this.SendPropertyChanged("PUNCH_ITEM_STATUS"); + this.OnPUNCH_ITEM_STATUSChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Comments", DbType="NVarChar(50)")] + public string Comments + { + get + { + return this._Comments; + } + set + { + if ((this._Comments != value)) + { + this.OnCommentsChanging(value); + this.SendPropertyChanging(); + this._Comments = value; + this.SendPropertyChanged("Comments"); + this.OnCommentsChanged(); + } + } + } + + 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.Transfer_Telecom")] + public partial class Transfer_Telecom : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _Telecom; + + private string _SystemName; + + private string _Subsystem; + + private string _Test_Package; + + private System.Nullable _Test_Package_START; + + private System.Nullable _Test_Package_FINISH; + + private string _FINAL_Status; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnTelecomChanging(string value); + partial void OnTelecomChanged(); + partial void OnSystemNameChanging(string value); + partial void OnSystemNameChanged(); + partial void OnSubsystemChanging(string value); + partial void OnSubsystemChanged(); + partial void OnTest_PackageChanging(string value); + partial void OnTest_PackageChanged(); + partial void OnTest_Package_STARTChanging(System.Nullable value); + partial void OnTest_Package_STARTChanged(); + partial void OnTest_Package_FINISHChanging(System.Nullable value); + partial void OnTest_Package_FINISHChanged(); + partial void OnFINAL_StatusChanging(string value); + partial void OnFINAL_StatusChanged(); + #endregion + + public Transfer_Telecom() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Telecom", DbType="NVarChar(50)")] + public string Telecom + { + get + { + return this._Telecom; + } + set + { + if ((this._Telecom != value)) + { + this.OnTelecomChanging(value); + this.SendPropertyChanging(); + this._Telecom = value; + this.SendPropertyChanged("Telecom"); + this.OnTelecomChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemName", DbType="NVarChar(50)")] + public string SystemName + { + get + { + return this._SystemName; + } + set + { + if ((this._SystemName != value)) + { + this.OnSystemNameChanging(value); + this.SendPropertyChanging(); + this._SystemName = value; + this.SendPropertyChanged("SystemName"); + this.OnSystemNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Subsystem", DbType="NVarChar(50)")] + public string Subsystem + { + get + { + return this._Subsystem; + } + set + { + if ((this._Subsystem != value)) + { + this.OnSubsystemChanging(value); + this.SendPropertyChanging(); + this._Subsystem = value; + this.SendPropertyChanged("Subsystem"); + this.OnSubsystemChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Test_Package", DbType="NVarChar(50)")] + public string Test_Package + { + get + { + return this._Test_Package; + } + set + { + if ((this._Test_Package != value)) + { + this.OnTest_PackageChanging(value); + this.SendPropertyChanging(); + this._Test_Package = value; + this.SendPropertyChanged("Test_Package"); + this.OnTest_PackageChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Test_Package_START", DbType="DateTime")] + public System.Nullable Test_Package_START + { + get + { + return this._Test_Package_START; + } + set + { + if ((this._Test_Package_START != value)) + { + this.OnTest_Package_STARTChanging(value); + this.SendPropertyChanging(); + this._Test_Package_START = value; + this.SendPropertyChanged("Test_Package_START"); + this.OnTest_Package_STARTChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Test_Package_FINISH", DbType="DateTime")] + public System.Nullable Test_Package_FINISH + { + get + { + return this._Test_Package_FINISH; + } + set + { + if ((this._Test_Package_FINISH != value)) + { + this.OnTest_Package_FINISHChanging(value); + this.SendPropertyChanging(); + this._Test_Package_FINISH = value; + this.SendPropertyChanged("Test_Package_FINISH"); + this.OnTest_Package_FINISHChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FINAL_Status", DbType="NVarChar(50)")] + public string FINAL_Status + { + get + { + return this._FINAL_Status; + } + set + { + if ((this._FINAL_Status != value)) + { + this.OnFINAL_StatusChanging(value); + this.SendPropertyChanging(); + this._FINAL_Status = value; + this.SendPropertyChanged("FINAL_Status"); + this.OnFINAL_StatusChanged(); + } + } + } + + 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.Unqualified_WorkContact")] public partial class Unqualified_WorkContact : INotifyPropertyChanging, INotifyPropertyChanged { diff --git a/SGGL/WebAPI/WebAPI.csproj.user b/SGGL/WebAPI/WebAPI.csproj.user index 6bc24ada..4edb5e0f 100644 --- a/SGGL/WebAPI/WebAPI.csproj.user +++ b/SGGL/WebAPI/WebAPI.csproj.user @@ -1,7 +1,7 @@  - Debug|Any CPU + Release|Any CPU true