исправление полей в SCPC модеме
This commit is contained in:
		@@ -524,7 +524,7 @@ public:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    void setQosSettings(bool enabled, const std::string& str, bool readback = true) {
 | 
					    void setQosSettings(bool enabled, const std::string& str, bool readback = true) {
 | 
				
			||||||
        std::lock_guard lock(this->cpApiMutex);
 | 
					        std::lock_guard lock(this->cpApiMutex);
 | 
				
			||||||
        logCpApiError("api_driver::TerminalApiDaemon::setQosSettings()->CP_SetDmaDebug()", CP_SetDmaDebug(sid, "begin_save_config", ""));
 | 
					        logCpApiError("api_driver::TerminalApiDaemon::setQosSettings()->CP_SetDmaDebug(begin_save_config)", CP_SetDmaDebug(sid, "begin_save_config", ""));
 | 
				
			||||||
        logCpApiError("api_driver::TerminalApiDaemon::setQosSettings()->CP_SetQoSSettings()", CP_SetQoSSettings(this->sid, str, enabled));
 | 
					        logCpApiError("api_driver::TerminalApiDaemon::setQosSettings()->CP_SetQoSSettings()", CP_SetQoSSettings(this->sid, str, enabled));
 | 
				
			||||||
        if (readback) {
 | 
					        if (readback) {
 | 
				
			||||||
            bool tmp1; std::string tmp2;
 | 
					            bool tmp1; std::string tmp2;
 | 
				
			||||||
@@ -535,7 +535,7 @@ public:
 | 
				
			|||||||
                this->qosClassesJson = tmp2.empty() ? DEFAULT_QOS_CLASSES : tmp2;
 | 
					                this->qosClassesJson = tmp2.empty() ? DEFAULT_QOS_CLASSES : tmp2;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        logCpApiError("api_driver::TerminalApiDaemon::setQosSettings()->CP_SetDmaDebug()", CP_SetDmaDebug(sid, "save_config", ""));
 | 
					        logCpApiError("api_driver::TerminalApiDaemon::setQosSettings()->CP_SetDmaDebug(save_config)", CP_SetDmaDebug(sid, "save_config", ""));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    void setNetworkSettings(TerminalNetworkSettings& s, bool readback = true) {
 | 
					    void setNetworkSettings(TerminalNetworkSettings& s, bool readback = true) {
 | 
				
			||||||
@@ -985,6 +985,8 @@ void api_driver::ApiDriver::setCincSettings(boost::property_tree::ptree &pt) {
 | 
				
			|||||||
    s.max_delay = pt.get<uint32_t>(json_path("cinc.delayMax", '/'));
 | 
					    s.max_delay = pt.get<uint32_t>(json_path("cinc.delayMax", '/'));
 | 
				
			||||||
    s.min_delay = pt.get<uint32_t>(json_path("cinc.delayMin", '/'));
 | 
					    s.min_delay = pt.get<uint32_t>(json_path("cinc.delayMin", '/'));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    s.freq_offset = pt.get<uint32_t>(json_path("cinc.searchBandwidth", '/'));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    this->daemon->setSettingsCinc(s);
 | 
					    this->daemon->setSettingsCinc(s);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -347,6 +347,10 @@
 | 
				
			|||||||
                        <option value="delay">Окном задержки</option>
 | 
					                        <option value="delay">Окном задержки</option>
 | 
				
			||||||
                    </select>
 | 
					                    </select>
 | 
				
			||||||
                </label>
 | 
					                </label>
 | 
				
			||||||
 | 
					                <label>
 | 
				
			||||||
 | 
					                    <span>Полоса поиска, кгц ±</span>
 | 
				
			||||||
 | 
					                    <input v-model="param.cinc.searchBandwidth" type="number" min="0" max="100" step="1"/>
 | 
				
			||||||
 | 
					                </label>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                <h3 v-show="param.cinc.mode === 'positional'">Настройки позиционирования</h3>
 | 
					                <h3 v-show="param.cinc.mode === 'positional'">Настройки позиционирования</h3>
 | 
				
			||||||
                <label v-show="param.cinc.mode === 'positional'">
 | 
					                <label v-show="param.cinc.mode === 'positional'">
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user