MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / setApfLevel

Method setApfLevel

src/models/SliceModel.cpp:211–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211void SliceModel::setApfLevel(int v)
212{
213 v = std::clamp(v, 0, 100);
214 if (m_apfLevel == v) return;
215 m_apfLevel = v;
216 sendCommand(QString("slice set %1 apf_level=%2").arg(m_id).arg(v));
217 emit apfLevelChanged(v);
218}
219
220void SliceModel::setNbLevel(int v)
221{

Callers 3

cmdSetLevelMethod · 0.80
buildTabContentMethod · 0.80

Calls 1

sendCommandFunction · 0.85

Tested by

no test coverage detected