20250513 排产计划
This commit is contained in:
@@ -686,6 +686,9 @@ namespace Model
|
||||
partial void InsertHJGL_PreWeldingDaily(HJGL_PreWeldingDaily instance);
|
||||
partial void UpdateHJGL_PreWeldingDaily(HJGL_PreWeldingDaily instance);
|
||||
partial void DeleteHJGL_PreWeldingDaily(HJGL_PreWeldingDaily instance);
|
||||
partial void InsertHJGL_ProductionSchedulingPlan(HJGL_ProductionSchedulingPlan instance);
|
||||
partial void UpdateHJGL_ProductionSchedulingPlan(HJGL_ProductionSchedulingPlan instance);
|
||||
partial void DeleteHJGL_ProductionSchedulingPlan(HJGL_ProductionSchedulingPlan instance);
|
||||
partial void InsertHJGL_RepairRecord(HJGL_RepairRecord instance);
|
||||
partial void UpdateHJGL_RepairRecord(HJGL_RepairRecord instance);
|
||||
partial void DeleteHJGL_RepairRecord(HJGL_RepairRecord instance);
|
||||
@@ -3646,6 +3649,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<HJGL_ProductionSchedulingPlan> HJGL_ProductionSchedulingPlan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<HJGL_ProductionSchedulingPlan>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<HJGL_RepairRecord> HJGL_RepairRecord
|
||||
{
|
||||
get
|
||||
@@ -24315,6 +24326,8 @@ namespace Model
|
||||
|
||||
private EntitySet<HJGL_Pipeline> _HJGL_Pipeline;
|
||||
|
||||
private EntitySet<HJGL_ProductionSchedulingPlan> _HJGL_ProductionSchedulingPlan;
|
||||
|
||||
private EntitySet<HJGL_RepairRecord> _HJGL_RepairRecord;
|
||||
|
||||
private EntitySet<HJGL_WeldJoint> _HJGL_WeldJoint;
|
||||
@@ -24681,6 +24694,7 @@ namespace Model
|
||||
this._HJGL_MaterialManage = new EntitySet<HJGL_MaterialManage>(new Action<HJGL_MaterialManage>(this.attach_HJGL_MaterialManage), new Action<HJGL_MaterialManage>(this.detach_HJGL_MaterialManage));
|
||||
this._HJGL_PC_PurgingCleaning = new EntitySet<HJGL_PC_PurgingCleaning>(new Action<HJGL_PC_PurgingCleaning>(this.attach_HJGL_PC_PurgingCleaning), new Action<HJGL_PC_PurgingCleaning>(this.detach_HJGL_PC_PurgingCleaning));
|
||||
this._HJGL_Pipeline = new EntitySet<HJGL_Pipeline>(new Action<HJGL_Pipeline>(this.attach_HJGL_Pipeline), new Action<HJGL_Pipeline>(this.detach_HJGL_Pipeline));
|
||||
this._HJGL_ProductionSchedulingPlan = new EntitySet<HJGL_ProductionSchedulingPlan>(new Action<HJGL_ProductionSchedulingPlan>(this.attach_HJGL_ProductionSchedulingPlan), new Action<HJGL_ProductionSchedulingPlan>(this.detach_HJGL_ProductionSchedulingPlan));
|
||||
this._HJGL_RepairRecord = new EntitySet<HJGL_RepairRecord>(new Action<HJGL_RepairRecord>(this.attach_HJGL_RepairRecord), new Action<HJGL_RepairRecord>(this.detach_HJGL_RepairRecord));
|
||||
this._HJGL_WeldJoint = new EntitySet<HJGL_WeldJoint>(new Action<HJGL_WeldJoint>(this.attach_HJGL_WeldJoint), new Action<HJGL_WeldJoint>(this.detach_HJGL_WeldJoint));
|
||||
this._HJGL_HotProess_Trust = new EntitySet<HJGL_HotProess_Trust>(new Action<HJGL_HotProess_Trust>(this.attach_HJGL_HotProess_Trust), new Action<HJGL_HotProess_Trust>(this.detach_HJGL_HotProess_Trust));
|
||||
@@ -26252,6 +26266,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ProductionSchedulingPlan_Base_Project", Storage="_HJGL_ProductionSchedulingPlan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<HJGL_ProductionSchedulingPlan> HJGL_ProductionSchedulingPlan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._HJGL_ProductionSchedulingPlan;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._HJGL_ProductionSchedulingPlan.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_RepairRecord_Base_Project", Storage="_HJGL_RepairRecord", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<HJGL_RepairRecord> HJGL_RepairRecord
|
||||
{
|
||||
@@ -28502,6 +28529,18 @@ namespace Model
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_HJGL_ProductionSchedulingPlan(HJGL_ProductionSchedulingPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = this;
|
||||
}
|
||||
|
||||
private void detach_HJGL_ProductionSchedulingPlan(HJGL_ProductionSchedulingPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_HJGL_RepairRecord(HJGL_RepairRecord entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -97327,6 +97366,8 @@ namespace Model
|
||||
|
||||
private EntitySet<HJGL_PipeLineMat> _HJGL_PipeLineMat;
|
||||
|
||||
private EntitySet<HJGL_ProductionSchedulingPlan> _HJGL_ProductionSchedulingPlan;
|
||||
|
||||
private EntitySet<HJGL_WeldJoint> _HJGL_WeldJoint;
|
||||
|
||||
private EntitySet<PTP_BItemEndCheck> _PTP_BItemEndCheck;
|
||||
@@ -97422,6 +97463,7 @@ namespace Model
|
||||
this._HJGL_Pipeline_Component = new EntitySet<HJGL_Pipeline_Component>(new Action<HJGL_Pipeline_Component>(this.attach_HJGL_Pipeline_Component), new Action<HJGL_Pipeline_Component>(this.detach_HJGL_Pipeline_Component));
|
||||
this._WBS_UnitWork = default(EntityRef<WBS_UnitWork>);
|
||||
this._HJGL_PipeLineMat = new EntitySet<HJGL_PipeLineMat>(new Action<HJGL_PipeLineMat>(this.attach_HJGL_PipeLineMat), new Action<HJGL_PipeLineMat>(this.detach_HJGL_PipeLineMat));
|
||||
this._HJGL_ProductionSchedulingPlan = new EntitySet<HJGL_ProductionSchedulingPlan>(new Action<HJGL_ProductionSchedulingPlan>(this.attach_HJGL_ProductionSchedulingPlan), new Action<HJGL_ProductionSchedulingPlan>(this.detach_HJGL_ProductionSchedulingPlan));
|
||||
this._HJGL_WeldJoint = new EntitySet<HJGL_WeldJoint>(new Action<HJGL_WeldJoint>(this.attach_HJGL_WeldJoint), new Action<HJGL_WeldJoint>(this.detach_HJGL_WeldJoint));
|
||||
this._PTP_BItemEndCheck = new EntitySet<PTP_BItemEndCheck>(new Action<PTP_BItemEndCheck>(this.attach_PTP_BItemEndCheck), new Action<PTP_BItemEndCheck>(this.detach_PTP_BItemEndCheck));
|
||||
this._PTP_ItemEndCheck = new EntitySet<PTP_ItemEndCheck>(new Action<PTP_ItemEndCheck>(this.attach_PTP_ItemEndCheck), new Action<PTP_ItemEndCheck>(this.detach_PTP_ItemEndCheck));
|
||||
@@ -98458,6 +98500,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ProductionSchedulingPlan_HJGL_Pipeline", Storage="_HJGL_ProductionSchedulingPlan", ThisKey="PipelineId", OtherKey="PipelineId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<HJGL_ProductionSchedulingPlan> HJGL_ProductionSchedulingPlan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._HJGL_ProductionSchedulingPlan;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._HJGL_ProductionSchedulingPlan.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldJoint_HJGL_Pipeline", Storage="_HJGL_WeldJoint", ThisKey="PipelineId", OtherKey="PipelineId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<HJGL_WeldJoint> HJGL_WeldJoint
|
||||
{
|
||||
@@ -98590,6 +98645,18 @@ namespace Model
|
||||
entity.HJGL_Pipeline = null;
|
||||
}
|
||||
|
||||
private void attach_HJGL_ProductionSchedulingPlan(HJGL_ProductionSchedulingPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.HJGL_Pipeline = this;
|
||||
}
|
||||
|
||||
private void detach_HJGL_ProductionSchedulingPlan(HJGL_ProductionSchedulingPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.HJGL_Pipeline = null;
|
||||
}
|
||||
|
||||
private void attach_HJGL_WeldJoint(HJGL_WeldJoint entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -99970,6 +100037,486 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_ProductionSchedulingPlan")]
|
||||
public partial class HJGL_ProductionSchedulingPlan : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _ProductionSchedulingPlanId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _PipelineId;
|
||||
|
||||
private string _FlowNum;
|
||||
|
||||
private string _MainItemName;
|
||||
|
||||
private string _Material;
|
||||
|
||||
private string _Caliber;
|
||||
|
||||
private System.Nullable<decimal> _Dain;
|
||||
|
||||
private System.Nullable<decimal> _TotalDyne;
|
||||
|
||||
private string _TotalPriority;
|
||||
|
||||
private System.Nullable<decimal> _PriorityTotalDyne;
|
||||
|
||||
private System.Nullable<System.DateTime> _PlanStartDate;
|
||||
|
||||
private System.Nullable<System.DateTime> _PlanEndDate;
|
||||
|
||||
private System.Nullable<int> _Days;
|
||||
|
||||
private System.Nullable<decimal> _AvgDailyWorkload;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<HJGL_Pipeline> _HJGL_Pipeline;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnProductionSchedulingPlanIdChanging(string value);
|
||||
partial void OnProductionSchedulingPlanIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnPipelineIdChanging(string value);
|
||||
partial void OnPipelineIdChanged();
|
||||
partial void OnFlowNumChanging(string value);
|
||||
partial void OnFlowNumChanged();
|
||||
partial void OnMainItemNameChanging(string value);
|
||||
partial void OnMainItemNameChanged();
|
||||
partial void OnMaterialChanging(string value);
|
||||
partial void OnMaterialChanged();
|
||||
partial void OnCaliberChanging(string value);
|
||||
partial void OnCaliberChanged();
|
||||
partial void OnDainChanging(System.Nullable<decimal> value);
|
||||
partial void OnDainChanged();
|
||||
partial void OnTotalDyneChanging(System.Nullable<decimal> value);
|
||||
partial void OnTotalDyneChanged();
|
||||
partial void OnTotalPriorityChanging(string value);
|
||||
partial void OnTotalPriorityChanged();
|
||||
partial void OnPriorityTotalDyneChanging(System.Nullable<decimal> value);
|
||||
partial void OnPriorityTotalDyneChanged();
|
||||
partial void OnPlanStartDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnPlanStartDateChanged();
|
||||
partial void OnPlanEndDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnPlanEndDateChanged();
|
||||
partial void OnDaysChanging(System.Nullable<int> value);
|
||||
partial void OnDaysChanged();
|
||||
partial void OnAvgDailyWorkloadChanging(System.Nullable<decimal> value);
|
||||
partial void OnAvgDailyWorkloadChanged();
|
||||
#endregion
|
||||
|
||||
public HJGL_ProductionSchedulingPlan()
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._HJGL_Pipeline = default(EntityRef<HJGL_Pipeline>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProductionSchedulingPlanId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string ProductionSchedulingPlanId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProductionSchedulingPlanId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProductionSchedulingPlanId != value))
|
||||
{
|
||||
this.OnProductionSchedulingPlanIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProductionSchedulingPlanId = value;
|
||||
this.SendPropertyChanged("ProductionSchedulingPlanId");
|
||||
this.OnProductionSchedulingPlanIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectId != value))
|
||||
{
|
||||
if (this._Base_Project.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnProjectIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectId = value;
|
||||
this.SendPropertyChanged("ProjectId");
|
||||
this.OnProjectIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineId", DbType="NVarChar(50)")]
|
||||
public string PipelineId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PipelineId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PipelineId != value))
|
||||
{
|
||||
if (this._HJGL_Pipeline.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnPipelineIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PipelineId = value;
|
||||
this.SendPropertyChanged("PipelineId");
|
||||
this.OnPipelineIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FlowNum", DbType="NVarChar(50)")]
|
||||
public string FlowNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._FlowNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._FlowNum != value))
|
||||
{
|
||||
this.OnFlowNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._FlowNum = value;
|
||||
this.SendPropertyChanged("FlowNum");
|
||||
this.OnFlowNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainItemName", DbType="NVarChar(50)")]
|
||||
public string MainItemName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MainItemName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MainItemName != value))
|
||||
{
|
||||
this.OnMainItemNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MainItemName = value;
|
||||
this.SendPropertyChanged("MainItemName");
|
||||
this.OnMainItemNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Material", DbType="NVarChar(50)")]
|
||||
public string Material
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Material;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Material != value))
|
||||
{
|
||||
this.OnMaterialChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Material = value;
|
||||
this.SendPropertyChanged("Material");
|
||||
this.OnMaterialChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Caliber", DbType="NVarChar(50)")]
|
||||
public string Caliber
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Caliber;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Caliber != value))
|
||||
{
|
||||
this.OnCaliberChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Caliber = value;
|
||||
this.SendPropertyChanged("Caliber");
|
||||
this.OnCaliberChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dain", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> Dain
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Dain;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Dain != value))
|
||||
{
|
||||
this.OnDainChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Dain = value;
|
||||
this.SendPropertyChanged("Dain");
|
||||
this.OnDainChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalDyne", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> TotalDyne
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TotalDyne;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TotalDyne != value))
|
||||
{
|
||||
this.OnTotalDyneChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TotalDyne = value;
|
||||
this.SendPropertyChanged("TotalDyne");
|
||||
this.OnTotalDyneChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalPriority", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string TotalPriority
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TotalPriority;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TotalPriority != value))
|
||||
{
|
||||
this.OnTotalPriorityChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TotalPriority = value;
|
||||
this.SendPropertyChanged("TotalPriority");
|
||||
this.OnTotalPriorityChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PriorityTotalDyne", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> PriorityTotalDyne
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PriorityTotalDyne;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PriorityTotalDyne != value))
|
||||
{
|
||||
this.OnPriorityTotalDyneChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PriorityTotalDyne = value;
|
||||
this.SendPropertyChanged("PriorityTotalDyne");
|
||||
this.OnPriorityTotalDyneChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanStartDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> PlanStartDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanStartDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanStartDate != value))
|
||||
{
|
||||
this.OnPlanStartDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PlanStartDate = value;
|
||||
this.SendPropertyChanged("PlanStartDate");
|
||||
this.OnPlanStartDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanEndDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> PlanEndDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanEndDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanEndDate != value))
|
||||
{
|
||||
this.OnPlanEndDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PlanEndDate = value;
|
||||
this.SendPropertyChanged("PlanEndDate");
|
||||
this.OnPlanEndDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Days", DbType="Int")]
|
||||
public System.Nullable<int> Days
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Days;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Days != value))
|
||||
{
|
||||
this.OnDaysChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Days = value;
|
||||
this.SendPropertyChanged("Days");
|
||||
this.OnDaysChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AvgDailyWorkload", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> AvgDailyWorkload
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._AvgDailyWorkload;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._AvgDailyWorkload != value))
|
||||
{
|
||||
this.OnAvgDailyWorkloadChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._AvgDailyWorkload = value;
|
||||
this.SendPropertyChanged("AvgDailyWorkload");
|
||||
this.OnAvgDailyWorkloadChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ProductionSchedulingPlan_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
|
||||
public Base_Project Base_Project
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Base_Project.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Base_Project previousValue = this._Base_Project.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Base_Project.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Base_Project.Entity = null;
|
||||
previousValue.HJGL_ProductionSchedulingPlan.Remove(this);
|
||||
}
|
||||
this._Base_Project.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.HJGL_ProductionSchedulingPlan.Add(this);
|
||||
this._ProjectId = value.ProjectId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._ProjectId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Project");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ProductionSchedulingPlan_HJGL_Pipeline", Storage="_HJGL_Pipeline", ThisKey="PipelineId", OtherKey="PipelineId", IsForeignKey=true)]
|
||||
public HJGL_Pipeline HJGL_Pipeline
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._HJGL_Pipeline.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
HJGL_Pipeline previousValue = this._HJGL_Pipeline.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._HJGL_Pipeline.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._HJGL_Pipeline.Entity = null;
|
||||
previousValue.HJGL_ProductionSchedulingPlan.Remove(this);
|
||||
}
|
||||
this._HJGL_Pipeline.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.HJGL_ProductionSchedulingPlan.Add(this);
|
||||
this._PipelineId = value.PipelineId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._PipelineId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("HJGL_Pipeline");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.HJGL_RepairRecord")]
|
||||
public partial class HJGL_RepairRecord : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user