Lyudmila Romanova
9764809c3a
Добавление показателя в операцию. Изменение структуры ответа
2022-06-10 18:36:14 +05:00
Lyudmila Romanova
e5c1880225
Введение справочника для определения предиката по типу операции
2022-06-10 14:04:03 +05:00
Lyudmila Romanova
4bc07bc727
Merge conflict fix
2022-06-10 12:01:46 +05:00
Lyudmila Romanova
42e2c57c1b
Промежуточная фиксация со структурой ответа
2022-06-10 11:55:01 +05:00
ngfrolov
12c97a4119
Merge branch 'operation_grouping' into dev
2022-06-10 10:42:37 +05:00
ngfrolov
c9d150d3a9
Merge branch 'EFpro' into ICrud_refactor
2022-06-09 13:36:42 +05:00
ngfrolov
da8fcaead7
Add another constructor
2022-06-09 13:36:03 +05:00
Lyudmila Romanova
cf8c61c1a7
Изменение dto для анализа
2022-06-08 14:37:05 +05:00
Lyudmila Romanova
6d44dadb27
Модель и сервисы для значений операций
2022-06-07 16:24:05 +05:00
ngfrolov
bbab9e1a15
Оптимизация EfCache[Dictionary]Extensions.
...
Семафор на добавление тега теперь работает существенно быстрее, логика заполнения данными из БД перенесена под семафор конкретного кеша.
2022-06-07 12:29:11 +05:00
ngfrolov
4db67113b4
CrudService очищен от неиспользуемого кода.
...
CrudCacheService Адаптировано для новой схемы кеширования.
Убраны extention методы для mapster.
2022-06-06 15:43:47 +05:00
ngfrolov
570cec4162
doc all dtos.
2022-06-02 12:35:51 +05:00
ngfrolov
1e7f5fe654
Doc
2022-06-01 17:52:26 +05:00
ngfrolov
1a213a0791
merge EFpro
2022-05-31 16:39:23 +05:00
ngfrolov
4791ab6db1
Add migration
2022-05-31 16:36:46 +05:00
ngfrolov
87391ad9b1
Add DateOnly, TimeOnly support
2022-05-31 16:18:31 +05:00
ngfrolov
339921b968
Rename models;
...
Fix cs8618 (nullables);
Add migration.
2022-05-26 13:28:16 +05:00
Lyudmila Romanova
7bc977ada6
Добавление бурильщика и графика работы. Покрытие тестами.
2022-05-22 21:18:43 +05:00
Lyudmila Romanova
93f4fcf486
Создание модели и DTO для бурильщика
2022-05-20 18:19:52 +05:00
ngfrolov
3e7a8da219
Add StartDate to WellDto
2022-05-06 16:35:16 +05:00
ngfrolov
223e6a48ce
doc WellDto
2022-05-06 14:29:17 +05:00
ngfrolov
310d75eaa1
doc WellInfoDto, ComparerIId
2022-05-06 13:50:26 +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
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
ngfrolov
9023aef984
Контроллер заглушка для суточного рапорта.
2022-04-19 12:14:03 +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
Фролов
8de73084f2
Add Mse to telemetryDataSaub
2022-03-10 17:18:30 +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
Фролов
f286410eff
Add DrillingProgramCreateError
2022-02-28 14:44:15 +05:00
Фролов
cee68bf4ee
DrillingProgramStateDto Add PermissionToEdit
2022-02-24 09:52:11 +05:00
Фролов
29845aa36a
Add tests for DrillingProgramService
2022-02-21 17:55:50 +05:00
Фролов
e4e906c8d7
DrillingProgramService существенно переработан.
2022-02-12 11:28:16 +05:00
Фролов
4c68045398
Rename_DrillingProgram_FileCategories
...
Add entity DrillingProgram parts
2022-02-09 14:25:22 +05:00
Фролов
f81dcf2a46
PermissionsMiddlware Add auto generate permissionsName
2022-01-13 17:08:07 +05:00
Фролов
f3803c0622
Add companyTypeId
2022-01-13 14:34:58 +05:00
Фролов
7487dfb342
Merge branch 'dev' into RefactorRoles
2022-01-12 17:50:21 +05:00
Фролов
9eb1070941
Add Day to TVD
2022-01-12 17:46:33 +05:00
Фролов
e09e358cd0
Add RelationUserRoleUserRole for multiple parents. INCOMPLETE
2022-01-12 16:33:53 +05:00
Фролов
2c51c352b1
CS2-139 Добавить контроллер AdminCompanyType
2022-01-12 13:33:16 +05:00
Фролов
90a0aa9e5b
Add TryGetTimezone methods.
...
EnshureTimezonesIsSet() sets default timezone if can't find correct one.
Edit WellDto to fix exception by constr: FK_t_well_t_well_type_id_well_type. Make IdWellType optional.
2022-01-10 17:39: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
Фролов
ecfdbfc394
Fix UserService.UpdateAsync() preserve users password.
2021-12-22 16:55:39 +05:00
Фролов
d40bced3a0
Merge branch 'dev' into RefactorWellService
2021-12-22 11:53:31 +05:00
Фролов
c5ed3c467f
fix and refactor WellService.
2021-12-22 11:41:18 +05:00
Харченко Владимир
1ec76e812f
CS2-99: Fixed well fact end date depending on well state
2021-12-21 16:36:28 +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
Фролов
5d45eb7289
Adapt RequestLogUserDto for frontend usage
2021-12-17 16:24:54 +05:00
Фролов
9bb1cc5abc
Add some fields into dtos to make possible assign telemetry to well.
2021-12-17 13:07:45 +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
Харченко Владимир
888c28cdf8
CS2-133: Removed Value property from roles to permissions models and services
2021-12-15 16:21:52 +05:00
Фролов
551c60c4ff
Add/refactor services for permissions authorization model.
...
Rename some fields in DB.permission.
2021-12-11 16:46:04 +05:00
Фролов
00dd39b587
merge dev to this
2021-12-03 09:58:48 +05:00
Фролов
06eb85e275
remove useless props "description" from ClusterDto, DepostDto
2021-12-02 09:53:30 +05:00
KharchenkoVladimir
22c5d33b7e
CS2-123: Added AdminPermissionController and Service
2021-12-01 17:10:17 +05:00
KharchenkoVladimir
cf517eabd5
CS2-123: Fixed role permissions create/update operations
2021-12-01 16:09:06 +05:00
KharchenkoVladimir
fd139079a4
CS2-123: Added [JsonIgnore] to UserRoleDto
2021-11-30 09:34:23 +05:00
KharchenkoVladimir
9280b28e10
CS2-123: Returned table for roles permissions.
2021-11-29 17:34:53 +05:00
KharchenkoVladimir
2d9388cb2a
Revert "CS2-123: Changed role permissions to bit collection"
...
This reverts commit ad34e6445c
.
2021-11-29 12:39:28 +05:00
KharchenkoVladimir
ad34e6445c
CS2-123: Changed role permissions to bit collection
2021-11-26 17:05:41 +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
KharchenkoVladimir
872598dcdd
CS2-123: Added models for user roles and permissions. Fixed auth UserToken.
2021-11-24 11:30:29 +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
53dbb2d959
CS2-119: Added timezone info receive method in TelemetryService
2021-11-16 17:14:36 +05:00
KharchenkoVladimir
88f9236b8a
CS2-119: Added Telemetry Timezone object and update timezone functionality
2021-11-16 13:14:31 +05:00
Фролов
864d851b6a
BIG. Add timescaleDB into DB.
...
Adapt contect to use hypertables.
Refactor TelemetryDataBaseService to avoid duplicate keys and try to save as more as posible
2021-11-13 18:47:11 +05:00
Фролов
bfb76b9dc0
Add request tracker. it also track users activity.
2021-11-10 14:23:53 +05:00
Фролов
b643934411
Replace UserLogin string to userId in FilePublishInfo and some renames. In Model, no migrations needed.
2021-11-09 17:24:30 +05:00
cult
a53d557f2a
CS2-104: Added confirm of drilling program parts
2021-11-01 16:41:25 +05:00
Фролов
62a38aeeaf
Refactor TelemetryData*dtos for smaller size.
...
Add protobuf.
2021-10-31 16:35:09 +05:00
cult
45b4d8bb23
CS2-106: Fixed Drilling program creation and preview logic
2021-10-29 12:47:18 +05:00
KharchenkoVladimir
d19a62c041
Added Id well type field in WellDto
2021-10-20 16:57:35 +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
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
3a6f5e7f5e
Added last received telemetry date in WellDto
2021-10-15 15:35:18 +05:00
Фролов
83d1527039
Add IdWellOperationCategory to DrillFlowChartDto and doc.
2021-10-15 10:01:09 +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
Фролов
4878a8c25c
Add SpinPlcVersion to TelemetryInfoDto
2021-10-13 17:15:00 +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
Фролов
e05c291b2b
Add model WellComposite
2021-10-12 10:39:42 +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
Фролов
e7a4164eaf
Rename DrillingParam.Consumption to Flow
2021-10-11 16:20:07 +05:00
KharchenkoVladimir
afd2801715
CS2-94: Added main DrillParams controller and service methods
2021-10-11 15:21:26 +05:00
Фролов
4fe570f3e9
Refactor WellOperation WellDepth split to DepthStart and DepthEnd.
...
Fix other services to use new model.
2021-10-08 11:30:06 +05:00
Фролов
4c08a2963f
Add fileDto to reportprops dto. For unification download mechanism.
2021-09-30 12:38:29 +05:00
KharchenkoVV
804bdc6175
Merge branch 'dev' of https://bitbucket.org/autodrilling/asbcloudserver into dev
2021-09-24 11:17:42 +05:00
KharchenkoVV
53ef4425c9
CS2-87: Added well depth display to messages table.
2021-09-24 11:17:31 +05:00
Фролов
86e929d920
comment
2021-09-23 17:58:56 +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
Фролов
30a59d0809
cleanup
2021-09-10 11:28:57 +05:00
Фролов
6a338403af
Add IId interface to all supported classes
2021-09-09 12:31:12 +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
Фролов
14cf99a1dd
Add DrillingProgramController
2021-08-29 17:25:16 +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
Фролов
54d4a16d14
Add WellType into StatWellDto
2021-08-25 15:17:24 +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
KharchenkoVV
791f72cbdb
CS2-65: United GetSectionsData() and GetWholeWellData() methods
2021-08-20 16:56:21 +05:00
KharchenkoVV
fbff8e986a
CS2-65: Added operations calculation for whole well
2021-08-20 13:56:01 +05:00
KharchenkoVV
b39f07821d
CS2-58: Added files filtering by requested companies ids
2021-08-20 11:20:24 +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
72510cbcf3
Fixed WellOperation Type & Date fields
2021-08-16 16:27:09 +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
b218187117
CS2-37: Fixed OperationsToInterval() analytics. Half done.
2021-08-13 12:32:43 +05:00
Фролов
3a325f6c94
Очистка и анализ кода
2021-08-09 15:41:42 +05:00
Фролов
0434ec4fd9
remove duplicate interface inh.
2021-08-09 14:39:23 +05:00
KharchenkoVV
91da4fa9c2
Deleted link to AsbCloudDb from AsbCloudApp + codefix
2021-08-09 14:01:57 +05:00
KharchenkoVV
433900a1ee
CS2-43: Fixed 'Last data' tables saving issues
2021-08-04 14:22:00 +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
4d08e0e562
CS2-43: Доработанный контроллер, Dto и EF модели для 'Последних данных'
2021-08-02 12:23:18 +05:00
Фролов
77f1f54c30
IsCompanyOwnsWell rename to IsCompanyInvolvedInWell
2021-07-29 12:39:22 +05:00
Фролов
38b21d80f1
replace automapper to mapster
2021-07-28 09:46:58 +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
KharchenkoVV
99242f6995
CS2-38: Добавлены модель, контроллер и сервис для сохранения и отправки файлов по категориям
2021-07-23 17:40:31 +05:00
KharchenkoVV
2d2a7d744e
Merge branch 'master' of https://bitbucket.org/frolovng/asbcloudserver
2021-07-22 15:22:50 +05:00
KharchenkoVV
016522fbd5
Поле Duration заменено на DurationSec (в Dto и модели для Operation)
2021-07-22 15:22:33 +05:00
Фролов
e5a3e30183
CS2-36 В контроллер Deposit добавить метод получения "дерева" доступных пользователю месторождений->кустов->скважин для панели навигации фронта
2021-07-22 14:23:47 +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
2586bacaf6
CS2-31: Добавлены параметры id_feed_regulator и MSE в передачу и сохранение в БД (в DataSaubBase)
2021-07-20 13:42:07 +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
fd5871a9ec
CS2-24: Добавлены данные аналитики по операциям
2021-06-30 10:16:06 +05:00
KharchenkoVV
5259a1c730
CS2-24: Правки к предыдущим 3 коммитам
2021-06-25 15:10:05 +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
1bc374523a
CS2-3: Добавлено получение отчетов с сервера и оповещение о прогрессе получения
2021-06-07 16:31:14 +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
335792ae94
CS2-1: Исправлена возможность получения диапазона дат сообщений
2021-05-14 17:02:29 +05:00
Фролов
7d8974a8e5
Заработала синхронизация с панели
2021-04-30 17:35:35 +05:00
Фролов
fce20a2a10
autocleanup
2021-04-23 10:21:25 +05:00
Фролов
24e0bed979
настроил разделение по группас в signalR, отправку из веб апи. доработал кеш.
2021-04-09 17:59:07 +05:00
Фролов
ef9bb8f39f
среда:)
2021-04-07 18:01:56 +05:00
Фролов
31a2e1e878
Добавьте файлы проекта.
2021-04-02 17:28:07 +05:00