public void Edit(LocationCardPosition pos)
 {
     this.CardId        = pos.CardId;
     this.X             = pos.X;
     this.Y             = pos.Y;
     this.Z             = pos.Z;
     this.DateTimeStamp = pos.DateTimeStamp;
     this.DateTime      = pos.DateTime;
     this.Power         = pos.Power;
     this.Number        = pos.Number;
     this.Flag          = pos.Flag;
     this.Archors       = pos.Archors;
     this.AreaId        = pos.AreaId;
     this.AreaState     = pos.AreaState;
     this.PowerState    = pos.PowerState;
     this.MoveState     = pos.MoveState;
     this.ArchorsText   = pos.ArchorsText;
     //this.AreaPath = pos.AreaPath;
     this.PersonId = pos.PersonId;
 }
Esempio n. 2
0
        public LocationCardPosition Clone()
        {
            LocationCardPosition copy = new LocationCardPosition();

            copy.CardId        = this.CardId;
            copy.X             = this.X;
            copy.Y             = this.Y;
            copy.Z             = this.Z;
            copy.DateTimeStamp = this.DateTimeStamp;
            copy.DateTime      = this.DateTime;
            copy.Power         = this.Power;
            copy.Number        = this.Number;
            copy.Flag          = this.Flag;
            copy.Archors       = this.Archors;
            copy.AreaId        = this.AreaId;
            copy.AreaState     = this.AreaState;
            copy.PowerState    = this.PowerState;
            copy.MoveState     = this.MoveState;
            copy.ArchorsText   = this.ArchorsText;
            //copy.AreaPath = this.AreaPath;
            copy.PersonId = this.PersonId;
            return(copy);
        }
        public LocationCardPosition Clone()
        {
            LocationCardPosition copy = this.CloneObjectByBinary();

            return(copy);
        }