public int getCommand() throws Exception
    {
        int command = 0;
        switch (this.getType())
        {
            case 0:
                command = 0x80;
                break;
            case 1:
                command = 0x81;
                break;
            case 2:
                command = 0x82;
                break;
            case 3:
                command = 0x83;
                break;
            default:
                throw new Exception("Неизвестная команда!");
        }

        return command;
    }