namespace OI.Metrology.Shared.DataModels; public class Pinned : HeaderCommon { public string Point1 { get; set; } public string Point2 { get; set; } public string Point3 { get; set; } public string Point4 { get; set; } public string Point5 { get; set; } public string Point6 { get; set; } public string Point7 { get; set; } public string Point8 { get; set; } public string Point9 { get; set; } public Pinned(HeaderCommon headerCommon, List values) { ID = headerCommon.ID; InsertDate = headerCommon.InsertDate; AttachmentID = headerCommon.AttachmentID; Title = headerCommon.Title; Date = headerCommon.Date; ToolTypeID = headerCommon.ToolTypeID; ToolTypeName = headerCommon.ToolTypeName; MesEntity = headerCommon.MesEntity; Employee = headerCommon.Employee; Layer = headerCommon.Layer; PSN = headerCommon.PSN; RDS = headerCommon.RDS; Reactor = headerCommon.Reactor; Recipe = headerCommon.Recipe; Zone = headerCommon.Zone; Point1 = values[0]; Point2 = values[1]; Point3 = values[2]; Point4 = values[3]; Point5 = values[4]; Point6 = values[5]; Point7 = values[6]; Point8 = values[7]; Point9 = values[8]; } }