mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-03 06:24:48 -04:00
v7: VORDemod to VORDemodMC conversion in swagger. Part of #1223
This commit is contained in:
@@ -4357,10 +4357,15 @@ bool WebAPIRequestMapper::getChannelSettings(
|
||||
channelSettings->setUdpSinkSettings(new SWGSDRangel::SWGUDPSinkSettings());
|
||||
channelSettings->getUdpSinkSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (channelSettingsKey == "VORDemodMCSettings")
|
||||
{
|
||||
channelSettings->setVorDemodMcSettings(new SWGSDRangel::SWGVORDemodMCSettings());
|
||||
channelSettings->getVorDemodMcSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (channelSettingsKey == "VORDemodSettings")
|
||||
{
|
||||
channelSettings->setVorDemodSettings(new SWGSDRangel::SWGVORDemodSettings());
|
||||
channelSettings->getVorDemodSettings()->fromJsonObject(settingsJsonObject);
|
||||
channelSettings->setVorDemodScSettings(new SWGSDRangel::SWGVORDemodSCSettings());
|
||||
channelSettings->getVorDemodScSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (channelSettingsKey == "WFMDemodSettings")
|
||||
{
|
||||
@@ -5077,7 +5082,8 @@ void WebAPIRequestMapper::resetChannelSettings(SWGSDRangel::SWGChannelSettings&
|
||||
channelSettings.setSsbModSettings(nullptr);
|
||||
channelSettings.setUdpSourceSettings(nullptr);
|
||||
channelSettings.setUdpSinkSettings(nullptr);
|
||||
channelSettings.setVorDemodSettings(nullptr);
|
||||
channelSettings.setVorDemodMcSettings(nullptr);
|
||||
channelSettings.setVorDemodScSettings(nullptr);
|
||||
channelSettings.setWfmDemodSettings(nullptr);
|
||||
channelSettings.setWfmModSettings(nullptr);
|
||||
}
|
||||
@@ -5108,7 +5114,8 @@ void WebAPIRequestMapper::resetChannelReport(SWGSDRangel::SWGChannelReport& chan
|
||||
channelReport.setSsbModReport(nullptr);
|
||||
channelReport.setUdpSourceReport(nullptr);
|
||||
channelReport.setUdpSinkReport(nullptr);
|
||||
channelReport.setVorDemodReport(nullptr);
|
||||
channelReport.setVorDemodMcReport(nullptr);
|
||||
channelReport.setVorDemodScReport(nullptr);
|
||||
channelReport.setWfmDemodReport(nullptr);
|
||||
channelReport.setWfmModReport(nullptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user