Exemplo n.º 1
0
        public virtual object Clone()
        {
            SizeEntry sizeEntry = new SizeEntry();

            sizeEntry.Comment      = Comment;
            sizeEntry.ReportStatus = ReportStatus;
            sizeEntry.Name         = Name;
            sizeEntry.TrainingDay  = TrainingDay;
            if (Wymiary != null)
            {
                sizeEntry.Wymiary = Wymiary.Clone(false);
            }
            return(sizeEntry);
        }
Exemplo n.º 2
0
        public virtual Wymiary Clone(bool withId)
        {
            Wymiary wymiary = new Wymiary();

            if (withId)
            {
                wymiary.Id = Id;
            }
            wymiary.Weight       = Weight;
            wymiary.isNaCzczo    = isNaCzczo;
            wymiary.Klatka       = Klatka;
            wymiary.RightBiceps  = RightBiceps;
            wymiary.LeftBiceps   = LeftBiceps;
            wymiary.Pas          = Pas;
            wymiary.RightUdo     = RightUdo;
            wymiary.LeftUdo      = LeftUdo;
            wymiary.RightForearm = RightForearm;
            wymiary.LeftForearm  = LeftForearm;
            wymiary.dateTime     = dateTime;
            wymiary.Height       = Height;
            return(wymiary);
        }
Exemplo n.º 3
0
 public SizeEntry()
 {
     Wymiary = new Wymiary();
 }