|
@@ -147,9 +147,10 @@ namespace X2D1NoRefTaskServer.Service
|
|
|
LogHelper.Warning($"【任务{dto.ID}】{capTime:yyyyMMddHHmmss}时刻未找到超短波信号ch1文件,跳过此组数据");
|
|
|
continue;
|
|
|
}
|
|
|
- if(!dto.Freqs.Any(p=>(p.FreqUp==dinfo.FreqHz))
|
|
|
+ var freqInfo = dto.Freqs.FirstOrDefault(p => p.FreqUp == dinfo.FreqHz);
|
|
|
+ if (freqInfo == null)
|
|
|
{
|
|
|
- continue;//跳过不是任务处理的频点,注意如果任务没有填频点则全处理
|
|
|
+ continue;//跳过不是任务处理的频点
|
|
|
}
|
|
|
//主星
|
|
|
var minfo = finfos.FirstOrDefault(m => m.Ch == 2);
|
|
@@ -174,7 +175,7 @@ namespace X2D1NoRefTaskServer.Service
|
|
|
DetectDto detectDto = new DetectDto()
|
|
|
{
|
|
|
file1 = cdbFile,//11局使用上行泄露信号进行检测
|
|
|
- dmcType = (DmcType)dto.TaskCheckType,//上行信号检测目前的算法只能使用基于能量的KY或IBS检测
|
|
|
+ dmcType = (DmcType)freqInfo.SigType,//上行信号检测目前的算法只能使用基于能量的KY或IBS检测
|
|
|
fsHz = minfo.FsHz,
|
|
|
};
|
|
|
detectDto.dmcType = detectDto.dmcType & ~DmcType.DAMA;//DAMA不支持上行信号检测,在这里移除掉
|