Доработка. Применяется рекомендуемый период ЛЧМ для цели.

This commit is contained in:
MaD_CaT
2026-02-27 15:58:28 +03:00
parent 8f2b5aa05b
commit 3b3f9f7582

View File

@@ -386,6 +386,8 @@ func on_interfer_create(interfer_name, sel_threats, fs_arr, power, u, ecms) -> v
var id = item.id
param['freq'] = item.freq
param['width'] = item.width * width_coef
if item.rparams.has('period'):
param['period'] = item.rparams['period']
if (item.rkrp != '') and item.fflags.rkrp and auto_enabled:
var krp = get_krp(item)
if krp != '':
@@ -616,6 +618,8 @@ func set_rparams(threat: threats.Threat, params: Dictionary):
params['width'] = threat.rparams['width'] * width_coef
else:
params['width'] = threat.width * width_coef
if threat.rparams.has('period'):
params['period'] = threat.rparams['period']
check_width(params)
if threat.rparams.has('filename'):
params['filename'] = threat.rparams['filename']