Job name and operator

This commit is contained in:
Mike Phares 2023-05-10 12:22:24 -07:00
parent abf52afef9
commit 6f49fa2cee
4 changed files with 4 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public class FromIQS
_ = result
.Append(" and pr.f_name = '").Append(description.Reactor).AppendLine("' ")
.Append(" and pd.f_name = '").Append(description.PSN).AppendLine("' ")
.AppendLine(" and jd.f_name in ('SRP2100') ")
.AppendLine(" and jd.f_name in ('SRP') ")
.Append(" and jd.f_name = '").Append(logistics.MesEntity).AppendLine("' ")
.Append(" and dateadd(HH, -7, (dateadd(SS, convert(bigint, se.f_sgtm), '19700101'))) = '").Append(dateTime).AppendLine("' ")
.AppendLine(" ) as iq ")

View File

@ -190,6 +190,7 @@ public class Description : IDescription, Shared.Properties.IDescription
//
UniqueId = detail.UniqueId,
HeaderUniqueId = detail.HeaderUniqueId,
Number = detail.Number,
Depth = detail.Depth,
Raw = detail.Raw,
Edited = detail.Edited,

View File

@ -5,6 +5,7 @@ public class Detail
public string HeaderUniqueId { get; set; }
public string UniqueId { get; set; }
public string Number { get; set; }
public string Depth { get; set; }
public string Raw { get; set; }
public string Edited { get; set; }

View File

@ -273,6 +273,7 @@ public partial class ProcessData : IProcessData
{
HeaderUniqueId = uniqueId,
UniqueId = string.Concat(uniqueId, "_Point-", profilePoint.Number),
Number = profilePoint.Number.ToString(),
Depth = profilePoint.Depth.ToString(),
Raw = profilePoint.Raw.ToString(),
Edited = string.Concat(profilePoint.Edited),