Example #1
0
        public IWheel SetValueOnWheel(IWheel wheel, string pattern)
        {
            var splittet = pattern.Split('/');

            wheel.WheelWidth  = AWheelOperations.GetIntegerFromString(splittet[0]);
            wheel.WheelHeight = AWheelOperations.GetIntegerFromString(splittet[1]);
            return(wheel);
        }
Example #2
0
        public IWheel SetValueOnWheel(IWheel wheel, string pattern)
        {
            var year          = pattern.Trim(' ').Replace("DOT", " ");
            int convertedYear = AWheelOperations.GetIntegerFromString(year);

            wheel.DotNumber = convertedYear;
            return(wheel);
        }
Example #3
0
 public IWheel SetValueOnWheel(IWheel wheel, string pattern)
 {
     wheel.WeightIndex = AWheelOperations.GetIntegerFromString(pattern);
     return(wheel);
 }