예제 #1
0
void VelParaSetupHandler::GetModeSetupUiData(ModeSetupPara &info)
{
    AppSettings setting = ConfigManager::GetInstance()->AppSetting();

    info.calculate_method = setting.calculation_method();
    info.mode = setting.mode();
    info.channel_filter = setting.channel_filter();
    info.accuracy = setting.accuracy();
    info.z_join_calculate = setting.z_join_calculate();
}
예제 #2
0
bool CalculateVelocityHandler::StationAdjust()
{
    AppSettings setting = ConfigManager::GetInstance()->AppSetting();
    switch (setting.mode())
    {
    case 0:
        return StationAdjustModeP(selected_event_);
    case 1:
        return StationAdjustModeS(selected_event_);
    case 2:
        return StationAdjustModePS(selected_event_);
    default:
        return false;
    }

    return true;
}