diff --git a/AsbCloudInfrastructure/Services/DetectOperations/Detectors/DetectorStaticSurveying.cs b/AsbCloudInfrastructure/Services/DetectOperations/Detectors/DetectorStaticSurveying.cs index 35b3a903..24c02b09 100644 --- a/AsbCloudInfrastructure/Services/DetectOperations/Detectors/DetectorStaticSurveying.cs +++ b/AsbCloudInfrastructure/Services/DetectOperations/Detectors/DetectorStaticSurveying.cs @@ -1,4 +1,6 @@ using AsbCloudDb.Model; +using System.Linq; +using System; namespace AsbCloudInfrastructure.Services.DetectOperations.Detectors { @@ -20,7 +22,7 @@ namespace AsbCloudInfrastructure.Services.DetectOperations.Detectors return false; var delta = point0.WellDepth - point0.BitDepth; - if (delta > 2.5d || delta < 0.8d) + if (delta > 2.5d || delta < 0.5d) return false; if (point0.RotorSpeed > 30) @@ -40,17 +42,17 @@ namespace AsbCloudInfrastructure.Services.DetectOperations.Detectors var point0 = telemetry[position]; var delta = point0.WellDepth - point0.BitDepth; - if (delta > 2.5d || delta < 0.8d) + if (delta > 2.5d ) return true; if (point0.RotorSpeed > 30) return true; - if (RisesFromBegin(telemetry, t => t.Pressure, position, 10, 5)) + if (RisesFromBegin(telemetry, t => t.Pressure, position, 10, 15)) return true; if (ContainsDeviation(telemetry, t => t.BlockPosition, position, 10, 0.05)) - return false; + return true; return false; } diff --git a/AsbCloudInfrastructure/Services/DetectOperations/Specifications/Статический замер телесистемы.md b/AsbCloudInfrastructure/Services/DetectOperations/Specifications/Статический замер телесистемы.md index 3f7a9488..d62162b5 100644 --- a/AsbCloudInfrastructure/Services/DetectOperations/Specifications/Статический замер телесистемы.md +++ b/AsbCloudInfrastructure/Services/DetectOperations/Specifications/Статический замер телесистемы.md @@ -6,7 +6,7 @@ Признак начала операции = ( давление > 15 атм ) И - ( расстояние от долота до забоя > 0.8м ) И + ( расстояние от долота до забоя > 0.5м ) И ( расстояние от долота до забоя < 2.5м ) И ( обороты ротора < 30 об/м ) И ( движение тал.блока в течении 60 сек изменяется менее чем на 3 см ) И @@ -15,7 +15,7 @@ Признак окончания операции = ( расстояние от долота до забоя > 2.5м ) ИЛИ ( обороты ротора > 30 об/м ) ИЛИ - ( давление за следующие 10 сек вырастет на 5 атм ) ИЛИ + ( давление за следующие 10 сек вырастет на 15 атм ) ИЛИ ( движение тал.блока в течении 10 сек изменяется более чем на 3 см ) ## Ключевой параметр