This commit is contained in:
2024-05-26 22:29:27 +08:00
parent aec61bcebf
commit 7690087c95
11 changed files with 305 additions and 14 deletions
+275
View File
@@ -1155,6 +1155,14 @@ namespace Model
}
}
public System.Data.Linq.Table<View_PMIDetections> View_PMIDetections
{
get
{
return this.GetTable<View_PMIDetections>();
}
}
public System.Data.Linq.Table<View_PTP_TestPackageAudit> View_PTP_TestPackageAudit
{
get
@@ -43287,6 +43295,249 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_PMIDetections")]
public partial class View_PMIDetections
{
private string _ProjectId;
private string _InstallationId;
private string _WorkAreaId;
private string _UnitId;
private string _PipelineId;
private string _InstallationCode;
private string _WorkAreaCode;
private string _PipelineCode;
private System.Nullable<int> _PMINum;
private double _RateBys;
private System.Nullable<int> _PMIBySNum;
private double _RateByf;
private System.Nullable<int> _PMIByFNum;
public View_PMIDetections()
{
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="projectId", 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="_InstallationId", DbType="NVarChar(50)")]
public string InstallationId
{
get
{
return this._InstallationId;
}
set
{
if ((this._InstallationId != value))
{
this._InstallationId = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaId", DbType="NVarChar(50)")]
public string WorkAreaId
{
get
{
return this._WorkAreaId;
}
set
{
if ((this._WorkAreaId != value))
{
this._WorkAreaId = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")]
public string UnitId
{
get
{
return this._UnitId;
}
set
{
if ((this._UnitId != value))
{
this._UnitId = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string PipelineId
{
get
{
return this._PipelineId;
}
set
{
if ((this._PipelineId != value))
{
this._PipelineId = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationCode", DbType="NVarChar(50)")]
public string InstallationCode
{
get
{
return this._InstallationCode;
}
set
{
if ((this._InstallationCode != value))
{
this._InstallationCode = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaCode", DbType="NVarChar(20)")]
public string WorkAreaCode
{
get
{
return this._WorkAreaCode;
}
set
{
if ((this._WorkAreaCode != value))
{
this._WorkAreaCode = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineCode", DbType="NVarChar(100)")]
public string PipelineCode
{
get
{
return this._PipelineCode;
}
set
{
if ((this._PipelineCode != value))
{
this._PipelineCode = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PMINum", DbType="Int")]
public System.Nullable<int> PMINum
{
get
{
return this._PMINum;
}
set
{
if ((this._PMINum != value))
{
this._PMINum = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RateBys", DbType="Float NOT NULL")]
public double RateBys
{
get
{
return this._RateBys;
}
set
{
if ((this._RateBys != value))
{
this._RateBys = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PMIBySNum", DbType="Int")]
public System.Nullable<int> PMIBySNum
{
get
{
return this._PMIBySNum;
}
set
{
if ((this._PMIBySNum != value))
{
this._PMIBySNum = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RateByf", DbType="Float NOT NULL")]
public double RateByf
{
get
{
return this._RateByf;
}
set
{
if ((this._RateByf != value))
{
this._RateByf = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PMIByFNum", DbType="Int")]
public System.Nullable<int> PMIByFNum
{
get
{
return this._PMIByFNum;
}
set
{
if ((this._PMIByFNum != value))
{
this._PMIByFNum = value;
}
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_PTP_TestPackageAudit")]
public partial class View_PTP_TestPackageAudit
{
@@ -46405,6 +46656,8 @@ namespace Model
private string _Remark;
private System.Nullable<bool> _IsHand;
private EntityRef<Welder_Welder> _Welder_Welder;
#region
@@ -46443,6 +46696,8 @@ namespace Model
partial void OnIsPassChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
partial void OnIsHandChanging(System.Nullable<bool> value);
partial void OnIsHandChanged();
#endregion
public Welder_WelderQualify()
@@ -46775,6 +47030,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHand", DbType="Bit")]
public System.Nullable<bool> IsHand
{
get
{
return this._IsHand;
}
set
{
if ((this._IsHand != value))
{
this.OnIsHandChanging(value);
this.SendPropertyChanging();
this._IsHand = value;
this.SendPropertyChanged("IsHand");
this.OnIsHandChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Welder_WelderQualify_Welder_Welder", Storage="_Welder_Welder", ThisKey="WelderId", OtherKey="WelderId", IsForeignKey=true)]
public Welder_Welder Welder_Welder
{