20250609 排产计划

This commit is contained in:
2025-06-09 17:20:34 +08:00
parent a980bb43f3
commit eef442181b
10 changed files with 858 additions and 479 deletions
+271 -360
View File
@@ -6857,14 +6857,6 @@ namespace Model
}
}
public System.Data.Linq.Table<View_HJGL_ProductionSchedulingPlanStatistics> View_HJGL_ProductionSchedulingPlanStatistics
{
get
{
return this.GetTable<View_HJGL_ProductionSchedulingPlanStatistics>();
}
}
public System.Data.Linq.Table<View_HJGL_WeldingTask> View_HJGL_WeldingTask
{
get
@@ -12163,7 +12155,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(2000)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(200)")]
public string ApproveIdea
{
get
@@ -95762,10 +95754,10 @@ namespace Model
private string _TrainNumber;
private System.Nullable<int> _TypeInt;
private string _TrainNumberId;
private System.Nullable<int> _TypeInt;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -95794,10 +95786,10 @@ namespace Model
partial void OnReceiveDateChanged();
partial void OnTrainNumberChanging(string value);
partial void OnTrainNumberChanged();
partial void OnTypeIntChanging(System.Nullable<int> value);
partial void OnTypeIntChanged();
partial void OnTrainNumberIdChanging(string value);
partial void OnTrainNumberIdChanged();
partial void OnTypeIntChanging(System.Nullable<int> value);
partial void OnTypeIntChanged();
#endregion
public HJGL_PackagingManage()
@@ -96045,26 +96037,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeInt", DbType="Int")]
public System.Nullable<int> TypeInt
{
get
{
return this._TypeInt;
}
set
{
if ((this._TypeInt != value))
{
this.OnTypeIntChanging(value);
this.SendPropertyChanging();
this._TypeInt = value;
this.SendPropertyChanged("TypeInt");
this.OnTypeIntChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainNumberId", DbType="VarChar(50)")]
public string TrainNumberId
{
@@ -96085,6 +96057,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeInt", DbType="Int")]
public System.Nullable<int> TypeInt
{
get
{
return this._TypeInt;
}
set
{
if ((this._TypeInt != value))
{
this.OnTypeIntChanging(value);
this.SendPropertyChanging();
this._TypeInt = value;
this.SendPropertyChanged("TypeInt");
this.OnTypeIntChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -97830,8 +97822,6 @@ 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;
@@ -97927,7 +97917,6 @@ 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));
@@ -98964,19 +98953,6 @@ 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
{
@@ -99109,18 +99085,6 @@ 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();
@@ -100537,9 +100501,15 @@ namespace Model
private System.Nullable<decimal> _AvgDailyWorkload;
private System.Nullable<int> _CompletedCount;
private System.Nullable<decimal> _CompletedRate;
private System.Nullable<decimal> _TotalCompletedRate;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<HJGL_Pipeline> _HJGL_Pipeline;
private EntityRef<WBS_UnitWork> _WBS_UnitWork;
#region
partial void OnLoaded();
@@ -100575,12 +100545,18 @@ namespace Model
partial void OnDaysChanged();
partial void OnAvgDailyWorkloadChanging(System.Nullable<decimal> value);
partial void OnAvgDailyWorkloadChanged();
partial void OnCompletedCountChanging(System.Nullable<int> value);
partial void OnCompletedCountChanged();
partial void OnCompletedRateChanging(System.Nullable<decimal> value);
partial void OnCompletedRateChanged();
partial void OnTotalCompletedRateChanging(System.Nullable<decimal> value);
partial void OnTotalCompletedRateChanged();
#endregion
public HJGL_ProductionSchedulingPlan()
{
this._Base_Project = default(EntityRef<Base_Project>);
this._HJGL_Pipeline = default(EntityRef<HJGL_Pipeline>);
this._WBS_UnitWork = default(EntityRef<WBS_UnitWork>);
OnCreated();
}
@@ -100639,7 +100615,7 @@ namespace Model
{
if ((this._PipelineId != value))
{
if (this._HJGL_Pipeline.HasLoadedOrAssignedValue)
if (this._WBS_UnitWork.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
@@ -100892,6 +100868,66 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompletedCount", DbType="Int")]
public System.Nullable<int> CompletedCount
{
get
{
return this._CompletedCount;
}
set
{
if ((this._CompletedCount != value))
{
this.OnCompletedCountChanging(value);
this.SendPropertyChanging();
this._CompletedCount = value;
this.SendPropertyChanged("CompletedCount");
this.OnCompletedCountChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompletedRate", DbType="Decimal(18,2)")]
public System.Nullable<decimal> CompletedRate
{
get
{
return this._CompletedRate;
}
set
{
if ((this._CompletedRate != value))
{
this.OnCompletedRateChanging(value);
this.SendPropertyChanging();
this._CompletedRate = value;
this.SendPropertyChanged("CompletedRate");
this.OnCompletedRateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalCompletedRate", DbType="Decimal(18,2)")]
public System.Nullable<decimal> TotalCompletedRate
{
get
{
return this._TotalCompletedRate;
}
set
{
if ((this._TotalCompletedRate != value))
{
this.OnTotalCompletedRateChanging(value);
this.SendPropertyChanging();
this._TotalCompletedRate = value;
this.SendPropertyChanged("TotalCompletedRate");
this.OnTotalCompletedRateChanged();
}
}
}
[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
{
@@ -100926,36 +100962,36 @@ namespace Model
}
}
[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
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ProductionSchedulingPlan_WBS_UnitWork", Storage="_WBS_UnitWork", ThisKey="PipelineId", OtherKey="UnitWorkId", IsForeignKey=true)]
public WBS_UnitWork WBS_UnitWork
{
get
{
return this._HJGL_Pipeline.Entity;
return this._WBS_UnitWork.Entity;
}
set
{
HJGL_Pipeline previousValue = this._HJGL_Pipeline.Entity;
WBS_UnitWork previousValue = this._WBS_UnitWork.Entity;
if (((previousValue != value)
|| (this._HJGL_Pipeline.HasLoadedOrAssignedValue == false)))
|| (this._WBS_UnitWork.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._HJGL_Pipeline.Entity = null;
this._WBS_UnitWork.Entity = null;
previousValue.HJGL_ProductionSchedulingPlan.Remove(this);
}
this._HJGL_Pipeline.Entity = value;
this._WBS_UnitWork.Entity = value;
if ((value != null))
{
value.HJGL_ProductionSchedulingPlan.Add(this);
this._PipelineId = value.PipelineId;
this._PipelineId = value.UnitWorkId;
}
else
{
this._PipelineId = default(string);
}
this.SendPropertyChanged("HJGL_Pipeline");
this.SendPropertyChanged("WBS_UnitWork");
}
}
}
@@ -107132,7 +107168,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Rectification", DbType="NVarChar(500)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Rectification", DbType="NVarChar(50)")]
public string Rectification
{
get
@@ -107258,7 +107294,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Measures", DbType="NVarChar(500)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Measures", DbType="NVarChar(50)")]
public string Measures
{
get
@@ -159493,7 +159529,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttentPerson", DbType="NVarChar(3000)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttentPerson", DbType="NVarChar(500)")]
public string AttentPerson
{
get
@@ -190476,7 +190512,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectDescription", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectDescription", DbType="VarChar(255)")]
public string ProjectDescription
{
get
@@ -190596,7 +190632,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CalculationRule", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CalculationRule", DbType="VarChar(255)")]
public string CalculationRule
{
get
@@ -190656,7 +190692,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionSubcontractor", DbType="VarChar(100)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionSubcontractor", DbType="VarChar(50)")]
public string ConstructionSubcontractor
{
get
@@ -191040,7 +191076,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageEstimate", DbType="Decimal(18,3)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageEstimate", DbType="Decimal(18,2)")]
public System.Nullable<decimal> WorkPackageEstimate
{
get
@@ -191345,16 +191381,6 @@ namespace Model
private string _ProjectId;
private string _ContractId;
private string _OrderCode;
private System.Nullable<System.DateTime> _OrderInDate;
private System.Nullable<System.DateTime> _OrderOutDate;
private string _MaterialRequisitionUnit;
private System.Nullable<int> _State;
private string _InvoiceCode;
@@ -191383,6 +191409,16 @@ namespace Model
private string _CreateUser;
private string _ContractId;
private System.Nullable<System.DateTime> _OrderInDate;
private string _OrderCode;
private System.Nullable<System.DateTime> _OrderOutDate;
private string _MaterialRequisitionUnit;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -191391,16 +191427,6 @@ namespace Model
partial void OnInvoiceIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnContractIdChanging(string value);
partial void OnContractIdChanged();
partial void OnOrderCodeChanging(string value);
partial void OnOrderCodeChanged();
partial void OnOrderInDateChanging(System.Nullable<System.DateTime> value);
partial void OnOrderInDateChanged();
partial void OnOrderOutDateChanging(System.Nullable<System.DateTime> value);
partial void OnOrderOutDateChanged();
partial void OnMaterialRequisitionUnitChanging(string value);
partial void OnMaterialRequisitionUnitChanged();
partial void OnStateChanging(System.Nullable<int> value);
partial void OnStateChanged();
partial void OnInvoiceCodeChanging(string value);
@@ -191429,6 +191455,16 @@ namespace Model
partial void OnCreateDateChanged();
partial void OnCreateUserChanging(string value);
partial void OnCreateUserChanged();
partial void OnContractIdChanging(string value);
partial void OnContractIdChanged();
partial void OnOrderInDateChanging(System.Nullable<System.DateTime> value);
partial void OnOrderInDateChanged();
partial void OnOrderCodeChanging(string value);
partial void OnOrderCodeChanged();
partial void OnOrderOutDateChanging(System.Nullable<System.DateTime> value);
partial void OnOrderOutDateChanged();
partial void OnMaterialRequisitionUnitChanging(string value);
partial void OnMaterialRequisitionUnitChanged();
#endregion
public PHTGL_Invoice()
@@ -191476,106 +191512,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractId", DbType="NVarChar(50)")]
public string ContractId
{
get
{
return this._ContractId;
}
set
{
if ((this._ContractId != value))
{
this.OnContractIdChanging(value);
this.SendPropertyChanging();
this._ContractId = value;
this.SendPropertyChanged("ContractId");
this.OnContractIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderCode", DbType="NVarChar(50)")]
public string OrderCode
{
get
{
return this._OrderCode;
}
set
{
if ((this._OrderCode != value))
{
this.OnOrderCodeChanging(value);
this.SendPropertyChanging();
this._OrderCode = value;
this.SendPropertyChanged("OrderCode");
this.OnOrderCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderInDate", DbType="Date")]
public System.Nullable<System.DateTime> OrderInDate
{
get
{
return this._OrderInDate;
}
set
{
if ((this._OrderInDate != value))
{
this.OnOrderInDateChanging(value);
this.SendPropertyChanging();
this._OrderInDate = value;
this.SendPropertyChanged("OrderInDate");
this.OnOrderInDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderOutDate", DbType="Date")]
public System.Nullable<System.DateTime> OrderOutDate
{
get
{
return this._OrderOutDate;
}
set
{
if ((this._OrderOutDate != value))
{
this.OnOrderOutDateChanging(value);
this.SendPropertyChanging();
this._OrderOutDate = value;
this.SendPropertyChanged("OrderOutDate");
this.OnOrderOutDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialRequisitionUnit", DbType="NVarChar(100)")]
public string MaterialRequisitionUnit
{
get
{
return this._MaterialRequisitionUnit;
}
set
{
if ((this._MaterialRequisitionUnit != value))
{
this.OnMaterialRequisitionUnitChanging(value);
this.SendPropertyChanging();
this._MaterialRequisitionUnit = value;
this.SendPropertyChanged("MaterialRequisitionUnit");
this.OnMaterialRequisitionUnitChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="Int")]
public System.Nullable<int> State
{
@@ -191856,6 +191792,106 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractId", DbType="NVarChar(50)")]
public string ContractId
{
get
{
return this._ContractId;
}
set
{
if ((this._ContractId != value))
{
this.OnContractIdChanging(value);
this.SendPropertyChanging();
this._ContractId = value;
this.SendPropertyChanged("ContractId");
this.OnContractIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderInDate", DbType="Date")]
public System.Nullable<System.DateTime> OrderInDate
{
get
{
return this._OrderInDate;
}
set
{
if ((this._OrderInDate != value))
{
this.OnOrderInDateChanging(value);
this.SendPropertyChanging();
this._OrderInDate = value;
this.SendPropertyChanged("OrderInDate");
this.OnOrderInDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderCode", DbType="NVarChar(50)")]
public string OrderCode
{
get
{
return this._OrderCode;
}
set
{
if ((this._OrderCode != value))
{
this.OnOrderCodeChanging(value);
this.SendPropertyChanging();
this._OrderCode = value;
this.SendPropertyChanged("OrderCode");
this.OnOrderCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderOutDate", DbType="Date")]
public System.Nullable<System.DateTime> OrderOutDate
{
get
{
return this._OrderOutDate;
}
set
{
if ((this._OrderOutDate != value))
{
this.OnOrderOutDateChanging(value);
this.SendPropertyChanging();
this._OrderOutDate = value;
this.SendPropertyChanged("OrderOutDate");
this.OnOrderOutDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialRequisitionUnit", DbType="NVarChar(100)")]
public string MaterialRequisitionUnit
{
get
{
return this._MaterialRequisitionUnit;
}
set
{
if ((this._MaterialRequisitionUnit != value))
{
this.OnMaterialRequisitionUnitChanging(value);
this.SendPropertyChanging();
this._MaterialRequisitionUnit = value;
this.SendPropertyChanged("MaterialRequisitionUnit");
this.OnMaterialRequisitionUnitChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -287577,159 +287613,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_HJGL_ProductionSchedulingPlanStatistics")]
public partial class View_HJGL_ProductionSchedulingPlanStatistics
{
private string _UnitWorkId;
private string _UnitWorkCode;
private string _UnitWorkName;
private string _ProjectId;
private string _FlowingSection;
private string _Material;
private string _Caliber;
private decimal _Dia;
public View_HJGL_ProductionSchedulingPlanStatistics()
{
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorkId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string UnitWorkId
{
get
{
return this._UnitWorkId;
}
set
{
if ((this._UnitWorkId != value))
{
this._UnitWorkId = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorkCode", DbType="NVarChar(10)")]
public string UnitWorkCode
{
get
{
return this._UnitWorkCode;
}
set
{
if ((this._UnitWorkCode != value))
{
this._UnitWorkCode = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorkName", DbType="NVarChar(30)")]
public string UnitWorkName
{
get
{
return this._UnitWorkName;
}
set
{
if ((this._UnitWorkName != value))
{
this._UnitWorkName = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
{
return this._ProjectId;
}
set
{
if ((this._ProjectId != value))
{
this._ProjectId = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FlowingSection", DbType="NVarChar(200)")]
public string FlowingSection
{
get
{
return this._FlowingSection;
}
set
{
if ((this._FlowingSection != value))
{
this._FlowingSection = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Material", DbType="VarChar(8)")]
public string Material
{
get
{
return this._Material;
}
set
{
if ((this._Material != value))
{
this._Material = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Caliber", DbType="VarChar(5) NOT NULL", CanBeNull=false)]
public string Caliber
{
get
{
return this._Caliber;
}
set
{
if ((this._Caliber != value))
{
this._Caliber = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia", DbType="Decimal(38,3) NOT NULL")]
public decimal Dia
{
get
{
return this._Dia;
}
set
{
if ((this._Dia != value))
{
this._Dia = value;
}
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_HJGL_WeldingTask")]
public partial class View_HJGL_WeldingTask
{
@@ -308652,7 +308535,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(50)")]
public string Name
{
get
@@ -309229,7 +309112,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
public string PackageContent
{
get
@@ -309420,7 +309303,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
public string PackageContent
{
get
@@ -313311,6 +313194,8 @@ namespace Model
private EntitySet<HJGL_Pipeline> _HJGL_Pipeline;
private EntitySet<HJGL_ProductionSchedulingPlan> _HJGL_ProductionSchedulingPlan;
private EntitySet<HJGL_RepairRecord> _HJGL_RepairRecord;
private EntitySet<HJGL_WeldingDaily> _HJGL_WeldingDaily;
@@ -313398,6 +313283,7 @@ namespace Model
this._HJGL_LV_LeakVacuum = new EntitySet<HJGL_LV_LeakVacuum>(new Action<HJGL_LV_LeakVacuum>(this.attach_HJGL_LV_LeakVacuum), new Action<HJGL_LV_LeakVacuum>(this.detach_HJGL_LV_LeakVacuum));
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_WeldingDaily = new EntitySet<HJGL_WeldingDaily>(new Action<HJGL_WeldingDaily>(this.attach_HJGL_WeldingDaily), new Action<HJGL_WeldingDaily>(this.detach_HJGL_WeldingDaily));
this._ProcessControl_InspectionManagement = new EntitySet<ProcessControl_InspectionManagement>(new Action<ProcessControl_InspectionManagement>(this.attach_ProcessControl_InspectionManagement), new Action<ProcessControl_InspectionManagement>(this.detach_ProcessControl_InspectionManagement));
@@ -314048,6 +313934,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ProductionSchedulingPlan_WBS_UnitWork", Storage="_HJGL_ProductionSchedulingPlan", ThisKey="UnitWorkId", 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_RepairRecord_WBS_UnitWork", Storage="_HJGL_RepairRecord", ThisKey="UnitWorkId", OtherKey="UnitWorkId", DeleteRule="NO ACTION")]
public EntitySet<HJGL_RepairRecord> HJGL_RepairRecord
{
@@ -314396,6 +314295,18 @@ namespace Model
entity.WBS_UnitWork = null;
}
private void attach_HJGL_ProductionSchedulingPlan(HJGL_ProductionSchedulingPlan entity)
{
this.SendPropertyChanging();
entity.WBS_UnitWork = this;
}
private void detach_HJGL_ProductionSchedulingPlan(HJGL_ProductionSchedulingPlan entity)
{
this.SendPropertyChanging();
entity.WBS_UnitWork = null;
}
private void attach_HJGL_RepairRecord(HJGL_RepairRecord entity)
{
this.SendPropertyChanging();
@@ -314731,7 +314642,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
public string PackageContent
{
get
@@ -316203,7 +316114,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
public string PackageContent
{
get
@@ -325754,7 +325665,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractNo", DbType="NVarChar(1500)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractNo", DbType="NVarChar(500)")]
public string ContractNo
{
get
@@ -325774,7 +325685,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorks", DbType="NVarChar(1500)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorks", DbType="NVarChar(500)")]
public string UnitWorks
{
get