using TracingDB.Entities; namespace TracingDB { public class ScanVerificationInfo { public Workstep Workstep; /// null = verification is disabled public bool VerifyReferencePart; /// true = verify current workstep ReferencePart with another part /// false = verify Part from current workstep parts with ReferencePart of another Workstep public Part Part; /// Applicable when VerifyReferencePart == false /// Constructor that disables verification public ScanVerificationInfo() { Workstep = null; } public ScanVerificationInfo(Workstep workstep, bool verifyReferencePart, Part part) { Workstep = workstep; VerifyReferencePart = verifyReferencePart; Part = part; } } }