public VINCarInfo DecodeVINNumber(string vin)
{
vin = vin.ToUpper();
VINCarInfo retval = new VINCarInfo();
if (vin.Length != 17) return retval;
retval.PlantInfo = decodePlantInfo(vin);
retval.Concern = decodeConcern(vin);
retval.Makeyear = decodeMakeYear(vin);
string platform = string.Empty;
string make = string.Empty;
retval.Model = decodeModel(vin, retval.Makeyear, out platform, out make);
retval.Platform = platform;
retval.Make = make;
retval.EngineType = decodeEngineType(vin);
retval.Valid = true;
return retval;
}