def getDevType(self, dev):
if self._devClassTree is None:<EOL><INDENT>self._initDevClasses()<EOL><DEDENT>return self._mapDevType.get(dev)<EOL>
Returns type of device dev.

        @return: Device type as string.