增加焊接数据录入页面

This commit is contained in:
2023-06-09 18:17:40 +08:00
parent e9e7949712
commit 8433bb4ad7
17 changed files with 1336 additions and 57 deletions
+379
View File
@@ -938,6 +938,9 @@ namespace Model
partial void InsertHJGL_FirstOKRate(HJGL_FirstOKRate instance);
partial void UpdateHJGL_FirstOKRate(HJGL_FirstOKRate instance);
partial void DeleteHJGL_FirstOKRate(HJGL_FirstOKRate instance);
partial void InsertHJGL_FL_Data(HJGL_FL_Data instance);
partial void UpdateHJGL_FL_Data(HJGL_FL_Data instance);
partial void DeleteHJGL_FL_Data(HJGL_FL_Data instance);
partial void InsertHJGL_FL_NdtList(HJGL_FL_NdtList instance);
partial void UpdateHJGL_FL_NdtList(HJGL_FL_NdtList instance);
partial void DeleteHJGL_FL_NdtList(HJGL_FL_NdtList instance);
@@ -4795,6 +4798,14 @@ namespace Model
}
}
public System.Data.Linq.Table<HJGL_FL_Data> HJGL_FL_Data
{
get
{
return this.GetTable<HJGL_FL_Data>();
}
}
public System.Data.Linq.Table<HJGL_FL_NdtList> HJGL_FL_NdtList
{
get
@@ -25001,6 +25012,8 @@ namespace Model
private EntitySet<HJGL_FirstOKRate> _HJGL_FirstOKRate;
private EntitySet<HJGL_FL_Data> _HJGL_FL_Data;
private EntitySet<HJGL_FL_NdtList> _HJGL_FL_NdtList;
private EntitySet<HJGL_FL_OneOKRate> _HJGL_FL_OneOKRate;
@@ -25533,6 +25546,7 @@ namespace Model
this._HJGL_Batch_BatchTrust = new EntitySet<HJGL_Batch_BatchTrust>(new Action<HJGL_Batch_BatchTrust>(this.attach_HJGL_Batch_BatchTrust), new Action<HJGL_Batch_BatchTrust>(this.detach_HJGL_Batch_BatchTrust));
this._HJGL_FinishRate = new EntitySet<HJGL_FinishRate>(new Action<HJGL_FinishRate>(this.attach_HJGL_FinishRate), new Action<HJGL_FinishRate>(this.detach_HJGL_FinishRate));
this._HJGL_FirstOKRate = new EntitySet<HJGL_FirstOKRate>(new Action<HJGL_FirstOKRate>(this.attach_HJGL_FirstOKRate), new Action<HJGL_FirstOKRate>(this.detach_HJGL_FirstOKRate));
this._HJGL_FL_Data = new EntitySet<HJGL_FL_Data>(new Action<HJGL_FL_Data>(this.attach_HJGL_FL_Data), new Action<HJGL_FL_Data>(this.detach_HJGL_FL_Data));
this._HJGL_FL_NdtList = new EntitySet<HJGL_FL_NdtList>(new Action<HJGL_FL_NdtList>(this.attach_HJGL_FL_NdtList), new Action<HJGL_FL_NdtList>(this.detach_HJGL_FL_NdtList));
this._HJGL_FL_OneOKRate = new EntitySet<HJGL_FL_OneOKRate>(new Action<HJGL_FL_OneOKRate>(this.attach_HJGL_FL_OneOKRate), new Action<HJGL_FL_OneOKRate>(this.detach_HJGL_FL_OneOKRate));
this._HJGL_FL_PressurePackageList = new EntitySet<HJGL_FL_PressurePackageList>(new Action<HJGL_FL_PressurePackageList>(this.attach_HJGL_FL_PressurePackageList), new Action<HJGL_FL_PressurePackageList>(this.detach_HJGL_FL_PressurePackageList));
@@ -28057,6 +28071,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_FL_Data_Base_Project", Storage="_HJGL_FL_Data", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<HJGL_FL_Data> HJGL_FL_Data
{
get
{
return this._HJGL_FL_Data;
}
set
{
this._HJGL_FL_Data.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_FL_NdtList_Base_Project", Storage="_HJGL_FL_NdtList", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<HJGL_FL_NdtList> HJGL_FL_NdtList
{
@@ -31662,6 +31689,18 @@ namespace Model
entity.Base_Project = null;
}
private void attach_HJGL_FL_Data(HJGL_FL_Data entity)
{
this.SendPropertyChanging();
entity.Base_Project = this;
}
private void detach_HJGL_FL_Data(HJGL_FL_Data entity)
{
this.SendPropertyChanging();
entity.Base_Project = null;
}
private void attach_HJGL_FL_NdtList(HJGL_FL_NdtList entity)
{
this.SendPropertyChanging();
@@ -149173,6 +149212,318 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_FL_Data")]
public partial class HJGL_FL_Data : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _ProjectId;
private string _TotalWeldQuantity;
private string _TotalCompleted;
private string _OneTimeFilmAmount;
private string _OneTimeFilmQualifiedAmount;
private string _CompileMan;
private System.Nullable<System.DateTime> _CompileDate;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Sys_User> _Sys_User;
#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 OnTotalWeldQuantityChanging(string value);
partial void OnTotalWeldQuantityChanged();
partial void OnTotalCompletedChanging(string value);
partial void OnTotalCompletedChanged();
partial void OnOneTimeFilmAmountChanging(string value);
partial void OnOneTimeFilmAmountChanged();
partial void OnOneTimeFilmQualifiedAmountChanging(string value);
partial void OnOneTimeFilmQualifiedAmountChanged();
partial void OnCompileManChanging(string value);
partial void OnCompileManChanged();
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
partial void OnCompileDateChanged();
#endregion
public HJGL_FL_Data()
{
this._Base_Project = default(EntityRef<Base_Project>);
this._Sys_User = default(EntityRef<Sys_User>);
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))
{
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="_TotalWeldQuantity", DbType="NVarChar(50)")]
public string TotalWeldQuantity
{
get
{
return this._TotalWeldQuantity;
}
set
{
if ((this._TotalWeldQuantity != value))
{
this.OnTotalWeldQuantityChanging(value);
this.SendPropertyChanging();
this._TotalWeldQuantity = value;
this.SendPropertyChanged("TotalWeldQuantity");
this.OnTotalWeldQuantityChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalCompleted", DbType="NVarChar(50)")]
public string TotalCompleted
{
get
{
return this._TotalCompleted;
}
set
{
if ((this._TotalCompleted != value))
{
this.OnTotalCompletedChanging(value);
this.SendPropertyChanging();
this._TotalCompleted = value;
this.SendPropertyChanged("TotalCompleted");
this.OnTotalCompletedChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OneTimeFilmAmount", DbType="NVarChar(50)")]
public string OneTimeFilmAmount
{
get
{
return this._OneTimeFilmAmount;
}
set
{
if ((this._OneTimeFilmAmount != value))
{
this.OnOneTimeFilmAmountChanging(value);
this.SendPropertyChanging();
this._OneTimeFilmAmount = value;
this.SendPropertyChanged("OneTimeFilmAmount");
this.OnOneTimeFilmAmountChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OneTimeFilmQualifiedAmount", DbType="NVarChar(50)")]
public string OneTimeFilmQualifiedAmount
{
get
{
return this._OneTimeFilmQualifiedAmount;
}
set
{
if ((this._OneTimeFilmQualifiedAmount != value))
{
this.OnOneTimeFilmQualifiedAmountChanging(value);
this.SendPropertyChanging();
this._OneTimeFilmQualifiedAmount = value;
this.SendPropertyChanged("OneTimeFilmQualifiedAmount");
this.OnOneTimeFilmQualifiedAmountChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
public string CompileMan
{
get
{
return this._CompileMan;
}
set
{
if ((this._CompileMan != value))
{
if (this._Sys_User.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnCompileManChanging(value);
this.SendPropertyChanging();
this._CompileMan = value;
this.SendPropertyChanged("CompileMan");
this.OnCompileManChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
public System.Nullable<System.DateTime> CompileDate
{
get
{
return this._CompileDate;
}
set
{
if ((this._CompileDate != value))
{
this.OnCompileDateChanging(value);
this.SendPropertyChanging();
this._CompileDate = value;
this.SendPropertyChanged("CompileDate");
this.OnCompileDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_FL_Data_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_FL_Data.Remove(this);
}
this._Base_Project.Entity = value;
if ((value != null))
{
value.HJGL_FL_Data.Add(this);
this._ProjectId = value.ProjectId;
}
else
{
this._ProjectId = default(string);
}
this.SendPropertyChanged("Base_Project");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_FL_Data_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
public Sys_User Sys_User
{
get
{
return this._Sys_User.Entity;
}
set
{
Sys_User previousValue = this._Sys_User.Entity;
if (((previousValue != value)
|| (this._Sys_User.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Sys_User.Entity = null;
previousValue.HJGL_FL_Data.Remove(this);
}
this._Sys_User.Entity = value;
if ((value != null))
{
value.HJGL_FL_Data.Add(this);
this._CompileMan = value.UserId;
}
else
{
this._CompileMan = default(string);
}
this.SendPropertyChanged("Sys_User");
}
}
}
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_FL_NdtList")]
public partial class HJGL_FL_NdtList : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -318889,6 +319240,8 @@ namespace Model
private EntitySet<Hazard_HazardList> _Hazard_HazardList_Sys_User1;
private EntitySet<HJGL_FL_Data> _HJGL_FL_Data;
private EntitySet<InApproveManager_EquipmentIn> _InApproveManager_EquipmentIn;
private EntitySet<InApproveManager_EquipmentOut> _InApproveManager_EquipmentOut;
@@ -319552,6 +319905,7 @@ namespace Model
this._Hazard_EnvironmentalRiskList_Sys_User1 = new EntitySet<Hazard_EnvironmentalRiskList>(new Action<Hazard_EnvironmentalRiskList>(this.attach_Hazard_EnvironmentalRiskList_Sys_User1), new Action<Hazard_EnvironmentalRiskList>(this.detach_Hazard_EnvironmentalRiskList_Sys_User1));
this._Hazard_HazardList = new EntitySet<Hazard_HazardList>(new Action<Hazard_HazardList>(this.attach_Hazard_HazardList), new Action<Hazard_HazardList>(this.detach_Hazard_HazardList));
this._Hazard_HazardList_Sys_User1 = new EntitySet<Hazard_HazardList>(new Action<Hazard_HazardList>(this.attach_Hazard_HazardList_Sys_User1), new Action<Hazard_HazardList>(this.detach_Hazard_HazardList_Sys_User1));
this._HJGL_FL_Data = new EntitySet<HJGL_FL_Data>(new Action<HJGL_FL_Data>(this.attach_HJGL_FL_Data), new Action<HJGL_FL_Data>(this.detach_HJGL_FL_Data));
this._InApproveManager_EquipmentIn = new EntitySet<InApproveManager_EquipmentIn>(new Action<InApproveManager_EquipmentIn>(this.attach_InApproveManager_EquipmentIn), new Action<InApproveManager_EquipmentIn>(this.detach_InApproveManager_EquipmentIn));
this._InApproveManager_EquipmentOut = new EntitySet<InApproveManager_EquipmentOut>(new Action<InApproveManager_EquipmentOut>(this.attach_InApproveManager_EquipmentOut), new Action<InApproveManager_EquipmentOut>(this.detach_InApproveManager_EquipmentOut));
this._InApproveManager_EquipmentQualityIn = new EntitySet<InApproveManager_EquipmentQualityIn>(new Action<InApproveManager_EquipmentQualityIn>(this.attach_InApproveManager_EquipmentQualityIn), new Action<InApproveManager_EquipmentQualityIn>(this.detach_InApproveManager_EquipmentQualityIn));
@@ -322305,6 +322659,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_FL_Data_Sys_User", Storage="_HJGL_FL_Data", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet<HJGL_FL_Data> HJGL_FL_Data
{
get
{
return this._HJGL_FL_Data;
}
set
{
this._HJGL_FL_Data.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_InApproveManager_EquipmentIn_Sys_User", Storage="_InApproveManager_EquipmentIn", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet<InApproveManager_EquipmentIn> InApproveManager_EquipmentIn
{
@@ -326636,6 +327003,18 @@ namespace Model
entity.ControllingPersonSys_User = null;
}
private void attach_HJGL_FL_Data(HJGL_FL_Data entity)
{
this.SendPropertyChanging();
entity.Sys_User = this;
}
private void detach_HJGL_FL_Data(HJGL_FL_Data entity)
{
this.SendPropertyChanging();
entity.Sys_User = null;
}
private void attach_InApproveManager_EquipmentIn(InApproveManager_EquipmentIn entity)
{
this.SendPropertyChanging();