Commit Graph

548 Commits

Author SHA1 Message Date
ngfrolov
cc5fd56f43 DailyReport. Rename dtos and entities. Remove time offset from DailyReportService. 2022-07-25 18:02:39 +05:00
ngfrolov
ed364112cb fix AdminUserRoleController forbidder 2022-07-20 13:23:49 +05:00
421c706ca1 корректировка контроллеров и сервисов 2022-07-18 18:51:49 +05:00
7f4b434a8c Добавлены модели БД ,модели ДТО, интерфейсы, сервисы 2022-07-14 03:47:11 +05:00
ngfrolov
5bb6bd4e9e fix admin user role forbider 2022-07-06 17:24:46 +05:00
6bce8ee4e0 конечный вариант
-выставлено выравнивание строк
-корректировка модели блока SAUB
2022-07-06 15:04:03 +05:00
Фролов
91dd386ffc nit improvements 2022-07-04 17:51:05 +05:00
ngfrolov
5cc3f50163 DetectedOperationController переделаны route. Добавлено 2 детектора 2022-06-17 17:21:32 +05:00
ngfrolov
ae34d17ae1 doc fix 2022-06-16 17:58:17 +05:00
ngfrolov
6512a7e752 doc 2022-06-16 17:37:10 +05:00
ngfrolov
cf98bd8a20 Crud services moved to Repository directory 2022-06-16 12:33:05 +05:00
ngfrolov
9146be1d3f merge 2022-06-15 16:21:28 +05:00
ngfrolov
9876edcb9f Fix AdminUserRoleController.*Forbid predicates. 2022-06-15 16:20:20 +05:00
ngfrolov
5f1de8581f Fix AdminUserRoleController.*Forbid predicates. 2022-06-15 16:01:50 +05:00
ngfrolov
7080b3e855 autoclean. 2022-06-15 14:57:37 +05:00
ngfrolov
9db7a7303a Merge branch 'operation_grouping' into dev 2022-06-14 15:35:59 +05:00
ngfrolov
674a5e0e71 Замена базовых классов. Уточнения в задании по не заполненным целевым значениям. 2022-06-14 15:35:31 +05:00
ngfrolov
0ac16d37e9 EventService, MessageService, TelemetryUserService uses new cache model. 2022-06-10 17:36:03 +05:00
ngfrolov
12c97a4119 Merge branch 'operation_grouping' into dev 2022-06-10 10:42:37 +05:00
ngfrolov
dd2a777d3d Crud services, controllers refactoring. Not tested version of new API. 2022-06-09 11:19:52 +05:00
Lyudmila Romanova
6d44dadb27 Модель и сервисы для значений операций 2022-06-07 16:24:05 +05:00
ngfrolov
9ae268f4c5 Add ProtobufController 2022-06-07 11:14:26 +05:00
ngfrolov
4db67113b4 CrudService очищен от неиспользуемого кода.
CrudCacheService Адаптировано для новой схемы кеширования.
Убраны extention методы для mapster.
2022-06-06 15:43:47 +05:00
ngfrolov
c568fafa8f Add ScheduleController.GetByIdWellAsync(..) 2022-05-26 15:32:23 +05:00
ngfrolov
3671dc12a1 Merge branch 'dev' into schedule_task 2022-05-26 14:09:14 +05:00
ngfrolov
eabec7e7ee Добавил наследование от CrudController. 2022-05-26 13:34:40 +05:00
Lyudmila Romanova
80bad5bbe2 Правки по PR 2022-05-25 20:19:08 +05:00
Lyudmila Romanova
7bc977ada6 Добавление бурильщика и графика работы. Покрытие тестами. 2022-05-22 21:18:43 +05:00
ngfrolov
521131d27a Fix DrillingProgramController.AddFile error message text. 2022-05-18 17:02:03 +05:00
ngfrolov
24ccc2a128 fix emails triggers and bodies 2022-05-18 11:07:39 +05:00
ngfrolov
5458ac5414 debug and fix daily report 2022-05-05 15:14:29 +05:00
ngfrolov
5de01e5b5d remove permissions from wireline telemetryController 2022-05-05 13:32:14 +05:00
ngfrolov
7201f7ca63 merge detected operations 2022-05-05 10:22:51 +05:00
ngfrolov
24b40973bb merge and fix 2022-05-05 10:06:21 +05:00
zikan
251cdb530a Correction of errors, formation of an excel file 2022-04-29 15:39:12 +05:00
ngfrolov
579b5f26da Remove legacy telemetry analysis, except db model 2022-04-29 12:27:12 +05:00
ngfrolov
be8287f041 Add detected operations controller 2022-04-28 15:04:13 +05:00
zikan
019c6a4db1 - Added t_daily_report table and related migrations;
- Added request processing service for DailyReportController. Implemented all methods except DownloadAsync.
2022-04-26 16:45:52 +05:00
zikan
76ee379785 Added t_daily_report table and related migrations 2022-04-20 18:03:38 +05:00
ngfrolov
92371eaaf5 Set infrastructure assembly marker. 2022-04-19 13:35:20 +05:00
ngfrolov
9023aef984 Контроллер заглушка для суточного рапорта. 2022-04-19 12:14:03 +05:00
ngfrolov
7b957d0edb Add WitsControllerAbstract.GetLastDataAsync(..) 2022-04-15 14:45:49 +05:00
ngfrolov
e95c04c91e Doc wits info methods 2022-04-15 13:40:24 +05:00
ngfrolov
5359beb9aa doc 2022-04-14 16:07:29 +05:00
ngfrolov
fa9486e44d grouping services and controllers 2022-04-11 18:00:34 +05:00
ngfrolov
80434475db Add telemetryWireLine.
Add InstantDataRepository
2022-04-11 17:22:52 +05:00
ngfrolov
c96bf87f17 Reorganize dtos 2022-04-08 13:10:06 +05:00
ngfrolov
24b0bc9d8c Add WITS record tables 2022-04-01 17:55:44 +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
Фролов
bafa372d66 rename some methods 2022-03-02 17:42:34 +05:00
Фролов
6a0289f216 fix drillingProgram permissions 2022-03-02 17:41:22 +05:00
Фролов
f286410eff Add DrillingProgramCreateError 2022-02-28 14:44:15 +05:00
Фролов
4863b69cfe DrillingProgram replace idPart by idFileCategory. 2022-02-18 14:16:35 +05:00
Фролов
7a77ff7904 Add backgroundService.
ReportService uses backgroundService.
Drilling program alpha
2022-02-17 15:37:27 +05:00
Фролов
e4e906c8d7 DrillingProgramService существенно переработан. 2022-02-12 11:28:16 +05:00
Фролов
def7868b9a spelling 2022-02-08 13:03:56 +05:00
Фролов
4d89f3785b CS2-147 При отсутствии файла выдавать 404 2022-02-08 10:25:05 +05:00
Фролов
d0d0200679 Add some permissions, new web client 2022-02-03 08:23:52 +05:00
Фролов
2598738c46 Add Permissions to base crud controller. Add optional custom forbid check on edit methods. 2022-02-01 17:58:31 +05:00
Харченко Владимир
eaf7cb85b2 Disabled PermissionMiddleware and removed [Permission] from TelemetryController 2022-01-27 13:21:12 +05:00
Фролов
e6ac04c6bc fix DrillFlowChartController.EditAsync() wrong service method 2022-01-21 17:34:23 +05:00
Харченко Владимир
b46a7c33a2 Added Permission attribute to non-anonymous controller methods 2022-01-19 11:42:26 +05:00
Фролов
f5ec155bbb AdminPermissionController.GetAutogenerated() change generation algorithm. 2022-01-18 17:21:05 +05:00
Фролов
e0bfc8d420 AdminPermissionController. Add method to generate names of auto-permissions. 2022-01-14 17:59:07 +05:00
Фролов
2c51c352b1 CS2-139 Добавить контроллер AdminCompanyType 2022-01-12 13:33:16 +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
Фролов
e7d6aef6a6 Move logic from AsbCloudDbContext.GetDepthToIntervalAsync() to TelemetryAnalyticsService.GetWellDepthToIntervalAsync() 2021-12-27 13:49:29 +05:00
Фролов
896e5dc8db update packs Swashbuckle.AspNetCore*.
Fix optional param MeasureController.GetHisoryAsync()
2021-12-24 15:50:30 +05:00
Фролов
03ded4e6cf TelemetryDataBaseController doesn't await sending to SignalR 2021-12-24 12:59:17 +05:00
Фролов
95df836155 Add WellOperationController.GetSectionTypes() 2021-12-22 17:09:26 +05:00
Фролов
2019386a71 fix AdminCompanyController.Get*(). Include CompanyType 2021-12-22 15:58:49 +05:00
Фролов
ea26010719 fix MeasureController.GetHisoryAsync 2021-12-22 12:31:37 +05:00
Фролов
6924a6bac7 start refactoring// fire alarm 2021-12-21 11:52:53 +05:00
Фролов
a0208f412e refactor UserRoleService 2021-12-20 15:17:09 +05:00
Фролов
7c24d52fa2 Merge branch 'dev' into NewUserRoles 2021-12-20 15:13:36 +05:00
Фролов
c10c698cbe add return type description in RequerstTrackerController.GetUsersStat() 2021-12-17 16:30:00 +05:00
Фролов
31b671a0c7 remove unused methods 2021-12-17 13:04:33 +05:00
Фролов
e0834e4720 add telemetry merge 2021-12-17 12:48:58 +05:00
Харченко Владимир
d94b2e685e CS2-133: Fixed CRUD operations over Permissions 2021-12-17 12:38:34 +05:00
Харченко Владимир
17db1218cc CS2-133: Removed permission mask logic from permissions 2021-12-16 16:00:47 +05:00
Фролов
551c60c4ff Add/refactor services for permissions authorization model.
Rename some fields in DB.permission.
2021-12-11 16:46:04 +05:00
Фролов
5752ad40b7 some rider recommendations and spelling 2021-12-07 18:27:52 +05:00
Фролов
9a7d2b4140 Remove ReportService.GetSuitableReportsAsync() 2021-12-07 13:55:39 +05:00
Фролов
819bc82227 MeasureService.GetHisoryAsync(..) uses idCategory arg 2021-12-07 13:43:47 +05:00
Фролов
ee01ab30db Забрал домой 2021-12-07 11:34:06 +05:00
Фролов
fa3e47493b Doc timascale backup and restore. 2021-12-03 17:34:24 +05:00
Фролов
539905e8e0 Use cacheTable for roles and permissions 2021-12-03 15:03:33 +05:00
Фролов
00dd39b587 merge dev to this 2021-12-03 09:58:48 +05:00
Фролов
4aaac31c43 nit refacroring before merge 2021-12-03 09:44:10 +05:00
KharchenkoVladimir
b655360835 CS2-123: Added AdminPermissionController methods 2021-12-02 12:03:30 +05:00
KharchenkoVladimir
22c5d33b7e CS2-123: Added AdminPermissionController and Service 2021-12-01 17:10:17 +05:00
Фролов
a74a7cbf58 doc RequestTracker 2021-12-01 12:53:10 +05:00
Фролов
ee2172f64b fix SetpointsController. Add AllowAnonymous.
fix doc for backup db.
2021-11-26 17:14:02 +05:00
KharchenkoVladimir
576d119674 CS2-123: Changed UserRoleService and controller to inherit CrudController/service 2021-11-25 11:55:52 +05:00
Фролов
26ada6572b Add SetpointInfoDto 2021-11-24 17:58:53 +05:00
KharchenkoVladimir
908c855463 CS2-123: Added CRUD over user roles and their permissions (controller + service) 2021-11-24 17:38:40 +05:00
Фролов
18ad9fc91a CS2-124 Создать контроллер рекомендый новыйх уставок бурильщику 2021-11-24 16:16:17 +05:00
Фролов
a74032eed5 Fix TelemetryTracker dbContext disposing. 2021-11-23 16:16:13 +05:00
KharchenkoVladimir
6412c24a3e CS2-107: Fixed rop stat methods routes 2021-11-23 14:07:43 +05:00
KharchenkoVladimir
cb52f96069 Merge branch 'dev' into MaxAndAverageRop
# Conflicts:
#	AsbCloudInfrastructure/Services/WellService.cs
2021-11-23 11:35:11 +05:00
KharchenkoVladimir
d361c9a9b4 CS2-107: Added calculation of max and average Rop for cluster wells 2021-11-22 17:29:19 +05:00
Фролов
14bc1e12b4 Merge branch 'TelemetryTimeZone' into dev 2021-11-22 11:31:10 +05:00
Фролов
1eaa1efb03 Refactor. Extract TimezoneService. 2021-11-22 11:30:08 +05:00
KharchenkoVladimir
07f76afa35 CS107: Renamed Mse to Rop in Cluster rop stat 2021-11-19 11:17:45 +05:00
KharchenkoVladimir
00798becb0 CS2-107: Added ClusterOperationStatController 2021-11-19 11:12:25 +05:00
KharchenkoVladimir
e62ac96bd7 CS2-119: Added .FixDatesRangeByTimeZoneAsync() to fix dates ranges to well timezone everywhere 2021-11-18 12:03:59 +05:00
KharchenkoVladimir
4bed0623f1 CS2-119: Added dates change to well timezone if requested 2021-11-18 11:24:21 +05:00
Фролов
b6c2f60296 fix use fileshare only when needed. 2021-11-17 13:06:48 +05:00
KharchenkoVladimir
88f9236b8a CS2-119: Added Telemetry Timezone object and update timezone functionality 2021-11-16 13:14:31 +05:00
Фролов
212989b3b6 fix analyze recomendations 2021-11-15 16:52:12 +05:00
Фролов
bfb76b9dc0 Add request tracker. it also track users activity. 2021-11-10 14:23:53 +05:00
Фролов
170693f445 Refactor:
FilesService move FileSharing functions to GoogleDriveService;
FilesService.CreateFileMarkAsync() Move drillingProgram related logic into DrillingProgramService.CreateFileMarkAsync();
FilesService.MarkFileMarkAsDeletedAsync() Move drillingProgram related logic into DrillingProgramService.MarkFileMarkAsDeletedAsync();
IGoogleDriveService cleanup and rename to IFileShareService;
GoogleDriveService check token before usage and resresh it id needeed;
DrillingProgramController move logic to service;
DrillingProgramController use dto;
FileController remove unused method;
2021-11-09 17:36:44 +05:00
cult
e716c6fbeb CS2-104: Added deleting of existing drilling program on file marks actions 2021-11-03 14:12:39 +05:00
cult
2f2193da76 CS2-104: Added recreate of drilling program if new files were confirmed 2021-11-02 16:33:49 +05:00
cult
a53d557f2a CS2-104: Added confirm of drilling program parts 2021-11-01 16:41:25 +05:00
cult
e79cf9f5d1 CS2-106: Inserted logic from DrillingProgram controller in fileService.GetFileWebUrlAsync() 2021-10-29 16:03:24 +05:00
cult
45b4d8bb23 CS2-106: Fixed Drilling program creation and preview logic 2021-10-29 12:47:18 +05:00
cult
e8ad17bc1d CS2-106: Added .GetFileWebLinkAsync() in DrillingProgramController.cs 2021-10-28 16:59:00 +05:00
cult
c3be8bceea CS2-106: Fixed .GetAsync() in DrillingProgramController to return file web url in cloud 2021-10-28 15:08:06 +05:00
Фролов
da9e94b4b9 Modify telemetry tracker to keep remote and server dates.
Update related services.
Small refactor TelemetryController: exclude dictionaries updates  from tracker update. All tracker updates moved to services.
2021-10-28 10:56:18 +05:00
Фролов
5966920019 nit refactoring 2021-10-27 17:48:19 +05:00
cult
2ab29df231 CS2-106: Added description that web url for drilling program file is created only if such file was created. 2021-10-27 17:23:43 +05:00
cult
ab13e97837 CS2-106: Added GoogleDriveService and .GetWebLink() to DrillingProgramController 2021-10-27 17:00:27 +05:00
KharchenkoVladimir
b553f74a50 Added return type descriptions for BaseControllers classes 2021-10-25 17:38:52 +05:00
KharchenkoVladimir
23a467639a Merge branch 'NewRegister' into dev 2021-10-25 12:05:44 +05:00
KharchenkoVladimir
2ce110ea8f Added 'User already exists' check in .Register() 2021-10-25 12:04:34 +05:00
KharchenkoVladimir
6b2c4a359b Added register params validation 2021-10-22 17:41:00 +05:00
KharchenkoVladimir
9fea1c94a6 Fixed Login. Users with State == 0 will not be authenticated 2021-10-21 17:24:25 +05:00
Фролов
8b54966876 Fix security in WellController 2021-10-20 17:55:50 +05:00
KharchenkoVladimir
167dd3d5f5 Added Get well by id method in WellController 2021-10-20 16:18:07 +05:00
Фролов
eab95cb7a1 Refactor GetLastTelemetryDate(..) in services (single resp).
Add State and LastTelemetryDate into StatWellDto.
2021-10-20 12:52:31 +05:00
KharchenkoVladimir
16e17c0559 Fixed error text back in AuthController.Register(). 2021-10-19 17:21:07 +05:00
KharchenkoVladimir
1d26c3dc9d Auth controller very minor changes 2021-10-19 16:58:40 +05:00
KharchenkoVladimir
387b01c44d CS2-72: Added email, phone and position in UserDto. 2021-10-19 15:22:18 +05:00
KharchenkoVladimir
37e03b3f0d CS2-98: Added WellUpdateParamsDto in WellController.UpdateWellAsync(). 2021-10-18 16:30:14 +05:00
KharchenkoVladimir
6e4c85843f CS2-98: Added State to Well. Added .UpdateWell() in WellController. 2021-10-18 12:38:49 +05:00
KharchenkoVladimir
02f344569e CS2-91: Moved TelemetryTracker from WellService to TelemetryService 2021-10-15 12:24:04 +05:00
Фролов
caae2f970c Add DrillParamsController.SaveAsync() it removes old records before add new ones. 2021-10-14 17:57:25 +05:00
Фролов
2173f6593f Fix DrillFlowChartController autorization.
Fix DrillFlowChartController.GetByTelemetryAsync() assertion
2021-10-14 16:16:35 +05:00
KharchenkoVladimir
aa977e4db5 Added WellCompositeService in DependencyInjection 2021-10-14 12:30:51 +05:00
KharchenkoVladimir
8e447a040f Added method for returning wells with drill params only (in DepositController) 2021-10-14 12:04:21 +05:00
Фролов
03813b9403 DrillFlowChartController. Edit routes 2021-10-14 11:46:17 +05:00
KharchenkoVladimir
32732bf058 Fixed DrillFlowChart routes, model, dto names 2021-10-14 10:18:43 +05:00
KharchenkoVladimir
4f4eb4333a Merge branch 'DrillingFlowChart' into dev 2021-10-13 17:35:14 +05:00
KharchenkoVladimir
911deb5b8b CS2-97: Added DrillFlowChartParams infrastructure 2021-10-13 17:34:32 +05:00
KharchenkoVladimir
e31780571b CS2-94: Fixed DrillParamsService queries 2021-10-13 15:56:23 +05:00
KharchenkoVladimir
70ee22bccf CS2-96: Added DrillParams methods to get composite well drill params 2021-10-13 12:27:40 +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
KharchenkoVladimir
e34bb4b554 Renamed DrillParamsController methods 2021-10-12 12:50:04 +05:00
Фролов
f7fedb16e8 Merge branch 'dev' of https://bitbucket.org/autodrilling/asbcloudserver into dev 2021-10-12 12:17:58 +05:00
Фролов
3bff1d0daf Add WellCompositeController 2021-10-12 12:17:46 +05:00
KharchenkoVladimir
2b77fdae98 CS2-94: Added .GetAll() method to DrillParamsService 2021-10-12 12:02:28 +05:00
KharchenkoVladimir
bf7c0895b3 Merge remote-tracking branch 'origin/dev' into dev 2021-10-12 11:30:21 +05:00
KharchenkoVladimir
99f8a36437 CS2-94: Fixed DrillParamsService and Dto 2021-10-12 11:30:07 +05:00
Фролов
638d8eb3da Drop useless method 2021-10-12 11:26:41 +05:00
Фролов
91c85c8fdc Remove obsolete dataService; remove db mdel dependendency from webApi 2021-10-12 11:03:05 +05:00
KharchenkoVladimir
a860bde21e Merge branch 'DrillingModes' into dev 2021-10-11 16:43:48 +05:00
KharchenkoVladimir
32784c31f9 CS2-94: Edited DrillParamsService to extend CrudService 2021-10-11 16:43:10 +05:00
Фролов
eac38b6139 Remove dead "DataController" 2021-10-11 16:00:52 +05:00
KharchenkoVladimir
47397e4ad6 Merge branch 'dev' of https://bitbucket.org/autodrilling/asbcloudserver into dev 2021-10-11 15:32:06 +05:00
KharchenkoVladimir
4168e63dad Merge branch 'DrillingModes' into dev 2021-10-11 15:31:17 +05:00
KharchenkoVladimir
afd2801715 CS2-94: Added main DrillParams controller and service methods 2021-10-11 15:21:26 +05:00
Фролов
9117471f82 WellOperationImportService Add GetTemplate(),
Improve error handling.
2021-10-11 13:45:06 +05:00
KharchenkoVV
c962374b6c CS2-94: Added Drilling params controller, service and model 2021-10-10 13:35:43 +05:00
Фролов
e604d8a031 make WellOperations import and export. ExcelTemplate embedded to infrastructure. 2021-10-09 20:16:22 +05:00
KharchenkoVV
1f4a55c5df Fixed Measure controller to return all measure history at once 2021-10-05 18:02:02 +05:00
Фролов
90bdb264cb fix Get* methods. add orderBy, specify dateTimeKind and return value:) 2021-09-29 17:05:27 +05:00
Фролов
fb38348618 Add DRAFT telemetry merge 2021-09-29 10:12:54 +05:00
Фролов
eb3668a8ba mark legacy as Obsolete. till panels full update. 2021-09-27 16:48:24 +05:00
Фролов
956e564f56 переименовал ряд методов для лучшего понимания 2021-09-23 15:26:55 +05:00
Фролов
83e592ba86 CS2-60 ReportGenerator выдает неправильные значения при отсутствии данных в БД. 2021-09-23 15:26:55 +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
KharchenkoVV
e8063057d7 Added .GetOperationsDateRangeAsync() to Telemetry analytics controller 2021-09-10 15:23:36 +05:00
Фролов
30a59d0809 cleanup 2021-09-10 11:28:57 +05:00
Фролов
73fab69b76 AuthController Добавлена регистрация пользователя и смена пароля 2021-09-07 09:49:25 +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
Фролов
e87e959bca CS2-58 FileController doc 2021-08-31 10:02:04 +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
Фролов
ebd3e4ec4c rename lastDataService to measureService 2021-08-31 09:52:15 +05:00
Фролов
4e0e9b93d7 fix route in DrillingProgramController 2021-08-29 17:29:24 +05:00
Фролов
14cf99a1dd Add DrillingProgramController 2021-08-29 17:25:16 +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
Фролов
ac57a69670 Add CalcTvd to WellOperationsStatService 2021-08-27 12:15:04 +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
a0856fad25 CS2-66: Added well depth filter to .GetOperationsAsync() 2021-08-23 16:59:26 +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
KharchenkoVV
fbff8e986a CS2-65: Added operations calculation for whole well 2021-08-20 13:56:01 +05:00
KharchenkoVV
0e586edcc5 CS2-58: Added [FromQuery] to 'companies' param 2021-08-20 11:46:14 +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
Фролов
c5dedfc03e WellOperationController.GetCategories() fix return type 2021-08-19 12:24:57 +05:00
Фролов
a685418cf0 rename WellOperationController.GetAllAsync(..) to GetOperationsAsync(..) 2021-08-18 17:25:40 +05:00
KharchenkoVV
154426a5fb Changed WellOperation fileds names 2021-08-18 17:09:57 +05:00
Фролов
7b154abb66 CS2-61 WellOperationController.GetAllAsync(..) добавить параметры фильтрации 2021-08-18 16:57:20 +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
b1495dda34 DataController route fix 2021-08-17 09:43:09 +05:00
KharchenkoVV
0e662d4868 Fixed controllers routes 2021-08-17 09:39:05 +05:00
KharchenkoVV
d1f67dc69c WellOperation Controller and Service fix 2021-08-17 09:20:31 +05:00
KharchenkoVV
a8cdda862a Fixed FileController's routes 2021-08-16 17:34:00 +05:00
KharchenkoVV
d7e0eace47 CS2-53: Added WellOperations Controller, Service, Dtos and Models 2021-08-16 14:19:43 +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
Фролов
9497aaf7e3 Add WellSectionTypes dbSet 2021-08-13 12:33:05 +05:00
Фролов
eaf1b9509d Merge branch 'master' of https://bitbucket.org/frolovng/asbcloudserver 2021-08-12 11:52:36 +05:00
Фролов
bef1292e7c doc and terurn types 2021-08-12 11:52:23 +05:00
Фролов
95a3a0d207 WellSectionController params order 2021-08-12 11:50:04 +05:00
KharchenkoVV
ab63bc4aa1 CS2-50: Added .ConfigureAwait(false) to all async methods. 2021-08-11 17:26:02 +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
Фролов
33f545c7b3 WellSectionController tested and fixed 2021-08-10 17:43:13 +05:00
Фролов
50fc46e007 WellSectionController almost done 2021-08-10 16:37:36 +05:00
Фролов
e96a9820db implement async WellSection controller 2021-08-10 14:36:35 +05:00
Фролов
3a325f6c94 Очистка и анализ кода 2021-08-09 15:41:42 +05:00
Фролов
a14e5134bf добавлен фильтр сообщений по тексту 2021-08-09 15:09:46 +05:00
KharchenkoVV
17c07f8c8e CS2-43: Added save and get 'LastData' for Fluid 2021-08-03 17:55:28 +05:00
KharchenkoVV
543272ce7b CS2-43: Added 'Last Data' tables saving to Db 2021-08-02 18:35:36 +05:00
Фролов
4cb797e9c8 add CrudController 2021-08-02 14:45:13 +05:00
KharchenkoVV
10e7b436c5 Renamed CrudController to LastDataController 2021-08-02 12:59:43 +05:00
KharchenkoVV
4d08e0e562 CS2-43: Доработанный контроллер, Dto и EF модели для 'Последних данных' 2021-08-02 12:23:18 +05:00
KharchenkoVV
4f703fb53e CS2-43: Контроллер и сервис для 'Последних данных' 2021-08-02 11:39:39 +05:00
Фролов
77f1f54c30 IsCompanyOwnsWell rename to IsCompanyInvolvedInWell 2021-07-29 12:39:22 +05:00
KharchenkoVV
1ab8ae89ac Reports download fix 2021-07-27 17:27:05 +05:00
KharchenkoVV
165cabd5dd Changed Reports to one of the Documents' category 2021-07-27 16:55:32 +05:00
Фролов
16e52cacf5 wellId rename to idWell 2021-07-27 14:43:30 +05:00
Фролов
b76687ecc2 Operation rename to TelemetryOperation 2021-07-27 14:03:08 +05:00
Фролов
05cf7244ef wellService.CheckWellOwnership rename to wellService.IsCompanyOwnsWell 2021-07-27 12:37:10 +05:00
KharchenkoVV
1325663d7e Изменен путь до контроллера получения документов 2021-07-26 17:26:07 +05:00
KharchenkoVV
d165c809df Фикс метода для скачивания Документа 2021-07-26 16:54:53 +05:00
KharchenkoVV
9072abe152 CS2-38: Добавлена пагинация для таблицы с файлами 2021-07-26 11:54:50 +05:00
KharchenkoVV
99242f6995 CS2-38: Добавлены модель, контроллер и сервис для сохранения и отправки файлов по категориям 2021-07-23 17:40:31 +05:00
Фролов
87166adc15 swagger doc 2021-07-21 18:03:45 +05:00
Фролов
9c5c1fc9c5 fix WellService controller 2021-07-21 17:23:57 +05:00
KharchenkoVV
e447473a71 CS2-34: Добавлена пагинация в метод, возвращающий список событий на скважине 2021-07-21 16:49:24 +05:00
Фролов
6abbf476b1 авточистка проекта 2021-07-21 15:29:19 +05:00
Фролов
d0378e4f1d Customer to company. Db model opt. 2021-07-21 15:22:58 +05:00
Фролов
28a1295332 CS2-30 Создать контроллер куста и контроллер месторождения.
Разработана модель данных
2021-07-21 12:48:37 +05:00
Фролов
11f5bd00f1 CS2-30 Создать контроллер куста и контроллер месторождения.
Разработана модель данных
2021-07-21 12:30:51 +05:00
KharchenkoVV
54d917c17e CS2-34: В AnalyticsService добавлен метод, возвращающий все операции на скважине 2021-07-20 15:13:26 +05:00
KharchenkoVV
1dadc96882 Заменены "Hours" на "Seconds" в именах Unix timestamp параметров. 2021-07-20 11:50:35 +05:00
Фролов
5c783b332b Merge branch 'master' of https://bitbucket.org/frolovng/asbcloudserver 2021-07-19 17:46:00 +05:00
KharchenkoVV
e3c4b262d9 CS2-29: Изменены имя и поля модели DrillingAnalysis (на TelemetryAnalysis) 2021-07-19 15:57:38 +05:00
Фролов
f30cafcb1e CS2-30 Создать контроллер куста и контроллер месторождения 2021-07-19 15:11:01 +05:00
KharchenkoVV
1045d24037 CS2-25: Добавлено возвращение NoContent() если контроллер возвращает null или пустую коллекцию. 2021-07-02 15:02:56 +05:00
KharchenkoVV
fd5871a9ec CS2-24: Добавлены данные аналитики по операциям 2021-06-30 10:16:06 +05:00
KharchenkoVV
86f38dfbad Заменены BadRequest() на Forbid() в контроллерах. 2021-06-28 10:31:18 +05:00
KharchenkoVV
5259a1c730 CS2-24: Правки к предыдущим 3 коммитам 2021-06-25 15:10:05 +05:00
KharchenkoVV
9aa78e9e2c CS2-24: Добавлено распознавание операции по телеметрии 2021-06-24 13:02:31 +05:00
KharchenkoVV
5409f5a38f CS2-24: Исправлены либо заменены заглушками данные для графиков аналитики. 2021-06-22 09:49:53 +05:00
KharchenkoVV
70dca51987 CS2-24: Добавлены методы получения данных "глубина-день" и "скорость проходки-интервал". 2021-06-17 15:12:39 +05:00
KharchenkoVV
7069e8af24 CS2-24: Добавлен Analytics controller. 2021-06-16 14:47:36 +05:00
KharchenkoVV
4e28e24986 CF2-8: Исправлено возвращение репорта из контроллера 2021-06-09 17:19:06 +05:00
KharchenkoVV
1bc374523a CS2-3: Добавлено получение отчетов с сервера и оповещение о прогрессе получения 2021-06-07 16:31:14 +05:00
KharchenkoVV
b0155a19c0 Исправлена логика получения диапазона дат для репортов 2021-05-31 14:56:44 +05:00
KharchenkoVV
6803f836b4 CS2-10: Добавлен поиск по имеющимся отчетам, которые удовлетворяют заданным параметрам 2021-05-31 12:33:17 +05:00
KharchenkoVV
c2f1338785 CS2-3: Добавлен метод в интерфейс IReportHubClient 2021-05-20 14:50:00 +05:00
KharchenkoVV
1358f7fc11 CS2-3: Дополнен класс Report для контекста EF Core 2021-05-20 14:30:25 +05:00
Фролов
d57f495ff0 fix report progress notification mech 2021-05-20 12:38:25 +05:00
KharchenkoVV
4507b26581 CS2-3: Добавлен SignalR ReportHub и его применение в ReportController 2021-05-20 11:07:45 +05:00
KharchenkoVV
dfdfeff32e Очистка кода v2.0 2021-05-19 15:50:09 +05:00
KharchenkoVV
e3c916bc42 Очистка кода 2021-05-19 15:21:19 +05:00
KharchenkoVV
b39be3547c CS2-3: В контроллер репортов добавлено создание репорта 2021-05-19 14:41:27 +05:00
KharchenkoVV
35b24176ff CS2-3: Добавлена инфраструктура для работы с репортами 2021-05-18 12:33:23 +05:00
KharchenkoVV
840e03e0cb Возвращена проверка на null полученного idCustomer 2021-05-18 11:11:16 +05:00
KharchenkoVV
c77a4e69a3 Логика получения idCustomer заменена на готовый метод GetCustomerId() 2021-05-17 16:30:53 +05:00
KharchenkoVV
abbc461330 CS2-1: Добавлена возможность получения диапазона дат архива 2021-05-17 12:53:30 +05:00
KharchenkoVV
335792ae94 CS2-1: Исправлена возможность получения диапазона дат сообщений 2021-05-14 17:02:29 +05:00
KharchenkoVV
0bfec5dcb1 CS2-6: Изменено имя метода получения uids передеющих скважин 2021-05-14 10:58:23 +05:00
KharchenkoVV
dd9c985e65 CS2-1: Добавлена возможность получения диапазона дат сообщений 2021-05-13 17:50:37 +05:00
KharchenkoVV
f21c75d450 CS2-6: Логика регистрации передачи данных вынесена из конструктора контроллера в методы 2021-05-13 15:00:57 +05:00
KharchenkoVV
7df66b314e Удалены нижние подчеркивания из имен private полей 2021-05-13 10:26:24 +05:00
KharchenkoVV
7bbcdf8483 Правки к предыдущему коммиту по задаче CS2-6 2021-05-12 17:25:52 +05:00
KharchenkoVV
a1eb94901e Добавлена возможность получения списка активно передающих данные скважин 2021-05-12 16:03:14 +05:00
Фролов
7d8974a8e5 Заработала синхронизация с панели 2021-04-30 17:35:35 +05:00
Фролов
fce20a2a10 autocleanup 2021-04-23 10:21:25 +05:00
Фролов
6de9e7116e Расширение метода контроллера данных телеметрии. Теперь через него можно получать архив. 2021-04-15 17:56:53 +05:00
Фролов
24e0bed979 настроил разделение по группас в signalR, отправку из веб апи. доработал кеш. 2021-04-09 17:59:07 +05:00
Фролов
5e80746333 добавил SignalR 2021-04-08 17:54:02 +05:00
Фролов
ef9bb8f39f среда:) 2021-04-07 18:01:56 +05:00
Фролов
31a2e1e878 Добавьте файлы проекта. 2021-04-02 17:28:07 +05:00