Exemplo n.º 1
0
 public bool Equals(XParentSet scan)
 {
     return(scan.Parent0BodyID == 0 &&
            this.Parent0Type == scan.Parent0Type &&
            this.Parent1BodyId == scan.Parent1BodyID &&
            this.Parent1Type == scan.Parent1Type &&
            this.Parent2BodyId == scan.Parent2BodyID &&
            this.Parent2Type == scan.Parent2Type &&
            this.Parent3BodyId == scan.Parent3BodyID &&
            this.Parent3Type == scan.Parent3Type &&
            this.Parent4BodyId == scan.Parent4BodyID &&
            this.Parent4Type == scan.Parent4Type &&
            this.Parent5BodyId == scan.Parent5BodyID &&
            this.Parent5Type == scan.Parent5Type &&
            this.Parent6BodyId == scan.Parent6BodyID &&
            this.Parent6Type == scan.Parent6Type &&
            this.Parent7BodyId == scan.Parent7BodyID &&
            this.Parent7Type == scan.Parent7Type);
 }
Exemplo n.º 2
0
 public ParentSet(XParentSet scan, int id = 0, int?parentid = null)
 {
     Id            = id;
     ParentId      = parentid;
     Parent0Type   = scan.Parent0Type;
     Parent1BodyId = scan.Parent1BodyID;
     Parent1Type   = scan.Parent1Type;
     Parent2BodyId = scan.Parent2BodyID;
     Parent2Type   = scan.Parent2Type;
     Parent3BodyId = scan.Parent3BodyID;
     Parent3Type   = scan.Parent3Type;
     Parent4BodyId = scan.Parent4BodyID;
     Parent4Type   = scan.Parent4Type;
     Parent5BodyId = scan.Parent5BodyID;
     Parent5Type   = scan.Parent5Type;
     Parent6BodyId = scan.Parent6BodyID;
     Parent6Type   = scan.Parent6Type;
     Parent7BodyId = scan.Parent7BodyID;
     Parent7Type   = scan.Parent7Type;
 }