Example #1
0
    public static string  stringFromCommandKind(TypeCommandKind the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandKind.CommandKind_GuessThatLyricCommand:
            return("GuessThatLyricCommand");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Example #2
0
    public static string  stringFromCommandKind(TypeCommandKind the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandKind.CommandKind_CarControlWindowCommand:
            return("CarControlWindowCommand");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Example #3
0
    public static string  stringFromCommandKind(TypeCommandKind the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandKind.CommandKind_CarControlClimateModeNotUnderstood:
            return("CarControlClimateModeNotUnderstood");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
    public static string  stringFromCommandKind(TypeCommandKind the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandKind.CommandKind_HomeAutomationControlCommand:
            return("HomeAutomationControlCommand");

        case TypeCommandKind.CommandKind_HomeAutomationListUserDataCommand:
            return("HomeAutomationListUserDataCommand");

        case TypeCommandKind.CommandKind_HomeAutomationQueryCommand:
            return("HomeAutomationQueryCommand");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Example #5
0
 protected override void handle_result(TypeCommandKind result)
 {
     top.value.Add(result);
 }
Example #6
0
            protected override void handle_result(TypeCommandKind result)
            {
//@@@        Debug.Assert(!have_value);
                have_value = true;
                value      = result;
            }
Example #7
0
 protected abstract void handle_result(TypeCommandKind result);
Example #8
0
 public void setCommandKind(TypeCommandKind new_value)
 {
     setCommandKind();
 }
Example #9
0
 public void setCommandKind(TypeCommandKind new_value)
 {
     flagHasCommandKind = true;
     storeCommandKind   = new_value;
 }