Exemple #1
0
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_LockScreen:
            return("LockScreen");

        case TypeCommandType.CommandType_AirplaneMode:
            return("AirplaneMode");

        case TypeCommandType.CommandType_PowerSavingModeOn:
            return("PowerSavingModeOn");

        case TypeCommandType.CommandType_PowerSavingModeOff:
            return("PowerSavingModeOff");

        case TypeCommandType.CommandType_PowerOff:
            return("PowerOff");

        case TypeCommandType.CommandType_Restart:
            return("Restart");

        case TypeCommandType.CommandType_PowerOn:
            return("PowerOn");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Exemple #2
0
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_SpeedFaster:
            return("SpeedFaster");

        case TypeCommandType.CommandType_SpeedSlower:
            return("SpeedSlower");

        case TypeCommandType.CommandType_SpeedNormal:
            return("SpeedNormal");

        case TypeCommandType.CommandType_RepeatSlower:
            return("RepeatSlower");

        case TypeCommandType.CommandType_PitchHigher:
            return("PitchHigher");

        case TypeCommandType.CommandType_PitchLower:
            return("PitchLower");

        case TypeCommandType.CommandType_PitchDefault:
            return("PitchDefault");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Exemple #3
0
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_RingingMode:
            return("RingingMode");

        case TypeCommandType.CommandType_VibrateMode:
            return("VibrateMode");

        case TypeCommandType.CommandType_MuteMode:
            return("MuteMode");

        case TypeCommandType.CommandType_CheckRingerState:
            return("CheckRingerState");

        case TypeCommandType.CommandType_TurnVibrateOn:
            return("TurnVibrateOn");

        case TypeCommandType.CommandType_TurnVibrateOff:
            return("TurnVibrateOff");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Exemple #4
0
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_RotateUp:
            return("RotateUp");

        case TypeCommandType.CommandType_RotateDown:
            return("RotateDown");

        case TypeCommandType.CommandType_RotateIn:
            return("RotateIn");

        case TypeCommandType.CommandType_RotateOut:
            return("RotateOut");

        case TypeCommandType.CommandType_Defrost:
            return("Defrost");

        case TypeCommandType.CommandType_RotateToDefault:
            return("RotateToDefault");

        case TypeCommandType.CommandType_SaveDefaultRotation:
            return("SaveDefaultRotation");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Exemple #5
0
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_TurnWifiOn:
            return("TurnWifiOn");

        case TypeCommandType.CommandType_TurnWifiOff:
            return("TurnWifiOff");

        case TypeCommandType.CommandType_CheckWifiConnection:
            return("CheckWifiConnection");

        case TypeCommandType.CommandType_SearchWifiConnection:
            return("SearchWifiConnection");

        case TypeCommandType.CommandType_TurnOnWifiHotspot:
            return("TurnOnWifiHotspot");

        case TypeCommandType.CommandType_TurnOffWifiHotspot:
            return("TurnOffWifiHotspot");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Exemple #6
0
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_TurnOff:
            return("TurnOff");

        case TypeCommandType.CommandType_TurnOn:
            return("TurnOn");

        case TypeCommandType.CommandType_SetLow:
            return("SetLow");

        case TypeCommandType.CommandType_SetMedium:
            return("SetMedium");

        case TypeCommandType.CommandType_SetHigh:
            return("SetHigh");

        case TypeCommandType.CommandType_SetLower:
            return("SetLower");

        case TypeCommandType.CommandType_SetHigher:
            return("SetHigher");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Exemple #7
0
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_OpenWindow:
            return("OpenWindow");

        case TypeCommandType.CommandType_CloseWindow:
            return("CloseWindow");

        case TypeCommandType.CommandType_WipersAutomatic:
            return("WipersAutomatic");

        case TypeCommandType.CommandType_WipersLowSpeed:
            return("WipersLowSpeed");

        case TypeCommandType.CommandType_WipersHighSpeed:
            return("WipersHighSpeed");

        case TypeCommandType.CommandType_WipersOff:
            return("WipersOff");

        case TypeCommandType.CommandType_Defog:
            return("Defog");

        case TypeCommandType.CommandType_DefogOff:
            return("DefogOff");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_AdjustBrightness:
            return("AdjustBrightness");

        case TypeCommandType.CommandType_SetBrightness:
            return("SetBrightness");

        case TypeCommandType.CommandType_InvertColorsOn:
            return("InvertColorsOn");

        case TypeCommandType.CommandType_InvertColorsOff:
            return("InvertColorsOff");

        case TypeCommandType.CommandType_NightShiftOn:
            return("NightShiftOn");

        case TypeCommandType.CommandType_NightShiftOff:
            return("NightShiftOff");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_TakeAPicture:
            return("TakeAPicture");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Exemple #10
0
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_Raining:
            return("Raining");

        case TypeCommandType.CommandType_Stinks:
            return("Stinks");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_Retract:
            return("Retract");

        case TypeCommandType.CommandType_Deploy:
            return("Deploy");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_Foggy:
            return("Foggy");

        case TypeCommandType.CommandType_DarkOut:
            return("DarkOut");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_CheckBatteryState:
            return("CheckBatteryState");

        case TypeCommandType.CommandType_WhatsUsingBattery:
            return("WhatsUsingBattery");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Exemple #14
0
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_CruiseControlOn:
            return("CruiseControlOn");

        case TypeCommandType.CommandType_CruiseControlOff:
            return("CruiseControlOff");

        case TypeCommandType.CommandType_CruiseControlSpeedUp:
            return("CruiseControlSpeedUp");

        case TypeCommandType.CommandType_CruiseControlSlowDown:
            return("CruiseControlSlowDown");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Exemple #15
0
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_TurnOn:
            return("TurnOn");

        case TypeCommandType.CommandType_TurnOff:
            return("TurnOff");

        case TypeCommandType.CommandType_SetAuto:
            return("SetAuto");

        case TypeCommandType.CommandType_Flash:
            return("Flash");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_OpenDoor:
            return("OpenDoor");

        case TypeCommandType.CommandType_CloseDoor:
            return("CloseDoor");

        case TypeCommandType.CommandType_LockDoor:
            return("LockDoor");

        case TypeCommandType.CommandType_UnlockDoor:
            return("UnlockDoor");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_TurnLocationOn:
            return("TurnLocationOn");

        case TypeCommandType.CommandType_TurnLocationOff:
            return("TurnLocationOff");

        case TypeCommandType.CommandType_CheckLocationState:
            return("CheckLocationState");

        case TypeCommandType.CommandType_ToggleLocationState:
            return("ToggleLocationState");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Exemple #18
0
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_AdjustVolume:
            return("AdjustVolume");

        case TypeCommandType.CommandType_SetVolume:
            return("SetVolume");

        case TypeCommandType.CommandType_MuteSound:
            return("MuteSound");

        case TypeCommandType.CommandType_UnMuteSound:
            return("UnMuteSound");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_SeatForward:
            return("SeatForward");

        case TypeCommandType.CommandType_SeatBackward:
            return("SeatBackward");

        case TypeCommandType.CommandType_SeatUp:
            return("SeatUp");

        case TypeCommandType.CommandType_SeatDown:
            return("SeatDown");

        case TypeCommandType.CommandType_SeatLeanBack:
            return("SeatLeanBack");

        case TypeCommandType.CommandType_SeatLeanForward:
            return("SeatLeanForward");

        case TypeCommandType.CommandType_SeatMoreLumbar:
            return("SeatMoreLumbar");

        case TypeCommandType.CommandType_SeatLessLumbar:
            return("SeatLessLumbar");

        case TypeCommandType.CommandType_SaveSeatPosition:
            return("SaveSeatPosition");

        case TypeCommandType.CommandType_LoadSeatPosition:
            return("LoadSeatPosition");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Exemple #20
0
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_TooHot:
            return("TooHot");

        case TypeCommandType.CommandType_TooCold:
            return("TooCold");

        case TypeCommandType.CommandType_BadAir:
            return("BadAir");

        case TypeCommandType.CommandType_AskForFanMode:
            return("AskForFanMode");

        case TypeCommandType.CommandType_AskForTemperature:
            return("AskForTemperature");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Exemple #21
0
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_ShowAudioScreen:
            return("ShowAudioScreen");

        case TypeCommandType.CommandType_ShowMapScreen:
            return("ShowMapScreen");

        case TypeCommandType.CommandType_ShowRadioScreen:
            return("ShowRadioScreen");

        case TypeCommandType.CommandType_ShowSpotifyScreen:
            return("ShowSpotifyScreen");

        case TypeCommandType.CommandType_ShowUSBAudioScreen:
            return("ShowUSBAudioScreen");

        case TypeCommandType.CommandType_ShowClimateControlScreen:
            return("ShowClimateControlScreen");

        case TypeCommandType.CommandType_ShowPhoneScreen:
            return("ShowPhoneScreen");

        case TypeCommandType.CommandType_ShowHomeScreen:
            return("ShowHomeScreen");

        case TypeCommandType.CommandType_ShowDebugScreen:
            return("ShowDebugScreen");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
    public static string  stringFromCommandType(TypeCommandType the_enum)
    {
        switch (the_enum)
        {
        case TypeCommandType.CommandType_TurnBluetoothOn:
            return("TurnBluetoothOn");

        case TypeCommandType.CommandType_TurnBluetoothOff:
            return("TurnBluetoothOff");

        case TypeCommandType.CommandType_CheckBluetoothState:
            return("CheckBluetoothState");

        case TypeCommandType.CommandType_ToggleBluetoothState:
            return("ToggleBluetoothState");

        case TypeCommandType.CommandType_ShowBluetoothDevices:
            return("ShowBluetoothDevices");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
 public void setCommandType(TypeCommandType new_value)
 {
     flagHasCommandType = true;
     storeCommandType   = new_value;
 }
 protected override void handle_result(TypeCommandType result)
 {
     top.value.Add(result);
 }
            protected override void handle_result(TypeCommandType result)
            {
//@@@        Debug.Assert(!have_value);
                have_value = true;
                value      = result;
            }
 protected abstract void handle_result(TypeCommandType result);
 public void setCommandType(TypeCommandType new_value)
 {
     setCommandType();
 }