Commit Graph

240 Commits

Author SHA1 Message Date
Фролов
83e592ba86 CS2-60 ReportGenerator выдает неправильные значения при отсутствии данных в БД. 2021-09-23 15:26:55 +05:00
Фролов
9ccde70b98 cleanup 2021-09-23 15:26:54 +05:00
KharchenkoVV
9d609ed402 CS2-74: Changed using NPOI library to ClosedXML 2021-09-23 14:36:05 +05:00
Фролов
04d6b1c1a7 refactor names 2021-09-23 11:56:12 +05:00
Фролов
214c4dc84b Add IFileService.MoveAsync; 2021-09-23 11:55:25 +05:00
KharchenkoVV
9e89f87d47 Changed Drilling program creation to ClosedXML lib 2021-09-23 11:39:56 +05:00
Фролов
e93e1e72a1 переименовал ряд методов для лучшего понимания 2021-09-23 10:53:48 +05:00
Фролов
44d41fb377 CS2-60 ReportGenerator выдает неправильные значения при отсутствии данных в БД. 2021-09-23 10:52:10 +05:00
Фролов
01d00e6d18 cleanup 2021-09-21 09:23:17 +05:00
Фролов
38e7f624b1 fix reports. 2021-09-20 15:25:08 +05:00
Фролов
711dfa681d Fix fail messageController on telemetry user is null. 2021-09-20 10:33:15 +05:00
Фролов
0b1f9683b9 fix jsonSerializer settings;
reafctor TelemetryHub;
Add wellDepth into TelemetryMessage
2021-09-17 16:24:01 +05:00
Фролов
35cd538b1d Refactor DataSaubBase to TelemetryDataSaub;
Add generic TelemetryDataController;
Add TelemetryDataSpin and model;
Add migration;
2021-09-14 17:17:33 +05:00
Фролов
1bf746dff2 Fix operations order 2021-09-13 12:28:57 +05:00
KharchenkoVV
e8063057d7 Added .GetOperationsDateRangeAsync() to Telemetry analytics controller 2021-09-10 15:23:36 +05:00
KharchenkoVV
3017d6d990 Merge branch 'master' of https://bitbucket.org/autodrilling/asbcloudserver 2021-09-10 11:30:38 +05:00
KharchenkoVV
4b8a161ed5 Fixed date intervals in .GetOperationsSummaryAsync() 2021-09-10 11:30:24 +05:00
Фролов
30a59d0809 cleanup 2021-09-10 11:28:57 +05:00
Фролов
3c9718b0de CachedTable implement IEnumerable 2021-09-08 11:51:55 +05:00
Фролов
16bd6749fd fix telemetry user id mapping 2021-09-03 11:35:49 +05:00
Фролов
187c83a7b1 ignoring strange issue. 2021-09-03 11:35:27 +05:00
KharchenkoVV
81e765581c CS2-70: Added wells with no operations into cluster info 2021-09-02 11:42:05 +05:00
KharchenkoVV
95733371a2 Merge branch 'master' of https://bitbucket.org/frolovng/asbcloudserver 2021-09-02 10:13:33 +05:00
KharchenkoVV
1debac9505 Fixed exception with .ElementAt(0) call at empty collection 2021-09-02 10:13:20 +05:00
Фролов
b471efc59e File author is optional (for drillingProgram) 2021-09-01 15:55:10 +05:00
Фролов
a7962492af fileController search by companyName (not by companyId).
Add UserDto into FileInfoDto.
Add CompanyDto into UserDto.
2021-08-31 18:01:26 +05:00
Фролов
41660af49f FileController Add file size and fix search by file name 2021-08-31 12:29:27 +05:00
Фролов
b3b1230c0a CS2-58 FileController Add filter by filename 2021-08-31 09:59:23 +05:00
Фролов
e8bfe3b443 add new file categories 2021-08-31 09:52:32 +05:00
Фролов
7f0d5bd673 fix di in DrillingProgramService 2021-08-29 17:27:24 +05:00
Фролов
14cf99a1dd Add DrillingProgramController 2021-08-29 17:25:16 +05:00
Фролов
002da70471 fix CalcStat on empty operations list 2021-08-29 12:05:43 +05:00
Фролов
06a492a5e5 fix merge plan-fact in WellOperationsStatService 2021-08-29 11:59:20 +05:00
Фролов
80d74067c0 MeasureService Add GetLastAsync 2021-08-28 22:34:57 +05:00
Фролов
9724b24d98 LastData rename to Measure. Implement MeasureService 2021-08-28 20:00:04 +05:00
Фролов
843dd276a3 NotCompleted LasdData Weekend 2021-08-27 17:55:22 +05:00
Фролов
f744b49824 nit spelling 2021-08-27 15:53:38 +05:00
Фролов
ac57a69670 Add CalcTvd to WellOperationsStatService 2021-08-27 12:15:04 +05:00
Фролов
7231fad19e fixed calculations 2021-08-26 10:18:59 +05:00
Фролов
fb914cc2b9 Fix Rop and RaceSpeed 2021-08-25 17:58:35 +05:00
Фролов
54d4a16d14 Add WellType into StatWellDto 2021-08-25 15:17:24 +05:00
Фролов
590197d3a6 fix helper class 2021-08-25 11:41:09 +05:00
Фролов
85ff9a5903 StatController mathod renames 2021-08-25 11:30:50 +05:00
Фролов
e55f505ea7 Refactor Stat* models 2021-08-25 11:13:56 +05:00
Фролов
94b7dd3ef7 All statisstic moved to WellOperationStatService.
Stats reorganized
2021-08-24 16:47:10 +05:00
Фролов
99d242101e remove efModel wellSection. Cleanup. Split categories lastData and files 2021-08-24 10:59:10 +05:00
KharchenkoVV
a2cb8071c8 CS2-64: Ordered returning dtos by DepthPlan value. 2021-08-23 17:31:08 +05:00
KharchenkoVV
a0856fad25 CS2-66: Added well depth filter to .GetOperationsAsync() 2021-08-23 16:59:26 +05:00
KharchenkoVV
31fd4bda1a CS2-65: Fixed well section calculation 2021-08-23 14:52:34 +05:00
KharchenkoVV
791f72cbdb CS2-65: United GetSectionsData() and GetWholeWellData() methods 2021-08-20 16:56:21 +05:00
Фролов
cec8e92d77 Clean and doc 2021-08-20 14:17:53 +05:00
Фролов
322208e2b5 clean 2021-08-20 13:59:30 +05:00
Фролов
6db671f955 fixed nullReference in mapping filePropertiesDto 2021-08-20 13:56:20 +05:00
KharchenkoVV
fbff8e986a CS2-65: Added operations calculation for whole well 2021-08-20 13:56:01 +05:00
Фролов
9d50f0d1c9 fix add SemaphoreSlim into Cache.Refresh(..) and Cache.RefreshAsync(..) method to avoid racing 2021-08-20 12:45:26 +05:00
KharchenkoVV
b39f07821d CS2-58: Added files filtering by requested companies ids 2021-08-20 11:20:24 +05:00
KharchenkoVV
d0deefe74f CS2-56: Changed tuple to FileInfoDto 2021-08-19 17:32:22 +05:00
KharchenkoVV
8b5af8d32e CS2-59: Added Delete() to File controller 2021-08-19 16:58:26 +05:00
KharchenkoVV
e8d98a0887 CS2-55: Renamed SaveFileProperties...() to SaveFileInfos() 2021-08-19 16:34:36 +05:00
KharchenkoVV
bf823e1825 CS2-55: Moved file saving logic from File controller to service 2021-08-19 16:32:04 +05:00
KharchenkoVV
e45a693c92 CS2-54: Fixed default well operations in Db 2021-08-19 14:31:02 +05:00
KharchenkoVV
aa87cb1c35 CS2-54: Fixed 'route speed' calculation 2021-08-19 14:13:08 +05:00
KharchenkoVV
09c47636d1 CS2-54: Fixed well section calculation for empty data 2021-08-19 10:42:09 +05:00
KharchenkoVV
154426a5fb Changed WellOperation fileds names 2021-08-18 17:09:57 +05:00
Фролов
582629c8d7 Merge branch 'master' of https://bitbucket.org/frolovng/asbcloudserver 2021-08-18 17:01:16 +05:00
Фролов
7b154abb66 CS2-61 WellOperationController.GetAllAsync(..) добавить параметры фильтрации 2021-08-18 16:57:20 +05:00
KharchenkoVV
1ea6ea83aa Added 1000 interval in WellOperations Ids 2021-08-18 16:51:41 +05:00
KharchenkoVV
8bcaf18cb1 Fixed WellSection service 2021-08-18 16:27:18 +05:00
KharchenkoVV
977645e23a CS2-54: Added Well section data calculation 2021-08-18 14:52:52 +05:00
KharchenkoVV
d6bf5d3252 Added IdUser claim to authenticated user claims 2021-08-17 13:03:17 +05:00
KharchenkoVV
d1f67dc69c WellOperation Controller and Service fix 2021-08-17 09:20:31 +05:00
KharchenkoVV
d7e0eace47 CS2-53: Added WellOperations Controller, Service, Dtos and Models 2021-08-16 14:19:43 +05:00
KharchenkoVV
e1310be988 Added default predicate to CacheTable.Where() method 2021-08-16 14:16:44 +05:00
KharchenkoVV
1db3a81d56 Renamed plural table names to singular 2021-08-16 10:38:48 +05:00
KharchenkoVV
e668b8c2ff CS2-53: Model changes to Well/Operation/SectionType 2021-08-16 10:21:46 +05:00
Фролов
57afb6b7d2 Merge branch 'master' of https://bitbucket.org/frolovng/asbcloudserver 2021-08-13 17:26:32 +05:00
Фролов
2e01c4334f fix "order for skip/take" warning. some refactoring. 2021-08-13 17:26:19 +05:00
KharchenkoVV
bc1bcb2ee2 CS2-53: Added basics of WellOperation controller, service, model and dto 2021-08-13 17:25:06 +05:00
KharchenkoVV
1956eafb32 Renamed Analytics Service and Controller to TelemetryAnalytics 2021-08-13 15:57:22 +05:00
KharchenkoVV
12a73a4e21 Renamed 'TelemetryOperation' model to 'Operation' 2021-08-13 15:35:03 +05:00
Фролов
9497aaf7e3 Add WellSectionTypes dbSet 2021-08-13 12:33:05 +05:00
KharchenkoVV
b218187117 CS2-37: Fixed OperationsToInterval() analytics. Half done. 2021-08-13 12:32:43 +05:00
Фролов
eaf1b9509d Merge branch 'master' of https://bitbucket.org/frolovng/asbcloudserver 2021-08-12 11:52:36 +05:00
Фролов
95a3a0d207 WellSectionController params order 2021-08-12 11:50:04 +05:00
KharchenkoVV
fe5eb39000 CS2-50: Changed some .SaveChanges() to .SaveChangesAsync() 2021-08-11 17:41:51 +05:00
KharchenkoVV
ab63bc4aa1 CS2-50: Added .ConfigureAwait(false) to all async methods. 2021-08-11 17:26:02 +05:00
Фролов
f0f9d1df73 fix clusterService 2021-08-11 17:14:11 +05:00
KharchenkoVV
f13b757a84 CS2-50: All controllers and services are made async 2021-08-11 16:54:42 +05:00
KharchenkoVV
4c4048865c CS2-50: Controllers and some services are made async 2021-08-11 12:11:21 +05:00
KharchenkoVV
e4800bf281 Merge branch 'master' of https://bitbucket.org/frolovng/asbcloudserver 2021-08-11 10:16:09 +05:00
KharchenkoVV
744266336e CS2-50: Added .AsNoTracking() to services' queries. 2021-08-11 10:16:01 +05:00
Фролов
bb011c5afe Merge branch 'master' of https://bitbucket.org/frolovng/asbcloudserver 2021-08-10 17:43:20 +05:00
Фролов
33f545c7b3 WellSectionController tested and fixed 2021-08-10 17:43:13 +05:00
KharchenkoVV
814f809c3e dbSet initialization in CacheTable is moved to constructor 2021-08-10 16:49:14 +05:00
Фролов
50fc46e007 WellSectionController almost done 2021-08-10 16:37:36 +05:00
Фролов
0f08d71ddb better names for db entities 2021-08-10 16:37:13 +05:00
Фролов
7eed929f33 add AsNoTracking() in cache 2021-08-10 16:35:31 +05:00
Фролов
e96a9820db implement async WellSection controller 2021-08-10 14:36:35 +05:00
Фролов
33c79b6c8b Cyrilic 'С' to eng 'C' 2021-08-09 15:57:41 +05:00
Фролов
3a325f6c94 Очистка и анализ кода 2021-08-09 15:41:42 +05:00