VAGSuite.EDC15CFileParser.isAxisID C# (CSharp) Méthode

isAxisID() private méthode

private isAxisID ( int id ) : bool
id int
Résultat bool
        private bool isAxisID(int id)
        {
            int idstrip = id / 256;
            if (idstrip == 0xDB) return true;
            if (idstrip == 0xC0 || idstrip == 0xC1 || idstrip == 0xC2 || idstrip == 0xC3 || idstrip == 0xC4 || idstrip == 0xC5) return true;
            if (idstrip == 0xE0 || idstrip == 0xE4 || idstrip == 0xE5 || idstrip == 0xE9 || idstrip == 0xEA || idstrip == 0xEB || idstrip == 0xEC) return true;
            if (idstrip == 0xDA || idstrip == 0xDC || idstrip == 0xDD || idstrip == 0xDE) return true;
            if (idstrip == 0xF9 || idstrip == 0xFE) return true;
            if (idstrip == 0xD7 || idstrip == 0xE6) return true;
            if (idstrip == 0xD5) return true;
            if (idstrip == 0xD9 || idstrip == 0xE8) return true;
            if (idstrip == 0xD0) return true; //<20120822>
            if (idstrip == 0xCD || idstrip == 0xCB || idstrip == 0xCC || idstrip == 0xCA || idstrip == 0xC7) return true;
            if (idstrip == 0xC8 || idstrip == 0xC9 || idstrip == 0xC6 || idstrip == 0xCE || idstrip == 0xCF) return true;
            return false;
        }