VAGSuite.VINDecoder.decodeEngineType C# (CSharp) Method

decodeEngineType() private method

private decodeEngineType ( string vin ) : string
vin string
return string
        private string decodeEngineType(string vin)
        {
            string retval = string.Empty;
            switch (vin[5])
            {
                case 'A':
                    retval = "Lowest output gas engine";
                    break;
                case 'B':
                    retval = "2nd lowest output gas engine";
                    break;
                case 'D':
                    retval = "VR6";
                    break;
                case 'F':
                    retval = "2nd lowest output diesel engine (1.6/1.9L TD/TDI)";
                    break;
                case 'G':
                    retval = "Lowest output diesel (1.5/1.6L)";
                    break;

            }
            return retval;
        }