Commit Graph

121 Commits

Author SHA1 Message Date
cb9e8dd672 nullable enable (часть 3) 2023-04-14 10:02:38 +05:00
2431557539 #nullable enable (part 2) 2023-04-13 15:34:16 +05:00
ngfrolov
312d653aec
fix #9844930;
Enable nullable for OperationsStatService.
2023-04-07 16:49:28 +05:00
ngfrolov
1f130c0d48
Hotfix OperationsStatService.CalcTvdLagDays() 2023-03-10 15:37:49 +05:00
ngfrolov
1ca72d50d1
StatWellDto Add TvdLagDays and calculation. 2023-03-06 16:12:26 +05:00
927935a523 добавление новых категорий 2023-03-01 11:39:47 +05:00
ngfrolov
3bd6c7d0fb
MemoryCacheExtentions delete GetOrCreateBasic* based on DbContext 2023-02-22 09:40:02 +05:00
ngfrolov
4750fe38d6
Merge branch 'dev' into feature/8879776_well_tree_with_stat 2023-02-17 09:50:37 +05:00
c7a6e38315 1. Возвращаемый тип списка плановых операций - IEnumerable<WellOperationDto>
2. Добавлен CancellationToken token
3. Рефактор запроса на получение списка плановых операций
4. Проверка на доступность скважины пользователю
5. Сортировка данных по дате в методе MergeArrays
2023-02-16 09:51:55 +05:00
ngfrolov
fda5385e46
IWellService refactor.
- Add #nullable,
- Add WellRequest,
- Remove obsolete method
2023-02-15 17:57:32 +05:00
aa3b96b31b Плановые операции в суточном рапорте.
1. Добавлен столбец IdPlan в WellOperation
2. Перписан метод MergeArrays
3. Формирование списка плановых операций для сопоставления с фактическими (GetOperationsPlan в WellOperationController)
2023-02-15 17:02:43 +05:00
ngfrolov
56be094b83
fix WellOperationTemplate sort operations names 2023-01-23 11:15:25 +05:00
ngfrolov
f5becebbeb #7987467 Add telemetry statistic calc (not completed) 2022-12-30 15:30:12 +05:00
ngfrolov
7585aefc4e WellOperationService to WellOperationRepository 2022-12-28 17:38:53 +05:00
ngfrolov
fb4bb375e1 Merge branch 'dev' into feature/ProcessMapReport 2022-12-28 15:22:50 +05:00
bfc9376733 #7987467 + 2022-12-27 14:30:52 +05:00
ngfrolov
689872d1e5 WellOperationRepository DRAFT 2022-12-22 15:27:35 +05:00
ngfrolov
9eead7a757 WellOperation* remove default cancellation tokens 2022-12-22 11:26:19 +05:00
ngfrolov
7b0e6ce23d IWellOperationService/Controller replace arguments by request class 2022-12-21 18:02:22 +05:00
ngfrolov
cc8a4fa200 Fix WellOperationService.GetOperationsAsync exception by call Min on empty collection 2022-12-20 15:58:35 +05:00
ngfrolov
a4db3e56d3 #7796681 Добавление секций в шаблон файла импорта 2022-12-12 11:12:20 +05:00
Фролов
39a2ddc3a5 Fix operations ids in services 2022-12-09 18:32:18 +05:00
ngfrolov
95f0c1935b nit rename 2022-12-07 09:02:04 +05:00
1cf2d745b3 refact warnings to WellOperationService 2022-12-06 22:34:48 +05:00
64e51915c8 all changes but database and but migrations 2022-12-02 15:54:55 +05:00
ngfrolov
e837baf5e7 replace CacheDb in OperationsStatService by IMemoryCache 2022-11-18 15:25:38 +05:00
ngfrolov
ede40c9a23 replace CacheDb in WellOperationService by ms.MemoryCache 2022-11-18 15:17:38 +05:00
ngfrolov
34e0781287 6623067 nit 2022-10-19 14:54:53 +05:00
9d67a7089b #6623067 Изменение методики расчета рейсовой скорости 2022-10-18 11:00:34 +05:00
Фролов
e634094738 fix nullable warnings 2022-07-04 17:48:14 +05:00
ngfrolov
cf98bd8a20 Crud services moved to Repository directory 2022-06-16 12:33:05 +05:00
ngfrolov
7080b3e855 autoclean. 2022-06-15 14:57:37 +05:00
ngfrolov
4db67113b4 CrudService очищен от неиспользуемого кода.
CrudCacheService Адаптировано для новой схемы кеширования.
Убраны extention методы для mapster.
2022-06-06 15:43:47 +05:00
ngfrolov
00cfb0909c DetectorSlipsTime Add new condition 2022-05-12 17:21:06 +05:00
ngfrolov
3e7a8da219 Add StartDate to WellDto 2022-05-06 16:35:16 +05:00
ngfrolov
be8287f041 Add detected operations controller 2022-04-28 15:04:13 +05:00
ngfrolov
fa9486e44d grouping services and controllers 2022-04-11 18:00:34 +05:00
ngfrolov
0521809e6e fix timezone in tvd 2022-03-29 10:36:18 +05:00
ngfrolov
b12c3efffc Fix ScheduleReportService correct deltaDepth 2022-03-18 16:54:40 +05:00
ngfrolov
3f2a7406d2 Add ScheduleReport 2022-03-17 16:56:13 +05:00
ngfrolov
c2a691f224 Simplify dependencies 2022-03-16 16:07:37 +05:00
ngfrolov
08d351a439 Add notice to WellOperationImportTemplate 2022-03-16 16:06:52 +05:00
Фролов
fdc22f4f94 start report tvd 2022-03-11 18:07:25 +05:00
Фролов
efdcb4f211 Add nptDays to WellOperationService 2022-03-11 16:53:31 +05:00
Фролов
b613cb5e1f rename WellOperationDto.NptDays to NptHours 2022-03-10 17:17:52 +05:00
Фролов
3ebb0020f5 OperationsStatService add calc cumulative non productive time 2022-03-04 10:15:52 +05:00
Фролов
bafa372d66 rename some methods 2022-03-02 17:42:34 +05:00
Харченко Владимир
52c8f6a79b Fix: Added null check for cluster stats with no operations 2022-01-25 15:00:17 +05:00
Фролов
9eb1070941 Add Day to TVD 2022-01-12 17:46:33 +05:00
Фролов
345ca47f87 CS2-135. Db model uses DateTimeOffset. see about using DateTime[Offset].md 2022-01-05 17:50:45 +05:00
Фролов
4872b4a495 не доделано перед праздниками 2021-12-30 17:05:44 +05:00
Фролов
95df836155 Add WellOperationController.GetSectionTypes() 2021-12-22 17:09:26 +05:00
Харченко Владимир
33c3e74e53 Added new well section types 2021-12-22 16:06:30 +05:00
Харченко Владимир
1ec76e812f CS2-99: Fixed well fact end date depending on well state 2021-12-21 16:36:28 +05:00
Фролов
6dc3137627 update default WellOperationCategories 2021-12-08 15:38:38 +05:00
Фролов
6565957c34 rider recomendations 2021-12-08 15:29:41 +05:00
Фролов
5752ad40b7 some rider recommendations and spelling 2021-12-07 18:27:52 +05:00
Фролов
ee01ab30db Забрал домой 2021-12-07 11:34:06 +05:00
KharchenkoVladimir
389b519f4b CS2-107: Small guard fix for default result of DB query 2021-11-23 11:31:47 +05:00
KharchenkoVladimir
d361c9a9b4 CS2-107: Added calculation of max and average Rop for cluster wells 2021-11-22 17:29:19 +05:00
Фролов
1c91c31417 Refactor CacheDb. replace tuple by private class 2021-11-11 10:57:08 +05:00
Фролов
4968ca4382 add IdState to StatWell 2021-10-20 14:15:53 +05:00
Фролов
eab95cb7a1 Refactor GetLastTelemetryDate(..) in services (single resp).
Add State and LastTelemetryDate into StatWellDto.
2021-10-20 12:52:31 +05:00
Фролов
4878a8c25c Add SpinPlcVersion to TelemetryInfoDto 2021-10-13 17:15:00 +05:00
Фролов
80fdfce467 nit WellOperationsStatService Add companies to wells with no operations 2021-10-13 15:53:43 +05:00
Фролов
6439bba779 Fix WellOperationsStatService.GetStatClusterAsync() Add empty stat for wells with no operations 2021-10-13 15:45:24 +05:00
Фролов
50c3cca8b8 CS2-84 При формировании статистики по кусту нет фильтра по доступным скважинам 2021-10-12 18:06:47 +05:00
Фролов
b800759a09 CS2-95 В WellOperationStatController добавить метод получения статистики по скважинам и секциям по массиву id скважин 2021-10-12 16:07:08 +05:00
Фролов
d73cc9692f Replace WellOperationImportTemplate.xltx to WellOperationImportTemplate.xlsx 2021-10-11 15:28:21 +05:00
Фролов
9117471f82 WellOperationImportService Add GetTemplate(),
Improve error handling.
2021-10-11 13:45:06 +05:00
Фролов
e604d8a031 make WellOperations import and export. ExcelTemplate embedded to infrastructure. 2021-10-09 20:16:22 +05:00