试压管理修改。增加试压看板,和试压包打印绑值
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
namespace Model
|
||||
{
|
||||
public class TestPackageAnalyzeOutput
|
||||
{
|
||||
/// <summary>
|
||||
/// 试压包号
|
||||
/// </summary>
|
||||
public string PTP_ID { get; set; }
|
||||
/// <summary>
|
||||
/// 试压包编号
|
||||
/// </summary>
|
||||
public string TestPackageNo { get; set; }
|
||||
/// <summary>
|
||||
/// 单位工程名称
|
||||
/// </summary>
|
||||
public string UnitWorkName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否具备试压条件(全通过数量 == 管线数量,且未通过数为0)。
|
||||
/// </summary>
|
||||
public bool CanPressureTest { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 检测完成百分比(已检测焊口 / 总焊口 * 100,保留两位小数)。
|
||||
/// </summary>
|
||||
public decimal DetectionCompletionPercent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊口完成百分比(已焊口 / 总焊口 * 100,保留两位小数)。
|
||||
/// </summary>
|
||||
public decimal WeldCompletionPercent { get; set; }
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public string StateStr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前试压包下的管线总数。
|
||||
/// </summary>
|
||||
public int TotalPipelines { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前试压包下的焊口总数。
|
||||
/// </summary>
|
||||
public int TotalWeldJoints { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前试压包下已焊接的焊口数。
|
||||
/// </summary>
|
||||
public int CompletedWeldJoints { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前试压包下已检测的焊口数(去重)。
|
||||
/// </summary>
|
||||
public int DetectedWeldJoints { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -6969,6 +6969,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<View_HJGL_WeldJointDetectionType> View_HJGL_WeldJointDetectionType
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<View_HJGL_WeldJointDetectionType>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<View_HJGL_WPQ> View_HJGL_WPQ
|
||||
{
|
||||
get
|
||||
@@ -295600,6 +295608,159 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_HJGL_WeldJointDetectionType")]
|
||||
public partial class View_HJGL_WeldJointDetectionType
|
||||
{
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _PipelineCode;
|
||||
|
||||
private string _DetectionType;
|
||||
|
||||
private string _DetectionTypeStr;
|
||||
|
||||
private string _JointDetectionTypeStr;
|
||||
|
||||
private string _WeldJointId;
|
||||
|
||||
private string _WeldJointCode;
|
||||
|
||||
private string _WeldJointNumStr;
|
||||
|
||||
public View_HJGL_WeldJointDetectionType()
|
||||
{
|
||||
}
|
||||
|
||||
[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="_PipelineCode", DbType="NVarChar(50)")]
|
||||
public string PipelineCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PipelineCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PipelineCode != value))
|
||||
{
|
||||
this._PipelineCode = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DetectionType", DbType="NVarChar(150)")]
|
||||
public string DetectionType
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DetectionType;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DetectionType != value))
|
||||
{
|
||||
this._DetectionType = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DetectionTypeStr", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
public string DetectionTypeStr
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DetectionTypeStr;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DetectionTypeStr != value))
|
||||
{
|
||||
this._DetectionTypeStr = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointDetectionTypeStr", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
public string JointDetectionTypeStr
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._JointDetectionTypeStr;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._JointDetectionTypeStr != value))
|
||||
{
|
||||
this._JointDetectionTypeStr = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldJointId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string WeldJointId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WeldJointId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WeldJointId != value))
|
||||
{
|
||||
this._WeldJointId = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldJointCode", DbType="NVarChar(50)")]
|
||||
public string WeldJointCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WeldJointCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WeldJointCode != value))
|
||||
{
|
||||
this._WeldJointCode = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldJointNumStr", DbType="NVarChar(50)")]
|
||||
public string WeldJointNumStr
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WeldJointNumStr;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WeldJointNumStr != value))
|
||||
{
|
||||
this._WeldJointNumStr = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_HJGL_WPQ")]
|
||||
public partial class View_HJGL_WPQ
|
||||
{
|
||||
|
||||
@@ -245,6 +245,7 @@
|
||||
<Compile Include="HJGL\PrePipelineItem.cs" />
|
||||
<Compile Include="HJGL\SpWeldingDailyItem.cs" />
|
||||
<Compile Include="HJGL\sp_index_HJGLItem.cs" />
|
||||
<Compile Include="HJGL\TestPackageAnalyzeOutput.cs" />
|
||||
<Compile Include="HSSE\DigDataHSEDataCollectItem.cs" />
|
||||
<Compile Include="HSSE\PageDataPersonInOutItem.cs" />
|
||||
<Compile Include="HSSE\PuApiOutput.cs" />
|
||||
|
||||
Reference in New Issue
Block a user