wxString GuideAlgorithmHysteresis::GetSettingsSummary()
{
    // return a loggable summary of current mount settings
    return wxString::Format("Hysteresis = %.3f, Aggression = %.3f, Minimum move = %.3f\n",
            GetHysteresis(),
            GetAggression(),
            GetMinMove()
        );
}
bool GuideAlgorithmResistSwitch::GetParam(const wxString& name, double *val)
{
    bool ok = true;

    if (name == "minMove")
        *val = GetMinMove();
    else if (name == "fastSwitch")
        *val = GetFastSwitchEnabled() ? 1.0 : 0.0;
    else if (name == "aggression")
        *val = GetAggression();
    else
        ok = false;

    return ok;
}
wxString GuideAlgorithmResistSwitch::GetSettingsSummary()
{
    // return a loggable summary of current mount settings
    return wxString::Format("Minimum move = %.3f Aggression = %.f%% FastSwitch = %s\n",
        GetMinMove(), GetAggression() * 100.0, GetFastSwitchEnabled() ? "enabled" : "disabled");
}