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); }
public IWheel SetValueOnWheel(IWheel wheel, string pattern) { var year = pattern.Trim(' ').Replace("DOT", " "); int convertedYear = AWheelOperations.GetIntegerFromString(year); wheel.DotNumber = convertedYear; return(wheel); }
public IWheel SetValueOnWheel(IWheel wheel, string pattern) { wheel.WeightIndex = AWheelOperations.GetIntegerFromString(pattern); return(wheel); }