Esempio n. 1
0
        private static string SwimTypeCode(Records.Common.Model.SwimType type)
        {
            switch (type)
            {
            case Model.SwimType.None: return("R");

            case Model.SwimType.Butterfly: return("S");

            case Model.SwimType.Backstroke: return("R");

            case Model.SwimType.Breaststroke: return("B");

            case Model.SwimType.Freestyle: return("F");

            case Model.SwimType.Medley: return("L");
            }
            return("");
        }
Esempio n. 2
0
 public Discipline(int baselength, SwimType swimType)
 {
     this.Factor     = 1;
     this.BaseLength = baselength;
     this.SwimType   = swimType;
 }