forked from ddrilling/AsbCloudServer
DetectorStaticSurveying update conditions
This commit is contained in:
parent
f4b3dfd9fe
commit
6e95e68551
@ -1,4 +1,6 @@
|
|||||||
using AsbCloudDb.Model;
|
using AsbCloudDb.Model;
|
||||||
|
using System.Linq;
|
||||||
|
using System;
|
||||||
|
|
||||||
namespace AsbCloudInfrastructure.Services.DetectOperations.Detectors
|
namespace AsbCloudInfrastructure.Services.DetectOperations.Detectors
|
||||||
{
|
{
|
||||||
@ -20,7 +22,7 @@ namespace AsbCloudInfrastructure.Services.DetectOperations.Detectors
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
var delta = point0.WellDepth - point0.BitDepth;
|
var delta = point0.WellDepth - point0.BitDepth;
|
||||||
if (delta > 2.5d || delta < 0.8d)
|
if (delta > 2.5d || delta < 0.5d)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (point0.RotorSpeed > 30)
|
if (point0.RotorSpeed > 30)
|
||||||
@ -40,17 +42,17 @@ namespace AsbCloudInfrastructure.Services.DetectOperations.Detectors
|
|||||||
var point0 = telemetry[position];
|
var point0 = telemetry[position];
|
||||||
|
|
||||||
var delta = point0.WellDepth - point0.BitDepth;
|
var delta = point0.WellDepth - point0.BitDepth;
|
||||||
if (delta > 2.5d || delta < 0.8d)
|
if (delta > 2.5d )
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (point0.RotorSpeed > 30)
|
if (point0.RotorSpeed > 30)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (RisesFromBegin(telemetry, t => t.Pressure, position, 10, 5))
|
if (RisesFromBegin(telemetry, t => t.Pressure, position, 10, 15))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (ContainsDeviation(telemetry, t => t.BlockPosition, position, 10, 0.05))
|
if (ContainsDeviation(telemetry, t => t.BlockPosition, position, 10, 0.05))
|
||||||
return false;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Признак начала операции =
|
Признак начала операции =
|
||||||
( давление > 15 атм ) И
|
( давление > 15 атм ) И
|
||||||
( расстояние от долота до забоя > 0.8м ) И
|
( расстояние от долота до забоя > 0.5м ) И
|
||||||
( расстояние от долота до забоя < 2.5м ) И
|
( расстояние от долота до забоя < 2.5м ) И
|
||||||
( обороты ротора < 30 об/м ) И
|
( обороты ротора < 30 об/м ) И
|
||||||
( движение тал.блока в течении 60 сек изменяется менее чем на 3 см ) И
|
( движение тал.блока в течении 60 сек изменяется менее чем на 3 см ) И
|
||||||
@ -15,7 +15,7 @@
|
|||||||
Признак окончания операции =
|
Признак окончания операции =
|
||||||
( расстояние от долота до забоя > 2.5м ) ИЛИ
|
( расстояние от долота до забоя > 2.5м ) ИЛИ
|
||||||
( обороты ротора > 30 об/м ) ИЛИ
|
( обороты ротора > 30 об/м ) ИЛИ
|
||||||
( давление за следующие 10 сек вырастет на 5 атм ) ИЛИ
|
( давление за следующие 10 сек вырастет на 15 атм ) ИЛИ
|
||||||
( движение тал.блока в течении 10 сек изменяется более чем на 3 см )
|
( движение тал.блока в течении 10 сек изменяется более чем на 3 см )
|
||||||
|
|
||||||
## Ключевой параметр
|
## Ключевой параметр
|
||||||
|
Loading…
Reference in New Issue
Block a user