Пример #1
0
        public WorkoutSet(int repeats,
                          int workoutsetdistance,
                          int duration,
                          int orderNum,
                          WorkoutStroke stroke,
                          int pacetime   = 0,
                          int restperiod = 0,
                          int E1         = 0,
                          int E2         = 0,
                          int E3         = 0,
                          int S1         = 0,
                          int S2         = 0,
                          int S3         = 0,
                          int REC        = 0)
        {
            Repeats            = repeats;
            WorkoutSetDistance = workoutsetdistance;
            SingleDuration     = duration;
            RestPeriod         = restperiod;
            OrderNum           = orderNum;
            Stroke             = stroke;

            E1  = this.E1;
            E2  = this.E2;
            E3  = this.E3;
            S1  = this.S1;
            S2  = this.S2;
            S3  = this.S3;
            REC = this.REC;
        }
Пример #2
0
 public WorkoutSet(int orderNum)
 {
     OrderNum = orderNum;
     Stroke   = new WorkoutStroke(-1, "Default", "Default");
 }