From 735279fa009f06d6f6d6a72c495670878699d973 Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Tue, 7 May 2024 09:47:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/Model/Model.cs | 554 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 554 insertions(+) diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index 32ad8b2a..31e60f74 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -2051,6 +2051,12 @@ namespace Model partial void InsertResources_SignManage(Resources_SignManage instance); partial void UpdateResources_SignManage(Resources_SignManage instance); partial void DeleteResources_SignManage(Resources_SignManage instance); + partial void InsertRun_ParameterSettings(Run_ParameterSettings instance); + partial void UpdateRun_ParameterSettings(Run_ParameterSettings instance); + partial void DeleteRun_ParameterSettings(Run_ParameterSettings instance); + partial void InsertRun_ProductionSettings(Run_ProductionSettings instance); + partial void UpdateRun_ProductionSettings(Run_ProductionSettings instance); + partial void DeleteRun_ProductionSettings(Run_ProductionSettings instance); partial void InsertRun_ScheduleSetUp(Run_ScheduleSetUp instance); partial void UpdateRun_ScheduleSetUp(Run_ScheduleSetUp instance); partial void DeleteRun_ScheduleSetUp(Run_ScheduleSetUp instance); @@ -8089,6 +8095,22 @@ namespace Model } } + public System.Data.Linq.Table Run_ParameterSettings + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table Run_ProductionSettings + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table Run_ScheduleSetUp { get @@ -316692,6 +316714,538 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Run_ParameterSettings")] + public partial class Run_ParameterSettings : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _SettingsId; + + private string _ProjectId; + + private string _InstallationId; + + private string _ProcessesId; + + private string _SystemId; + + private System.Nullable _States; + + private System.Nullable _RunType; + + private System.Nullable _AllNum; + + private string _AddUser; + + private System.Nullable _AddTime; + + private System.Nullable _Sort; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnSettingsIdChanging(string value); + partial void OnSettingsIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnInstallationIdChanging(string value); + partial void OnInstallationIdChanged(); + partial void OnProcessesIdChanging(string value); + partial void OnProcessesIdChanged(); + partial void OnSystemIdChanging(string value); + partial void OnSystemIdChanged(); + partial void OnStatesChanging(System.Nullable value); + partial void OnStatesChanged(); + partial void OnRunTypeChanging(System.Nullable value); + partial void OnRunTypeChanged(); + partial void OnAllNumChanging(System.Nullable value); + partial void OnAllNumChanged(); + partial void OnAddUserChanging(string value); + partial void OnAddUserChanged(); + partial void OnAddTimeChanging(System.Nullable value); + partial void OnAddTimeChanged(); + partial void OnSortChanging(System.Nullable value); + partial void OnSortChanged(); + #endregion + + public Run_ParameterSettings() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SettingsId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string SettingsId + { + get + { + return this._SettingsId; + } + set + { + if ((this._SettingsId != value)) + { + this.OnSettingsIdChanging(value); + this.SendPropertyChanging(); + this._SettingsId = value; + this.SendPropertyChanged("SettingsId"); + this.OnSettingsIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(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="_InstallationId", DbType="VarChar(50)")] + public string InstallationId + { + get + { + return this._InstallationId; + } + set + { + if ((this._InstallationId != value)) + { + this.OnInstallationIdChanging(value); + this.SendPropertyChanging(); + this._InstallationId = value; + this.SendPropertyChanged("InstallationId"); + this.OnInstallationIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProcessesId", DbType="VarChar(50)")] + public string ProcessesId + { + get + { + return this._ProcessesId; + } + set + { + if ((this._ProcessesId != value)) + { + this.OnProcessesIdChanging(value); + this.SendPropertyChanging(); + this._ProcessesId = value; + this.SendPropertyChanged("ProcessesId"); + this.OnProcessesIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemId", DbType="VarChar(50)")] + public string SystemId + { + get + { + return this._SystemId; + } + set + { + if ((this._SystemId != value)) + { + this.OnSystemIdChanging(value); + this.SendPropertyChanging(); + this._SystemId = value; + this.SendPropertyChanged("SystemId"); + this.OnSystemIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_States", DbType="Int")] + public System.Nullable States + { + get + { + return this._States; + } + set + { + if ((this._States != value)) + { + this.OnStatesChanging(value); + this.SendPropertyChanging(); + this._States = value; + this.SendPropertyChanged("States"); + this.OnStatesChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RunType", DbType="Int")] + public System.Nullable RunType + { + get + { + return this._RunType; + } + set + { + if ((this._RunType != value)) + { + this.OnRunTypeChanging(value); + this.SendPropertyChanging(); + this._RunType = value; + this.SendPropertyChanged("RunType"); + this.OnRunTypeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AllNum", DbType="Int")] + public System.Nullable AllNum + { + get + { + return this._AllNum; + } + set + { + if ((this._AllNum != value)) + { + this.OnAllNumChanging(value); + this.SendPropertyChanging(); + this._AllNum = value; + this.SendPropertyChanged("AllNum"); + this.OnAllNumChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddUser", DbType="VarChar(50)")] + public string AddUser + { + get + { + return this._AddUser; + } + set + { + if ((this._AddUser != value)) + { + this.OnAddUserChanging(value); + this.SendPropertyChanging(); + this._AddUser = value; + this.SendPropertyChanged("AddUser"); + this.OnAddUserChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddTime", DbType="DateTime")] + public System.Nullable AddTime + { + get + { + return this._AddTime; + } + set + { + if ((this._AddTime != value)) + { + this.OnAddTimeChanging(value); + this.SendPropertyChanging(); + this._AddTime = value; + this.SendPropertyChanged("AddTime"); + this.OnAddTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort", DbType="Int")] + public System.Nullable Sort + { + get + { + return this._Sort; + } + set + { + if ((this._Sort != value)) + { + this.OnSortChanging(value); + this.SendPropertyChanging(); + this._Sort = value; + this.SendPropertyChanged("Sort"); + this.OnSortChanged(); + } + } + } + + 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.Run_ProductionSettings")] + public partial class Run_ProductionSettings : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _ProductionId; + + private string _ProjectId; + + private System.Nullable _States; + + private System.Nullable _StartTime; + + private System.Nullable _EndTime; + + private string _AddUser; + + private System.Nullable _AddTime; + + private System.Nullable _Sort; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnProductionIdChanging(string value); + partial void OnProductionIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnStatesChanging(System.Nullable value); + partial void OnStatesChanged(); + partial void OnStartTimeChanging(System.Nullable value); + partial void OnStartTimeChanged(); + partial void OnEndTimeChanging(System.Nullable value); + partial void OnEndTimeChanged(); + partial void OnAddUserChanging(string value); + partial void OnAddUserChanged(); + partial void OnAddTimeChanging(System.Nullable value); + partial void OnAddTimeChanged(); + partial void OnSortChanging(System.Nullable value); + partial void OnSortChanged(); + #endregion + + public Run_ProductionSettings() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProductionId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string ProductionId + { + get + { + return this._ProductionId; + } + set + { + if ((this._ProductionId != value)) + { + this.OnProductionIdChanging(value); + this.SendPropertyChanging(); + this._ProductionId = value; + this.SendPropertyChanged("ProductionId"); + this.OnProductionIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(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="_States", DbType="Int")] + public System.Nullable States + { + get + { + return this._States; + } + set + { + if ((this._States != value)) + { + this.OnStatesChanging(value); + this.SendPropertyChanging(); + this._States = value; + this.SendPropertyChanged("States"); + this.OnStatesChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartTime", DbType="DateTime")] + public System.Nullable StartTime + { + get + { + return this._StartTime; + } + set + { + if ((this._StartTime != value)) + { + this.OnStartTimeChanging(value); + this.SendPropertyChanging(); + this._StartTime = value; + this.SendPropertyChanged("StartTime"); + this.OnStartTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndTime", DbType="DateTime")] + public System.Nullable EndTime + { + get + { + return this._EndTime; + } + set + { + if ((this._EndTime != value)) + { + this.OnEndTimeChanging(value); + this.SendPropertyChanging(); + this._EndTime = value; + this.SendPropertyChanged("EndTime"); + this.OnEndTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddUser", DbType="VarChar(50)")] + public string AddUser + { + get + { + return this._AddUser; + } + set + { + if ((this._AddUser != value)) + { + this.OnAddUserChanging(value); + this.SendPropertyChanging(); + this._AddUser = value; + this.SendPropertyChanged("AddUser"); + this.OnAddUserChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddTime", DbType="DateTime")] + public System.Nullable AddTime + { + get + { + return this._AddTime; + } + set + { + if ((this._AddTime != value)) + { + this.OnAddTimeChanging(value); + this.SendPropertyChanging(); + this._AddTime = value; + this.SendPropertyChanged("AddTime"); + this.OnAddTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort", DbType="Int")] + public System.Nullable Sort + { + get + { + return this._Sort; + } + set + { + if ((this._Sort != value)) + { + this.OnSortChanging(value); + this.SendPropertyChanging(); + this._Sort = value; + this.SendPropertyChanged("Sort"); + this.OnSortChanged(); + } + } + } + + 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.Run_ScheduleSetUp")] public partial class Run_ScheduleSetUp : INotifyPropertyChanging, INotifyPropertyChanged {