forked from ddrilling/AsbCloudServer
Fix #11111518 Ошибка при загрузке РТК - отчет
This commit is contained in:
parent
1fac8ef565
commit
0fbc54e715
@ -68,8 +68,13 @@ namespace AsbCloudInfrastructure.Services.ProcessMap
|
|||||||
|
|
||||||
foreach (var interval in processMapIntervals)
|
foreach (var interval in processMapIntervals)
|
||||||
{
|
{
|
||||||
|
// plans [ ][ ]
|
||||||
|
// interval [ ]
|
||||||
var processMapPlanInterval = processMapPlan
|
var processMapPlanInterval = processMapPlan
|
||||||
.Where(p => p.DepthStart >= interval.DepthStart && p.DepthEnd <= interval.DepthEnd);
|
.Where(p => p.DepthStart <= interval.DepthEnd && p.DepthEnd >= interval.DepthStart);
|
||||||
|
|
||||||
|
if (!processMapPlanInterval.Any())
|
||||||
|
continue;
|
||||||
|
|
||||||
var telemetryIndexEnd = Array.FindIndex(telemetryDataStat, telemetryIndexStart, t => t.WellDepthMin >= interval.DepthEnd);
|
var telemetryIndexEnd = Array.FindIndex(telemetryDataStat, telemetryIndexStart, t => t.WellDepthMin >= interval.DepthEnd);
|
||||||
if (telemetryIndexEnd < 0)
|
if (telemetryIndexEnd < 0)
|
||||||
@ -206,7 +211,6 @@ namespace AsbCloudInfrastructure.Services.ProcessMap
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class ParamStat
|
class ParamStat
|
||||||
|
Loading…
Reference in New Issue
Block a user