From fa9486e44ddfb57e2c8f78580555d816773b13a7 Mon Sep 17 00:00:00 2001 From: ngfrolov Date: Mon, 11 Apr 2022 18:00:34 +0500 Subject: [PATCH] grouping services and controllers --- AsbCloudApp/Comparators/ComparerIId.cs | 4 +- AsbCloudApp/Data/CompanyTypeDto.cs | 2 +- AsbCloudApp/Data/DrillParamsDto.cs | 34 +- AsbCloudApp/Data/FileCategoryDto.cs | 8 +- AsbCloudApp/Data/FileInfoDto.cs | 2 +- AsbCloudApp/Data/PermissionDto.cs | 2 +- AsbCloudApp/Data/RequestLogDto.cs | 2 +- .../Data/{ => SAUB}/SetpointInfoDto.cs | 2 +- .../Data/{ => SAUB}/SetpointsRequestDto.cs | 5 +- AsbCloudApp/Data/SimpleTimezoneDto.cs | 6 +- AsbCloudApp/Data/TelemetryDto.cs | 1 - AsbCloudApp/Data/UserDto.cs | 6 +- AsbCloudApp/Data/UserRegistrationDto.cs | 4 +- AsbCloudApp/Data/UserRoleDto.cs | 2 +- AsbCloudApp/Data/WITS/Record50Dto.cs | 40 +- AsbCloudApp/Data/WITS/Record60Dto.cs | 22 +- AsbCloudApp/Data/WITS/Record61Dto.cs | 24 +- AsbCloudApp/Data/WITS/Record7Dto.cs | 40 +- AsbCloudApp/Data/WITS/Record8Dto.cs | 98 +- AsbCloudApp/Data/WITS/RecordBaseDto.cs | 16 +- AsbCloudApp/Data/WellDto.cs | 2 +- .../Exceptions/ArgumentInvalidException.cs | 4 +- AsbCloudApp/Exceptions/ForbidException.cs | 6 +- .../Services/IBackgroundWorkerService.cs | 3 +- .../Services/IDrillFlowChartService.cs | 4 +- AsbCloudApp/Services/IDrillParamsService.cs | 8 +- .../Services/IDrillingProgramService.cs | 3 +- AsbCloudApp/Services/IEmailService.cs | 3 +- AsbCloudApp/Services/IFileShareService.cs | 1 - AsbCloudApp/Services/ISetpointsService.cs | 5 +- AsbCloudApp/Services/ITimeZoneService.cs | 1 - AsbCloudApp/Services/IUserService.cs | 2 +- AsbCloudApp/Services/IWellService.cs | 4 +- AsbCloudApp/Services/IWitsRepository.cs | 2 +- AsbCloudApp/Services/InstantDataRepository.cs | 3 +- AsbCloudApp/Tree.cs | 14 +- AsbCloudDb/EFExtentions.cs | 22 +- .../20210914105045_RefactorTelemetryData.cs | 6 +- .../20211013123137_Add_Drill_Flow_Chart.cs | 4 +- .../20211101112932_Add_File_Marks.cs | 4 +- .../Migrations/20211124111523_AddSetpoints.cs | 6 +- ...211130121716_Renamed_Permissions_Tables.cs | 4 +- .../20211215111416_RemovedPermissionValues.cs | 4 +- ...7053852_Specify_type_for_datetime_props.cs | 4 +- .../20220401122724_Add_WitsRecords.cs | 4 +- AsbCloudDb/Model/AsbCloudDbContext.cs | 23 +- AsbCloudDb/Model/DrillFlowChart.cs | 8 +- AsbCloudDb/Model/DrillParams.cs | 2 +- AsbCloudDb/Model/FileInfo.cs | 8 +- AsbCloudDb/Model/FileMark.cs | 18 +- AsbCloudDb/Model/IAsbCloudDbContext.cs | 2 +- AsbCloudDb/Model/Permission.cs | 4 +- AsbCloudDb/Model/RawData.cs | 2 +- AsbCloudDb/Model/RelationUserUserRole.cs | 1 - AsbCloudDb/Model/SetpointsRequest.cs | 4 +- AsbCloudDb/Model/Telemetry.cs | 4 +- AsbCloudDb/Model/TelemetryDataSpin.cs | 1 - AsbCloudDb/Model/User.cs | 6 +- AsbCloudDb/Model/UserRole.cs | 4 +- AsbCloudDb/Model/WITS/Record1.cs | 1 - AsbCloudDb/Model/WITS/Record10.cs | 748 ++--- AsbCloudDb/Model/WITS/Record11.cs | 804 ++--- AsbCloudDb/Model/WITS/Record12.cs | 608 ++-- AsbCloudDb/Model/WITS/Record13.cs | 1168 ++++---- AsbCloudDb/Model/WITS/Record14.cs | 636 ++-- AsbCloudDb/Model/WITS/Record15.cs | 1476 ++++----- AsbCloudDb/Model/WITS/Record16.cs | 1112 +++---- AsbCloudDb/Model/WITS/Record17.cs | 888 +++--- AsbCloudDb/Model/WITS/Record18.cs | 692 ++--- AsbCloudDb/Model/WITS/Record19.cs | 2630 ++++++++--------- AsbCloudDb/Model/WITS/Record2.cs | 830 +++--- AsbCloudDb/Model/WITS/Record20.cs | 1644 +++++------ AsbCloudDb/Model/WITS/Record21.cs | 1196 ++++---- AsbCloudDb/Model/WITS/Record22.cs | 104 +- AsbCloudDb/Model/WITS/Record23.cs | 860 +++--- AsbCloudDb/Model/WITS/Record24.cs | 1616 +++++----- AsbCloudDb/Model/WITS/Record25.cs | 1280 ++++---- AsbCloudDb/Model/WITS/Record3.cs | 552 ++-- AsbCloudDb/Model/WITS/Record4.cs | 916 +++--- AsbCloudDb/Model/WITS/Record5.cs | 468 +-- AsbCloudDb/Model/WITS/Record50.cs | 552 ++-- AsbCloudDb/Model/WITS/Record6.cs | 776 ++--- AsbCloudDb/Model/WITS/Record60.cs | 300 +- AsbCloudDb/Model/WITS/Record61.cs | 328 +- AsbCloudDb/Model/WITS/Record7.cs | 552 ++-- AsbCloudDb/Model/WITS/Record8.cs | 1364 ++++----- AsbCloudDb/Model/WITS/Record9.cs | 636 ++-- AsbCloudDb/Model/WITS/RecordBase.cs | 221 +- AsbCloudDb/Model/Well.cs | 2 +- AsbCloudDb/Model/WellComposite.cs | 1 - AsbCloudDb/Model/WellSectionType.cs | 2 +- AsbCloudInfrastructure/DateTimeExtentions.cs | 2 +- AsbCloudInfrastructure/DependencyInjection.cs | 14 +- .../ReportDataSourcePgCloud.cs | 13 +- .../Services/Analysis/InterpolationLine.cs | 6 +- .../TelemetryAnalyticsBackgroundService.cs | 23 +- .../Analysis/TelemetryAnalyticsService.cs | 38 +- .../Services/AuthService.cs | 18 +- .../Services/BackgroundWorkerService.cs | 5 +- .../Services/Cache/CacheDb.cs | 7 +- .../Services/Cache/CacheTable.cs | 12 +- .../Services/Cache/CacheTableDataStore.cs | 3 +- .../Services/ClusterService.cs | 15 +- .../Services/CrudCacheServiceBase.cs | 23 +- .../Services/CrudServiceBase.cs | 6 +- .../Services/DrillFlowChartService.cs | 33 +- .../Services/DrillParamsService.cs | 58 +- .../DrillingProgram/DrillingProgramMaker.cs | 8 +- .../DrillingProgram/DrillingProgramService.cs | 65 +- .../Services/EmailService.cs | 15 +- .../Services/FileService.cs | 30 +- .../Services/GoogleDriveService.cs | 50 +- .../Services/MeasureService.cs | 9 +- .../Services/ReportService.cs | 6 +- .../Services/RequestTrackerService.cs | 16 +- .../Services/{ => SAUB}/EventService.cs | 2 +- .../Services/{ => SAUB}/MessageService.cs | 18 +- .../Services/SAUB/Readme.md | 1 + .../Services/{ => SAUB}/SetpointsService.cs | 10 +- .../{ => SAUB}/TelemetryDataBaseService.cs | 30 +- .../{ => SAUB}/TelemetryDataSaubService.cs | 8 +- .../{ => SAUB}/TelemetryDataSpinService.cs | 2 +- .../Services/{ => SAUB}/TelemetryService.cs | 48 +- .../Services/{ => SAUB}/TelemetryTracker.cs | 30 +- .../{ => SAUB}/TelemetryUserService.cs | 2 +- .../Services/TimeZoneService.cs | 7 +- .../Services/UserRoleService.cs | 31 +- .../Services/UserService.cs | 32 +- .../OperationsStatService.cs | 30 +- .../ScheduleReportService.cs | 28 +- .../WellOperationImportService.cs | 24 +- .../WellOperationService.cs | 10 +- .../Services/WellService.cs | 42 +- .../Services/WitsInfoService.cs | 4 +- .../Services/WitsRecordRepository.cs | 2 +- AsbCloudInfrastructure/Startup.cs | 4 +- .../Validators/AuthDtoValidator.cs | 2 +- .../Validators/ClusterDtoValidator.cs | 2 +- .../Validators/CompanyDtoValidator.cs | 2 +- .../Validators/DependencyInjection.cs | 3 - .../Validators/DepositDtoValidator.cs | 2 +- .../Validators/DrillFlowChartDtoValidator.cs | 2 +- .../Validators/EventDtoValidator.cs | 2 +- .../Validators/FileInfoDtoValidator.cs | 2 +- .../Validators/FileMarkDtoValidator.cs | 4 +- .../Validators/MeasureDtoValidator.cs | 2 +- .../Validators/MessageDtoValidator.cs | 2 +- .../Validators/PermissionDtoValidator.cs | 2 +- .../ReportPropertiesDtoValidator.cs | 2 +- .../UserRegistrationDtoValidator.cs | 2 +- .../Validators/UserRoleDtoValidator.cs | 2 +- .../Validators/WellDtoValidator.cs | 2 +- .../Validators/WellOperationDtoValidator.cs | 2 +- .../AnalyticsControllerTests.cs | 2 +- .../TelemetryDataSaubServiceTest.cs | 2 +- .../Controllers/AdminClusterController.cs | 2 +- .../Controllers/AdminDepositController.cs | 2 +- .../Controllers/AdminPermissionController.cs | 10 +- .../Controllers/AdminUserController.cs | 6 +- .../Controllers/AdminUserRoleController.cs | 4 +- .../Controllers/AdminWellController.cs | 4 +- AsbCloudWebApi/Controllers/AuthController.cs | 4 +- AsbCloudWebApi/Controllers/CrudController.cs | 7 +- .../Controllers/DepositController.cs | 2 +- .../Controllers/DrillFlowChartController.cs | 68 +- .../Controllers/DrillParamsController.cs | 70 +- .../Controllers/DrillingProgramController.cs | 12 +- AsbCloudWebApi/Controllers/FileController.cs | 13 +- .../Controllers/MeasureController.cs | 2 +- .../Controllers/OperationStatController.cs | 10 +- .../Controllers/ReportController.cs | 2 +- .../{ => SAUB}/MessageController.cs | 4 +- AsbCloudWebApi/Controllers/SAUB/Readme.md | 1 + .../{ => SAUB}/SetpointsController.cs | 12 +- .../TelemetryAnalyticsController.cs | 2 +- .../{ => SAUB}/TelemetryController.cs | 5 +- .../{ => SAUB}/TelemetryDataBaseController.cs | 10 +- .../{ => SAUB}/TelemetryDataSaubController.cs | 2 +- .../{ => SAUB}/TelemetryDataSpinController.cs | 2 +- .../TelemetryInstantDataController.cs | 16 +- .../TelemetryWirelineRunOutController.cs | 10 +- .../Controllers/WITS/WitsInfoController.cs | 1 - AsbCloudWebApi/Controllers/WellController.cs | 10 +- .../Controllers/WellOperationController.cs | 12 +- .../SimplifyExceptionsMiddleware.cs | 6 +- AsbCloudWebApi/Program.cs | 14 +- AsbCloudWebApi/ProtobufModel.cs | 786 ++--- AsbCloudWebApi/SignalR/TelemetryHub.cs | 4 +- AsbCloudWebApi/Startup.cs | 5 +- AsbCloudWebApi/TraceListenerView.cs | 6 +- 190 files changed, 13729 insertions(+), 13771 deletions(-) rename AsbCloudApp/Data/{ => SAUB}/SetpointInfoDto.cs (89%) rename AsbCloudApp/Data/{ => SAUB}/SetpointsRequestDto.cs (85%) rename AsbCloudInfrastructure/Services/{ => SAUB}/EventService.cs (96%) rename AsbCloudInfrastructure/Services/{ => SAUB}/MessageService.cs (94%) create mode 100644 AsbCloudInfrastructure/Services/SAUB/Readme.md rename AsbCloudInfrastructure/Services/{ => SAUB}/SetpointsService.cs (97%) rename AsbCloudInfrastructure/Services/{ => SAUB}/TelemetryDataBaseService.cs (91%) rename AsbCloudInfrastructure/Services/{ => SAUB}/TelemetryDataSaubService.cs (85%) rename AsbCloudInfrastructure/Services/{ => SAUB}/TelemetryDataSpinService.cs (95%) rename AsbCloudInfrastructure/Services/{ => SAUB}/TelemetryService.cs (95%) rename AsbCloudInfrastructure/Services/{ => SAUB}/TelemetryTracker.cs (93%) rename AsbCloudInfrastructure/Services/{ => SAUB}/TelemetryUserService.cs (96%) rename AsbCloudWebApi/Controllers/{ => SAUB}/MessageController.cs (98%) create mode 100644 AsbCloudWebApi/Controllers/SAUB/Readme.md rename AsbCloudWebApi/Controllers/{ => SAUB}/SetpointsController.cs (97%) rename AsbCloudWebApi/Controllers/{ => SAUB}/TelemetryAnalyticsController.cs (99%) rename AsbCloudWebApi/Controllers/{ => SAUB}/TelemetryController.cs (98%) rename AsbCloudWebApi/Controllers/{ => SAUB}/TelemetryDataBaseController.cs (97%) rename AsbCloudWebApi/Controllers/{ => SAUB}/TelemetryDataSaubController.cs (95%) rename AsbCloudWebApi/Controllers/{ => SAUB}/TelemetryDataSpinController.cs (95%) rename AsbCloudWebApi/Controllers/{ => SAUB}/TelemetryInstantDataController.cs (88%) rename AsbCloudWebApi/Controllers/{ => SAUB}/TelemetryWirelineRunOutController.cs (73%) diff --git a/AsbCloudApp/Comparators/ComparerIId.cs b/AsbCloudApp/Comparators/ComparerIId.cs index a43ff8fd..67d59d08 100644 --- a/AsbCloudApp/Comparators/ComparerIId.cs +++ b/AsbCloudApp/Comparators/ComparerIId.cs @@ -7,7 +7,7 @@ namespace AsbCloudApp.Comparators public class ComparerIId : IComparer, IEqualityComparer { private static readonly ComparerIId instance = new ComparerIId(); - private ComparerIId(){} + private ComparerIId() { } public static ComparerIId GetInstance() => instance; @@ -19,6 +19,6 @@ namespace AsbCloudApp.Comparators public int GetHashCode([DisallowNull] IId obj) => obj.GetHashCode(); - + } } diff --git a/AsbCloudApp/Data/CompanyTypeDto.cs b/AsbCloudApp/Data/CompanyTypeDto.cs index 07366b57..00926724 100644 --- a/AsbCloudApp/Data/CompanyTypeDto.cs +++ b/AsbCloudApp/Data/CompanyTypeDto.cs @@ -4,6 +4,6 @@ { public int Id { get; set; } public string Caption { get; set; } - + } } diff --git a/AsbCloudApp/Data/DrillParamsDto.cs b/AsbCloudApp/Data/DrillParamsDto.cs index 67671128..4e718f89 100644 --- a/AsbCloudApp/Data/DrillParamsDto.cs +++ b/AsbCloudApp/Data/DrillParamsDto.cs @@ -3,43 +3,43 @@ namespace AsbCloudApp.Data public class DrillParamsDto : IId { public int Id { get; set; } - + public int IdWell { get; set; } - + public double DepthStart { get; set; } - + public double DepthEnd { get; set; } - + public int IdWellSectionType { get; set; } public double AxialLoadMin { get; set; } - + public double AxialLoadAvg { get; set; } - + public double AxialLoadMax { get; set; } - + public double PressureMin { get; set; } - + public double PressureAvg { get; set; } - + public double PressureMax { get; set; } public double RotorTorqueMin { get; set; } - + public double RotorTorqueAvg { get; set; } - + public double RotorTorqueMax { get; set; } - + public double RotorSpeedMin { get; set; } - + public double RotorSpeedAvg { get; set; } - + public double RotorSpeedMax { get; set; } - + public double FlowMin { get; set; } - + public double FlowAvg { get; set; } - + public double FlowMax { get; set; } } } \ No newline at end of file diff --git a/AsbCloudApp/Data/FileCategoryDto.cs b/AsbCloudApp/Data/FileCategoryDto.cs index 72fec1b4..3991419c 100644 --- a/AsbCloudApp/Data/FileCategoryDto.cs +++ b/AsbCloudApp/Data/FileCategoryDto.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace AsbCloudApp.Data +namespace AsbCloudApp.Data { public class FileCategoryDto : IId { diff --git a/AsbCloudApp/Data/FileInfoDto.cs b/AsbCloudApp/Data/FileInfoDto.cs index 7153218a..b4563462 100644 --- a/AsbCloudApp/Data/FileInfoDto.cs +++ b/AsbCloudApp/Data/FileInfoDto.cs @@ -14,6 +14,6 @@ namespace AsbCloudApp.Data public long Size { get; set; } public FilePublishInfoDto PublishInfo { get; set; } public UserDto Author { get; set; } - public IEnumerable FileMarks { get; set; } + public IEnumerable FileMarks { get; set; } } } diff --git a/AsbCloudApp/Data/PermissionDto.cs b/AsbCloudApp/Data/PermissionDto.cs index 944c1fc2..6c15e61f 100644 --- a/AsbCloudApp/Data/PermissionDto.cs +++ b/AsbCloudApp/Data/PermissionDto.cs @@ -1,6 +1,6 @@ namespace AsbCloudApp.Data { - public class PermissionDto: IId + public class PermissionDto : IId { public int Id { get; set; } public string Name { get; set; } diff --git a/AsbCloudApp/Data/RequestLogDto.cs b/AsbCloudApp/Data/RequestLogDto.cs index ffbc89ac..4b7d2380 100644 --- a/AsbCloudApp/Data/RequestLogDto.cs +++ b/AsbCloudApp/Data/RequestLogDto.cs @@ -1,7 +1,7 @@ using System; namespace AsbCloudApp.Data -{ +{ public class RequestLogDto { public string UserLogin { get; set; } diff --git a/AsbCloudApp/Data/SetpointInfoDto.cs b/AsbCloudApp/Data/SAUB/SetpointInfoDto.cs similarity index 89% rename from AsbCloudApp/Data/SetpointInfoDto.cs rename to AsbCloudApp/Data/SAUB/SetpointInfoDto.cs index 65a4d59b..131696c2 100644 --- a/AsbCloudApp/Data/SetpointInfoDto.cs +++ b/AsbCloudApp/Data/SAUB/SetpointInfoDto.cs @@ -1,4 +1,4 @@ -namespace AsbCloudApp.Data +namespace AsbCloudApp.Data.SAUB { public class SetpointInfoDto { diff --git a/AsbCloudApp/Data/SetpointsRequestDto.cs b/AsbCloudApp/Data/SAUB/SetpointsRequestDto.cs similarity index 85% rename from AsbCloudApp/Data/SetpointsRequestDto.cs rename to AsbCloudApp/Data/SAUB/SetpointsRequestDto.cs index 1c219722..84948f68 100644 --- a/AsbCloudApp/Data/SetpointsRequestDto.cs +++ b/AsbCloudApp/Data/SAUB/SetpointsRequestDto.cs @@ -1,10 +1,7 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -namespace AsbCloudApp.Data +namespace AsbCloudApp.Data.SAUB { public class SetpointsRequestDto : IId { diff --git a/AsbCloudApp/Data/SimpleTimezoneDto.cs b/AsbCloudApp/Data/SimpleTimezoneDto.cs index 32a8ff9e..2ccdacbd 100644 --- a/AsbCloudApp/Data/SimpleTimezoneDto.cs +++ b/AsbCloudApp/Data/SimpleTimezoneDto.cs @@ -8,9 +8,9 @@ namespace AsbCloudApp.Data public override bool Equals(object obj) { - if(obj is SimpleTimezoneDto tTimeZone - && tTimeZone.Hours == Hours - && tTimeZone.TimezoneId == TimezoneId + if (obj is SimpleTimezoneDto tTimeZone + && tTimeZone.Hours == Hours + && tTimeZone.TimezoneId == TimezoneId && tTimeZone.IsOverride == IsOverride) return true; return false; diff --git a/AsbCloudApp/Data/TelemetryDto.cs b/AsbCloudApp/Data/TelemetryDto.cs index 66bf9cc1..804d7210 100644 --- a/AsbCloudApp/Data/TelemetryDto.cs +++ b/AsbCloudApp/Data/TelemetryDto.cs @@ -1,5 +1,4 @@ using AsbCloudApp.Data.SAUB; -using System.Text.Json.Serialization; namespace AsbCloudApp.Data { diff --git a/AsbCloudApp/Data/UserDto.cs b/AsbCloudApp/Data/UserDto.cs index cc330b2c..e546d922 100644 --- a/AsbCloudApp/Data/UserDto.cs +++ b/AsbCloudApp/Data/UserDto.cs @@ -1,13 +1,13 @@ namespace AsbCloudApp.Data { - public class UserDto: IId + public class UserDto : IId { public int Id { get; set; } public string Login { get; set; } public string Name { get; set; } public string Surname { get; set; } - public string Patronymic { get; set; } - public string Email { get; set; } + public string Patronymic { get; set; } + public string Email { get; set; } public string Phone { get; set; } public string Position { get; set; } public int? IdCompany { get; set; } diff --git a/AsbCloudApp/Data/UserRegistrationDto.cs b/AsbCloudApp/Data/UserRegistrationDto.cs index 73cd53ee..6d8d53e2 100644 --- a/AsbCloudApp/Data/UserRegistrationDto.cs +++ b/AsbCloudApp/Data/UserRegistrationDto.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace AsbCloudApp.Data +namespace AsbCloudApp.Data { public class UserRegistrationDto : UserDto { diff --git a/AsbCloudApp/Data/UserRoleDto.cs b/AsbCloudApp/Data/UserRoleDto.cs index b7a06039..94268a16 100644 --- a/AsbCloudApp/Data/UserRoleDto.cs +++ b/AsbCloudApp/Data/UserRoleDto.cs @@ -10,7 +10,7 @@ namespace AsbCloudApp.Data public int IdType { get; set; } public IEnumerable Permissions { get; set; } public virtual ICollection Roles { get; set; } - + [JsonIgnore] public virtual ICollection Users { get; set; } diff --git a/AsbCloudApp/Data/WITS/Record50Dto.cs b/AsbCloudApp/Data/WITS/Record50Dto.cs index 452a6d08..c72fa154 100644 --- a/AsbCloudApp/Data/WITS/Record50Dto.cs +++ b/AsbCloudApp/Data/WITS/Record50Dto.cs @@ -5,7 +5,7 @@ namespace AsbCloudApp.Data.WITS /// Description: SibReciver. Резистивиметр MCR /// Description2: /// - + public class Record50Dto : RecordBaseDto { @@ -21,7 +21,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptbitm { get; set; } /// @@ -36,7 +36,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? DeptmeasMcrstat { get; set; } /// @@ -51,7 +51,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mcrstat { get; set; } /// @@ -66,7 +66,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? DeptmeasSlvlMc { get; set; } /// @@ -81,7 +81,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? SlvlMc { get; set; } /// @@ -96,7 +96,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? DeptmeasGdpMc { get; set; } /// @@ -111,7 +111,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? GdpMc { get; set; } /// @@ -126,7 +126,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? DeptmeasRa33f2Mc { get; set; } /// @@ -141,7 +141,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Ra33f2Mc { get; set; } /// @@ -156,7 +156,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? DeptmeasRp33f2Mc { get; set; } /// @@ -171,7 +171,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Rp33f2Mc { get; set; } /// @@ -186,7 +186,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? DeptmeasRa33f4Mc { get; set; } /// @@ -201,7 +201,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Ra33f4Mc { get; set; } /// @@ -216,7 +216,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? DeptmeasRp33f4Mc { get; set; } /// @@ -231,7 +231,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Rp33f4Mc { get; set; } /// @@ -246,7 +246,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? DeptmeasRa33Mc { get; set; } /// @@ -261,7 +261,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Ra33Mc { get; set; } /// @@ -276,7 +276,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? DeptmeasRp33Mc { get; set; } /// @@ -291,7 +291,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Rp33Mc { get; set; } } diff --git a/AsbCloudApp/Data/WITS/Record60Dto.cs b/AsbCloudApp/Data/WITS/Record60Dto.cs index 2fa2e2e1..19dc5338 100644 --- a/AsbCloudApp/Data/WITS/Record60Dto.cs +++ b/AsbCloudApp/Data/WITS/Record60Dto.cs @@ -5,7 +5,7 @@ namespace AsbCloudApp.Data.WITS /// Description: SibReciver. Передача полных /// Description2: /// - + public class Record60Dto : RecordBaseDto { @@ -21,7 +21,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptbitm { get; set; } /// @@ -36,7 +36,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptmeas { get; set; } /// @@ -51,7 +51,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Gtot { get; set; } /// @@ -66,7 +66,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Gx { get; set; } /// @@ -81,7 +81,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Gy { get; set; } /// @@ -96,7 +96,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Gz { get; set; } /// @@ -111,7 +111,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Btot { get; set; } /// @@ -126,7 +126,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Bx { get; set; } /// @@ -141,7 +141,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? By { get; set; } /// @@ -156,7 +156,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Bz { get; set; } } diff --git a/AsbCloudApp/Data/WITS/Record61Dto.cs b/AsbCloudApp/Data/WITS/Record61Dto.cs index 2c7e3f24..12d59663 100644 --- a/AsbCloudApp/Data/WITS/Record61Dto.cs +++ b/AsbCloudApp/Data/WITS/Record61Dto.cs @@ -5,7 +5,7 @@ namespace AsbCloudApp.Data.WITS /// Description: SibReciver. Резистивиметр Corvet /// Description2: /// - + public class Record61Dto : RecordBaseDto { @@ -21,7 +21,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptbitm { get; set; } /// @@ -36,7 +36,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptmeas { get; set; } /// @@ -51,7 +51,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Phl1f1 { get; set; } /// @@ -66,7 +66,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Phl1f2 { get; set; } /// @@ -81,7 +81,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Phl2f1 { get; set; } /// @@ -96,7 +96,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Phl2f2 { get; set; } /// @@ -111,7 +111,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Att06h { get; set; } /// @@ -126,7 +126,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Att06l { get; set; } /// @@ -141,7 +141,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Att10h { get; set; } /// @@ -156,7 +156,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Att10l { get; set; } /// @@ -171,7 +171,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Status { get; set; } } diff --git a/AsbCloudApp/Data/WITS/Record7Dto.cs b/AsbCloudApp/Data/WITS/Record7Dto.cs index 5066cb8e..61c3f99d 100644 --- a/AsbCloudApp/Data/WITS/Record7Dto.cs +++ b/AsbCloudApp/Data/WITS/Record7Dto.cs @@ -5,7 +5,7 @@ namespace AsbCloudApp.Data.WITS /// Description: Directional/Survey data /// Description2: /// - + public class Record7Dto : RecordBaseDto { @@ -21,7 +21,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptsvym { get; set; } /// @@ -36,7 +36,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptsvyv { get; set; } /// @@ -51,7 +51,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 2, /// ValueType = "S" /// - + public short? Passnum { get; set; } /// @@ -66,7 +66,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptmeas { get; set; } /// @@ -81,7 +81,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 8, /// ValueType = "A" /// - + public string Svytype { get; set; } /// @@ -96,7 +96,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Svyinc { get; set; } /// @@ -111,7 +111,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Svyazu { get; set; } /// @@ -126,7 +126,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Svyazc { get; set; } /// @@ -141,7 +141,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Svymtf { get; set; } /// @@ -156,7 +156,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Svygtf { get; set; } /// @@ -171,7 +171,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Svyns { get; set; } /// @@ -186,7 +186,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Svyew { get; set; } /// @@ -201,7 +201,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Svydls { get; set; } /// @@ -216,7 +216,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Svywalk { get; set; } /// @@ -231,7 +231,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Spare1 { get; set; } /// @@ -246,7 +246,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Spare2 { get; set; } /// @@ -261,7 +261,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Spare3 { get; set; } /// @@ -276,7 +276,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Spare4 { get; set; } /// @@ -291,7 +291,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Spare5 { get; set; } } diff --git a/AsbCloudApp/Data/WITS/Record8Dto.cs b/AsbCloudApp/Data/WITS/Record8Dto.cs index df1cf67e..38a83aad 100644 --- a/AsbCloudApp/Data/WITS/Record8Dto.cs +++ b/AsbCloudApp/Data/WITS/Record8Dto.cs @@ -5,7 +5,7 @@ namespace AsbCloudApp.Data.WITS /// Description: MWD Formation Evaluation data /// Description2: /// - + public class Record8Dto : RecordBaseDto { @@ -21,7 +21,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptmeas { get; set; } /// @@ -36,7 +36,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptvert { get; set; } /// @@ -51,7 +51,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptbitm { get; set; } /// @@ -66,7 +66,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptbitv { get; set; } /// @@ -81,7 +81,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 2, /// ValueType = "S" /// - + public short? Passnum { get; set; } /// @@ -96,7 +96,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptrs1m { get; set; } /// @@ -111,7 +111,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptrs1v { get; set; } /// @@ -126,7 +126,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mr1 { get; set; } /// @@ -141,7 +141,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mr1c { get; set; } /// @@ -156,7 +156,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptrs2m { get; set; } /// @@ -171,7 +171,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptrs2v { get; set; } /// @@ -186,7 +186,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mr2 { get; set; } /// @@ -201,7 +201,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mr2c { get; set; } /// @@ -216,7 +216,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptgr1m { get; set; } /// @@ -231,7 +231,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptgr1v { get; set; } /// @@ -246,7 +246,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mg1 { get; set; } /// @@ -261,7 +261,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mg1c { get; set; } /// @@ -276,7 +276,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptgr2m { get; set; } /// @@ -291,7 +291,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptgr2v { get; set; } /// @@ -306,7 +306,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mg2 { get; set; } /// @@ -321,7 +321,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mg2c { get; set; } /// @@ -336,7 +336,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptp1m { get; set; } /// @@ -351,7 +351,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptp1v { get; set; } /// @@ -366,7 +366,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mpo1 { get; set; } /// @@ -381,7 +381,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptp2m { get; set; } /// @@ -396,7 +396,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptp2v { get; set; } /// @@ -411,7 +411,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mpo2 { get; set; } /// @@ -426,7 +426,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mftann { get; set; } /// @@ -441,7 +441,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mftpipe { get; set; } /// @@ -456,7 +456,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mfrann { get; set; } /// @@ -471,7 +471,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mfrpipe { get; set; } /// @@ -486,7 +486,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptfdm { get; set; } /// @@ -501,7 +501,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptfdv { get; set; } /// @@ -516,7 +516,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mfd { get; set; } /// @@ -531,7 +531,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptcalm { get; set; } /// @@ -546,7 +546,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Deptcalv { get; set; } /// @@ -561,7 +561,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mclp { get; set; } /// @@ -576,7 +576,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mfpp { get; set; } /// @@ -591,7 +591,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Mffp { get; set; } /// @@ -606,7 +606,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Spare1 { get; set; } /// @@ -621,7 +621,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Spare2 { get; set; } /// @@ -636,7 +636,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Spare3 { get; set; } /// @@ -651,7 +651,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Spare4 { get; set; } /// @@ -666,7 +666,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Spare5 { get; set; } /// @@ -681,7 +681,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Spare6 { get; set; } /// @@ -696,7 +696,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Spare7 { get; set; } /// @@ -711,7 +711,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Spare8 { get; set; } /// @@ -726,7 +726,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "F" /// - + public float? Spare9 { get; set; } } diff --git a/AsbCloudApp/Data/WITS/RecordBaseDto.cs b/AsbCloudApp/Data/WITS/RecordBaseDto.cs index 6116650f..78777041 100644 --- a/AsbCloudApp/Data/WITS/RecordBaseDto.cs +++ b/AsbCloudApp/Data/WITS/RecordBaseDto.cs @@ -5,7 +5,7 @@ namespace AsbCloudApp.Data.WITS /// /// This is base class for all WITS-0 records /// - public abstract class RecordBaseDto: ITelemetryData + public abstract class RecordBaseDto : ITelemetryData { public int Id { get; set; } @@ -27,7 +27,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 16, /// ValueType = "A" /// - + public string Wellid { get; set; } /// @@ -42,7 +42,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 2, /// ValueType = "S" /// - + public short? Stknum { get; set; } /// @@ -57,7 +57,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 2, /// ValueType = "S" /// - + public short? Recid { get; set; } /// @@ -72,7 +72,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "L" /// - + public int? Seqid { get; set; } /// @@ -87,7 +87,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "L" /// - + public int? Date_ { get; set; } /// @@ -102,7 +102,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 4, /// ValueType = "L" /// - + public int? Time { get; set; } /// @@ -117,7 +117,7 @@ namespace AsbCloudApp.Data.WITS /// Length = 2, /// ValueType = "S" /// - + public short? Actcod { get; set; } } } diff --git a/AsbCloudApp/Data/WellDto.cs b/AsbCloudApp/Data/WellDto.cs index f89c6956..6a7c5599 100644 --- a/AsbCloudApp/Data/WellDto.cs +++ b/AsbCloudApp/Data/WellDto.cs @@ -10,7 +10,7 @@ namespace AsbCloudApp.Data public double? Longitude { get; set; } public SimpleTimezoneDto Timezone { get; set; } public string WellType { get; set; } - public int? IdWellType { get; set; } + public int? IdWellType { get; set; } public int? IdCluster { get; set; } /// diff --git a/AsbCloudApp/Exceptions/ArgumentInvalidException.cs b/AsbCloudApp/Exceptions/ArgumentInvalidException.cs index b1b1bb80..75b31566 100644 --- a/AsbCloudApp/Exceptions/ArgumentInvalidException.cs +++ b/AsbCloudApp/Exceptions/ArgumentInvalidException.cs @@ -5,12 +5,12 @@ namespace AsbCloudApp.Exceptions /// /// Argument validation fail Exception /// - public class ArgumentInvalidException: Exception + public class ArgumentInvalidException : Exception { public string ParamName { get; } public ArgumentInvalidException(string message, string paramName = default) - :base(message) + : base(message) { ParamName = paramName; } diff --git a/AsbCloudApp/Exceptions/ForbidException.cs b/AsbCloudApp/Exceptions/ForbidException.cs index 2bc161b1..a0858d43 100644 --- a/AsbCloudApp/Exceptions/ForbidException.cs +++ b/AsbCloudApp/Exceptions/ForbidException.cs @@ -5,13 +5,13 @@ namespace AsbCloudApp.Exceptions /// /// Access denied exception /// - public class ForbidException: Exception + public class ForbidException : Exception { public ForbidException() - :base(){} + : base() { } public ForbidException(string message) - :base(message){} + : base(message) { } } } diff --git a/AsbCloudApp/Services/IBackgroundWorkerService.cs b/AsbCloudApp/Services/IBackgroundWorkerService.cs index d1831355..c65fd4f5 100644 --- a/AsbCloudApp/Services/IBackgroundWorkerService.cs +++ b/AsbCloudApp/Services/IBackgroundWorkerService.cs @@ -1,5 +1,4 @@ -using AsbCloudApp.Data; -using System; +using System; using System.Threading; using System.Threading.Tasks; diff --git a/AsbCloudApp/Services/IDrillFlowChartService.cs b/AsbCloudApp/Services/IDrillFlowChartService.cs index cef9877c..68102427 100644 --- a/AsbCloudApp/Services/IDrillFlowChartService.cs +++ b/AsbCloudApp/Services/IDrillFlowChartService.cs @@ -1,8 +1,8 @@ +using AsbCloudApp.Data; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -using AsbCloudApp.Data; namespace AsbCloudApp.Services { @@ -13,7 +13,7 @@ namespace AsbCloudApp.Services Task InsertAsync(int idWell, DrillFlowChartDto dto, CancellationToken token = default); - + Task InsertRangeAsync(int idWell, IEnumerable dtos, CancellationToken token = default); diff --git a/AsbCloudApp/Services/IDrillParamsService.cs b/AsbCloudApp/Services/IDrillParamsService.cs index 90aca34c..69a091d1 100644 --- a/AsbCloudApp/Services/IDrillParamsService.cs +++ b/AsbCloudApp/Services/IDrillParamsService.cs @@ -1,13 +1,13 @@ -using System.Collections.Generic; +using AsbCloudApp.Data; +using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -using AsbCloudApp.Data; namespace AsbCloudApp.Services { public interface IDrillParamsService : ICrudService { - Task GetDefaultDrillParamsAsync(int idWell, double startDepth, + Task GetDefaultDrillParamsAsync(int idWell, double startDepth, double endDepth, CancellationToken token = default); Task> GetAllAsync(int idWell, @@ -18,7 +18,7 @@ namespace AsbCloudApp.Services Task InsertAsync(int idWell, DrillParamsDto dto, CancellationToken token = default); - + Task InsertRangeAsync(int idWell, IEnumerable dtos, CancellationToken token = default); diff --git a/AsbCloudApp/Services/IDrillingProgramService.cs b/AsbCloudApp/Services/IDrillingProgramService.cs index 12cfe35f..e17b6481 100644 --- a/AsbCloudApp/Services/IDrillingProgramService.cs +++ b/AsbCloudApp/Services/IDrillingProgramService.cs @@ -1,6 +1,5 @@ using AsbCloudApp.Data; using System.Collections.Generic; -using System.IO; using System.Threading; using System.Threading.Tasks; @@ -10,7 +9,7 @@ namespace AsbCloudApp.Services { Task> GetAvailableUsers(int idWell, CancellationToken token = default); Task> GetCategoriesAsync(CancellationToken token = default); - Task GetStateAsync(int idWell, int idUser, + Task GetStateAsync(int idWell, int idUser, CancellationToken token = default); Task AddFile(int idWell, int idFileCategory, int idUser, string fileFullName, System.IO.Stream fileStream, CancellationToken token = default); Task AddPartsAsync(int idWell, IEnumerable idFileCategories, CancellationToken token = default); diff --git a/AsbCloudApp/Services/IEmailService.cs b/AsbCloudApp/Services/IEmailService.cs index 8e50b13c..011cb33a 100644 --- a/AsbCloudApp/Services/IEmailService.cs +++ b/AsbCloudApp/Services/IEmailService.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; namespace AsbCloudApp.Services { diff --git a/AsbCloudApp/Services/IFileShareService.cs b/AsbCloudApp/Services/IFileShareService.cs index 2a6a2e96..051e8d96 100644 --- a/AsbCloudApp/Services/IFileShareService.cs +++ b/AsbCloudApp/Services/IFileShareService.cs @@ -1,6 +1,5 @@ using System.Threading; using System.Threading.Tasks; -using System.IO; namespace AsbCloudApp.Services { diff --git a/AsbCloudApp/Services/ISetpointsService.cs b/AsbCloudApp/Services/ISetpointsService.cs index 1def6ea4..d5384b3e 100644 --- a/AsbCloudApp/Services/ISetpointsService.cs +++ b/AsbCloudApp/Services/ISetpointsService.cs @@ -1,8 +1,5 @@ -using AsbCloudApp.Data; -using System; +using AsbCloudApp.Data.SAUB; using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading; using System.Threading.Tasks; diff --git a/AsbCloudApp/Services/ITimeZoneService.cs b/AsbCloudApp/Services/ITimeZoneService.cs index 5836e665..23fd9e5e 100644 --- a/AsbCloudApp/Services/ITimeZoneService.cs +++ b/AsbCloudApp/Services/ITimeZoneService.cs @@ -1,5 +1,4 @@ using AsbCloudApp.Data; -using System; using System.Threading; using System.Threading.Tasks; diff --git a/AsbCloudApp/Services/IUserService.cs b/AsbCloudApp/Services/IUserService.cs index fe38eeb2..6496b144 100644 --- a/AsbCloudApp/Services/IUserService.cs +++ b/AsbCloudApp/Services/IUserService.cs @@ -5,7 +5,7 @@ namespace AsbCloudApp.Services { public interface IUserService : ICrudService { - IUserRoleService RoleService { get; } + IUserRoleService RoleService { get; } IEnumerable GetNestedPermissions(int idUser); IEnumerable GetRolesByIdUser(int idUser, int nestedLevel = 0); bool HasAnyRoleOf(int idUser, IEnumerable roleNames); diff --git a/AsbCloudApp/Services/IWellService.cs b/AsbCloudApp/Services/IWellService.cs index 346b878f..76cbf2a9 100644 --- a/AsbCloudApp/Services/IWellService.cs +++ b/AsbCloudApp/Services/IWellService.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { - public interface IWellService: ICrudService + public interface IWellService : ICrudService { ITelemetryService TelemetryService { get; } @@ -14,7 +14,7 @@ namespace AsbCloudApp.Services Task IsCompanyInvolvedInWellAsync(int idCompany, int idWell, CancellationToken token); Task GetWellCaptionByIdAsync(int idWell, CancellationToken token); //TODO: remove that - Task> GetCompaniesAsync(int idWell, CancellationToken token); + Task> GetCompaniesAsync(int idWell, CancellationToken token); bool IsCompanyInvolvedInWell(int idCompany, int idWell); string GetStateText(int state); DateTimeOffset GetLastTelemetryDate(int idWell); diff --git a/AsbCloudApp/Services/IWitsRepository.cs b/AsbCloudApp/Services/IWitsRepository.cs index 34a47126..344c7eb5 100644 --- a/AsbCloudApp/Services/IWitsRepository.cs +++ b/AsbCloudApp/Services/IWitsRepository.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { public interface IWitsRecordRepository - where TDto: ITelemetryData + where TDto : ITelemetryData { Task SaveDataAsync(int idTelemetry, IEnumerable dtos, CancellationToken token); Task> GetAsync(int idTelemetry, DateTime begin, DateTime end, CancellationToken token); diff --git a/AsbCloudApp/Services/InstantDataRepository.cs b/AsbCloudApp/Services/InstantDataRepository.cs index 4f8b0267..8c3b217f 100644 --- a/AsbCloudApp/Services/InstantDataRepository.cs +++ b/AsbCloudApp/Services/InstantDataRepository.cs @@ -1,13 +1,12 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; namespace AsbCloudApp.Services { /// /// /// - public class InstantDataRepository: ConcurrentDictionary> + public class InstantDataRepository : ConcurrentDictionary> { } } diff --git a/AsbCloudApp/Tree.cs b/AsbCloudApp/Tree.cs index 6e854954..ce411644 100644 --- a/AsbCloudApp/Tree.cs +++ b/AsbCloudApp/Tree.cs @@ -1,17 +1,11 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace AsbCloudApp { public class Tree : Dictionary> { public Tree() - {} + { } public Tree(T key, Tree node = null) { @@ -19,8 +13,8 @@ namespace AsbCloudApp } public Tree(Tree other) - :base(other) - {} + : base(other) + { } public Tree(IEnumerable keys) { diff --git a/AsbCloudDb/EFExtentions.cs b/AsbCloudDb/EFExtentions.cs index a799fa0a..3024e9ae 100644 --- a/AsbCloudDb/EFExtentions.cs +++ b/AsbCloudDb/EFExtentions.cs @@ -23,7 +23,7 @@ namespace AsbCloudDb factory = new QueryStringFactory(dbSet); QueryFactories.Add(t, factory); } - + return factory; } @@ -51,7 +51,7 @@ namespace AsbCloudDb } } - interface IQueryStringFactory{} + interface IQueryStringFactory { } class QueryStringFactory : IQueryStringFactory where T : class @@ -104,10 +104,10 @@ namespace AsbCloudDb var list = items.ToList(); for (var i = 0; i < list.Count; i++) { - if(i > 0) + if (i > 0) builder.Append(','); BuildRow(builder, list[i]); - } + } return builder; } @@ -122,13 +122,13 @@ namespace AsbCloudDb private static string FormatValue(object v) => v switch - { - string vStr => $"'{vStr}'", - DateTime vDate => $"'{FormatDateValue(vDate)}'", - DateTimeOffset vDate => $"'{FormatDateValue(vDate.UtcDateTime)}'", - IFormattable vFormattable=> FormatFormattableValue(vFormattable), - _ => System.Text.Json.JsonSerializer.Serialize(v), - }; + { + string vStr => $"'{vStr}'", + DateTime vDate => $"'{FormatDateValue(vDate)}'", + DateTimeOffset vDate => $"'{FormatDateValue(vDate.UtcDateTime)}'", + IFormattable vFormattable => FormatFormattableValue(vFormattable), + _ => System.Text.Json.JsonSerializer.Serialize(v), + }; private static string FormatFormattableValue(IFormattable v) => v switch diff --git a/AsbCloudDb/Migrations/20210914105045_RefactorTelemetryData.cs b/AsbCloudDb/Migrations/20210914105045_RefactorTelemetryData.cs index c8500f54..60b1d0da 100644 --- a/AsbCloudDb/Migrations/20210914105045_RefactorTelemetryData.cs +++ b/AsbCloudDb/Migrations/20210914105045_RefactorTelemetryData.cs @@ -1,6 +1,6 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using System; namespace AsbCloudDb.Migrations { @@ -10,7 +10,7 @@ namespace AsbCloudDb.Migrations { migrationBuilder.DropForeignKey(name: "t_data_saub_base_t_telemetry_id_fk", table: "t_data_saub_base"); migrationBuilder.DropPrimaryKey(name: "PK_t_data_saub_base", table: "t_data_saub_base"); - + migrationBuilder.RenameTable(name: "t_data_saub_base", newName: "t_telemetry_data_saub"); migrationBuilder.RenameIndex(name: "IX_t_data_saub_base_id_telemetry", newName: "IX_t_telemetry_data_saub_id_telemetry"); diff --git a/AsbCloudDb/Migrations/20211013123137_Add_Drill_Flow_Chart.cs b/AsbCloudDb/Migrations/20211013123137_Add_Drill_Flow_Chart.cs index 5d087f2e..bfd3caec 100644 --- a/AsbCloudDb/Migrations/20211013123137_Add_Drill_Flow_Chart.cs +++ b/AsbCloudDb/Migrations/20211013123137_Add_Drill_Flow_Chart.cs @@ -1,6 +1,6 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using System; namespace AsbCloudDb.Migrations { diff --git a/AsbCloudDb/Migrations/20211101112932_Add_File_Marks.cs b/AsbCloudDb/Migrations/20211101112932_Add_File_Marks.cs index 53a80418..da5dd7f4 100644 --- a/AsbCloudDb/Migrations/20211101112932_Add_File_Marks.cs +++ b/AsbCloudDb/Migrations/20211101112932_Add_File_Marks.cs @@ -1,6 +1,6 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using System; namespace AsbCloudDb.Migrations { diff --git a/AsbCloudDb/Migrations/20211124111523_AddSetpoints.cs b/AsbCloudDb/Migrations/20211124111523_AddSetpoints.cs index d8ddb8c1..ddd0c60d 100644 --- a/AsbCloudDb/Migrations/20211124111523_AddSetpoints.cs +++ b/AsbCloudDb/Migrations/20211124111523_AddSetpoints.cs @@ -1,7 +1,7 @@ -using System; -using System.Collections.Generic; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using System; +using System.Collections.Generic; namespace AsbCloudDb.Migrations { diff --git a/AsbCloudDb/Migrations/20211130121716_Renamed_Permissions_Tables.cs b/AsbCloudDb/Migrations/20211130121716_Renamed_Permissions_Tables.cs index 74265926..b49c7053 100644 --- a/AsbCloudDb/Migrations/20211130121716_Renamed_Permissions_Tables.cs +++ b/AsbCloudDb/Migrations/20211130121716_Renamed_Permissions_Tables.cs @@ -1,6 +1,6 @@ -using System.Collections.Generic; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using System.Collections.Generic; namespace AsbCloudDb.Migrations { diff --git a/AsbCloudDb/Migrations/20211215111416_RemovedPermissionValues.cs b/AsbCloudDb/Migrations/20211215111416_RemovedPermissionValues.cs index e53f3611..286face0 100644 --- a/AsbCloudDb/Migrations/20211215111416_RemovedPermissionValues.cs +++ b/AsbCloudDb/Migrations/20211215111416_RemovedPermissionValues.cs @@ -1,6 +1,6 @@ -using System.Collections.Generic; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using System.Collections.Generic; namespace AsbCloudDb.Migrations { diff --git a/AsbCloudDb/Migrations/20211227053852_Specify_type_for_datetime_props.cs b/AsbCloudDb/Migrations/20211227053852_Specify_type_for_datetime_props.cs index cdd2519c..727f4d70 100644 --- a/AsbCloudDb/Migrations/20211227053852_Specify_type_for_datetime_props.cs +++ b/AsbCloudDb/Migrations/20211227053852_Specify_type_for_datetime_props.cs @@ -1,5 +1,5 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; +using System; namespace AsbCloudDb.Migrations { diff --git a/AsbCloudDb/Migrations/20220401122724_Add_WitsRecords.cs b/AsbCloudDb/Migrations/20220401122724_Add_WitsRecords.cs index aaa7e8cb..d9ae0703 100644 --- a/AsbCloudDb/Migrations/20220401122724_Add_WitsRecords.cs +++ b/AsbCloudDb/Migrations/20220401122724_Add_WitsRecords.cs @@ -1,5 +1,5 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; +using System; #nullable disable diff --git a/AsbCloudDb/Model/AsbCloudDbContext.cs b/AsbCloudDb/Model/AsbCloudDbContext.cs index 6eef0855..f4982750 100644 --- a/AsbCloudDb/Model/AsbCloudDbContext.cs +++ b/AsbCloudDb/Model/AsbCloudDbContext.cs @@ -58,7 +58,7 @@ namespace AsbCloudDb.Model //var context = new AsbCloudDbContext(options); public AsbCloudDbContext() : base() - { + { //Database.Migrate(); } @@ -229,12 +229,14 @@ namespace AsbCloudDb.Model .HasConstraintName("t_relation_company_well_t_company_id_fk"); }); - modelBuilder.Entity(entity => { + modelBuilder.Entity(entity => + { entity.HasKey(x => new { x.Id, x.IdInclude }) .HasName("t_relation_user_role_user_role_pk"); }); - modelBuilder.Entity(entity => { + modelBuilder.Entity(entity => + { entity.HasKey(x => new { x.IdUser, x.IdDrillingProgramPart }) .HasName("t_relation_user_drilling_program_part_pk"); }); @@ -252,14 +254,15 @@ namespace AsbCloudDb.Model .HasForeignKey(r => r.IdWellSectionType) .HasConstraintName("t_drill_params_t_well_section_type_id_fk"); }); - + modelBuilder.Entity(entity => { entity.HasIndex(d => d.IdWellOperationCategory); }); - modelBuilder.Entity(entity => { - entity.HasIndex(x => new { x.IdWell, x.IdFileCategory}) + modelBuilder.Entity(entity => + { + entity.HasIndex(x => new { x.IdWell, x.IdFileCategory }) .IsUnique(); }); @@ -268,7 +271,7 @@ namespace AsbCloudDb.Model entity.HasOne(d => d.User) .WithMany(p => p.FileMarks) .HasForeignKey(d => d.IdUser) - .OnDelete(DeleteBehavior.Cascade) + .OnDelete(DeleteBehavior.Cascade) .HasConstraintName("t_user_t_file_mark_fk"); entity.HasOne(d => d.FileInfo) @@ -277,12 +280,12 @@ namespace AsbCloudDb.Model .OnDelete(DeleteBehavior.Cascade) .HasConstraintName("t_file_mark_t_file_info_fk"); }); - + modelBuilder.Entity(entity => { entity.HasKey(e => new { e.IdUser, e.IdUserRole }); }); - + modelBuilder.Entity(entity => { entity.HasKey(e => new { e.IdUserRole, e.IdPermission }); @@ -563,7 +566,7 @@ namespace AsbCloudDb.Model }, }); }); - + modelBuilder.Entity(entity => { entity.HasData(new List{ diff --git a/AsbCloudDb/Model/DrillFlowChart.cs b/AsbCloudDb/Model/DrillFlowChart.cs index 72535aa2..9804621a 100644 --- a/AsbCloudDb/Model/DrillFlowChart.cs +++ b/AsbCloudDb/Model/DrillFlowChart.cs @@ -1,5 +1,5 @@ -using System; using Microsoft.EntityFrameworkCore; +using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization; @@ -15,13 +15,13 @@ namespace AsbCloudDb.Model [Column("well_id"), Comment("Id скважины")] public int IdWell { get; set; } - + [Column("id_operation_category"), Comment("Id типа операции")] public int IdWellOperationCategory { get; set; } - + [Column("last_update", TypeName = "timestamp with time zone"), Comment("Дата последнего изменения")] public DateTimeOffset LastUpdate { get; set; } - + [Column("depth_start"), Comment("Стартовая глубина")] public double DepthStart { get; set; } diff --git a/AsbCloudDb/Model/DrillParams.cs b/AsbCloudDb/Model/DrillParams.cs index 0f4f237d..56056354 100644 --- a/AsbCloudDb/Model/DrillParams.cs +++ b/AsbCloudDb/Model/DrillParams.cs @@ -14,7 +14,7 @@ namespace AsbCloudDb.Model [Column("well_id"), Comment("Id скважины")] public int IdWell { get; set; } - + [Column("depth_start"), Comment("Стартовая глубина")] public double DepthStart { get; set; } diff --git a/AsbCloudDb/Model/FileInfo.cs b/AsbCloudDb/Model/FileInfo.cs index b37a1363..5b670d02 100644 --- a/AsbCloudDb/Model/FileInfo.cs +++ b/AsbCloudDb/Model/FileInfo.cs @@ -1,6 +1,6 @@ -using System; +using Microsoft.EntityFrameworkCore; +using System; using System.Collections.Generic; -using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization; @@ -31,7 +31,7 @@ namespace AsbCloudDb.Model [Column("file_size"), Comment("Размер файла")] public long Size { get; set; } - + [Column("publish_info", TypeName = "jsonb"), Comment("Информация о файле в облаке")] public FilePublishInfo PublishInfo { get; set; } @@ -49,7 +49,7 @@ namespace AsbCloudDb.Model [JsonIgnore] [ForeignKey(nameof(IdCategory))] public virtual FileCategory FileCategory { get; set; } - + [InverseProperty(nameof(FileMark.FileInfo))] public virtual ICollection FileMarks { get; set; } } diff --git a/AsbCloudDb/Model/FileMark.cs b/AsbCloudDb/Model/FileMark.cs index 2e85e46d..b83701e2 100644 --- a/AsbCloudDb/Model/FileMark.cs +++ b/AsbCloudDb/Model/FileMark.cs @@ -1,8 +1,8 @@ -using System; -using System.Text.Json.Serialization; using Microsoft.EntityFrameworkCore; +using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; +using System.Text.Json.Serialization; namespace AsbCloudDb.Model { @@ -12,30 +12,30 @@ namespace AsbCloudDb.Model [Key] [Column("id")] public int Id { get; set; } - + [Column("id_file"), Comment("id файла")] public int IdFile { get; set; } - + [Column("id_mark_type"), Comment("0 - отклонен, 1 - согласован")] public int IdMarkType { get; set; } - + [Column("date_created", TypeName = "timestamp with time zone"), Comment("Дата совершенного действия")] public DateTimeOffset DateCreated { get; set; } - + [Column("id_user"), Comment("id пользователя")] public int IdUser { get; set; } [Column("comment"), Comment("Комментарий")] [StringLength(255)] public string Comment { get; set; } - + [Column("is_deleted"), Comment("Помечен ли файл как удаленный")] public bool IsDeleted { get; set; } - + [JsonIgnore] [ForeignKey(nameof(IdUser))] public virtual User User { get; set; } - + [JsonIgnore] [ForeignKey(nameof(IdFile))] public virtual FileInfo FileInfo { get; set; } diff --git a/AsbCloudDb/Model/IAsbCloudDbContext.cs b/AsbCloudDb/Model/IAsbCloudDbContext.cs index 6d6916af..d1041829 100644 --- a/AsbCloudDb/Model/IAsbCloudDbContext.cs +++ b/AsbCloudDb/Model/IAsbCloudDbContext.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; namespace AsbCloudDb.Model { - public interface IAsbCloudDbContext: IDisposable + public interface IAsbCloudDbContext : IDisposable { DbSet Clusters { get; set; } DbSet Companies { get; set; } diff --git a/AsbCloudDb/Model/Permission.cs b/AsbCloudDb/Model/Permission.cs index e9b46b66..605e5562 100644 --- a/AsbCloudDb/Model/Permission.cs +++ b/AsbCloudDb/Model/Permission.cs @@ -11,11 +11,11 @@ namespace AsbCloudDb.Model [Key] [Column("id")] public int Id { get; set; } - + [Column("name"), Comment("Название")] [StringLength(255)] public string Name { get; set; } - + [Column("description"), Comment("Краткое описание")] [StringLength(255)] public string Description { get; set; } diff --git a/AsbCloudDb/Model/RawData.cs b/AsbCloudDb/Model/RawData.cs index 8200aac6..a3c030aa 100644 --- a/AsbCloudDb/Model/RawData.cs +++ b/AsbCloudDb/Model/RawData.cs @@ -2,7 +2,7 @@ namespace AsbCloudDb.Model { - public class RawData: Dictionary + public class RawData : Dictionary { } diff --git a/AsbCloudDb/Model/RelationUserUserRole.cs b/AsbCloudDb/Model/RelationUserUserRole.cs index 132875fa..5e159c3c 100644 --- a/AsbCloudDb/Model/RelationUserUserRole.cs +++ b/AsbCloudDb/Model/RelationUserUserRole.cs @@ -1,6 +1,5 @@ using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; -using System.ComponentModel.DataAnnotations; namespace AsbCloudDb.Model { diff --git a/AsbCloudDb/Model/SetpointsRequest.cs b/AsbCloudDb/Model/SetpointsRequest.cs index 7523d6cc..a3f1e933 100644 --- a/AsbCloudDb/Model/SetpointsRequest.cs +++ b/AsbCloudDb/Model/SetpointsRequest.cs @@ -1,6 +1,6 @@ -using System; +using Microsoft.EntityFrameworkCore; +using System; using System.Collections.Generic; -using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; diff --git a/AsbCloudDb/Model/Telemetry.cs b/AsbCloudDb/Model/Telemetry.cs index de598306..aa4f292f 100644 --- a/AsbCloudDb/Model/Telemetry.cs +++ b/AsbCloudDb/Model/Telemetry.cs @@ -26,9 +26,9 @@ namespace AsbCloudDb.Model [Column("info", TypeName = "jsonb"), Comment("Информация с панели о скважине")] public TelemetryInfo Info { get; set; } - + [Column("timezone", TypeName = "jsonb"), Comment("Смещение часового пояса от UTC")] - public SimpleTimezone TimeZone { get; set; } + public SimpleTimezone TimeZone { get; set; } [InverseProperty(nameof(Model.Well.Telemetry))] public virtual Well Well { get; set; } diff --git a/AsbCloudDb/Model/TelemetryDataSpin.cs b/AsbCloudDb/Model/TelemetryDataSpin.cs index 8859a502..e490ef2f 100644 --- a/AsbCloudDb/Model/TelemetryDataSpin.cs +++ b/AsbCloudDb/Model/TelemetryDataSpin.cs @@ -1,6 +1,5 @@ using Microsoft.EntityFrameworkCore; using System; -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization; diff --git a/AsbCloudDb/Model/User.cs b/AsbCloudDb/Model/User.cs index 814e5eb8..8c735b2d 100644 --- a/AsbCloudDb/Model/User.cs +++ b/AsbCloudDb/Model/User.cs @@ -56,13 +56,13 @@ namespace AsbCloudDb.Model [ForeignKey(nameof(IdCompany))] [InverseProperty(nameof(Model.Company.Users))] public virtual Company Company { get; set; } - + [InverseProperty(nameof(RelationUserUserRole.User))] public virtual ICollection RelationUsersUserRoles { get; set; } - + [InverseProperty(nameof(FileInfo.Author))] public virtual ICollection Files { get; set; } - + [InverseProperty(nameof(FileMark.User))] public virtual ICollection FileMarks { get; set; } diff --git a/AsbCloudDb/Model/UserRole.cs b/AsbCloudDb/Model/UserRole.cs index 3ededd61..55ff2723 100644 --- a/AsbCloudDb/Model/UserRole.cs +++ b/AsbCloudDb/Model/UserRole.cs @@ -19,13 +19,13 @@ namespace AsbCloudDb.Model [Column("id_type"), Comment("0-роль из стандартной матрицы, \n1-специальная роль для какого-либо пользователя")] public int IdType { get; set; } - + [InverseProperty(nameof(RelationUserRoleUserRole.Role))] public virtual ICollection RelationUserRoleUserRoles { get; set; } [InverseProperty(nameof(RelationUserUserRole.UserRole))] public virtual ICollection RelationUsersUserRoles { get; set; } - + [InverseProperty(nameof(RelationUserRolePermission.UserRole))] public virtual ICollection RelationUserRolePermissions { get; set; } } diff --git a/AsbCloudDb/Model/WITS/Record1.cs b/AsbCloudDb/Model/WITS/Record1.cs index c7ee23c5..6b5b31ad 100644 --- a/AsbCloudDb/Model/WITS/Record1.cs +++ b/AsbCloudDb/Model/WITS/Record1.cs @@ -1,4 +1,3 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS diff --git a/AsbCloudDb/Model/WITS/Record10.cs b/AsbCloudDb/Model/WITS/Record10.cs index baabe8d2..5fbb57bf 100644 --- a/AsbCloudDb/Model/WITS/Record10.cs +++ b/AsbCloudDb/Model/WITS/Record10.cs @@ -1,405 +1,405 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Pressure Evaluation - /// Description: Pressure Evaluation data - /// Description2: - /// - [Table("t_telemetry_wits_10")] - public class Record10: RecordBase { - - /// - /// RecordId = 10, - /// ItemId = 8, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "Depth Hole (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } + /// + /// Record name: Pressure Evaluation + /// Description: Pressure Evaluation data + /// Description2: + /// + [Table("t_telemetry_wits_10")] + public class Record10 : RecordBase + { - /// - /// RecordId = 10, - /// ItemId = 9, - /// LongMnemonic = "DEPTVERT", - /// ShortMnemonic = "DVER", - /// Description = "Depth Hole (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTVERT")] - public float? Deptvert { get; set; } + /// + /// RecordId = 10, + /// ItemId = 8, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "Depth Hole (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } - /// - /// RecordId = 10, - /// ItemId = 10, - /// LongMnemonic = "DEPTSAMM", - /// ShortMnemonic = "DSAM", - /// Description = "Depth Sample (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTSAMM")] - public float? Deptsamm { get; set; } + /// + /// RecordId = 10, + /// ItemId = 9, + /// LongMnemonic = "DEPTVERT", + /// ShortMnemonic = "DVER", + /// Description = "Depth Hole (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTVERT")] + public float? Deptvert { get; set; } - /// - /// RecordId = 10, - /// ItemId = 11, - /// LongMnemonic = "DEPTSAMV", - /// ShortMnemonic = "DSAV", - /// Description = "Depth Sample (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTSAMV")] - public float? Deptsamv { get; set; } + /// + /// RecordId = 10, + /// ItemId = 10, + /// LongMnemonic = "DEPTSAMM", + /// ShortMnemonic = "DSAM", + /// Description = "Depth Sample (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTSAMM")] + public float? Deptsamm { get; set; } - /// - /// RecordId = 10, - /// ItemId = 12, - /// LongMnemonic = "FPOREPG", - /// ShortMnemonic = "FPPG", - /// Description = "Est. Form. Pore Press Grad.", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("FPOREPG")] - public float? Fporepg { get; set; } + /// + /// RecordId = 10, + /// ItemId = 11, + /// LongMnemonic = "DEPTSAMV", + /// ShortMnemonic = "DSAV", + /// Description = "Depth Sample (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTSAMV")] + public float? Deptsamv { get; set; } - /// - /// RecordId = 10, - /// ItemId = 13, - /// LongMnemonic = "FFRACPG", - /// ShortMnemonic = "FFPG", - /// Description = "Est. Form. Frac Press Grad.", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("FFRACPG")] - public float? Ffracpg { get; set; } + /// + /// RecordId = 10, + /// ItemId = 12, + /// LongMnemonic = "FPOREPG", + /// ShortMnemonic = "FPPG", + /// Description = "Est. Form. Pore Press Grad.", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("FPOREPG")] + public float? Fporepg { get; set; } - /// - /// RecordId = 10, - /// ItemId = 14, - /// LongMnemonic = "FOBPG", - /// ShortMnemonic = "FOPG", - /// Description = "Est. Form. Overburden Grad.", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("FOBPG")] - public float? Fobpg { get; set; } + /// + /// RecordId = 10, + /// ItemId = 13, + /// LongMnemonic = "FFRACPG", + /// ShortMnemonic = "FFPG", + /// Description = "Est. Form. Frac Press Grad.", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("FFRACPG")] + public float? Ffracpg { get; set; } - /// - /// RecordId = 10, - /// ItemId = 15, - /// LongMnemonic = "KTOL", - /// ShortMnemonic = "KTOL", - /// Description = "Est. Kick Tolerance", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("KTOL")] - public float? Ktol { get; set; } + /// + /// RecordId = 10, + /// ItemId = 14, + /// LongMnemonic = "FOBPG", + /// ShortMnemonic = "FOPG", + /// Description = "Est. Form. Overburden Grad.", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("FOBPG")] + public float? Fobpg { get; set; } - /// - /// RecordId = 10, - /// ItemId = 16, - /// LongMnemonic = "PSIPX", - /// ShortMnemonic = "PSIP", - /// Description = "Max. Permitted SICP (init)", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PSIPX")] - public float? Psipx { get; set; } + /// + /// RecordId = 10, + /// ItemId = 15, + /// LongMnemonic = "KTOL", + /// ShortMnemonic = "KTOL", + /// Description = "Est. Kick Tolerance", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("KTOL")] + public float? Ktol { get; set; } - /// - /// RecordId = 10, - /// ItemId = 17, - /// LongMnemonic = "CONNGASA", - /// ShortMnemonic = "CGSA", - /// Description = "Connection Gas (avg)", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CONNGASA")] - public float? Conngasa { get; set; } + /// + /// RecordId = 10, + /// ItemId = 16, + /// LongMnemonic = "PSIPX", + /// ShortMnemonic = "PSIP", + /// Description = "Max. Permitted SICP (init)", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PSIPX")] + public float? Psipx { get; set; } - /// - /// RecordId = 10, - /// ItemId = 18, - /// LongMnemonic = "CONNGASX", - /// ShortMnemonic = "CGSX", - /// Description = "Connection Gas (max)", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CONNGASX")] - public float? Conngasx { get; set; } + /// + /// RecordId = 10, + /// ItemId = 17, + /// LongMnemonic = "CONNGASA", + /// ShortMnemonic = "CGSA", + /// Description = "Connection Gas (avg)", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CONNGASA")] + public float? Conngasa { get; set; } - /// - /// RecordId = 10, - /// ItemId = 19, - /// LongMnemonic = "CONNGASL", - /// ShortMnemonic = "CGSL", - /// Description = "Connection Gas (last)", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CONNGASL")] - public float? Conngasl { get; set; } + /// + /// RecordId = 10, + /// ItemId = 18, + /// LongMnemonic = "CONNGASX", + /// ShortMnemonic = "CGSX", + /// Description = "Connection Gas (max)", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CONNGASX")] + public float? Conngasx { get; set; } - /// - /// RecordId = 10, - /// ItemId = 20, - /// LongMnemonic = "TRIPGAS", - /// ShortMnemonic = "TGAS", - /// Description = "Last Trip Gas", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TRIPGAS")] - public float? Tripgas { get; set; } + /// + /// RecordId = 10, + /// ItemId = 19, + /// LongMnemonic = "CONNGASL", + /// ShortMnemonic = "CGSL", + /// Description = "Connection Gas (last)", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CONNGASL")] + public float? Conngasl { get; set; } - /// - /// RecordId = 10, - /// ItemId = 21, - /// LongMnemonic = "SHALEDEN", - /// ShortMnemonic = "SDEN", - /// Description = "Shale Density", - /// Description2 = "", - /// FPSUnits = "G/CC", - /// MetricUnits = "G/CC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SHALEDEN")] - public float? Shaleden { get; set; } + /// + /// RecordId = 10, + /// ItemId = 20, + /// LongMnemonic = "TRIPGAS", + /// ShortMnemonic = "TGAS", + /// Description = "Last Trip Gas", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TRIPGAS")] + public float? Tripgas { get; set; } - /// - /// RecordId = 10, - /// ItemId = 22, - /// LongMnemonic = "CEC", - /// ShortMnemonic = "CEC", - /// Description = "Cuttings CEC", - /// Description2 = "", - /// FPSUnits = "MEHG", - /// MetricUnits = "MEHG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEC")] - public float? Cec { get; set; } + /// + /// RecordId = 10, + /// ItemId = 21, + /// LongMnemonic = "SHALEDEN", + /// ShortMnemonic = "SDEN", + /// Description = "Shale Density", + /// Description2 = "", + /// FPSUnits = "G/CC", + /// MetricUnits = "G/CC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SHALEDEN")] + public float? Shaleden { get; set; } - /// - /// RecordId = 10, - /// ItemId = 23, - /// LongMnemonic = "CAVINGS", - /// ShortMnemonic = "CAV", - /// Description = "Cavings %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 2, - /// ValueType = "S" - /// - [Column("CAVINGS")] - public short? Cavings { get; set; } + /// + /// RecordId = 10, + /// ItemId = 22, + /// LongMnemonic = "CEC", + /// ShortMnemonic = "CEC", + /// Description = "Cuttings CEC", + /// Description2 = "", + /// FPSUnits = "MEHG", + /// MetricUnits = "MEHG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEC")] + public float? Cec { get; set; } - /// - /// RecordId = 10, - /// ItemId = 24, - /// LongMnemonic = "DXC", - /// ShortMnemonic = "DXC", - /// Description = "Corr. Drilling Exponent", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DXC")] - public float? Dxc { get; set; } + /// + /// RecordId = 10, + /// ItemId = 23, + /// LongMnemonic = "CAVINGS", + /// ShortMnemonic = "CAV", + /// Description = "Cavings %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 2, + /// ValueType = "S" + /// + [Column("CAVINGS")] + public short? Cavings { get; set; } - /// - /// RecordId = 10, - /// ItemId = 25, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 10, + /// ItemId = 24, + /// LongMnemonic = "DXC", + /// ShortMnemonic = "DXC", + /// Description = "Corr. Drilling Exponent", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DXC")] + public float? Dxc { get; set; } - /// - /// RecordId = 10, - /// ItemId = 26, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 10, + /// ItemId = 25, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 10, - /// ItemId = 27, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 10, + /// ItemId = 26, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 10, - /// ItemId = 28, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 10, + /// ItemId = 27, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 10, - /// ItemId = 29, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 10, + /// ItemId = 28, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - /// - /// RecordId = 10, - /// ItemId = 30, - /// LongMnemonic = "SPARE6", - /// ShortMnemonic = "SPR6", - /// Description = "< SPARE 6>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE6")] - public float? Spare6 { get; set; } + /// + /// RecordId = 10, + /// ItemId = 29, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } - /// - /// RecordId = 10, - /// ItemId = 31, - /// LongMnemonic = "SPARE7", - /// ShortMnemonic = "SPR7", - /// Description = "< SPARE 7>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE7")] - public float? Spare7 { get; set; } + /// + /// RecordId = 10, + /// ItemId = 30, + /// LongMnemonic = "SPARE6", + /// ShortMnemonic = "SPR6", + /// Description = "< SPARE 6>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE6")] + public float? Spare6 { get; set; } - /// - /// RecordId = 10, - /// ItemId = 32, - /// LongMnemonic = "SPARE8", - /// ShortMnemonic = "SPR8", - /// Description = "< SPARE 8>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE8")] - public float? Spare8 { get; set; } + /// + /// RecordId = 10, + /// ItemId = 31, + /// LongMnemonic = "SPARE7", + /// ShortMnemonic = "SPR7", + /// Description = "< SPARE 7>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE7")] + public float? Spare7 { get; set; } - /// - /// RecordId = 10, - /// ItemId = 33, - /// LongMnemonic = "SPARE9", - /// ShortMnemonic = "SPR9", - /// Description = "< SPARE 9>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE9")] - public float? Spare9 { get; set; } + /// + /// RecordId = 10, + /// ItemId = 32, + /// LongMnemonic = "SPARE8", + /// ShortMnemonic = "SPR8", + /// Description = "< SPARE 8>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE8")] + public float? Spare8 { get; set; } - } + /// + /// RecordId = 10, + /// ItemId = 33, + /// LongMnemonic = "SPARE9", + /// ShortMnemonic = "SPR9", + /// Description = "< SPARE 9>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE9")] + public float? Spare9 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record11.cs b/AsbCloudDb/Model/WITS/Record11.cs index 8c5bbe14..043f8c21 100644 --- a/AsbCloudDb/Model/WITS/Record11.cs +++ b/AsbCloudDb/Model/WITS/Record11.cs @@ -1,435 +1,435 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Mud Tank Volumes - /// Description: Mud Tank (Pit) Volume data - /// Description2: - /// - [Table("t_telemetry_wits_11")] - public class Record11: RecordBase { - - /// - /// RecordId = 11, - /// ItemId = 8, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "Depth Hole (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } + /// + /// Record name: Mud Tank Volumes + /// Description: Mud Tank (Pit) Volume data + /// Description2: + /// + [Table("t_telemetry_wits_11")] + public class Record11 : RecordBase + { - /// - /// RecordId = 11, - /// ItemId = 9, - /// LongMnemonic = "DEPTVERT", - /// ShortMnemonic = "DVER", - /// Description = "Depth Hole (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTVERT")] - public float? Deptvert { get; set; } + /// + /// RecordId = 11, + /// ItemId = 8, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "Depth Hole (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } - /// - /// RecordId = 11, - /// ItemId = 10, - /// LongMnemonic = "TVOLTOT", - /// ShortMnemonic = "TVT", - /// Description = "Tank Volume (total)", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOLTOT")] - public float? Tvoltot { get; set; } + /// + /// RecordId = 11, + /// ItemId = 9, + /// LongMnemonic = "DEPTVERT", + /// ShortMnemonic = "DVER", + /// Description = "Depth Hole (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTVERT")] + public float? Deptvert { get; set; } - /// - /// RecordId = 11, - /// ItemId = 11, - /// LongMnemonic = "TVOLACT", - /// ShortMnemonic = "TVA", - /// Description = "Tank Volume (active)", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOLACT")] - public float? Tvolact { get; set; } + /// + /// RecordId = 11, + /// ItemId = 10, + /// LongMnemonic = "TVOLTOT", + /// ShortMnemonic = "TVT", + /// Description = "Tank Volume (total)", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOLTOT")] + public float? Tvoltot { get; set; } - /// - /// RecordId = 11, - /// ItemId = 12, - /// LongMnemonic = "TVOLCTOT", - /// ShortMnemonic = "TVCT", - /// Description = "Tank Volume Change (total)", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOLCTOT")] - public float? Tvolctot { get; set; } + /// + /// RecordId = 11, + /// ItemId = 11, + /// LongMnemonic = "TVOLACT", + /// ShortMnemonic = "TVA", + /// Description = "Tank Volume (active)", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOLACT")] + public float? Tvolact { get; set; } - /// - /// RecordId = 11, - /// ItemId = 13, - /// LongMnemonic = "TVOLCACT", - /// ShortMnemonic = "TVCA", - /// Description = "Tank Volume Change (active)", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOLCACT")] - public float? Tvolcact { get; set; } + /// + /// RecordId = 11, + /// ItemId = 12, + /// LongMnemonic = "TVOLCTOT", + /// ShortMnemonic = "TVCT", + /// Description = "Tank Volume Change (total)", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOLCTOT")] + public float? Tvolctot { get; set; } - /// - /// RecordId = 11, - /// ItemId = 14, - /// LongMnemonic = "TVRESET", - /// ShortMnemonic = "TVRT", - /// Description = "Tank Volume Reset Time", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "L" - /// - [Column("TVRESET")] - public int? Tvreset { get; set; } + /// + /// RecordId = 11, + /// ItemId = 13, + /// LongMnemonic = "TVOLCACT", + /// ShortMnemonic = "TVCA", + /// Description = "Tank Volume Change (active)", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOLCACT")] + public float? Tvolcact { get; set; } - /// - /// RecordId = 11, - /// ItemId = 15, - /// LongMnemonic = "TVOL01", - /// ShortMnemonic = "TV01", - /// Description = "Tank 01 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOL01")] - public float? Tvol01 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 14, + /// LongMnemonic = "TVRESET", + /// ShortMnemonic = "TVRT", + /// Description = "Tank Volume Reset Time", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "L" + /// + [Column("TVRESET")] + public int? Tvreset { get; set; } - /// - /// RecordId = 11, - /// ItemId = 16, - /// LongMnemonic = "TVOL02", - /// ShortMnemonic = "TV02", - /// Description = "Tank 02 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOL02")] - public float? Tvol02 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 15, + /// LongMnemonic = "TVOL01", + /// ShortMnemonic = "TV01", + /// Description = "Tank 01 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOL01")] + public float? Tvol01 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 17, - /// LongMnemonic = "TVOL03", - /// ShortMnemonic = "TV03", - /// Description = "Tank 03 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOL03")] - public float? Tvol03 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 16, + /// LongMnemonic = "TVOL02", + /// ShortMnemonic = "TV02", + /// Description = "Tank 02 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOL02")] + public float? Tvol02 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 18, - /// LongMnemonic = "TVOL04", - /// ShortMnemonic = "TV04", - /// Description = "Tank 04 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOL04")] - public float? Tvol04 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 17, + /// LongMnemonic = "TVOL03", + /// ShortMnemonic = "TV03", + /// Description = "Tank 03 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOL03")] + public float? Tvol03 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 19, - /// LongMnemonic = "TVOL05", - /// ShortMnemonic = "TV05", - /// Description = "Tank 05 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOL05")] - public float? Tvol05 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 18, + /// LongMnemonic = "TVOL04", + /// ShortMnemonic = "TV04", + /// Description = "Tank 04 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOL04")] + public float? Tvol04 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 20, - /// LongMnemonic = "TVOL06", - /// ShortMnemonic = "TV06", - /// Description = "Tank 06 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOL06")] - public float? Tvol06 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 19, + /// LongMnemonic = "TVOL05", + /// ShortMnemonic = "TV05", + /// Description = "Tank 05 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOL05")] + public float? Tvol05 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 21, - /// LongMnemonic = "TVOL07", - /// ShortMnemonic = "TV07", - /// Description = "Tank 07 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOL07")] - public float? Tvol07 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 20, + /// LongMnemonic = "TVOL06", + /// ShortMnemonic = "TV06", + /// Description = "Tank 06 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOL06")] + public float? Tvol06 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 22, - /// LongMnemonic = "TVOL08", - /// ShortMnemonic = "TV08", - /// Description = "Tank 08 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOL08")] - public float? Tvol08 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 21, + /// LongMnemonic = "TVOL07", + /// ShortMnemonic = "TV07", + /// Description = "Tank 07 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOL07")] + public float? Tvol07 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 23, - /// LongMnemonic = "TVOL09", - /// ShortMnemonic = "TV09", - /// Description = "Tank 09 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOL09")] - public float? Tvol09 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 22, + /// LongMnemonic = "TVOL08", + /// ShortMnemonic = "TV08", + /// Description = "Tank 08 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOL08")] + public float? Tvol08 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 24, - /// LongMnemonic = "TVOL10", - /// ShortMnemonic = "TV10", - /// Description = "Tank 10 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOL10")] - public float? Tvol10 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 23, + /// LongMnemonic = "TVOL09", + /// ShortMnemonic = "TV09", + /// Description = "Tank 09 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOL09")] + public float? Tvol09 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 25, - /// LongMnemonic = "TVOL11", - /// ShortMnemonic = "TV11", - /// Description = "Tank 11 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOL11")] - public float? Tvol11 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 24, + /// LongMnemonic = "TVOL10", + /// ShortMnemonic = "TV10", + /// Description = "Tank 10 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOL10")] + public float? Tvol10 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 26, - /// LongMnemonic = "TVOL12", - /// ShortMnemonic = "TV12", - /// Description = "Tank 12 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOL12")] - public float? Tvol12 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 25, + /// LongMnemonic = "TVOL11", + /// ShortMnemonic = "TV11", + /// Description = "Tank 11 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOL11")] + public float? Tvol11 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 27, - /// LongMnemonic = "TVOL13", - /// ShortMnemonic = "TV13", - /// Description = "Tank 13 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOL13")] - public float? Tvol13 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 26, + /// LongMnemonic = "TVOL12", + /// ShortMnemonic = "TV12", + /// Description = "Tank 12 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOL12")] + public float? Tvol12 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 28, - /// LongMnemonic = "TVOL14", - /// ShortMnemonic = "TV14", - /// Description = "Tank 14 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOL14")] - public float? Tvol14 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 27, + /// LongMnemonic = "TVOL13", + /// ShortMnemonic = "TV13", + /// Description = "Tank 13 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOL13")] + public float? Tvol13 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 29, - /// LongMnemonic = "TTVOL1", - /// ShortMnemonic = "TTV1", - /// Description = "Trip Tank 1 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TTVOL1")] - public float? Ttvol1 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 28, + /// LongMnemonic = "TVOL14", + /// ShortMnemonic = "TV14", + /// Description = "Tank 14 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOL14")] + public float? Tvol14 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 30, - /// LongMnemonic = "TTVOL2", - /// ShortMnemonic = "TTV2", - /// Description = "Trip Tank 2 Volume", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TTVOL2")] - public float? Ttvol2 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 29, + /// LongMnemonic = "TTVOL1", + /// ShortMnemonic = "TTV1", + /// Description = "Trip Tank 1 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TTVOL1")] + public float? Ttvol1 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 31, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 30, + /// LongMnemonic = "TTVOL2", + /// ShortMnemonic = "TTV2", + /// Description = "Trip Tank 2 Volume", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TTVOL2")] + public float? Ttvol2 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 32, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 31, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 33, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 32, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 34, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 33, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 11, - /// ItemId = 35, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 11, + /// ItemId = 34, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 11, + /// ItemId = 35, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record12.cs b/AsbCloudDb/Model/WITS/Record12.cs index f13f820b..27968c55 100644 --- a/AsbCloudDb/Model/WITS/Record12.cs +++ b/AsbCloudDb/Model/WITS/Record12.cs @@ -1,330 +1,330 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Chromatograph Cycle-Based - /// Description: Chromatograph Cycle data - /// Description2: - /// - [Table("t_telemetry_wits_12")] - public class Record12: RecordBase { - - /// - /// RecordId = 12, - /// ItemId = 8, - /// LongMnemonic = "DEPTCHRM", - /// ShortMnemonic = "DCHM", - /// Description = "Depth Chrom Sample (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTCHRM")] - public float? Deptchrm { get; set; } + /// + /// Record name: Chromatograph Cycle-Based + /// Description: Chromatograph Cycle data + /// Description2: + /// + [Table("t_telemetry_wits_12")] + public class Record12 : RecordBase + { - /// - /// RecordId = 12, - /// ItemId = 9, - /// LongMnemonic = "DEPTCHRV", - /// ShortMnemonic = "DCHV", - /// Description = "Depth Chrom Sample (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTCHRV")] - public float? Deptchrv { get; set; } + /// + /// RecordId = 12, + /// ItemId = 8, + /// LongMnemonic = "DEPTCHRM", + /// ShortMnemonic = "DCHM", + /// Description = "Depth Chrom Sample (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTCHRM")] + public float? Deptchrm { get; set; } - /// - /// RecordId = 12, - /// ItemId = 10, - /// LongMnemonic = "DATECHR", - /// ShortMnemonic = "DCHR", - /// Description = "Date Chrom Sample", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "L" - /// - [Column("DATECHR")] - public int? Datechr { get; set; } + /// + /// RecordId = 12, + /// ItemId = 9, + /// LongMnemonic = "DEPTCHRV", + /// ShortMnemonic = "DCHV", + /// Description = "Depth Chrom Sample (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTCHRV")] + public float? Deptchrv { get; set; } - /// - /// RecordId = 12, - /// ItemId = 11, - /// LongMnemonic = "TIMECHR", - /// ShortMnemonic = "TCHR", - /// Description = "Time Chrom Sample", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "L" - /// - [Column("TIMECHR")] - public int? Timechr { get; set; } + /// + /// RecordId = 12, + /// ItemId = 10, + /// LongMnemonic = "DATECHR", + /// ShortMnemonic = "DCHR", + /// Description = "Date Chrom Sample", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "L" + /// + [Column("DATECHR")] + public int? Datechr { get; set; } - /// - /// RecordId = 12, - /// ItemId = 12, - /// LongMnemonic = "METHANE", - /// ShortMnemonic = "METH", - /// Description = "Methane (C1)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("METHANE")] - public int? Methane { get; set; } + /// + /// RecordId = 12, + /// ItemId = 11, + /// LongMnemonic = "TIMECHR", + /// ShortMnemonic = "TCHR", + /// Description = "Time Chrom Sample", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "L" + /// + [Column("TIMECHR")] + public int? Timechr { get; set; } - /// - /// RecordId = 12, - /// ItemId = 13, - /// LongMnemonic = "ETHANE", - /// ShortMnemonic = "ETH", - /// Description = "Ethane (C2)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("ETHANE")] - public int? Ethane { get; set; } + /// + /// RecordId = 12, + /// ItemId = 12, + /// LongMnemonic = "METHANE", + /// ShortMnemonic = "METH", + /// Description = "Methane (C1)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("METHANE")] + public int? Methane { get; set; } - /// - /// RecordId = 12, - /// ItemId = 14, - /// LongMnemonic = "PROPANE", - /// ShortMnemonic = "PRP", - /// Description = "Propane (C3)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("PROPANE")] - public int? Propane { get; set; } + /// + /// RecordId = 12, + /// ItemId = 13, + /// LongMnemonic = "ETHANE", + /// ShortMnemonic = "ETH", + /// Description = "Ethane (C2)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("ETHANE")] + public int? Ethane { get; set; } - /// - /// RecordId = 12, - /// ItemId = 15, - /// LongMnemonic = "IBUTANE", - /// ShortMnemonic = "IBUT", - /// Description = "Iso-Butane (IC4)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IBUTANE")] - public int? Ibutane { get; set; } + /// + /// RecordId = 12, + /// ItemId = 14, + /// LongMnemonic = "PROPANE", + /// ShortMnemonic = "PRP", + /// Description = "Propane (C3)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("PROPANE")] + public int? Propane { get; set; } - /// - /// RecordId = 12, - /// ItemId = 16, - /// LongMnemonic = "NBUTANE", - /// ShortMnemonic = "NBUT", - /// Description = "Nor-Butane (NC4)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NBUTANE")] - public int? Nbutane { get; set; } + /// + /// RecordId = 12, + /// ItemId = 15, + /// LongMnemonic = "IBUTANE", + /// ShortMnemonic = "IBUT", + /// Description = "Iso-Butane (IC4)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IBUTANE")] + public int? Ibutane { get; set; } - /// - /// RecordId = 12, - /// ItemId = 17, - /// LongMnemonic = "IPENTANE", - /// ShortMnemonic = "IPEN", - /// Description = "Iso-Pentane (IC5)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IPENTANE")] - public int? Ipentane { get; set; } + /// + /// RecordId = 12, + /// ItemId = 16, + /// LongMnemonic = "NBUTANE", + /// ShortMnemonic = "NBUT", + /// Description = "Nor-Butane (NC4)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NBUTANE")] + public int? Nbutane { get; set; } - /// - /// RecordId = 12, - /// ItemId = 18, - /// LongMnemonic = "NPENTANE", - /// ShortMnemonic = "NPEN", - /// Description = "Nor-Pentane (NC5)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NPENTANE")] - public int? Npentane { get; set; } + /// + /// RecordId = 12, + /// ItemId = 17, + /// LongMnemonic = "IPENTANE", + /// ShortMnemonic = "IPEN", + /// Description = "Iso-Pentane (IC5)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IPENTANE")] + public int? Ipentane { get; set; } - /// - /// RecordId = 12, - /// ItemId = 19, - /// LongMnemonic = "EPENTANE", - /// ShortMnemonic = "EPEN", - /// Description = "Neo-Pentane (EC5)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("EPENTANE")] - public int? Epentane { get; set; } + /// + /// RecordId = 12, + /// ItemId = 18, + /// LongMnemonic = "NPENTANE", + /// ShortMnemonic = "NPEN", + /// Description = "Nor-Pentane (NC5)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NPENTANE")] + public int? Npentane { get; set; } - /// - /// RecordId = 12, - /// ItemId = 20, - /// LongMnemonic = "IHEXANE", - /// ShortMnemonic = "IHEX", - /// Description = "Iso-Hexane (IC6)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IHEXANE")] - public int? Ihexane { get; set; } + /// + /// RecordId = 12, + /// ItemId = 19, + /// LongMnemonic = "EPENTANE", + /// ShortMnemonic = "EPEN", + /// Description = "Neo-Pentane (EC5)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("EPENTANE")] + public int? Epentane { get; set; } - /// - /// RecordId = 12, - /// ItemId = 21, - /// LongMnemonic = "NHEXANE", - /// ShortMnemonic = "NHEX", - /// Description = "Nor-Hexane (NC6)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NHEXANE")] - public int? Nhexane { get; set; } + /// + /// RecordId = 12, + /// ItemId = 20, + /// LongMnemonic = "IHEXANE", + /// ShortMnemonic = "IHEX", + /// Description = "Iso-Hexane (IC6)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IHEXANE")] + public int? Ihexane { get; set; } - /// - /// RecordId = 12, - /// ItemId = 22, - /// LongMnemonic = "CO2", - /// ShortMnemonic = "CO2", - /// Description = "Carbon Dioxide", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("CO2")] - public int? Co2 { get; set; } + /// + /// RecordId = 12, + /// ItemId = 21, + /// LongMnemonic = "NHEXANE", + /// ShortMnemonic = "NHEX", + /// Description = "Nor-Hexane (NC6)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NHEXANE")] + public int? Nhexane { get; set; } - /// - /// RecordId = 12, - /// ItemId = 23, - /// LongMnemonic = "ACET", - /// ShortMnemonic = "ACET", - /// Description = "Acetylene", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("ACET")] - public int? Acet { get; set; } + /// + /// RecordId = 12, + /// ItemId = 22, + /// LongMnemonic = "CO2", + /// ShortMnemonic = "CO2", + /// Description = "Carbon Dioxide", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("CO2")] + public int? Co2 { get; set; } - /// - /// RecordId = 12, - /// ItemId = 24, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 12, + /// ItemId = 23, + /// LongMnemonic = "ACET", + /// ShortMnemonic = "ACET", + /// Description = "Acetylene", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("ACET")] + public int? Acet { get; set; } - /// - /// RecordId = 12, - /// ItemId = 25, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 12, + /// ItemId = 24, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 12, - /// ItemId = 26, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 12, + /// ItemId = 25, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 12, - /// ItemId = 27, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 12, + /// ItemId = 26, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 12, - /// ItemId = 28, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 12, + /// ItemId = 27, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 12, + /// ItemId = 28, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record13.cs b/AsbCloudDb/Model/WITS/Record13.cs index 5723fe2c..d46e704b 100644 --- a/AsbCloudDb/Model/WITS/Record13.cs +++ b/AsbCloudDb/Model/WITS/Record13.cs @@ -1,630 +1,630 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Chromatograph Depth-Based - /// Description: Chromatograph data averaged over depth intervals - /// Description2: - /// - [Table("t_telemetry_wits_13")] - public class Record13: RecordBase { - - /// - /// RecordId = 13, - /// ItemId = 8, - /// LongMnemonic = "DEPTRETM", - /// ShortMnemonic = "DRTM", - /// Description = "Depth Returns (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTRETM")] - public float? Deptretm { get; set; } + /// + /// Record name: Chromatograph Depth-Based + /// Description: Chromatograph data averaged over depth intervals + /// Description2: + /// + [Table("t_telemetry_wits_13")] + public class Record13 : RecordBase + { - /// - /// RecordId = 13, - /// ItemId = 9, - /// LongMnemonic = "DEPTRETV", - /// ShortMnemonic = "DRTV", - /// Description = "Depth Returns (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTRETV")] - public float? Deptretv { get; set; } + /// + /// RecordId = 13, + /// ItemId = 8, + /// LongMnemonic = "DEPTRETM", + /// ShortMnemonic = "DRTM", + /// Description = "Depth Returns (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTRETM")] + public float? Deptretm { get; set; } - /// - /// RecordId = 13, - /// ItemId = 10, - /// LongMnemonic = "METHA", - /// ShortMnemonic = "MTHA", - /// Description = "Methane (C1) (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("METHA")] - public int? Metha { get; set; } + /// + /// RecordId = 13, + /// ItemId = 9, + /// LongMnemonic = "DEPTRETV", + /// ShortMnemonic = "DRTV", + /// Description = "Depth Returns (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTRETV")] + public float? Deptretv { get; set; } - /// - /// RecordId = 13, - /// ItemId = 11, - /// LongMnemonic = "METHN", - /// ShortMnemonic = "MTHN", - /// Description = "Methane (C1) (min)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("METHN")] - public int? Methn { get; set; } + /// + /// RecordId = 13, + /// ItemId = 10, + /// LongMnemonic = "METHA", + /// ShortMnemonic = "MTHA", + /// Description = "Methane (C1) (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("METHA")] + public int? Metha { get; set; } - /// - /// RecordId = 13, - /// ItemId = 12, - /// LongMnemonic = "METHX", - /// ShortMnemonic = "MTHX", - /// Description = "Methane (C1) (max)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("METHX")] - public int? Methx { get; set; } + /// + /// RecordId = 13, + /// ItemId = 11, + /// LongMnemonic = "METHN", + /// ShortMnemonic = "MTHN", + /// Description = "Methane (C1) (min)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("METHN")] + public int? Methn { get; set; } - /// - /// RecordId = 13, - /// ItemId = 13, - /// LongMnemonic = "ETHA", - /// ShortMnemonic = "ETHA", - /// Description = "Ethane (C2) (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("ETHA")] - public int? Etha { get; set; } + /// + /// RecordId = 13, + /// ItemId = 12, + /// LongMnemonic = "METHX", + /// ShortMnemonic = "MTHX", + /// Description = "Methane (C1) (max)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("METHX")] + public int? Methx { get; set; } - /// - /// RecordId = 13, - /// ItemId = 14, - /// LongMnemonic = "ETHN", - /// ShortMnemonic = "ETHN", - /// Description = "Ethane (C2) (min)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("ETHN")] - public int? Ethn { get; set; } + /// + /// RecordId = 13, + /// ItemId = 13, + /// LongMnemonic = "ETHA", + /// ShortMnemonic = "ETHA", + /// Description = "Ethane (C2) (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("ETHA")] + public int? Etha { get; set; } - /// - /// RecordId = 13, - /// ItemId = 15, - /// LongMnemonic = "ETHX", - /// ShortMnemonic = "ETHX", - /// Description = "Ethane (C2) (max)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("ETHX")] - public int? Ethx { get; set; } + /// + /// RecordId = 13, + /// ItemId = 14, + /// LongMnemonic = "ETHN", + /// ShortMnemonic = "ETHN", + /// Description = "Ethane (C2) (min)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("ETHN")] + public int? Ethn { get; set; } - /// - /// RecordId = 13, - /// ItemId = 16, - /// LongMnemonic = "PROPA", - /// ShortMnemonic = "PRPA", - /// Description = "Propane (C3) (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("PROPA")] - public int? Propa { get; set; } + /// + /// RecordId = 13, + /// ItemId = 15, + /// LongMnemonic = "ETHX", + /// ShortMnemonic = "ETHX", + /// Description = "Ethane (C2) (max)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("ETHX")] + public int? Ethx { get; set; } - /// - /// RecordId = 13, - /// ItemId = 17, - /// LongMnemonic = "PROPN", - /// ShortMnemonic = "PRPN", - /// Description = "Propane (C3) (min)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("PROPN")] - public int? Propn { get; set; } + /// + /// RecordId = 13, + /// ItemId = 16, + /// LongMnemonic = "PROPA", + /// ShortMnemonic = "PRPA", + /// Description = "Propane (C3) (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("PROPA")] + public int? Propa { get; set; } - /// - /// RecordId = 13, - /// ItemId = 18, - /// LongMnemonic = "PROPX", - /// ShortMnemonic = "PRPX", - /// Description = "Propane (C3) (max)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("PROPX")] - public int? Propx { get; set; } + /// + /// RecordId = 13, + /// ItemId = 17, + /// LongMnemonic = "PROPN", + /// ShortMnemonic = "PRPN", + /// Description = "Propane (C3) (min)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("PROPN")] + public int? Propn { get; set; } - /// - /// RecordId = 13, - /// ItemId = 19, - /// LongMnemonic = "IBUTA", - /// ShortMnemonic = "IBTA", - /// Description = "Iso-Butane (IC4) (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IBUTA")] - public int? Ibuta { get; set; } + /// + /// RecordId = 13, + /// ItemId = 18, + /// LongMnemonic = "PROPX", + /// ShortMnemonic = "PRPX", + /// Description = "Propane (C3) (max)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("PROPX")] + public int? Propx { get; set; } - /// - /// RecordId = 13, - /// ItemId = 20, - /// LongMnemonic = "IBUTN", - /// ShortMnemonic = "IBTN", - /// Description = "Iso-Butane (IC4) (min)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IBUTN")] - public int? Ibutn { get; set; } + /// + /// RecordId = 13, + /// ItemId = 19, + /// LongMnemonic = "IBUTA", + /// ShortMnemonic = "IBTA", + /// Description = "Iso-Butane (IC4) (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IBUTA")] + public int? Ibuta { get; set; } - /// - /// RecordId = 13, - /// ItemId = 21, - /// LongMnemonic = "IBUTX", - /// ShortMnemonic = "IBTX", - /// Description = "Iso-Butane (IC4) (max)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IBUTX")] - public int? Ibutx { get; set; } + /// + /// RecordId = 13, + /// ItemId = 20, + /// LongMnemonic = "IBUTN", + /// ShortMnemonic = "IBTN", + /// Description = "Iso-Butane (IC4) (min)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IBUTN")] + public int? Ibutn { get; set; } - /// - /// RecordId = 13, - /// ItemId = 22, - /// LongMnemonic = "NBUTA", - /// ShortMnemonic = "NBTA", - /// Description = "Nor-Butane (NC4) (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NBUTA")] - public int? Nbuta { get; set; } + /// + /// RecordId = 13, + /// ItemId = 21, + /// LongMnemonic = "IBUTX", + /// ShortMnemonic = "IBTX", + /// Description = "Iso-Butane (IC4) (max)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IBUTX")] + public int? Ibutx { get; set; } - /// - /// RecordId = 13, - /// ItemId = 23, - /// LongMnemonic = "NBUTN", - /// ShortMnemonic = "NBTN", - /// Description = "Nor-Butane (NC4) (min)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NBUTN")] - public int? Nbutn { get; set; } + /// + /// RecordId = 13, + /// ItemId = 22, + /// LongMnemonic = "NBUTA", + /// ShortMnemonic = "NBTA", + /// Description = "Nor-Butane (NC4) (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NBUTA")] + public int? Nbuta { get; set; } - /// - /// RecordId = 13, - /// ItemId = 24, - /// LongMnemonic = "NBUTX", - /// ShortMnemonic = "NBTX", - /// Description = "Nor-Butane (NC4) (max)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NBUTX")] - public int? Nbutx { get; set; } + /// + /// RecordId = 13, + /// ItemId = 23, + /// LongMnemonic = "NBUTN", + /// ShortMnemonic = "NBTN", + /// Description = "Nor-Butane (NC4) (min)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NBUTN")] + public int? Nbutn { get; set; } - /// - /// RecordId = 13, - /// ItemId = 25, - /// LongMnemonic = "IPENTA", - /// ShortMnemonic = "IPNA", - /// Description = "Iso-Pentane (IC5) (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IPENTA")] - public int? Ipenta { get; set; } + /// + /// RecordId = 13, + /// ItemId = 24, + /// LongMnemonic = "NBUTX", + /// ShortMnemonic = "NBTX", + /// Description = "Nor-Butane (NC4) (max)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NBUTX")] + public int? Nbutx { get; set; } - /// - /// RecordId = 13, - /// ItemId = 26, - /// LongMnemonic = "IPENTN", - /// ShortMnemonic = "IPNN", - /// Description = "Iso-Pentane (IC5) (min)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IPENTN")] - public int? Ipentn { get; set; } + /// + /// RecordId = 13, + /// ItemId = 25, + /// LongMnemonic = "IPENTA", + /// ShortMnemonic = "IPNA", + /// Description = "Iso-Pentane (IC5) (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IPENTA")] + public int? Ipenta { get; set; } - /// - /// RecordId = 13, - /// ItemId = 27, - /// LongMnemonic = "IPENTX", - /// ShortMnemonic = "IPNX", - /// Description = "Iso-Pentane (IC5) (max)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IPENTX")] - public int? Ipentx { get; set; } + /// + /// RecordId = 13, + /// ItemId = 26, + /// LongMnemonic = "IPENTN", + /// ShortMnemonic = "IPNN", + /// Description = "Iso-Pentane (IC5) (min)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IPENTN")] + public int? Ipentn { get; set; } - /// - /// RecordId = 13, - /// ItemId = 28, - /// LongMnemonic = "NPENTA", - /// ShortMnemonic = "NPNA", - /// Description = "Nor-Pentane (NC5) (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NPENTA")] - public int? Npenta { get; set; } + /// + /// RecordId = 13, + /// ItemId = 27, + /// LongMnemonic = "IPENTX", + /// ShortMnemonic = "IPNX", + /// Description = "Iso-Pentane (IC5) (max)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IPENTX")] + public int? Ipentx { get; set; } - /// - /// RecordId = 13, - /// ItemId = 29, - /// LongMnemonic = "NPENTN", - /// ShortMnemonic = "NPNN", - /// Description = "Nor-Pentane (NC5) (min)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NPENTN")] - public int? Npentn { get; set; } + /// + /// RecordId = 13, + /// ItemId = 28, + /// LongMnemonic = "NPENTA", + /// ShortMnemonic = "NPNA", + /// Description = "Nor-Pentane (NC5) (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NPENTA")] + public int? Npenta { get; set; } - /// - /// RecordId = 13, - /// ItemId = 30, - /// LongMnemonic = "NPENTX", - /// ShortMnemonic = "NPNX", - /// Description = "Nor-Pentane (NC5) (max)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NPENTX")] - public int? Npentx { get; set; } + /// + /// RecordId = 13, + /// ItemId = 29, + /// LongMnemonic = "NPENTN", + /// ShortMnemonic = "NPNN", + /// Description = "Nor-Pentane (NC5) (min)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NPENTN")] + public int? Npentn { get; set; } - /// - /// RecordId = 13, - /// ItemId = 31, - /// LongMnemonic = "EPENTA", - /// ShortMnemonic = "EPNA", - /// Description = "Neo-Pentane (EC5) (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("EPENTA")] - public int? Epenta { get; set; } + /// + /// RecordId = 13, + /// ItemId = 30, + /// LongMnemonic = "NPENTX", + /// ShortMnemonic = "NPNX", + /// Description = "Nor-Pentane (NC5) (max)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NPENTX")] + public int? Npentx { get; set; } - /// - /// RecordId = 13, - /// ItemId = 32, - /// LongMnemonic = "EPENTN", - /// ShortMnemonic = "EPNN", - /// Description = "Neo-Pentane (EC5) (min)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("EPENTN")] - public int? Epentn { get; set; } + /// + /// RecordId = 13, + /// ItemId = 31, + /// LongMnemonic = "EPENTA", + /// ShortMnemonic = "EPNA", + /// Description = "Neo-Pentane (EC5) (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("EPENTA")] + public int? Epenta { get; set; } - /// - /// RecordId = 13, - /// ItemId = 33, - /// LongMnemonic = "EPENTX", - /// ShortMnemonic = "EPNX", - /// Description = "Neo-Pentane (EC5) (max)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("EPENTX")] - public int? Epentx { get; set; } + /// + /// RecordId = 13, + /// ItemId = 32, + /// LongMnemonic = "EPENTN", + /// ShortMnemonic = "EPNN", + /// Description = "Neo-Pentane (EC5) (min)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("EPENTN")] + public int? Epentn { get; set; } - /// - /// RecordId = 13, - /// ItemId = 34, - /// LongMnemonic = "IHEXA", - /// ShortMnemonic = "IHXA", - /// Description = "Iso-Hexane (IC6) (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IHEXA")] - public int? Ihexa { get; set; } + /// + /// RecordId = 13, + /// ItemId = 33, + /// LongMnemonic = "EPENTX", + /// ShortMnemonic = "EPNX", + /// Description = "Neo-Pentane (EC5) (max)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("EPENTX")] + public int? Epentx { get; set; } - /// - /// RecordId = 13, - /// ItemId = 35, - /// LongMnemonic = "IHEXN", - /// ShortMnemonic = "IHXN", - /// Description = "Iso-Hexane (IC6) (min)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IHEXN")] - public int? Ihexn { get; set; } + /// + /// RecordId = 13, + /// ItemId = 34, + /// LongMnemonic = "IHEXA", + /// ShortMnemonic = "IHXA", + /// Description = "Iso-Hexane (IC6) (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IHEXA")] + public int? Ihexa { get; set; } - /// - /// RecordId = 13, - /// ItemId = 36, - /// LongMnemonic = "IHEXX", - /// ShortMnemonic = "IHXX", - /// Description = "Iso-Hexane (IC6) (max)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IHEXX")] - public int? Ihexx { get; set; } + /// + /// RecordId = 13, + /// ItemId = 35, + /// LongMnemonic = "IHEXN", + /// ShortMnemonic = "IHXN", + /// Description = "Iso-Hexane (IC6) (min)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IHEXN")] + public int? Ihexn { get; set; } - /// - /// RecordId = 13, - /// ItemId = 37, - /// LongMnemonic = "NHEXA", - /// ShortMnemonic = "NHXA", - /// Description = "Nor-Hexane (NC6) (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NHEXA")] - public int? Nhexa { get; set; } + /// + /// RecordId = 13, + /// ItemId = 36, + /// LongMnemonic = "IHEXX", + /// ShortMnemonic = "IHXX", + /// Description = "Iso-Hexane (IC6) (max)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IHEXX")] + public int? Ihexx { get; set; } - /// - /// RecordId = 13, - /// ItemId = 38, - /// LongMnemonic = "NHEXN", - /// ShortMnemonic = "NHXN", - /// Description = "Nor-Hexane (NC6) (min)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NHEXN")] - public int? Nhexn { get; set; } + /// + /// RecordId = 13, + /// ItemId = 37, + /// LongMnemonic = "NHEXA", + /// ShortMnemonic = "NHXA", + /// Description = "Nor-Hexane (NC6) (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NHEXA")] + public int? Nhexa { get; set; } - /// - /// RecordId = 13, - /// ItemId = 39, - /// LongMnemonic = "NHEXX", - /// ShortMnemonic = "NHXX", - /// Description = "Nor-Hexane (NC6) (max)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NHEXX")] - public int? Nhexx { get; set; } + /// + /// RecordId = 13, + /// ItemId = 38, + /// LongMnemonic = "NHEXN", + /// ShortMnemonic = "NHXN", + /// Description = "Nor-Hexane (NC6) (min)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NHEXN")] + public int? Nhexn { get; set; } - /// - /// RecordId = 13, - /// ItemId = 40, - /// LongMnemonic = "CO2A", - /// ShortMnemonic = "CO2A", - /// Description = "Carbon Dioxide (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("CO2A")] - public int? Co2a { get; set; } + /// + /// RecordId = 13, + /// ItemId = 39, + /// LongMnemonic = "NHEXX", + /// ShortMnemonic = "NHXX", + /// Description = "Nor-Hexane (NC6) (max)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NHEXX")] + public int? Nhexx { get; set; } - /// - /// RecordId = 13, - /// ItemId = 41, - /// LongMnemonic = "CO2N", - /// ShortMnemonic = "CO2N", - /// Description = "Carbon Dioxide (min)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("CO2N")] - public int? Co2n { get; set; } + /// + /// RecordId = 13, + /// ItemId = 40, + /// LongMnemonic = "CO2A", + /// ShortMnemonic = "CO2A", + /// Description = "Carbon Dioxide (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("CO2A")] + public int? Co2a { get; set; } - /// - /// RecordId = 13, - /// ItemId = 42, - /// LongMnemonic = "CO2X", - /// ShortMnemonic = "CO2X", - /// Description = "Carbon Dioxide (max)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("CO2X")] - public int? Co2x { get; set; } + /// + /// RecordId = 13, + /// ItemId = 41, + /// LongMnemonic = "CO2N", + /// ShortMnemonic = "CO2N", + /// Description = "Carbon Dioxide (min)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("CO2N")] + public int? Co2n { get; set; } - /// - /// RecordId = 13, - /// ItemId = 43, - /// LongMnemonic = "ACET", - /// ShortMnemonic = "ACET", - /// Description = "Acetylene", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("ACET")] - public int? Acet { get; set; } + /// + /// RecordId = 13, + /// ItemId = 42, + /// LongMnemonic = "CO2X", + /// ShortMnemonic = "CO2X", + /// Description = "Carbon Dioxide (max)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("CO2X")] + public int? Co2x { get; set; } - /// - /// RecordId = 13, - /// ItemId = 44, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 13, + /// ItemId = 43, + /// LongMnemonic = "ACET", + /// ShortMnemonic = "ACET", + /// Description = "Acetylene", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("ACET")] + public int? Acet { get; set; } - /// - /// RecordId = 13, - /// ItemId = 45, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 13, + /// ItemId = 44, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 13, - /// ItemId = 46, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 13, + /// ItemId = 45, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 13, - /// ItemId = 47, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 13, + /// ItemId = 46, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 13, - /// ItemId = 48, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 13, + /// ItemId = 47, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 13, + /// ItemId = 48, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record14.cs b/AsbCloudDb/Model/WITS/Record14.cs index 229eb548..3c09c416 100644 --- a/AsbCloudDb/Model/WITS/Record14.cs +++ b/AsbCloudDb/Model/WITS/Record14.cs @@ -1,345 +1,345 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Lagged Mud Properties - /// Description: Mud Property data based returns depth increments - /// Description2: - /// - [Table("t_telemetry_wits_14")] - public class Record14: RecordBase { - - /// - /// RecordId = 14, - /// ItemId = 8, - /// LongMnemonic = "DEPTRETM", - /// ShortMnemonic = "DRTM", - /// Description = "Depth Returns (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTRETM")] - public float? Deptretm { get; set; } + /// + /// Record name: Lagged Mud Properties + /// Description: Mud Property data based returns depth increments + /// Description2: + /// + [Table("t_telemetry_wits_14")] + public class Record14 : RecordBase + { - /// - /// RecordId = 14, - /// ItemId = 9, - /// LongMnemonic = "DEPTRETV", - /// ShortMnemonic = "DRTV", - /// Description = "Depth Returns (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTRETV")] - public float? Deptretv { get; set; } + /// + /// RecordId = 14, + /// ItemId = 8, + /// LongMnemonic = "DEPTRETM", + /// ShortMnemonic = "DRTM", + /// Description = "Depth Returns (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTRETM")] + public float? Deptretm { get; set; } - /// - /// RecordId = 14, - /// ItemId = 10, - /// LongMnemonic = "MDIL", - /// ShortMnemonic = "MDIL", - /// Description = "Mud Density In (lagd)", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MDIL")] - public float? Mdil { get; set; } + /// + /// RecordId = 14, + /// ItemId = 9, + /// LongMnemonic = "DEPTRETV", + /// ShortMnemonic = "DRTV", + /// Description = "Depth Returns (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTRETV")] + public float? Deptretv { get; set; } - /// - /// RecordId = 14, - /// ItemId = 11, - /// LongMnemonic = "MDOA", - /// ShortMnemonic = "MDOA", - /// Description = "Mud Density Out (avg)", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MDOA")] - public float? Mdoa { get; set; } + /// + /// RecordId = 14, + /// ItemId = 10, + /// LongMnemonic = "MDIL", + /// ShortMnemonic = "MDIL", + /// Description = "Mud Density In (lagd)", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MDIL")] + public float? Mdil { get; set; } - /// - /// RecordId = 14, - /// ItemId = 12, - /// LongMnemonic = "MTIL", - /// ShortMnemonic = "MTIL", - /// Description = "Mud Temperature In (lagd)", - /// Description2 = "", - /// FPSUnits = "DEGF", - /// MetricUnits = "DEGC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MTIL")] - public float? Mtil { get; set; } + /// + /// RecordId = 14, + /// ItemId = 11, + /// LongMnemonic = "MDOA", + /// ShortMnemonic = "MDOA", + /// Description = "Mud Density Out (avg)", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MDOA")] + public float? Mdoa { get; set; } - /// - /// RecordId = 14, - /// ItemId = 13, - /// LongMnemonic = "MTOA", - /// ShortMnemonic = "MTOA", - /// Description = "Mud Temperature Out (avg)", - /// Description2 = "", - /// FPSUnits = "DEGF", - /// MetricUnits = "DEGC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MTOA")] - public float? Mtoa { get; set; } + /// + /// RecordId = 14, + /// ItemId = 12, + /// LongMnemonic = "MTIL", + /// ShortMnemonic = "MTIL", + /// Description = "Mud Temperature In (lagd)", + /// Description2 = "", + /// FPSUnits = "DEGF", + /// MetricUnits = "DEGC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MTIL")] + public float? Mtil { get; set; } - /// - /// RecordId = 14, - /// ItemId = 14, - /// LongMnemonic = "MCIL", - /// ShortMnemonic = "MCIL", - /// Description = "Mud Conductivity In (lagd)", - /// Description2 = "", - /// FPSUnits = "MMHO", - /// MetricUnits = "MMHO", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MCIL")] - public float? Mcil { get; set; } + /// + /// RecordId = 14, + /// ItemId = 13, + /// LongMnemonic = "MTOA", + /// ShortMnemonic = "MTOA", + /// Description = "Mud Temperature Out (avg)", + /// Description2 = "", + /// FPSUnits = "DEGF", + /// MetricUnits = "DEGC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MTOA")] + public float? Mtoa { get; set; } - /// - /// RecordId = 14, - /// ItemId = 15, - /// LongMnemonic = "MCOA", - /// ShortMnemonic = "MCOA", - /// Description = "Mud Conductivity Out (avg)", - /// Description2 = "", - /// FPSUnits = "MMHO", - /// MetricUnits = "MMHO", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MCOA")] - public float? Mcoa { get; set; } + /// + /// RecordId = 14, + /// ItemId = 14, + /// LongMnemonic = "MCIL", + /// ShortMnemonic = "MCIL", + /// Description = "Mud Conductivity In (lagd)", + /// Description2 = "", + /// FPSUnits = "MMHO", + /// MetricUnits = "MMHO", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MCIL")] + public float? Mcil { get; set; } - /// - /// RecordId = 14, - /// ItemId = 16, - /// LongMnemonic = "HSHPA", - /// ShortMnemonic = "HHPA", - /// Description = "Hyd.Sulfide Haz.Pot. (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HSHPA")] - public float? Hshpa { get; set; } + /// + /// RecordId = 14, + /// ItemId = 15, + /// LongMnemonic = "MCOA", + /// ShortMnemonic = "MCOA", + /// Description = "Mud Conductivity Out (avg)", + /// Description2 = "", + /// FPSUnits = "MMHO", + /// MetricUnits = "MMHO", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MCOA")] + public float? Mcoa { get; set; } - /// - /// RecordId = 14, - /// ItemId = 17, - /// LongMnemonic = "HSPHA", - /// ShortMnemonic = "HPHA", - /// Description = "Hyd.Sulfide pH (avg)", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HSPHA")] - public float? Hspha { get; set; } + /// + /// RecordId = 14, + /// ItemId = 16, + /// LongMnemonic = "HSHPA", + /// ShortMnemonic = "HHPA", + /// Description = "Hyd.Sulfide Haz.Pot. (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HSHPA")] + public float? Hshpa { get; set; } - /// - /// RecordId = 14, - /// ItemId = 18, - /// LongMnemonic = "HSPHSA", - /// ShortMnemonic = "HPSA", - /// Description = "Hyd.Sulfide pHS (avg)", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HSPHSA")] - public float? Hsphsa { get; set; } + /// + /// RecordId = 14, + /// ItemId = 17, + /// LongMnemonic = "HSPHA", + /// ShortMnemonic = "HPHA", + /// Description = "Hyd.Sulfide pH (avg)", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HSPHA")] + public float? Hspha { get; set; } - /// - /// RecordId = 14, - /// ItemId = 19, - /// LongMnemonic = "GASIL", - /// ShortMnemonic = "GSIL", - /// Description = "Gas In (lagd)", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("GASIL")] - public float? Gasil { get; set; } + /// + /// RecordId = 14, + /// ItemId = 18, + /// LongMnemonic = "HSPHSA", + /// ShortMnemonic = "HPSA", + /// Description = "Hyd.Sulfide pHS (avg)", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HSPHSA")] + public float? Hsphsa { get; set; } - /// - /// RecordId = 14, - /// ItemId = 20, - /// LongMnemonic = "GASA", - /// ShortMnemonic = "GASA", - /// Description = "Gas (avg)", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("GASA")] - public float? Gasa { get; set; } + /// + /// RecordId = 14, + /// ItemId = 19, + /// LongMnemonic = "GASIL", + /// ShortMnemonic = "GSIL", + /// Description = "Gas In (lagd)", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("GASIL")] + public float? Gasil { get; set; } - /// - /// RecordId = 14, - /// ItemId = 21, - /// LongMnemonic = "GASX", - /// ShortMnemonic = "GASX", - /// Description = "Gas (max)", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("GASX")] - public float? Gasx { get; set; } + /// + /// RecordId = 14, + /// ItemId = 20, + /// LongMnemonic = "GASA", + /// ShortMnemonic = "GASA", + /// Description = "Gas (avg)", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("GASA")] + public float? Gasa { get; set; } - /// - /// RecordId = 14, - /// ItemId = 22, - /// LongMnemonic = "CO2A", - /// ShortMnemonic = "CO2A", - /// Description = "Carbon Dioxide (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("CO2A")] - public int? Co2a { get; set; } + /// + /// RecordId = 14, + /// ItemId = 21, + /// LongMnemonic = "GASX", + /// ShortMnemonic = "GASX", + /// Description = "Gas (max)", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("GASX")] + public float? Gasx { get; set; } - /// - /// RecordId = 14, - /// ItemId = 23, - /// LongMnemonic = "HSA", - /// ShortMnemonic = "HSA", - /// Description = "Hydrogen Sulfide (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("HSA")] - public int? Hsa { get; set; } + /// + /// RecordId = 14, + /// ItemId = 22, + /// LongMnemonic = "CO2A", + /// ShortMnemonic = "CO2A", + /// Description = "Carbon Dioxide (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("CO2A")] + public int? Co2a { get; set; } - /// - /// RecordId = 14, - /// ItemId = 24, - /// LongMnemonic = "HSX", - /// ShortMnemonic = "HSX", - /// Description = "Hydrogen Sulfide (max)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("HSX")] - public int? Hsx { get; set; } + /// + /// RecordId = 14, + /// ItemId = 23, + /// LongMnemonic = "HSA", + /// ShortMnemonic = "HSA", + /// Description = "Hydrogen Sulfide (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("HSA")] + public int? Hsa { get; set; } - /// - /// RecordId = 14, - /// ItemId = 25, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 14, + /// ItemId = 24, + /// LongMnemonic = "HSX", + /// ShortMnemonic = "HSX", + /// Description = "Hydrogen Sulfide (max)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("HSX")] + public int? Hsx { get; set; } - /// - /// RecordId = 14, - /// ItemId = 26, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 14, + /// ItemId = 25, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 14, - /// ItemId = 27, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 14, + /// ItemId = 26, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 14, - /// ItemId = 28, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 14, + /// ItemId = 27, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 14, - /// ItemId = 29, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 14, + /// ItemId = 28, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 14, + /// ItemId = 29, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record15.cs b/AsbCloudDb/Model/WITS/Record15.cs index 0f84b023..481d4bce 100644 --- a/AsbCloudDb/Model/WITS/Record15.cs +++ b/AsbCloudDb/Model/WITS/Record15.cs @@ -1,796 +1,796 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; #nullable enable namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Cuttings / Lithology - /// Description: Cuttings Lithology and related data - /// Description2: - /// - [Table("t_telemetry_wits_15")] - public class Record15: RecordBase { - - /// - /// RecordId = 15, - /// ItemId = 8, - /// LongMnemonic = "DEPTSAMM", - /// ShortMnemonic = "DSAM", - /// Description = "Depth Sample (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTSAMM")] - public float? Deptsamm { get; set; } + /// + /// Record name: Cuttings / Lithology + /// Description: Cuttings Lithology and related data + /// Description2: + /// + [Table("t_telemetry_wits_15")] + public class Record15 : RecordBase + { - /// - /// RecordId = 15, - /// ItemId = 9, - /// LongMnemonic = "DEPTSAMV", - /// ShortMnemonic = "DSAV", - /// Description = "Depth Sample (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTSAMV")] - public float? Deptsamv { get; set; } + /// + /// RecordId = 15, + /// ItemId = 8, + /// LongMnemonic = "DEPTSAMM", + /// ShortMnemonic = "DSAM", + /// Description = "Depth Sample (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTSAMM")] + public float? Deptsamm { get; set; } - /// - /// RecordId = 15, - /// ItemId = 10, - /// LongMnemonic = "DESCTYPE", - /// ShortMnemonic = "DESC", - /// Description = "Description type", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 8, - /// ValueType = "A" - /// - [Column("DESCTYPE")] - public string? Desctype { get; set; } + /// + /// RecordId = 15, + /// ItemId = 9, + /// LongMnemonic = "DEPTSAMV", + /// ShortMnemonic = "DSAV", + /// Description = "Depth Sample (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTSAMV")] + public float? Deptsamv { get; set; } - /// - /// RecordId = 15, - /// ItemId = 11, - /// LongMnemonic = "L1TYPE", - /// ShortMnemonic = "L1TY", - /// Description = "Lith 1 type", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L1TYPE")] - public string? L1type { get; set; } + /// + /// RecordId = 15, + /// ItemId = 10, + /// LongMnemonic = "DESCTYPE", + /// ShortMnemonic = "DESC", + /// Description = "Description type", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 8, + /// ValueType = "A" + /// + [Column("DESCTYPE")] + public string? Desctype { get; set; } - /// - /// RecordId = 15, - /// ItemId = 12, - /// LongMnemonic = "L1PERC", - /// ShortMnemonic = "L1PC", - /// Description = "Lith 1 %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 2, - /// ValueType = "S" - /// - [Column("L1PERC")] - public short? L1perc { get; set; } + /// + /// RecordId = 15, + /// ItemId = 11, + /// LongMnemonic = "L1TYPE", + /// ShortMnemonic = "L1TY", + /// Description = "Lith 1 type", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L1TYPE")] + public string? L1type { get; set; } - /// - /// RecordId = 15, - /// ItemId = 13, - /// LongMnemonic = "L1CLASS", - /// ShortMnemonic = "L1CL", - /// Description = "Lith 1 classification", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L1CLASS")] - public string? L1class { get; set; } + /// + /// RecordId = 15, + /// ItemId = 12, + /// LongMnemonic = "L1PERC", + /// ShortMnemonic = "L1PC", + /// Description = "Lith 1 %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 2, + /// ValueType = "S" + /// + [Column("L1PERC")] + public short? L1perc { get; set; } - /// - /// RecordId = 15, - /// ItemId = 14, - /// LongMnemonic = "L1COLOR", - /// ShortMnemonic = "L1CO", - /// Description = "Lith 1 color", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L1COLOR")] - public string? L1color { get; set; } + /// + /// RecordId = 15, + /// ItemId = 13, + /// LongMnemonic = "L1CLASS", + /// ShortMnemonic = "L1CL", + /// Description = "Lith 1 classification", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L1CLASS")] + public string? L1class { get; set; } - /// - /// RecordId = 15, - /// ItemId = 15, - /// LongMnemonic = "L1TEXT", - /// ShortMnemonic = "L1TX", - /// Description = "Lith 1 texture", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L1TEXT")] - public string? L1text { get; set; } + /// + /// RecordId = 15, + /// ItemId = 14, + /// LongMnemonic = "L1COLOR", + /// ShortMnemonic = "L1CO", + /// Description = "Lith 1 color", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L1COLOR")] + public string? L1color { get; set; } - /// - /// RecordId = 15, - /// ItemId = 16, - /// LongMnemonic = "L1HARD", - /// ShortMnemonic = "L1HD", - /// Description = "Lith 1 hardness", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L1HARD")] - public string? L1hard { get; set; } + /// + /// RecordId = 15, + /// ItemId = 15, + /// LongMnemonic = "L1TEXT", + /// ShortMnemonic = "L1TX", + /// Description = "Lith 1 texture", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L1TEXT")] + public string? L1text { get; set; } - /// - /// RecordId = 15, - /// ItemId = 17, - /// LongMnemonic = "L1SIZE", - /// ShortMnemonic = "L1SZ", - /// Description = "Lith 1 grain size", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L1SIZE")] - public string? L1size { get; set; } + /// + /// RecordId = 15, + /// ItemId = 16, + /// LongMnemonic = "L1HARD", + /// ShortMnemonic = "L1HD", + /// Description = "Lith 1 hardness", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L1HARD")] + public string? L1hard { get; set; } - /// - /// RecordId = 15, - /// ItemId = 18, - /// LongMnemonic = "L1ROUND", - /// ShortMnemonic = "L1RD", - /// Description = "Lith 1 roundness", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L1ROUND")] - public string? L1round { get; set; } + /// + /// RecordId = 15, + /// ItemId = 17, + /// LongMnemonic = "L1SIZE", + /// ShortMnemonic = "L1SZ", + /// Description = "Lith 1 grain size", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L1SIZE")] + public string? L1size { get; set; } - /// - /// RecordId = 15, - /// ItemId = 19, - /// LongMnemonic = "L1SORT", - /// ShortMnemonic = "L1SO", - /// Description = "Lith 1 sorting", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L1SORT")] - public string? L1sort { get; set; } + /// + /// RecordId = 15, + /// ItemId = 18, + /// LongMnemonic = "L1ROUND", + /// ShortMnemonic = "L1RD", + /// Description = "Lith 1 roundness", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L1ROUND")] + public string? L1round { get; set; } - /// - /// RecordId = 15, - /// ItemId = 20, - /// LongMnemonic = "L1MATCEM", - /// ShortMnemonic = "L1MC", - /// Description = "Lith 1 matrix/cement", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L1MATCEM")] - public string? L1matcem { get; set; } + /// + /// RecordId = 15, + /// ItemId = 19, + /// LongMnemonic = "L1SORT", + /// ShortMnemonic = "L1SO", + /// Description = "Lith 1 sorting", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L1SORT")] + public string? L1sort { get; set; } - /// - /// RecordId = 15, - /// ItemId = 21, - /// LongMnemonic = "L1ACC", - /// ShortMnemonic = "L1AC", - /// Description = "Lith 1 accessories", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L1ACC")] - public string? L1acc { get; set; } + /// + /// RecordId = 15, + /// ItemId = 20, + /// LongMnemonic = "L1MATCEM", + /// ShortMnemonic = "L1MC", + /// Description = "Lith 1 matrix/cement", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L1MATCEM")] + public string? L1matcem { get; set; } - /// - /// RecordId = 15, - /// ItemId = 22, - /// LongMnemonic = "L1POR", - /// ShortMnemonic = "L1PO", - /// Description = "Lith 1 porosity", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("L1POR")] - public float? L1por { get; set; } + /// + /// RecordId = 15, + /// ItemId = 21, + /// LongMnemonic = "L1ACC", + /// ShortMnemonic = "L1AC", + /// Description = "Lith 1 accessories", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L1ACC")] + public string? L1acc { get; set; } - /// - /// RecordId = 15, - /// ItemId = 23, - /// LongMnemonic = "L1PERM", - /// ShortMnemonic = "L1PE", - /// Description = "Lith 1 permeability", - /// Description2 = "", - /// FPSUnits = "MD", - /// MetricUnits = "MD", - /// Length = 4, - /// ValueType = "F" - /// - [Column("L1PERM")] - public float? L1perm { get; set; } + /// + /// RecordId = 15, + /// ItemId = 22, + /// LongMnemonic = "L1POR", + /// ShortMnemonic = "L1PO", + /// Description = "Lith 1 porosity", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("L1POR")] + public float? L1por { get; set; } - /// - /// RecordId = 15, - /// ItemId = 24, - /// LongMnemonic = "L2TYPE", - /// ShortMnemonic = "L2TY", - /// Description = "Lith 2 type", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L2TYPE")] - public string? L2type { get; set; } + /// + /// RecordId = 15, + /// ItemId = 23, + /// LongMnemonic = "L1PERM", + /// ShortMnemonic = "L1PE", + /// Description = "Lith 1 permeability", + /// Description2 = "", + /// FPSUnits = "MD", + /// MetricUnits = "MD", + /// Length = 4, + /// ValueType = "F" + /// + [Column("L1PERM")] + public float? L1perm { get; set; } - /// - /// RecordId = 15, - /// ItemId = 25, - /// LongMnemonic = "L2PERC", - /// ShortMnemonic = "L2PC", - /// Description = "Lith 2 %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 2, - /// ValueType = "S" - /// - [Column("L2PERC")] - public short? L2perc { get; set; } + /// + /// RecordId = 15, + /// ItemId = 24, + /// LongMnemonic = "L2TYPE", + /// ShortMnemonic = "L2TY", + /// Description = "Lith 2 type", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L2TYPE")] + public string? L2type { get; set; } - /// - /// RecordId = 15, - /// ItemId = 26, - /// LongMnemonic = "L2CLASS", - /// ShortMnemonic = "L2CL", - /// Description = "Lith 2 classification", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L2CLASS")] - public string? L2class { get; set; } + /// + /// RecordId = 15, + /// ItemId = 25, + /// LongMnemonic = "L2PERC", + /// ShortMnemonic = "L2PC", + /// Description = "Lith 2 %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 2, + /// ValueType = "S" + /// + [Column("L2PERC")] + public short? L2perc { get; set; } - /// - /// RecordId = 15, - /// ItemId = 27, - /// LongMnemonic = "L2COLOR", - /// ShortMnemonic = "L2CO", - /// Description = "Lith 2 color", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L2COLOR")] - public string? L2color { get; set; } + /// + /// RecordId = 15, + /// ItemId = 26, + /// LongMnemonic = "L2CLASS", + /// ShortMnemonic = "L2CL", + /// Description = "Lith 2 classification", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L2CLASS")] + public string? L2class { get; set; } - /// - /// RecordId = 15, - /// ItemId = 28, - /// LongMnemonic = "L2TEXT", - /// ShortMnemonic = "L2TX", - /// Description = "Lith 2 texture", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L2TEXT")] - public string? L2text { get; set; } + /// + /// RecordId = 15, + /// ItemId = 27, + /// LongMnemonic = "L2COLOR", + /// ShortMnemonic = "L2CO", + /// Description = "Lith 2 color", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L2COLOR")] + public string? L2color { get; set; } - /// - /// RecordId = 15, - /// ItemId = 29, - /// LongMnemonic = "L2HARD", - /// ShortMnemonic = "L2HD", - /// Description = "Lith 2 hardness", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L2HARD")] - public string? L2hard { get; set; } + /// + /// RecordId = 15, + /// ItemId = 28, + /// LongMnemonic = "L2TEXT", + /// ShortMnemonic = "L2TX", + /// Description = "Lith 2 texture", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L2TEXT")] + public string? L2text { get; set; } - /// - /// RecordId = 15, - /// ItemId = 30, - /// LongMnemonic = "L2SIZE", - /// ShortMnemonic = "L2SZ", - /// Description = "Lith 2 grain size", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L2SIZE")] - public string? L2size { get; set; } + /// + /// RecordId = 15, + /// ItemId = 29, + /// LongMnemonic = "L2HARD", + /// ShortMnemonic = "L2HD", + /// Description = "Lith 2 hardness", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L2HARD")] + public string? L2hard { get; set; } - /// - /// RecordId = 15, - /// ItemId = 31, - /// LongMnemonic = "L2ROUND", - /// ShortMnemonic = "L2RD", - /// Description = "Lith 2 roundness", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L2ROUND")] - public string? L2round { get; set; } + /// + /// RecordId = 15, + /// ItemId = 30, + /// LongMnemonic = "L2SIZE", + /// ShortMnemonic = "L2SZ", + /// Description = "Lith 2 grain size", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L2SIZE")] + public string? L2size { get; set; } - /// - /// RecordId = 15, - /// ItemId = 32, - /// LongMnemonic = "L2SORT", - /// ShortMnemonic = "L2SO", - /// Description = "Lith 2 sorting", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L2SORT")] - public string? L2sort { get; set; } + /// + /// RecordId = 15, + /// ItemId = 31, + /// LongMnemonic = "L2ROUND", + /// ShortMnemonic = "L2RD", + /// Description = "Lith 2 roundness", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L2ROUND")] + public string? L2round { get; set; } - /// - /// RecordId = 15, - /// ItemId = 33, - /// LongMnemonic = "L2MATCEM", - /// ShortMnemonic = "L2MC", - /// Description = "Lith 2 matrix/cement", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L2MATCEM")] - public string? L2matcem { get; set; } + /// + /// RecordId = 15, + /// ItemId = 32, + /// LongMnemonic = "L2SORT", + /// ShortMnemonic = "L2SO", + /// Description = "Lith 2 sorting", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L2SORT")] + public string? L2sort { get; set; } - /// - /// RecordId = 15, - /// ItemId = 34, - /// LongMnemonic = "L2ACC", - /// ShortMnemonic = "L2AC", - /// Description = "Lith 2 accessories", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L2ACC")] - public string? L2acc { get; set; } + /// + /// RecordId = 15, + /// ItemId = 33, + /// LongMnemonic = "L2MATCEM", + /// ShortMnemonic = "L2MC", + /// Description = "Lith 2 matrix/cement", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L2MATCEM")] + public string? L2matcem { get; set; } - /// - /// RecordId = 15, - /// ItemId = 35, - /// LongMnemonic = "L2POR", - /// ShortMnemonic = "L2PO", - /// Description = "Lith 2 porosity", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("L2POR")] - public float? L2por { get; set; } + /// + /// RecordId = 15, + /// ItemId = 34, + /// LongMnemonic = "L2ACC", + /// ShortMnemonic = "L2AC", + /// Description = "Lith 2 accessories", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L2ACC")] + public string? L2acc { get; set; } - /// - /// RecordId = 15, - /// ItemId = 36, - /// LongMnemonic = "L2PERM", - /// ShortMnemonic = "L2PE", - /// Description = "Lith 2 permeability", - /// Description2 = "", - /// FPSUnits = "MD", - /// MetricUnits = "MD", - /// Length = 4, - /// ValueType = "F" - /// - [Column("L2PERM")] - public float? L2perm { get; set; } + /// + /// RecordId = 15, + /// ItemId = 35, + /// LongMnemonic = "L2POR", + /// ShortMnemonic = "L2PO", + /// Description = "Lith 2 porosity", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("L2POR")] + public float? L2por { get; set; } - /// - /// RecordId = 15, - /// ItemId = 37, - /// LongMnemonic = "L3TYPE", - /// ShortMnemonic = "L3TY", - /// Description = "Lith 3 type", - /// Description2 = "", - /// FPSUnits = "---", - /// MetricUnits = "-----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L3TYPE")] - public string? L3type { get; set; } + /// + /// RecordId = 15, + /// ItemId = 36, + /// LongMnemonic = "L2PERM", + /// ShortMnemonic = "L2PE", + /// Description = "Lith 2 permeability", + /// Description2 = "", + /// FPSUnits = "MD", + /// MetricUnits = "MD", + /// Length = 4, + /// ValueType = "F" + /// + [Column("L2PERM")] + public float? L2perm { get; set; } - /// - /// RecordId = 15, - /// ItemId = 38, - /// LongMnemonic = "L3PERC", - /// ShortMnemonic = "L3PC", - /// Description = "Lith 3 %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 2, - /// ValueType = "S" - /// - [Column("L3PERC")] - public short? L3perc { get; set; } + /// + /// RecordId = 15, + /// ItemId = 37, + /// LongMnemonic = "L3TYPE", + /// ShortMnemonic = "L3TY", + /// Description = "Lith 3 type", + /// Description2 = "", + /// FPSUnits = "---", + /// MetricUnits = "-----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L3TYPE")] + public string? L3type { get; set; } - /// - /// RecordId = 15, - /// ItemId = 39, - /// LongMnemonic = "L3CLASS", - /// ShortMnemonic = "L3CL", - /// Description = "Lith 3 classification", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L3CLASS")] - public string? L3class { get; set; } + /// + /// RecordId = 15, + /// ItemId = 38, + /// LongMnemonic = "L3PERC", + /// ShortMnemonic = "L3PC", + /// Description = "Lith 3 %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 2, + /// ValueType = "S" + /// + [Column("L3PERC")] + public short? L3perc { get; set; } - /// - /// RecordId = 15, - /// ItemId = 40, - /// LongMnemonic = "L4TYPE", - /// ShortMnemonic = "L4TY", - /// Description = "Lith 4 type", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L4TYPE")] - public string? L4type { get; set; } + /// + /// RecordId = 15, + /// ItemId = 39, + /// LongMnemonic = "L3CLASS", + /// ShortMnemonic = "L3CL", + /// Description = "Lith 3 classification", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L3CLASS")] + public string? L3class { get; set; } - /// - /// RecordId = 15, - /// ItemId = 41, - /// LongMnemonic = "L4PERC", - /// ShortMnemonic = "L4PC", - /// Description = "Lith 4 %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 2, - /// ValueType = "S" - /// - [Column("L4PERC")] - public short? L4perc { get; set; } + /// + /// RecordId = 15, + /// ItemId = 40, + /// LongMnemonic = "L4TYPE", + /// ShortMnemonic = "L4TY", + /// Description = "Lith 4 type", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L4TYPE")] + public string? L4type { get; set; } - /// - /// RecordId = 15, - /// ItemId = 42, - /// LongMnemonic = "L4CLASS", - /// ShortMnemonic = "L4CL", - /// Description = "Lith 4 classification", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L4CLASS")] - public string? L4class { get; set; } + /// + /// RecordId = 15, + /// ItemId = 41, + /// LongMnemonic = "L4PERC", + /// ShortMnemonic = "L4PC", + /// Description = "Lith 4 %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 2, + /// ValueType = "S" + /// + [Column("L4PERC")] + public short? L4perc { get; set; } - /// - /// RecordId = 15, - /// ItemId = 43, - /// LongMnemonic = "L5TYPE", - /// ShortMnemonic = "L5TY", - /// Description = "Lith 5 type", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L5TYPE")] - public string? L5type { get; set; } + /// + /// RecordId = 15, + /// ItemId = 42, + /// LongMnemonic = "L4CLASS", + /// ShortMnemonic = "L4CL", + /// Description = "Lith 4 classification", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L4CLASS")] + public string? L4class { get; set; } - /// - /// RecordId = 15, - /// ItemId = 44, - /// LongMnemonic = "L5PERC", - /// ShortMnemonic = "L5PC", - /// Description = "Lith 5 %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 2, - /// ValueType = "S" - /// - [Column("L5PERC")] - public short? L5perc { get; set; } + /// + /// RecordId = 15, + /// ItemId = 43, + /// LongMnemonic = "L5TYPE", + /// ShortMnemonic = "L5TY", + /// Description = "Lith 5 type", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L5TYPE")] + public string? L5type { get; set; } - /// - /// RecordId = 15, - /// ItemId = 45, - /// LongMnemonic = "L5CLASS", - /// ShortMnemonic = "L5CL", - /// Description = "Lith 5 classification", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("L5CLASS")] - public string? L5class { get; set; } + /// + /// RecordId = 15, + /// ItemId = 44, + /// LongMnemonic = "L5PERC", + /// ShortMnemonic = "L5PC", + /// Description = "Lith 5 %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 2, + /// ValueType = "S" + /// + [Column("L5PERC")] + public short? L5perc { get; set; } - /// - /// RecordId = 15, - /// ItemId = 46, - /// LongMnemonic = "FOSS", - /// ShortMnemonic = "FOSS", - /// Description = "Fossils", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("FOSS")] - public string? Foss { get; set; } + /// + /// RecordId = 15, + /// ItemId = 45, + /// LongMnemonic = "L5CLASS", + /// ShortMnemonic = "L5CL", + /// Description = "Lith 5 classification", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("L5CLASS")] + public string? L5class { get; set; } - /// - /// RecordId = 15, - /// ItemId = 47, - /// LongMnemonic = "COMPSHOW", - /// ShortMnemonic = "SHOW", - /// Description = "Composite Show", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("COMPSHOW")] - public string? Compshow { get; set; } + /// + /// RecordId = 15, + /// ItemId = 46, + /// LongMnemonic = "FOSS", + /// ShortMnemonic = "FOSS", + /// Description = "Fossils", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("FOSS")] + public string? Foss { get; set; } - /// - /// RecordId = 15, - /// ItemId = 48, - /// LongMnemonic = "BULKDEN", - /// ShortMnemonic = "BDEN", - /// Description = "Bulk Density", - /// Description2 = "", - /// FPSUnits = "G/CC", - /// MetricUnits = "G/CC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BULKDEN")] - public float? Bulkden { get; set; } + /// + /// RecordId = 15, + /// ItemId = 47, + /// LongMnemonic = "COMPSHOW", + /// ShortMnemonic = "SHOW", + /// Description = "Composite Show", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("COMPSHOW")] + public string? Compshow { get; set; } - /// - /// RecordId = 15, - /// ItemId = 49, - /// LongMnemonic = "GASCUTT", - /// ShortMnemonic = "GCUT", - /// Description = "Cuttings Gas", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("GASCUTT")] - public float? Gascutt { get; set; } + /// + /// RecordId = 15, + /// ItemId = 48, + /// LongMnemonic = "BULKDEN", + /// ShortMnemonic = "BDEN", + /// Description = "Bulk Density", + /// Description2 = "", + /// FPSUnits = "G/CC", + /// MetricUnits = "G/CC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BULKDEN")] + public float? Bulkden { get; set; } - /// - /// RecordId = 15, - /// ItemId = 50, - /// LongMnemonic = "CCAL", - /// ShortMnemonic = "CCAL", - /// Description = "Calcimetry Calcite %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CCAL")] - public float? Ccal { get; set; } + /// + /// RecordId = 15, + /// ItemId = 49, + /// LongMnemonic = "GASCUTT", + /// ShortMnemonic = "GCUT", + /// Description = "Cuttings Gas", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("GASCUTT")] + public float? Gascutt { get; set; } - /// - /// RecordId = 15, - /// ItemId = 51, - /// LongMnemonic = "CDOL", - /// ShortMnemonic = "CDOL", - /// Description = "Calcimetry Dolomite %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CDOL")] - public float? Cdol { get; set; } + /// + /// RecordId = 15, + /// ItemId = 50, + /// LongMnemonic = "CCAL", + /// ShortMnemonic = "CCAL", + /// Description = "Calcimetry Calcite %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CCAL")] + public float? Ccal { get; set; } - /// - /// RecordId = 15, - /// ItemId = 52, - /// LongMnemonic = "CEC", - /// ShortMnemonic = "CEC", - /// Description = "Cuttings CEC", - /// Description2 = "", - /// FPSUnits = "MEHG", - /// MetricUnits = "MEHG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEC")] - public float? Cec { get; set; } + /// + /// RecordId = 15, + /// ItemId = 51, + /// LongMnemonic = "CDOL", + /// ShortMnemonic = "CDOL", + /// Description = "Calcimetry Dolomite %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CDOL")] + public float? Cdol { get; set; } - /// - /// RecordId = 15, - /// ItemId = 53, - /// LongMnemonic = "CAVINGS", - /// ShortMnemonic = "CAV", - /// Description = "Cavings %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 2, - /// ValueType = "S" - /// - [Column("CAVINGS")] - public short? Cavings { get; set; } + /// + /// RecordId = 15, + /// ItemId = 52, + /// LongMnemonic = "CEC", + /// ShortMnemonic = "CEC", + /// Description = "Cuttings CEC", + /// Description2 = "", + /// FPSUnits = "MEHG", + /// MetricUnits = "MEHG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEC")] + public float? Cec { get; set; } - /// - /// RecordId = 15, - /// ItemId = 54, - /// LongMnemonic = "SHALEDEN", - /// ShortMnemonic = "SDEN", - /// Description = "Shale Density", - /// Description2 = "", - /// FPSUnits = "G/CC", - /// MetricUnits = "G/CC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SHALEDEN")] - public float? Shaleden { get; set; } + /// + /// RecordId = 15, + /// ItemId = 53, + /// LongMnemonic = "CAVINGS", + /// ShortMnemonic = "CAV", + /// Description = "Cavings %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 2, + /// ValueType = "S" + /// + [Column("CAVINGS")] + public short? Cavings { get; set; } - /// - /// RecordId = 15, - /// ItemId = 55, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 15, + /// ItemId = 54, + /// LongMnemonic = "SHALEDEN", + /// ShortMnemonic = "SDEN", + /// Description = "Shale Density", + /// Description2 = "", + /// FPSUnits = "G/CC", + /// MetricUnits = "G/CC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SHALEDEN")] + public float? Shaleden { get; set; } - /// - /// RecordId = 15, - /// ItemId = 56, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 15, + /// ItemId = 55, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 15, - /// ItemId = 57, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 15, + /// ItemId = 56, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 15, - /// ItemId = 58, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 15, + /// ItemId = 57, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 15, - /// ItemId = 59, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 15, + /// ItemId = 58, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 15, + /// ItemId = 59, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record16.cs b/AsbCloudDb/Model/WITS/Record16.cs index a24d0547..4e4f94fe 100644 --- a/AsbCloudDb/Model/WITS/Record16.cs +++ b/AsbCloudDb/Model/WITS/Record16.cs @@ -1,600 +1,600 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Hydrocarbon Show - /// Description: Hydrocarbon Show related data - /// Description2: - /// - [Table("t_telemetry_wits_16")] - public class Record16: RecordBase { - - /// - /// RecordId = 16, - /// ItemId = 8, - /// LongMnemonic = "SHOWNUM", - /// ShortMnemonic = "SWNO", - /// Description = "Show Number", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("SHOWNUM")] - public short? Shownum { get; set; } + /// + /// Record name: Hydrocarbon Show + /// Description: Hydrocarbon Show related data + /// Description2: + /// + [Table("t_telemetry_wits_16")] + public class Record16 : RecordBase + { - /// - /// RecordId = 16, - /// ItemId = 9, - /// LongMnemonic = "DEPTSITM", - /// ShortMnemonic = "DSTM", - /// Description = "Show Intvl Top Depth (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTSITM")] - public float? Deptsitm { get; set; } + /// + /// RecordId = 16, + /// ItemId = 8, + /// LongMnemonic = "SHOWNUM", + /// ShortMnemonic = "SWNO", + /// Description = "Show Number", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("SHOWNUM")] + public short? Shownum { get; set; } - /// - /// RecordId = 16, - /// ItemId = 10, - /// LongMnemonic = "DEPTSITV", - /// ShortMnemonic = "DSTV", - /// Description = "Show Intvl Top Depth (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTSITV")] - public float? Deptsitv { get; set; } + /// + /// RecordId = 16, + /// ItemId = 9, + /// LongMnemonic = "DEPTSITM", + /// ShortMnemonic = "DSTM", + /// Description = "Show Intvl Top Depth (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTSITM")] + public float? Deptsitm { get; set; } - /// - /// RecordId = 16, - /// ItemId = 11, - /// LongMnemonic = "DEPTSIBM", - /// ShortMnemonic = "DSBM", - /// Description = "Show Intvl Bott Depth(meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTSIBM")] - public float? Deptsibm { get; set; } + /// + /// RecordId = 16, + /// ItemId = 10, + /// LongMnemonic = "DEPTSITV", + /// ShortMnemonic = "DSTV", + /// Description = "Show Intvl Top Depth (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTSITV")] + public float? Deptsitv { get; set; } - /// - /// RecordId = 16, - /// ItemId = 12, - /// LongMnemonic = "DEPTSIBV", - /// ShortMnemonic = "DSBV", - /// Description = "Show Intvl Bott Depth(vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTSIBV")] - public float? Deptsibv { get; set; } + /// + /// RecordId = 16, + /// ItemId = 11, + /// LongMnemonic = "DEPTSIBM", + /// ShortMnemonic = "DSBM", + /// Description = "Show Intvl Bott Depth(meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTSIBM")] + public float? Deptsibm { get; set; } - /// - /// RecordId = 16, - /// ItemId = 13, - /// LongMnemonic = "SHLTYPE", - /// ShortMnemonic = "WLTY", - /// Description = "Show Lith type", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("SHLTYPE")] - public string? Shltype { get; set; } + /// + /// RecordId = 16, + /// ItemId = 12, + /// LongMnemonic = "DEPTSIBV", + /// ShortMnemonic = "DSBV", + /// Description = "Show Intvl Bott Depth(vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTSIBV")] + public float? Deptsibv { get; set; } - /// - /// RecordId = 16, - /// ItemId = 14, - /// LongMnemonic = "SHLCLASS", - /// ShortMnemonic = "WLCL", - /// Description = "Show Lith classification", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("SHLCLASS")] - public string? Shlclass { get; set; } + /// + /// RecordId = 16, + /// ItemId = 13, + /// LongMnemonic = "SHLTYPE", + /// ShortMnemonic = "WLTY", + /// Description = "Show Lith type", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("SHLTYPE")] + public string? Shltype { get; set; } - /// - /// RecordId = 16, - /// ItemId = 15, - /// LongMnemonic = "SHLCOLOR", - /// ShortMnemonic = "WLCO", - /// Description = "Show Lith color", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("SHLCOLOR")] - public string? Shlcolor { get; set; } + /// + /// RecordId = 16, + /// ItemId = 14, + /// LongMnemonic = "SHLCLASS", + /// ShortMnemonic = "WLCL", + /// Description = "Show Lith classification", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("SHLCLASS")] + public string? Shlclass { get; set; } - /// - /// RecordId = 16, - /// ItemId = 16, - /// LongMnemonic = "SHLTEXT", - /// ShortMnemonic = "WLTX", - /// Description = "Show Lith texture", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("SHLTEXT")] - public string? Shltext { get; set; } + /// + /// RecordId = 16, + /// ItemId = 15, + /// LongMnemonic = "SHLCOLOR", + /// ShortMnemonic = "WLCO", + /// Description = "Show Lith color", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("SHLCOLOR")] + public string? Shlcolor { get; set; } - /// - /// RecordId = 16, - /// ItemId = 17, - /// LongMnemonic = "SHLHARD", - /// ShortMnemonic = "WLHD", - /// Description = "Show Lith hardness", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("SHLHARD")] - public string? Shlhard { get; set; } + /// + /// RecordId = 16, + /// ItemId = 16, + /// LongMnemonic = "SHLTEXT", + /// ShortMnemonic = "WLTX", + /// Description = "Show Lith texture", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("SHLTEXT")] + public string? Shltext { get; set; } - /// - /// RecordId = 16, - /// ItemId = 18, - /// LongMnemonic = "SHLSIZE", - /// ShortMnemonic = "WLSZ", - /// Description = "Show Lith grain size", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("SHLSIZE")] - public string? Shlsize { get; set; } + /// + /// RecordId = 16, + /// ItemId = 17, + /// LongMnemonic = "SHLHARD", + /// ShortMnemonic = "WLHD", + /// Description = "Show Lith hardness", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("SHLHARD")] + public string? Shlhard { get; set; } - /// - /// RecordId = 16, - /// ItemId = 19, - /// LongMnemonic = "SHLROUND", - /// ShortMnemonic = "WLRD", - /// Description = "Show Lith roundness", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("SHLROUND")] - public string? Shlround { get; set; } + /// + /// RecordId = 16, + /// ItemId = 18, + /// LongMnemonic = "SHLSIZE", + /// ShortMnemonic = "WLSZ", + /// Description = "Show Lith grain size", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("SHLSIZE")] + public string? Shlsize { get; set; } - /// - /// RecordId = 16, - /// ItemId = 20, - /// LongMnemonic = "SHLSORT", - /// ShortMnemonic = "WLSO", - /// Description = "Show Lith sorting", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("SHLSORT")] - public string? Shlsort { get; set; } + /// + /// RecordId = 16, + /// ItemId = 19, + /// LongMnemonic = "SHLROUND", + /// ShortMnemonic = "WLRD", + /// Description = "Show Lith roundness", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("SHLROUND")] + public string? Shlround { get; set; } - /// - /// RecordId = 16, - /// ItemId = 21, - /// LongMnemonic = "SHLMC", - /// ShortMnemonic = "WLMC", - /// Description = "Show Lith matrix/cement", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("SHLMC")] - public string? Shlmc { get; set; } + /// + /// RecordId = 16, + /// ItemId = 20, + /// LongMnemonic = "SHLSORT", + /// ShortMnemonic = "WLSO", + /// Description = "Show Lith sorting", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("SHLSORT")] + public string? Shlsort { get; set; } - /// - /// RecordId = 16, - /// ItemId = 22, - /// LongMnemonic = "SHLACC", - /// ShortMnemonic = "WLAC", - /// Description = "Show Lith accessories", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("SHLACC")] - public string? Shlacc { get; set; } + /// + /// RecordId = 16, + /// ItemId = 21, + /// LongMnemonic = "SHLMC", + /// ShortMnemonic = "WLMC", + /// Description = "Show Lith matrix/cement", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("SHLMC")] + public string? Shlmc { get; set; } - /// - /// RecordId = 16, - /// ItemId = 23, - /// LongMnemonic = "SHLPORV", - /// ShortMnemonic = "WLPV", - /// Description = "Show Lith porosity -visible", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("SHLPORV")] - public string? Shlporv { get; set; } + /// + /// RecordId = 16, + /// ItemId = 22, + /// LongMnemonic = "SHLACC", + /// ShortMnemonic = "WLAC", + /// Description = "Show Lith accessories", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("SHLACC")] + public string? Shlacc { get; set; } - /// - /// RecordId = 16, - /// ItemId = 24, - /// LongMnemonic = "SHLPORM", - /// ShortMnemonic = "WLPM", - /// Description = "Show Lith porosity -meas", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SHLPORM")] - public float? Shlporm { get; set; } + /// + /// RecordId = 16, + /// ItemId = 23, + /// LongMnemonic = "SHLPORV", + /// ShortMnemonic = "WLPV", + /// Description = "Show Lith porosity -visible", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("SHLPORV")] + public string? Shlporv { get; set; } - /// - /// RecordId = 16, - /// ItemId = 25, - /// LongMnemonic = "SHLPERM", - /// ShortMnemonic = "WLPE", - /// Description = "Show Lith permeability", - /// Description2 = "", - /// FPSUnits = "MD", - /// MetricUnits = "MD", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SHLPERM")] - public float? Shlperm { get; set; } + /// + /// RecordId = 16, + /// ItemId = 24, + /// LongMnemonic = "SHLPORM", + /// ShortMnemonic = "WLPM", + /// Description = "Show Lith porosity -meas", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SHLPORM")] + public float? Shlporm { get; set; } - /// - /// RecordId = 16, - /// ItemId = 26, - /// LongMnemonic = "SHLSTAIN", - /// ShortMnemonic = "WLST", - /// Description = "Show Lith stain description", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 64, - /// ValueType = "A" - /// - [Column("SHLSTAIN")] - public string? Shlstain { get; set; } + /// + /// RecordId = 16, + /// ItemId = 25, + /// LongMnemonic = "SHLPERM", + /// ShortMnemonic = "WLPE", + /// Description = "Show Lith permeability", + /// Description2 = "", + /// FPSUnits = "MD", + /// MetricUnits = "MD", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SHLPERM")] + public float? Shlperm { get; set; } - /// - /// RecordId = 16, - /// ItemId = 27, - /// LongMnemonic = "SHLFLUOR", - /// ShortMnemonic = "WLFL", - /// Description = "Show Lith fluor description", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 64, - /// ValueType = "A" - /// - [Column("SHLFLUOR")] - public string? Shlfluor { get; set; } + /// + /// RecordId = 16, + /// ItemId = 26, + /// LongMnemonic = "SHLSTAIN", + /// ShortMnemonic = "WLST", + /// Description = "Show Lith stain description", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 64, + /// ValueType = "A" + /// + [Column("SHLSTAIN")] + public string? Shlstain { get; set; } - /// - /// RecordId = 16, - /// ItemId = 28, - /// LongMnemonic = "SHLCUT", - /// ShortMnemonic = "WLCT", - /// Description = "Show Lith cut description", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 64, - /// ValueType = "A" - /// - [Column("SHLCUT")] - public string? Shlcut { get; set; } + /// + /// RecordId = 16, + /// ItemId = 27, + /// LongMnemonic = "SHLFLUOR", + /// ShortMnemonic = "WLFL", + /// Description = "Show Lith fluor description", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 64, + /// ValueType = "A" + /// + [Column("SHLFLUOR")] + public string? Shlfluor { get; set; } - /// - /// RecordId = 16, - /// ItemId = 29, - /// LongMnemonic = "SHLGCUT", - /// ShortMnemonic = "WLGC", - /// Description = "Show Lith cuttings gas", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SHLGCUT")] - public float? Shlgcut { get; set; } + /// + /// RecordId = 16, + /// ItemId = 28, + /// LongMnemonic = "SHLCUT", + /// ShortMnemonic = "WLCT", + /// Description = "Show Lith cut description", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 64, + /// ValueType = "A" + /// + [Column("SHLCUT")] + public string? Shlcut { get; set; } - /// - /// RecordId = 16, - /// ItemId = 30, - /// LongMnemonic = "SHSAL", - /// ShortMnemonic = "WSAL", - /// Description = "Show titrated salinity", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("SHSAL")] - public int? Shsal { get; set; } + /// + /// RecordId = 16, + /// ItemId = 29, + /// LongMnemonic = "SHLGCUT", + /// ShortMnemonic = "WLGC", + /// Description = "Show Lith cuttings gas", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SHLGCUT")] + public float? Shlgcut { get; set; } - /// - /// RecordId = 16, - /// ItemId = 31, - /// LongMnemonic = "METHMUD", - /// ShortMnemonic = "MTHM", - /// Description = "Show Mud Smple Methane", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("METHMUD")] - public int? Methmud { get; set; } + /// + /// RecordId = 16, + /// ItemId = 30, + /// LongMnemonic = "SHSAL", + /// ShortMnemonic = "WSAL", + /// Description = "Show titrated salinity", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("SHSAL")] + public int? Shsal { get; set; } - /// - /// RecordId = 16, - /// ItemId = 32, - /// LongMnemonic = "ETHMUD", - /// ShortMnemonic = "ETHM", - /// Description = "Show Mud Smple Ethane", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("ETHMUD")] - public int? Ethmud { get; set; } + /// + /// RecordId = 16, + /// ItemId = 31, + /// LongMnemonic = "METHMUD", + /// ShortMnemonic = "MTHM", + /// Description = "Show Mud Smple Methane", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("METHMUD")] + public int? Methmud { get; set; } - /// - /// RecordId = 16, - /// ItemId = 33, - /// LongMnemonic = "PROPMUD", - /// ShortMnemonic = "PRPM", - /// Description = "Show Mud Smple Propane", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("PROPMUD")] - public int? Propmud { get; set; } + /// + /// RecordId = 16, + /// ItemId = 32, + /// LongMnemonic = "ETHMUD", + /// ShortMnemonic = "ETHM", + /// Description = "Show Mud Smple Ethane", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("ETHMUD")] + public int? Ethmud { get; set; } - /// - /// RecordId = 16, - /// ItemId = 34, - /// LongMnemonic = "IBUTMUD", - /// ShortMnemonic = "IBTM", - /// Description = "Show Mud Smple I-Butane", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IBUTMUD")] - public int? Ibutmud { get; set; } + /// + /// RecordId = 16, + /// ItemId = 33, + /// LongMnemonic = "PROPMUD", + /// ShortMnemonic = "PRPM", + /// Description = "Show Mud Smple Propane", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("PROPMUD")] + public int? Propmud { get; set; } - /// - /// RecordId = 16, - /// ItemId = 35, - /// LongMnemonic = "NBUTMUD", - /// ShortMnemonic = "NBTM", - /// Description = "Show Mud Smple N-Butane", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NBUTMUD")] - public int? Nbutmud { get; set; } + /// + /// RecordId = 16, + /// ItemId = 34, + /// LongMnemonic = "IBUTMUD", + /// ShortMnemonic = "IBTM", + /// Description = "Show Mud Smple I-Butane", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IBUTMUD")] + public int? Ibutmud { get; set; } - /// - /// RecordId = 16, - /// ItemId = 36, - /// LongMnemonic = "IPENMUD", - /// ShortMnemonic = "IPNM", - /// Description = "Show Mud Smple I-Pentane", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IPENMUD")] - public int? Ipenmud { get; set; } + /// + /// RecordId = 16, + /// ItemId = 35, + /// LongMnemonic = "NBUTMUD", + /// ShortMnemonic = "NBTM", + /// Description = "Show Mud Smple N-Butane", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NBUTMUD")] + public int? Nbutmud { get; set; } - /// - /// RecordId = 16, - /// ItemId = 37, - /// LongMnemonic = "NPENMUD", - /// ShortMnemonic = "NPNM", - /// Description = "Show Mud Smple N-Pentane", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NPENMUD")] - public int? Npenmud { get; set; } + /// + /// RecordId = 16, + /// ItemId = 36, + /// LongMnemonic = "IPENMUD", + /// ShortMnemonic = "IPNM", + /// Description = "Show Mud Smple I-Pentane", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IPENMUD")] + public int? Ipenmud { get; set; } - /// - /// RecordId = 16, - /// ItemId = 38, - /// LongMnemonic = "EPENMUD", - /// ShortMnemonic = "EPNM", - /// Description = "Show Mud Smple N-Pentane", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("EPENMUD")] - public int? Epenmud { get; set; } + /// + /// RecordId = 16, + /// ItemId = 37, + /// LongMnemonic = "NPENMUD", + /// ShortMnemonic = "NPNM", + /// Description = "Show Mud Smple N-Pentane", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NPENMUD")] + public int? Npenmud { get; set; } - /// - /// RecordId = 16, - /// ItemId = 39, - /// LongMnemonic = "IHEXMUD", - /// ShortMnemonic = "IHXM", - /// Description = "Show Mud Smple I-Hexane", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("IHEXMUD")] - public int? Ihexmud { get; set; } + /// + /// RecordId = 16, + /// ItemId = 38, + /// LongMnemonic = "EPENMUD", + /// ShortMnemonic = "EPNM", + /// Description = "Show Mud Smple N-Pentane", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("EPENMUD")] + public int? Epenmud { get; set; } - /// - /// RecordId = 16, - /// ItemId = 40, - /// LongMnemonic = "NHEXMUD", - /// ShortMnemonic = "NHXM", - /// Description = "Show Mud Smple N-Hexane", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("NHEXMUD")] - public int? Nhexmud { get; set; } + /// + /// RecordId = 16, + /// ItemId = 39, + /// LongMnemonic = "IHEXMUD", + /// ShortMnemonic = "IHXM", + /// Description = "Show Mud Smple I-Hexane", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("IHEXMUD")] + public int? Ihexmud { get; set; } - /// - /// RecordId = 16, - /// ItemId = 41, - /// LongMnemonic = "SHOWCOMM", - /// ShortMnemonic = "WCOM", - /// Description = "Show Comments", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 128, - /// ValueType = "A" - /// - [Column("SHOWCOMM")] - public string? Showcomm { get; set; } + /// + /// RecordId = 16, + /// ItemId = 40, + /// LongMnemonic = "NHEXMUD", + /// ShortMnemonic = "NHXM", + /// Description = "Show Mud Smple N-Hexane", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("NHEXMUD")] + public int? Nhexmud { get; set; } - /// - /// RecordId = 16, - /// ItemId = 42, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 16, + /// ItemId = 41, + /// LongMnemonic = "SHOWCOMM", + /// ShortMnemonic = "WCOM", + /// Description = "Show Comments", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 128, + /// ValueType = "A" + /// + [Column("SHOWCOMM")] + public string? Showcomm { get; set; } - /// - /// RecordId = 16, - /// ItemId = 43, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 16, + /// ItemId = 42, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 16, - /// ItemId = 44, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 16, + /// ItemId = 43, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 16, - /// ItemId = 45, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 16, + /// ItemId = 44, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 16, - /// ItemId = 46, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 16, + /// ItemId = 45, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 16, + /// ItemId = 46, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record17.cs b/AsbCloudDb/Model/WITS/Record17.cs index df84fa46..99f7d004 100644 --- a/AsbCloudDb/Model/WITS/Record17.cs +++ b/AsbCloudDb/Model/WITS/Record17.cs @@ -1,480 +1,480 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Cementing - /// Description: Well Cementing operations data - /// Description2: - /// - [Table("t_telemetry_wits_17")] - public class Record17: RecordBase { - - /// - /// RecordId = 17, - /// ItemId = 8, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "Depth Hole (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } + /// + /// Record name: Cementing + /// Description: Well Cementing operations data + /// Description2: + /// + [Table("t_telemetry_wits_17")] + public class Record17 : RecordBase + { - /// - /// RecordId = 17, - /// ItemId = 9, - /// LongMnemonic = "DEPTVERT", - /// ShortMnemonic = "DVER", - /// Description = "Depth Hole (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTVERT")] - public float? Deptvert { get; set; } + /// + /// RecordId = 17, + /// ItemId = 8, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "Depth Hole (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } - /// - /// RecordId = 17, - /// ItemId = 10, - /// LongMnemonic = "DEPTCSGM", - /// ShortMnemonic = "DCGM", - /// Description = "Depth Casing Shoe (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTCSGM")] - public float? Deptcsgm { get; set; } + /// + /// RecordId = 17, + /// ItemId = 9, + /// LongMnemonic = "DEPTVERT", + /// ShortMnemonic = "DVER", + /// Description = "Depth Hole (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTVERT")] + public float? Deptvert { get; set; } - /// - /// RecordId = 17, - /// ItemId = 11, - /// LongMnemonic = "DEPTCSGV", - /// ShortMnemonic = "DCGV", - /// Description = "Depth Casing Shoe (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTCSGV")] - public float? Deptcsgv { get; set; } + /// + /// RecordId = 17, + /// ItemId = 10, + /// LongMnemonic = "DEPTCSGM", + /// ShortMnemonic = "DCGM", + /// Description = "Depth Casing Shoe (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTCSGM")] + public float? Deptcsgm { get; set; } - /// - /// RecordId = 17, - /// ItemId = 12, - /// LongMnemonic = "CEMPPA", - /// ShortMnemonic = "CPPA", - /// Description = "Cem Pump Pressure (avg)", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEMPPA")] - public float? Cemppa { get; set; } + /// + /// RecordId = 17, + /// ItemId = 11, + /// LongMnemonic = "DEPTCSGV", + /// ShortMnemonic = "DCGV", + /// Description = "Depth Casing Shoe (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTCSGV")] + public float? Deptcsgv { get; set; } - /// - /// RecordId = 17, - /// ItemId = 13, - /// LongMnemonic = "HKLA", - /// ShortMnemonic = "HKLA", - /// Description = "Hookload (avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HKLA")] - public float? Hkla { get; set; } + /// + /// RecordId = 17, + /// ItemId = 12, + /// LongMnemonic = "CEMPPA", + /// ShortMnemonic = "CPPA", + /// Description = "Cem Pump Pressure (avg)", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEMPPA")] + public float? Cemppa { get; set; } - /// - /// RecordId = 17, - /// ItemId = 14, - /// LongMnemonic = "BLKPOS", - /// ShortMnemonic = "BPOS", - /// Description = "Block Position", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BLKPOS")] - public float? Blkpos { get; set; } + /// + /// RecordId = 17, + /// ItemId = 13, + /// LongMnemonic = "HKLA", + /// ShortMnemonic = "HKLA", + /// Description = "Hookload (avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HKLA")] + public float? Hkla { get; set; } - /// - /// RecordId = 17, - /// ItemId = 15, - /// LongMnemonic = "CEMFIC", - /// ShortMnemonic = "CFIC", - /// Description = "Cem Flow Rate In (calc)", - /// Description2 = "", - /// FPSUnits = "BPM", - /// MetricUnits = "M3/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEMFIC")] - public float? Cemfic { get; set; } + /// + /// RecordId = 17, + /// ItemId = 14, + /// LongMnemonic = "BLKPOS", + /// ShortMnemonic = "BPOS", + /// Description = "Block Position", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BLKPOS")] + public float? Blkpos { get; set; } - /// - /// RecordId = 17, - /// ItemId = 16, - /// LongMnemonic = "CEMFIA", - /// ShortMnemonic = "CFIA", - /// Description = "Cem Flow Rate In (avg)", - /// Description2 = "", - /// FPSUnits = "BPM", - /// MetricUnits = "M3/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEMFIA")] - public float? Cemfia { get; set; } + /// + /// RecordId = 17, + /// ItemId = 15, + /// LongMnemonic = "CEMFIC", + /// ShortMnemonic = "CFIC", + /// Description = "Cem Flow Rate In (calc)", + /// Description2 = "", + /// FPSUnits = "BPM", + /// MetricUnits = "M3/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEMFIC")] + public float? Cemfic { get; set; } - /// - /// RecordId = 17, - /// ItemId = 17, - /// LongMnemonic = "CEMFOA", - /// ShortMnemonic = "CFOA", - /// Description = "Cem Flow Rate Out (avg)", - /// Description2 = "", - /// FPSUnits = "BPM", - /// MetricUnits = "M3/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEMFOA")] - public float? Cemfoa { get; set; } + /// + /// RecordId = 17, + /// ItemId = 16, + /// LongMnemonic = "CEMFIA", + /// ShortMnemonic = "CFIA", + /// Description = "Cem Flow Rate In (avg)", + /// Description2 = "", + /// FPSUnits = "BPM", + /// MetricUnits = "M3/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEMFIA")] + public float? Cemfia { get; set; } - /// - /// RecordId = 17, - /// ItemId = 18, - /// LongMnemonic = "CEMFOP", - /// ShortMnemonic = "CFOP", - /// Description = "Cem Flow Out %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 2, - /// ValueType = "S" - /// - [Column("CEMFOP")] - public short? Cemfop { get; set; } + /// + /// RecordId = 17, + /// ItemId = 17, + /// LongMnemonic = "CEMFOA", + /// ShortMnemonic = "CFOA", + /// Description = "Cem Flow Rate Out (avg)", + /// Description2 = "", + /// FPSUnits = "BPM", + /// MetricUnits = "M3/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEMFOA")] + public float? Cemfoa { get; set; } - /// - /// RecordId = 17, - /// ItemId = 19, - /// LongMnemonic = "CEMDIA", - /// ShortMnemonic = "CDIA", - /// Description = "Cem Fluid Dens In (avg)", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEMDIA")] - public float? Cemdia { get; set; } + /// + /// RecordId = 17, + /// ItemId = 18, + /// LongMnemonic = "CEMFOP", + /// ShortMnemonic = "CFOP", + /// Description = "Cem Flow Out %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 2, + /// ValueType = "S" + /// + [Column("CEMFOP")] + public short? Cemfop { get; set; } - /// - /// RecordId = 17, - /// ItemId = 20, - /// LongMnemonic = "CEMDOA", - /// ShortMnemonic = "CDOA", - /// Description = "Cem Fluid Dens Out (avg)", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEMDOA")] - public float? Cemdoa { get; set; } + /// + /// RecordId = 17, + /// ItemId = 19, + /// LongMnemonic = "CEMDIA", + /// ShortMnemonic = "CDIA", + /// Description = "Cem Fluid Dens In (avg)", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEMDIA")] + public float? Cemdia { get; set; } - /// - /// RecordId = 17, - /// ItemId = 21, - /// LongMnemonic = "ECDCSG", - /// ShortMnemonic = "ECDC", - /// Description = "ECD at Casing Shoe", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ECDCSG")] - public float? Ecdcsg { get; set; } + /// + /// RecordId = 17, + /// ItemId = 20, + /// LongMnemonic = "CEMDOA", + /// ShortMnemonic = "CDOA", + /// Description = "Cem Fluid Dens Out (avg)", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEMDOA")] + public float? Cemdoa { get; set; } - /// - /// RecordId = 17, - /// ItemId = 22, - /// LongMnemonic = "CEMTIA", - /// ShortMnemonic = "CTIA", - /// Description = "Cem Fluid Temp In (avg)", - /// Description2 = "", - /// FPSUnits = "DEGF", - /// MetricUnits = "DEGC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEMTIA")] - public float? Cemtia { get; set; } + /// + /// RecordId = 17, + /// ItemId = 21, + /// LongMnemonic = "ECDCSG", + /// ShortMnemonic = "ECDC", + /// Description = "ECD at Casing Shoe", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ECDCSG")] + public float? Ecdcsg { get; set; } - /// - /// RecordId = 17, - /// ItemId = 23, - /// LongMnemonic = "CEMTOA", - /// ShortMnemonic = "CTOA", - /// Description = "Cem Fluid Temp Out (avg)", - /// Description2 = "", - /// FPSUnits = "DEGF", - /// MetricUnits = "DEGC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEMTOA")] - public float? Cemtoa { get; set; } + /// + /// RecordId = 17, + /// ItemId = 22, + /// LongMnemonic = "CEMTIA", + /// ShortMnemonic = "CTIA", + /// Description = "Cem Fluid Temp In (avg)", + /// Description2 = "", + /// FPSUnits = "DEGF", + /// MetricUnits = "DEGC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEMTIA")] + public float? Cemtia { get; set; } - /// - /// RecordId = 17, - /// ItemId = 24, - /// LongMnemonic = "CEMSTAGE", - /// ShortMnemonic = "CSTG", - /// Description = "Cem Stage Number", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("CEMSTAGE")] - public short? Cemstage { get; set; } + /// + /// RecordId = 17, + /// ItemId = 23, + /// LongMnemonic = "CEMTOA", + /// ShortMnemonic = "CTOA", + /// Description = "Cem Fluid Temp Out (avg)", + /// Description2 = "", + /// FPSUnits = "DEGF", + /// MetricUnits = "DEGC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEMTOA")] + public float? Cemtoa { get; set; } - /// - /// RecordId = 17, - /// ItemId = 25, - /// LongMnemonic = "DEPTDVT", - /// ShortMnemonic = "DDVT", - /// Description = "Cem Depth to DV Tool", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTDVT")] - public float? Deptdvt { get; set; } + /// + /// RecordId = 17, + /// ItemId = 24, + /// LongMnemonic = "CEMSTAGE", + /// ShortMnemonic = "CSTG", + /// Description = "Cem Stage Number", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("CEMSTAGE")] + public short? Cemstage { get; set; } - /// - /// RecordId = 17, - /// ItemId = 26, - /// LongMnemonic = "CEMFTYPE", - /// ShortMnemonic = "CTYP", - /// Description = "Cem Fluid Type/Batch", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("CEMFTYPE")] - public string? Cemftype { get; set; } + /// + /// RecordId = 17, + /// ItemId = 25, + /// LongMnemonic = "DEPTDVT", + /// ShortMnemonic = "DDVT", + /// Description = "Cem Depth to DV Tool", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTDVT")] + public float? Deptdvt { get; set; } - /// - /// RecordId = 17, - /// ItemId = 27, - /// LongMnemonic = "CEMCUMRT", - /// ShortMnemonic = "CCRT", - /// Description = "Cem Cumulative Returns", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEMCUMRT")] - public float? Cemcumrt { get; set; } + /// + /// RecordId = 17, + /// ItemId = 26, + /// LongMnemonic = "CEMFTYPE", + /// ShortMnemonic = "CTYP", + /// Description = "Cem Fluid Type/Batch", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("CEMFTYPE")] + public string? Cemftype { get; set; } - /// - /// RecordId = 17, - /// ItemId = 28, - /// LongMnemonic = "CEMIVOL", - /// ShortMnemonic = "CIVL", - /// Description = "Cem Indiv Vol Pumped", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEMIVOL")] - public float? Cemivol { get; set; } + /// + /// RecordId = 17, + /// ItemId = 27, + /// LongMnemonic = "CEMCUMRT", + /// ShortMnemonic = "CCRT", + /// Description = "Cem Cumulative Returns", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEMCUMRT")] + public float? Cemcumrt { get; set; } - /// - /// RecordId = 17, - /// ItemId = 29, - /// LongMnemonic = "CEMCVOL", - /// ShortMnemonic = "CCVL", - /// Description = "Cem Cement Vol Pumped", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEMCVOL")] - public float? Cemcvol { get; set; } + /// + /// RecordId = 17, + /// ItemId = 28, + /// LongMnemonic = "CEMIVOL", + /// ShortMnemonic = "CIVL", + /// Description = "Cem Indiv Vol Pumped", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEMIVOL")] + public float? Cemivol { get; set; } - /// - /// RecordId = 17, - /// ItemId = 30, - /// LongMnemonic = "CEMTVOL", - /// ShortMnemonic = "CTVL", - /// Description = "Cem Total Vol Pumped", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEMTVOL")] - public float? Cemtvol { get; set; } + /// + /// RecordId = 17, + /// ItemId = 29, + /// LongMnemonic = "CEMCVOL", + /// ShortMnemonic = "CCVL", + /// Description = "Cem Cement Vol Pumped", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEMCVOL")] + public float? Cemcvol { get; set; } - /// - /// RecordId = 17, - /// ItemId = 31, - /// LongMnemonic = "CEMBPVOL", - /// ShortMnemonic = "CBVL", - /// Description = "Cem Volume to Bump Plug", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CEMBPVOL")] - public float? Cembpvol { get; set; } + /// + /// RecordId = 17, + /// ItemId = 30, + /// LongMnemonic = "CEMTVOL", + /// ShortMnemonic = "CTVL", + /// Description = "Cem Total Vol Pumped", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEMTVOL")] + public float? Cemtvol { get; set; } - /// - /// RecordId = 17, - /// ItemId = 32, - /// LongMnemonic = "CEMPLUGS", - /// ShortMnemonic = "CPLG", - /// Description = "Cem No./Status of Plug(s)", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 8, - /// ValueType = "A" - /// - [Column("CEMPLUGS")] - public string? Cemplugs { get; set; } + /// + /// RecordId = 17, + /// ItemId = 31, + /// LongMnemonic = "CEMBPVOL", + /// ShortMnemonic = "CBVL", + /// Description = "Cem Volume to Bump Plug", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CEMBPVOL")] + public float? Cembpvol { get; set; } - /// - /// RecordId = 17, - /// ItemId = 33, - /// LongMnemonic = "CEMJTYP", - /// ShortMnemonic = "CJTY", - /// Description = "Cem Job Type", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("CEMJTYP")] - public string? Cemjtyp { get; set; } + /// + /// RecordId = 17, + /// ItemId = 32, + /// LongMnemonic = "CEMPLUGS", + /// ShortMnemonic = "CPLG", + /// Description = "Cem No./Status of Plug(s)", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 8, + /// ValueType = "A" + /// + [Column("CEMPLUGS")] + public string? Cemplugs { get; set; } - /// - /// RecordId = 17, - /// ItemId = 34, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 17, + /// ItemId = 33, + /// LongMnemonic = "CEMJTYP", + /// ShortMnemonic = "CJTY", + /// Description = "Cem Job Type", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("CEMJTYP")] + public string? Cemjtyp { get; set; } - /// - /// RecordId = 17, - /// ItemId = 35, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 17, + /// ItemId = 34, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 17, - /// ItemId = 36, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 17, + /// ItemId = 35, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 17, - /// ItemId = 37, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 17, + /// ItemId = 36, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 17, - /// ItemId = 38, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 17, + /// ItemId = 37, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 17, + /// ItemId = 38, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record18.cs b/AsbCloudDb/Model/WITS/Record18.cs index c702dc6f..b5c1f8b8 100644 --- a/AsbCloudDb/Model/WITS/Record18.cs +++ b/AsbCloudDb/Model/WITS/Record18.cs @@ -1,375 +1,375 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Drill Stem Testing - /// Description: Well Testing operations data - /// Description2: - /// - [Table("t_telemetry_wits_18")] - public class Record18: RecordBase { - - /// - /// RecordId = 18, - /// ItemId = 8, - /// LongMnemonic = "DSTID", - /// ShortMnemonic = "DSID", - /// Description = "DST identification", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 8, - /// ValueType = "A" - /// - [Column("DSTID")] - public string? Dstid { get; set; } + /// + /// Record name: Drill Stem Testing + /// Description: Well Testing operations data + /// Description2: + /// + [Table("t_telemetry_wits_18")] + public class Record18 : RecordBase + { - /// - /// RecordId = 18, - /// ItemId = 9, - /// LongMnemonic = "DEPTDITM", - /// ShortMnemonic = "DDTM", - /// Description = "DST Intvl Top Depth (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTDITM")] - public float? Deptditm { get; set; } + /// + /// RecordId = 18, + /// ItemId = 8, + /// LongMnemonic = "DSTID", + /// ShortMnemonic = "DSID", + /// Description = "DST identification", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 8, + /// ValueType = "A" + /// + [Column("DSTID")] + public string? Dstid { get; set; } - /// - /// RecordId = 18, - /// ItemId = 10, - /// LongMnemonic = "DEPTDITV", - /// ShortMnemonic = "DDTV", - /// Description = "DST Intvl Top Depth (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTDITV")] - public float? Deptditv { get; set; } + /// + /// RecordId = 18, + /// ItemId = 9, + /// LongMnemonic = "DEPTDITM", + /// ShortMnemonic = "DDTM", + /// Description = "DST Intvl Top Depth (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTDITM")] + public float? Deptditm { get; set; } - /// - /// RecordId = 18, - /// ItemId = 11, - /// LongMnemonic = "DEPTDIBM", - /// ShortMnemonic = "DDBM", - /// Description = "DST Intvl Bott Depth (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTDIBM")] - public float? Deptdibm { get; set; } + /// + /// RecordId = 18, + /// ItemId = 10, + /// LongMnemonic = "DEPTDITV", + /// ShortMnemonic = "DDTV", + /// Description = "DST Intvl Top Depth (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTDITV")] + public float? Deptditv { get; set; } - /// - /// RecordId = 18, - /// ItemId = 12, - /// LongMnemonic = "DEPTDIBV", - /// ShortMnemonic = "DDBV", - /// Description = "DST Intvl Bott Depth (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTDIBV")] - public float? Deptdibv { get; set; } + /// + /// RecordId = 18, + /// ItemId = 11, + /// LongMnemonic = "DEPTDIBM", + /// ShortMnemonic = "DDBM", + /// Description = "DST Intvl Bott Depth (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTDIBM")] + public float? Deptdibm { get; set; } - /// - /// RecordId = 18, - /// ItemId = 13, - /// LongMnemonic = "DSTTTIME", - /// ShortMnemonic = "DTTI", - /// Description = "DST Tool Time", - /// Description2 = "", - /// FPSUnits = "HR", - /// MetricUnits = "HR", - /// Length = 4, - /// ValueType = "L" - /// - [Column("DSTTTIME")] - public int? Dstttime { get; set; } + /// + /// RecordId = 18, + /// ItemId = 12, + /// LongMnemonic = "DEPTDIBV", + /// ShortMnemonic = "DDBV", + /// Description = "DST Intvl Bott Depth (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTDIBV")] + public float? Deptdibv { get; set; } - /// - /// RecordId = 18, - /// ItemId = 14, - /// LongMnemonic = "DSTSTATE", - /// ShortMnemonic = "DSTA", - /// Description = "DST State of Well", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("DSTSTATE")] - public short? Dststate { get; set; } + /// + /// RecordId = 18, + /// ItemId = 13, + /// LongMnemonic = "DSTTTIME", + /// ShortMnemonic = "DTTI", + /// Description = "DST Tool Time", + /// Description2 = "", + /// FPSUnits = "HR", + /// MetricUnits = "HR", + /// Length = 4, + /// ValueType = "L" + /// + [Column("DSTTTIME")] + public int? Dstttime { get; set; } - /// - /// RecordId = 18, - /// ItemId = 15, - /// LongMnemonic = "DSTSPTUB", - /// ShortMnemonic = "DSPT", - /// Description = "DST Surf Pressure, Tubing", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DSTSPTUB")] - public float? Dstsptub { get; set; } + /// + /// RecordId = 18, + /// ItemId = 14, + /// LongMnemonic = "DSTSTATE", + /// ShortMnemonic = "DSTA", + /// Description = "DST State of Well", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("DSTSTATE")] + public short? Dststate { get; set; } - /// - /// RecordId = 18, - /// ItemId = 16, - /// LongMnemonic = "DSTSPCAS", - /// ShortMnemonic = "DSPC", - /// Description = "DST Surf Pressure, Casing", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DSTSPCAS")] - public float? Dstspcas { get; set; } + /// + /// RecordId = 18, + /// ItemId = 15, + /// LongMnemonic = "DSTSPTUB", + /// ShortMnemonic = "DSPT", + /// Description = "DST Surf Pressure, Tubing", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DSTSPTUB")] + public float? Dstsptub { get; set; } - /// - /// RecordId = 18, - /// ItemId = 17, - /// LongMnemonic = "DSTSTTUB", - /// ShortMnemonic = "DSTT", - /// Description = "DST Surf Temp, Tubing", - /// Description2 = "", - /// FPSUnits = "DEGF", - /// MetricUnits = "DEGC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DSTSTTUB")] - public float? Dststtub { get; set; } + /// + /// RecordId = 18, + /// ItemId = 16, + /// LongMnemonic = "DSTSPCAS", + /// ShortMnemonic = "DSPC", + /// Description = "DST Surf Pressure, Casing", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DSTSPCAS")] + public float? Dstspcas { get; set; } - /// - /// RecordId = 18, - /// ItemId = 18, - /// LongMnemonic = "DSTBHP", - /// ShortMnemonic = "DBHP", - /// Description = "DST Bottom Hole Pressure", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DSTBHP")] - public float? Dstbhp { get; set; } + /// + /// RecordId = 18, + /// ItemId = 17, + /// LongMnemonic = "DSTSTTUB", + /// ShortMnemonic = "DSTT", + /// Description = "DST Surf Temp, Tubing", + /// Description2 = "", + /// FPSUnits = "DEGF", + /// MetricUnits = "DEGC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DSTSTTUB")] + public float? Dststtub { get; set; } - /// - /// RecordId = 18, - /// ItemId = 19, - /// LongMnemonic = "DSTBHT", - /// ShortMnemonic = "DBHT", - /// Description = "DST Bottom Hole Temp", - /// Description2 = "", - /// FPSUnits = "DEGF", - /// MetricUnits = "DEGC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DSTBHT")] - public float? Dstbht { get; set; } + /// + /// RecordId = 18, + /// ItemId = 18, + /// LongMnemonic = "DSTBHP", + /// ShortMnemonic = "DBHP", + /// Description = "DST Bottom Hole Pressure", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DSTBHP")] + public float? Dstbhp { get; set; } - /// - /// RecordId = 18, - /// ItemId = 20, - /// LongMnemonic = "DSTLIQFR", - /// ShortMnemonic = "DLFR", - /// Description = "DST Liquid Flow Rate", - /// Description2 = "", - /// FPSUnits = "BPD", - /// MetricUnits = "M3/D", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DSTLIQFR")] - public float? Dstliqfr { get; set; } + /// + /// RecordId = 18, + /// ItemId = 19, + /// LongMnemonic = "DSTBHT", + /// ShortMnemonic = "DBHT", + /// Description = "DST Bottom Hole Temp", + /// Description2 = "", + /// FPSUnits = "DEGF", + /// MetricUnits = "DEGC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DSTBHT")] + public float? Dstbht { get; set; } - /// - /// RecordId = 18, - /// ItemId = 21, - /// LongMnemonic = "DSTGASFR", - /// ShortMnemonic = "DGFR", - /// Description = "DST Gas Flow Rate", - /// Description2 = "", - /// FPSUnits = "MCFD", - /// MetricUnits = "MCMD", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DSTGASFR")] - public float? Dstgasfr { get; set; } + /// + /// RecordId = 18, + /// ItemId = 20, + /// LongMnemonic = "DSTLIQFR", + /// ShortMnemonic = "DLFR", + /// Description = "DST Liquid Flow Rate", + /// Description2 = "", + /// FPSUnits = "BPD", + /// MetricUnits = "M3/D", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DSTLIQFR")] + public float? Dstliqfr { get; set; } - /// - /// RecordId = 18, - /// ItemId = 22, - /// LongMnemonic = "DSTTOTFR", - /// ShortMnemonic = "DTFR", - /// Description = "DST Total Flow Rate", - /// Description2 = "", - /// FPSUnits = "BPD", - /// MetricUnits = "M3/D", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DSTTOTFR")] - public float? Dsttotfr { get; set; } + /// + /// RecordId = 18, + /// ItemId = 21, + /// LongMnemonic = "DSTGASFR", + /// ShortMnemonic = "DGFR", + /// Description = "DST Gas Flow Rate", + /// Description2 = "", + /// FPSUnits = "MCFD", + /// MetricUnits = "MCMD", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DSTGASFR")] + public float? Dstgasfr { get; set; } - /// - /// RecordId = 18, - /// ItemId = 23, - /// LongMnemonic = "DSTCLP", - /// ShortMnemonic = "DCLP", - /// Description = "DST Cum Liquid Production", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DSTCLP")] - public float? Dstclp { get; set; } + /// + /// RecordId = 18, + /// ItemId = 22, + /// LongMnemonic = "DSTTOTFR", + /// ShortMnemonic = "DTFR", + /// Description = "DST Total Flow Rate", + /// Description2 = "", + /// FPSUnits = "BPD", + /// MetricUnits = "M3/D", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DSTTOTFR")] + public float? Dsttotfr { get; set; } - /// - /// RecordId = 18, - /// ItemId = 24, - /// LongMnemonic = "DSTCGP", - /// ShortMnemonic = "DCGP", - /// Description = "DST Cum Gas Production", - /// Description2 = "", - /// FPSUnits = "MCF", - /// MetricUnits = "MCM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DSTCGP")] - public float? Dstcgp { get; set; } + /// + /// RecordId = 18, + /// ItemId = 23, + /// LongMnemonic = "DSTCLP", + /// ShortMnemonic = "DCLP", + /// Description = "DST Cum Liquid Production", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DSTCLP")] + public float? Dstclp { get; set; } - /// - /// RecordId = 18, - /// ItemId = 25, - /// LongMnemonic = "DSTCTP", - /// ShortMnemonic = "DCTP", - /// Description = "DST Cum Total Production", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DSTCTP")] - public float? Dstctp { get; set; } + /// + /// RecordId = 18, + /// ItemId = 24, + /// LongMnemonic = "DSTCGP", + /// ShortMnemonic = "DCGP", + /// Description = "DST Cum Gas Production", + /// Description2 = "", + /// FPSUnits = "MCF", + /// MetricUnits = "MCM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DSTCGP")] + public float? Dstcgp { get; set; } - /// - /// RecordId = 18, - /// ItemId = 26, - /// LongMnemonic = "HSA", - /// ShortMnemonic = "HSA", - /// Description = "Hydrogen Sulfide (avg)", - /// Description2 = "", - /// FPSUnits = "PPM", - /// MetricUnits = "PPM", - /// Length = 4, - /// ValueType = "L" - /// - [Column("HSA")] - public int? Hsa { get; set; } + /// + /// RecordId = 18, + /// ItemId = 25, + /// LongMnemonic = "DSTCTP", + /// ShortMnemonic = "DCTP", + /// Description = "DST Cum Total Production", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DSTCTP")] + public float? Dstctp { get; set; } - /// - /// RecordId = 18, - /// ItemId = 27, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 18, + /// ItemId = 26, + /// LongMnemonic = "HSA", + /// ShortMnemonic = "HSA", + /// Description = "Hydrogen Sulfide (avg)", + /// Description2 = "", + /// FPSUnits = "PPM", + /// MetricUnits = "PPM", + /// Length = 4, + /// ValueType = "L" + /// + [Column("HSA")] + public int? Hsa { get; set; } - /// - /// RecordId = 18, - /// ItemId = 28, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 18, + /// ItemId = 27, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 18, - /// ItemId = 29, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 18, + /// ItemId = 28, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 18, - /// ItemId = 30, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 18, + /// ItemId = 29, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 18, - /// ItemId = 31, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 18, + /// ItemId = 30, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 18, + /// ItemId = 31, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record19.cs b/AsbCloudDb/Model/WITS/Record19.cs index 07787b51..12b20411 100644 --- a/AsbCloudDb/Model/WITS/Record19.cs +++ b/AsbCloudDb/Model/WITS/Record19.cs @@ -1,1320 +1,1320 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Configuration - /// Description: Drillstring and Rig Configuration data - /// Description2: - /// - [Table("t_telemetry_wits_19")] - public class Record19: RecordBase { - - /// - /// RecordId = 19, - /// ItemId = 8, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "Depth Hole (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 9, - /// LongMnemonic = "DEPTVERT", - /// ShortMnemonic = "DVER", - /// Description = "Depth Hole (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTVERT")] - public float? Deptvert { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 10, - /// LongMnemonic = "DSNUM", - /// ShortMnemonic = "DSNO", - /// Description = "No. Drill String Sections", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("DSNUM")] - public short? Dsnum { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 11, - /// LongMnemonic = "DS1OD", - /// ShortMnemonic = "D1OD", - /// Description = "DS Section 1 OD", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS1OD")] - public float? Ds1od { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 12, - /// LongMnemonic = "DS1ID", - /// ShortMnemonic = "D1ID", - /// Description = "DS Section 1 ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS1ID")] - public float? Ds1id { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 13, - /// LongMnemonic = "DS1JID", - /// ShortMnemonic = "D1JI", - /// Description = "DS Section 1 Tool Joint ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS1JID")] - public float? Ds1jid { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 14, - /// LongMnemonic = "DS1JOD", - /// ShortMnemonic = "D1JO", - /// Description = "DS Section 1 Tool Joint OD", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS1JOD")] - public float? Ds1jod { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 15, - /// LongMnemonic = "DS1MASS", - /// ShortMnemonic = "D1MA", - /// Description = "DS Section 1 Mass/Length", - /// Description2 = "", - /// FPSUnits = "LB/F", - /// MetricUnits = "KG/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS1MASS")] - public float? Ds1mass { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 16, - /// LongMnemonic = "DS1LEN", - /// ShortMnemonic = "D1LE", - /// Description = "DS Section 1 Length", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS1LEN")] - public float? Ds1len { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 17, - /// LongMnemonic = "DS2OD", - /// ShortMnemonic = "D2OD", - /// Description = "DS Section 2 OD", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS2OD")] - public float? Ds2od { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 18, - /// LongMnemonic = "DS2ID", - /// ShortMnemonic = "D2ID", - /// Description = "DS Section 2 ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS2ID")] - public float? Ds2id { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 19, - /// LongMnemonic = "DS2JID", - /// ShortMnemonic = "D2JI", - /// Description = "DS Section 2 Tool Joint ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS2JID")] - public float? Ds2jid { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 20, - /// LongMnemonic = "DS2JOD", - /// ShortMnemonic = "D2JO", - /// Description = "DS Section 2 Tool Joint OD", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS2JOD")] - public float? Ds2jod { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 21, - /// LongMnemonic = "DS2MASS", - /// ShortMnemonic = "D2MA", - /// Description = "DS Section 2 Mass/Length", - /// Description2 = "", - /// FPSUnits = "LB/F", - /// MetricUnits = "KG/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS2MASS")] - public float? Ds2mass { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 22, - /// LongMnemonic = "DS2LEN", - /// ShortMnemonic = "D2LE", - /// Description = "DS Section 2 Length", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS2LEN")] - public float? Ds2len { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 23, - /// LongMnemonic = "DS3OD", - /// ShortMnemonic = "D3OD", - /// Description = "DS Section 3 OD", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS3OD")] - public float? Ds3od { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 24, - /// LongMnemonic = "DS3ID", - /// ShortMnemonic = "D3ID", - /// Description = "DS Section 3 ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS3ID")] - public float? Ds3id { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 25, - /// LongMnemonic = "DS3JID", - /// ShortMnemonic = "D3JI", - /// Description = "DS Section 3 Tool Joint ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS3JID")] - public float? Ds3jid { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 26, - /// LongMnemonic = "DS3JOD", - /// ShortMnemonic = "D3JO", - /// Description = "DS Section 3 Tool Joint OD", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS3JOD")] - public float? Ds3jod { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 27, - /// LongMnemonic = "DS3MASS", - /// ShortMnemonic = "D3MA", - /// Description = "DS Section 3 Mass/Length", - /// Description2 = "", - /// FPSUnits = "LB/F", - /// MetricUnits = "KG/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS3MASS")] - public float? Ds3mass { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 28, - /// LongMnemonic = "DS3LEN", - /// ShortMnemonic = "D3LE", - /// Description = "DS Section 3 Length", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS3LEN")] - public float? Ds3len { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 29, - /// LongMnemonic = "DS4OD", - /// ShortMnemonic = "D4OD", - /// Description = "DS Section 4 OD", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS4OD")] - public float? Ds4od { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 30, - /// LongMnemonic = "DS4ID", - /// ShortMnemonic = "D4ID", - /// Description = "DS Section 4 ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS4ID")] - public float? Ds4id { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 31, - /// LongMnemonic = "DS4JID", - /// ShortMnemonic = "D4JI", - /// Description = "DS Section 4 Tool Joint ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS4JID")] - public float? Ds4jid { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 32, - /// LongMnemonic = "DS4JOD", - /// ShortMnemonic = "D4JO", - /// Description = "DS Section 4 Tool Joint OD", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS4JOD")] - public float? Ds4jod { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 33, - /// LongMnemonic = "DS4MASS", - /// ShortMnemonic = "D4MA", - /// Description = "DS Section 4 Mass/Length", - /// Description2 = "", - /// FPSUnits = "LB/F", - /// MetricUnits = "KG/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS4MASS")] - public float? Ds4mass { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 34, - /// LongMnemonic = "DS4LEN", - /// ShortMnemonic = "D4LE", - /// Description = "DS Section 4 Length", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS4LEN")] - public float? Ds4len { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 35, - /// LongMnemonic = "DS5OD", - /// ShortMnemonic = "D5OD", - /// Description = "DS Section 5 OD", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS5OD")] - public float? Ds5od { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 36, - /// LongMnemonic = "DS5ID", - /// ShortMnemonic = "D5ID", - /// Description = "DS Section 5 ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS5ID")] - public float? Ds5id { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 37, - /// LongMnemonic = "DS5JID", - /// ShortMnemonic = "D5JI", - /// Description = "DS Section 5 Tool Joint ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS5JID")] - public float? Ds5jid { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 38, - /// LongMnemonic = "DS5JOD", - /// ShortMnemonic = "D5JO", - /// Description = "DS Section 5 Tool Joint OD", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS5JOD")] - public float? Ds5jod { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 39, - /// LongMnemonic = "DS5MASS", - /// ShortMnemonic = "D5MA", - /// Description = "DS Section 5 Mass/Length", - /// Description2 = "", - /// FPSUnits = "LB/F", - /// MetricUnits = "KG/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS5MASS")] - public float? Ds5mass { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 40, - /// LongMnemonic = "DS5LEN", - /// ShortMnemonic = "D5LE", - /// Description = "DS Section 5 Length", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS5LEN")] - public float? Ds5len { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 41, - /// LongMnemonic = "DS6OD", - /// ShortMnemonic = "D6OD", - /// Description = "DS Section 6 OD", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS6OD")] - public float? Ds6od { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 42, - /// LongMnemonic = "DS6ID", - /// ShortMnemonic = "D6ID", - /// Description = "DS Section 6 ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS6ID")] - public float? Ds6id { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 43, - /// LongMnemonic = "DS6JID", - /// ShortMnemonic = "D6JI", - /// Description = "DS Section 6 Tool Joint ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS6JID")] - public float? Ds6jid { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 44, - /// LongMnemonic = "DS6JOD", - /// ShortMnemonic = "D6JO", - /// Description = "DS Section 6 Tool Joint OD", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS6JOD")] - public float? Ds6jod { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 45, - /// LongMnemonic = "DS6MASS", - /// ShortMnemonic = "D6MA", - /// Description = "DS Section 6 Mass/Length", - /// Description2 = "", - /// FPSUnits = "LB/F", - /// MetricUnits = "KG/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DS6MASS")] - public float? Ds6mass { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 46, - /// LongMnemonic = "KELLYID", - /// ShortMnemonic = "KID", - /// Description = "Kelly ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("KELLYID")] - public float? Kellyid { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 47, - /// LongMnemonic = "KELLYLEN", - /// ShortMnemonic = "KLEN", - /// Description = "Kelly Length", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("KELLYLEN")] - public float? Kellylen { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 48, - /// LongMnemonic = "DPSTDLEN", - /// ShortMnemonic = "SLEN", - /// Description = "Drill Pipe Stand Length", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DPSTDLEN")] - public float? Dpstdlen { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 49, - /// LongMnemonic = "DPSTDJNT", - /// ShortMnemonic = "SJNT", - /// Description = "No. Joints/Stand", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("DPSTDJNT")] - public short? Dpstdjnt { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 50, - /// LongMnemonic = "HOLENUM", - /// ShortMnemonic = "HLNO", - /// Description = "No. Hole Sections", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("HOLENUM")] - public short? Holenum { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 51, - /// LongMnemonic = "HL1DIAM", - /// ShortMnemonic = "H1DI", - /// Description = "Hole Section 1 Diam", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HL1DIAM")] - public float? Hl1diam { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 52, - /// LongMnemonic = "HL1LEN", - /// ShortMnemonic = "H1LE", - /// Description = "Hole Section 1 Length", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HL1LEN")] - public float? Hl1len { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 53, - /// LongMnemonic = "HL2DIAM", - /// ShortMnemonic = "H2DI", - /// Description = "Hole Section 2 Diam", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HL2DIAM")] - public float? Hl2diam { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 54, - /// LongMnemonic = "HL2LEN", - /// ShortMnemonic = "H2LE", - /// Description = "Hole Section 2 Length", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HL2LEN")] - public float? Hl2len { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 55, - /// LongMnemonic = "HL3DIAM", - /// ShortMnemonic = "H3DI", - /// Description = "Hole Section 3 Diam", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HL3DIAM")] - public float? Hl3diam { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 56, - /// LongMnemonic = "HL3LEN", - /// ShortMnemonic = "H3LE", - /// Description = "Hole Section 3 Length", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HL3LEN")] - public float? Hl3len { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 57, - /// LongMnemonic = "HL4DIAM", - /// ShortMnemonic = "H4DI", - /// Description = "Hole Section 4 Diam", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HL4DIAM")] - public float? Hl4diam { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 58, - /// LongMnemonic = "HL4LEN", - /// ShortMnemonic = "H4LE", - /// Description = "Hole Section 4 Length", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HL4LEN")] - public float? Hl4len { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 59, - /// LongMnemonic = "HL5DIAM", - /// ShortMnemonic = "H5DI", - /// Description = "Hole Section 5 Diam", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HL5DIAM")] - public float? Hl5diam { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 60, - /// LongMnemonic = "PUMP1CAP", - /// ShortMnemonic = "P1CA", - /// Description = "Pump 1 Capacity", - /// Description2 = "", - /// FPSUnits = "B/ST", - /// MetricUnits = "M3ST", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PUMP1CAP")] - public float? Pump1cap { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 61, - /// LongMnemonic = "PUMP1EFF", - /// ShortMnemonic = "P1EF", - /// Description = "Pump 1 Efficiency", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 2, - /// ValueType = "S" - /// - [Column("PUMP1EFF")] - public short? Pump1eff { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 62, - /// LongMnemonic = "PUMP2CAP", - /// ShortMnemonic = "P2CA", - /// Description = "Pump 2 Capacity", - /// Description2 = "", - /// FPSUnits = "B/ST", - /// MetricUnits = "M3ST", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PUMP2CAP")] - public float? Pump2cap { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 63, - /// LongMnemonic = "PUMP2EFF", - /// ShortMnemonic = "P2EF", - /// Description = "Pump 2 Efficiency", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 2, - /// ValueType = "S" - /// - [Column("PUMP2EFF")] - public short? Pump2eff { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 64, - /// LongMnemonic = "PUMP3CAP", - /// ShortMnemonic = "P3CA", - /// Description = "Pump 3 Capacity", - /// Description2 = "", - /// FPSUnits = "B/ST", - /// MetricUnits = "M3ST", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PUMP3CAP")] - public float? Pump3cap { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 65, - /// LongMnemonic = "PUMP3EFF", - /// ShortMnemonic = "P3EF", - /// Description = "Pump 3 Efficiency", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 2, - /// ValueType = "S" - /// - [Column("PUMP3EFF")] - public short? Pump3eff { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 66, - /// LongMnemonic = "RIGCOST", - /// ShortMnemonic = "RIGC", - /// Description = "Rig Operating Cost/Hour", - /// Description2 = "", - /// FPSUnits = "$", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("RIGCOST")] - public short? Rigcost { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 67, - /// LongMnemonic = "TRIPRATE", - /// ShortMnemonic = "TRRT", - /// Description = "Trip Rate (Dist/Time)", - /// Description2 = "", - /// FPSUnits = "KF/H", - /// MetricUnits = "KPH", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TRIPRATE")] - public float? Triprate { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 68, - /// LongMnemonic = "KILLID", - /// ShortMnemonic = "KLID", - /// Description = "Kill Line ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("KILLID")] - public float? Killid { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 69, - /// LongMnemonic = "KILLJID", - /// ShortMnemonic = "KLJD", - /// Description = "Kill Line Joint ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("KILLJID")] - public float? Killjid { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 70, - /// LongMnemonic = "KILLJF", - /// ShortMnemonic = "KLJF", - /// Description = "Kill Line Joint Fraction", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 2, - /// ValueType = "S" - /// - [Column("KILLJF")] - public short? Killjf { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 71, - /// LongMnemonic = "KILLLEN", - /// ShortMnemonic = "KLLE", - /// Description = "Kill Line Length", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("KILLLEN")] - public float? Killlen { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 72, - /// LongMnemonic = "CHKID", - /// ShortMnemonic = "CHID", - /// Description = "Choke Line ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CHKID")] - public float? Chkid { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 73, - /// LongMnemonic = "CHKJID", - /// ShortMnemonic = "CHJD", - /// Description = "Choke Line Joint ID", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CHKJID")] - public float? Chkjid { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 74, - /// LongMnemonic = "CHKJF", - /// ShortMnemonic = "CHJF", - /// Description = "Choke Line Joint Fraction", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 2, - /// ValueType = "S" - /// - [Column("CHKJF")] - public short? Chkjf { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 75, - /// LongMnemonic = "CHKLEN", - /// ShortMnemonic = "CHLE", - /// Description = "Choke Line Length", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CHKLEN")] - public float? Chklen { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 76, - /// LongMnemonic = "DEPTCSGM", - /// ShortMnemonic = "DCGM", - /// Description = "Depth Casing Shoe (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTCSGM")] - public float? Deptcsgm { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 77, - /// LongMnemonic = "DEPTCSGV", - /// ShortMnemonic = "DCGV", - /// Description = "Depth Casing Shoe (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTCSGV")] - public float? Deptcsgv { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 78, - /// LongMnemonic = "DEPTPITM", - /// ShortMnemonic = "DPTM", - /// Description = "Depth PIT (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTPITM")] - public float? Deptpitm { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 79, - /// LongMnemonic = "DEPTPITV", - /// ShortMnemonic = "DPTV", - /// Description = "Depth PIT (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTPITV")] - public float? Deptpitv { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 80, - /// LongMnemonic = "FPGPIT", - /// ShortMnemonic = "FPIT", - /// Description = "Frac Pressure Grad at PIT", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("FPGPIT")] - public float? Fpgpit { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 81, - /// LongMnemonic = "DRLGCONT", - /// ShortMnemonic = "CONT", - /// Description = "Drilling Contractor", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("DRLGCONT")] - public string? Drlgcont { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 82, - /// LongMnemonic = "RIGNAME", - /// ShortMnemonic = "RIG", - /// Description = "Rig Name", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("RIGNAME")] - public string? Rigname { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 83, - /// LongMnemonic = "RIGTYPE", - /// ShortMnemonic = "RTYP", - /// Description = "Rig Type", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("RIGTYPE")] - public string? Rigtype { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 84, - /// LongMnemonic = "VENDOR1", - /// ShortMnemonic = "VEN1", - /// Description = "Vendor 1 Name/Service", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("VENDOR1")] - public string? Vendor1 { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 85, - /// LongMnemonic = "VENDOR2", - /// ShortMnemonic = "VEN2", - /// Description = "Vendor 2 Name/Service", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("VENDOR2")] - public string? Vendor2 { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 86, - /// LongMnemonic = "VENDOR3", - /// ShortMnemonic = "VEN3", - /// Description = "Vendor 3 Name/Service", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("VENDOR3")] - public string? Vendor3 { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 87, - /// LongMnemonic = "VENDOR4", - /// ShortMnemonic = "VEN4", - /// Description = "Vendor 4 Name/Service", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("VENDOR4")] - public string? Vendor4 { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 88, - /// LongMnemonic = "VENDOR5", - /// ShortMnemonic = "VEN5", - /// Description = "Vendor 5 Name/Service", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("VENDOR5")] - public string? Vendor5 { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 89, - /// LongMnemonic = "VENDOR6", - /// ShortMnemonic = "VEN6", - /// Description = "Vendor 6 Name/Service", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("VENDOR6")] - public string? Vendor6 { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 90, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 91, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 92, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 93, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } - - /// - /// RecordId = 19, - /// ItemId = 94, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } - - } + /// + /// Record name: Configuration + /// Description: Drillstring and Rig Configuration data + /// Description2: + /// + [Table("t_telemetry_wits_19")] + public class Record19 : RecordBase + { + + /// + /// RecordId = 19, + /// ItemId = 8, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "Depth Hole (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 9, + /// LongMnemonic = "DEPTVERT", + /// ShortMnemonic = "DVER", + /// Description = "Depth Hole (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTVERT")] + public float? Deptvert { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 10, + /// LongMnemonic = "DSNUM", + /// ShortMnemonic = "DSNO", + /// Description = "No. Drill String Sections", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("DSNUM")] + public short? Dsnum { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 11, + /// LongMnemonic = "DS1OD", + /// ShortMnemonic = "D1OD", + /// Description = "DS Section 1 OD", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS1OD")] + public float? Ds1od { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 12, + /// LongMnemonic = "DS1ID", + /// ShortMnemonic = "D1ID", + /// Description = "DS Section 1 ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS1ID")] + public float? Ds1id { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 13, + /// LongMnemonic = "DS1JID", + /// ShortMnemonic = "D1JI", + /// Description = "DS Section 1 Tool Joint ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS1JID")] + public float? Ds1jid { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 14, + /// LongMnemonic = "DS1JOD", + /// ShortMnemonic = "D1JO", + /// Description = "DS Section 1 Tool Joint OD", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS1JOD")] + public float? Ds1jod { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 15, + /// LongMnemonic = "DS1MASS", + /// ShortMnemonic = "D1MA", + /// Description = "DS Section 1 Mass/Length", + /// Description2 = "", + /// FPSUnits = "LB/F", + /// MetricUnits = "KG/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS1MASS")] + public float? Ds1mass { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 16, + /// LongMnemonic = "DS1LEN", + /// ShortMnemonic = "D1LE", + /// Description = "DS Section 1 Length", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS1LEN")] + public float? Ds1len { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 17, + /// LongMnemonic = "DS2OD", + /// ShortMnemonic = "D2OD", + /// Description = "DS Section 2 OD", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS2OD")] + public float? Ds2od { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 18, + /// LongMnemonic = "DS2ID", + /// ShortMnemonic = "D2ID", + /// Description = "DS Section 2 ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS2ID")] + public float? Ds2id { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 19, + /// LongMnemonic = "DS2JID", + /// ShortMnemonic = "D2JI", + /// Description = "DS Section 2 Tool Joint ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS2JID")] + public float? Ds2jid { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 20, + /// LongMnemonic = "DS2JOD", + /// ShortMnemonic = "D2JO", + /// Description = "DS Section 2 Tool Joint OD", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS2JOD")] + public float? Ds2jod { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 21, + /// LongMnemonic = "DS2MASS", + /// ShortMnemonic = "D2MA", + /// Description = "DS Section 2 Mass/Length", + /// Description2 = "", + /// FPSUnits = "LB/F", + /// MetricUnits = "KG/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS2MASS")] + public float? Ds2mass { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 22, + /// LongMnemonic = "DS2LEN", + /// ShortMnemonic = "D2LE", + /// Description = "DS Section 2 Length", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS2LEN")] + public float? Ds2len { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 23, + /// LongMnemonic = "DS3OD", + /// ShortMnemonic = "D3OD", + /// Description = "DS Section 3 OD", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS3OD")] + public float? Ds3od { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 24, + /// LongMnemonic = "DS3ID", + /// ShortMnemonic = "D3ID", + /// Description = "DS Section 3 ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS3ID")] + public float? Ds3id { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 25, + /// LongMnemonic = "DS3JID", + /// ShortMnemonic = "D3JI", + /// Description = "DS Section 3 Tool Joint ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS3JID")] + public float? Ds3jid { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 26, + /// LongMnemonic = "DS3JOD", + /// ShortMnemonic = "D3JO", + /// Description = "DS Section 3 Tool Joint OD", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS3JOD")] + public float? Ds3jod { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 27, + /// LongMnemonic = "DS3MASS", + /// ShortMnemonic = "D3MA", + /// Description = "DS Section 3 Mass/Length", + /// Description2 = "", + /// FPSUnits = "LB/F", + /// MetricUnits = "KG/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS3MASS")] + public float? Ds3mass { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 28, + /// LongMnemonic = "DS3LEN", + /// ShortMnemonic = "D3LE", + /// Description = "DS Section 3 Length", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS3LEN")] + public float? Ds3len { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 29, + /// LongMnemonic = "DS4OD", + /// ShortMnemonic = "D4OD", + /// Description = "DS Section 4 OD", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS4OD")] + public float? Ds4od { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 30, + /// LongMnemonic = "DS4ID", + /// ShortMnemonic = "D4ID", + /// Description = "DS Section 4 ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS4ID")] + public float? Ds4id { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 31, + /// LongMnemonic = "DS4JID", + /// ShortMnemonic = "D4JI", + /// Description = "DS Section 4 Tool Joint ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS4JID")] + public float? Ds4jid { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 32, + /// LongMnemonic = "DS4JOD", + /// ShortMnemonic = "D4JO", + /// Description = "DS Section 4 Tool Joint OD", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS4JOD")] + public float? Ds4jod { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 33, + /// LongMnemonic = "DS4MASS", + /// ShortMnemonic = "D4MA", + /// Description = "DS Section 4 Mass/Length", + /// Description2 = "", + /// FPSUnits = "LB/F", + /// MetricUnits = "KG/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS4MASS")] + public float? Ds4mass { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 34, + /// LongMnemonic = "DS4LEN", + /// ShortMnemonic = "D4LE", + /// Description = "DS Section 4 Length", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS4LEN")] + public float? Ds4len { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 35, + /// LongMnemonic = "DS5OD", + /// ShortMnemonic = "D5OD", + /// Description = "DS Section 5 OD", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS5OD")] + public float? Ds5od { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 36, + /// LongMnemonic = "DS5ID", + /// ShortMnemonic = "D5ID", + /// Description = "DS Section 5 ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS5ID")] + public float? Ds5id { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 37, + /// LongMnemonic = "DS5JID", + /// ShortMnemonic = "D5JI", + /// Description = "DS Section 5 Tool Joint ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS5JID")] + public float? Ds5jid { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 38, + /// LongMnemonic = "DS5JOD", + /// ShortMnemonic = "D5JO", + /// Description = "DS Section 5 Tool Joint OD", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS5JOD")] + public float? Ds5jod { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 39, + /// LongMnemonic = "DS5MASS", + /// ShortMnemonic = "D5MA", + /// Description = "DS Section 5 Mass/Length", + /// Description2 = "", + /// FPSUnits = "LB/F", + /// MetricUnits = "KG/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS5MASS")] + public float? Ds5mass { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 40, + /// LongMnemonic = "DS5LEN", + /// ShortMnemonic = "D5LE", + /// Description = "DS Section 5 Length", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS5LEN")] + public float? Ds5len { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 41, + /// LongMnemonic = "DS6OD", + /// ShortMnemonic = "D6OD", + /// Description = "DS Section 6 OD", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS6OD")] + public float? Ds6od { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 42, + /// LongMnemonic = "DS6ID", + /// ShortMnemonic = "D6ID", + /// Description = "DS Section 6 ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS6ID")] + public float? Ds6id { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 43, + /// LongMnemonic = "DS6JID", + /// ShortMnemonic = "D6JI", + /// Description = "DS Section 6 Tool Joint ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS6JID")] + public float? Ds6jid { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 44, + /// LongMnemonic = "DS6JOD", + /// ShortMnemonic = "D6JO", + /// Description = "DS Section 6 Tool Joint OD", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS6JOD")] + public float? Ds6jod { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 45, + /// LongMnemonic = "DS6MASS", + /// ShortMnemonic = "D6MA", + /// Description = "DS Section 6 Mass/Length", + /// Description2 = "", + /// FPSUnits = "LB/F", + /// MetricUnits = "KG/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DS6MASS")] + public float? Ds6mass { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 46, + /// LongMnemonic = "KELLYID", + /// ShortMnemonic = "KID", + /// Description = "Kelly ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("KELLYID")] + public float? Kellyid { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 47, + /// LongMnemonic = "KELLYLEN", + /// ShortMnemonic = "KLEN", + /// Description = "Kelly Length", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("KELLYLEN")] + public float? Kellylen { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 48, + /// LongMnemonic = "DPSTDLEN", + /// ShortMnemonic = "SLEN", + /// Description = "Drill Pipe Stand Length", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DPSTDLEN")] + public float? Dpstdlen { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 49, + /// LongMnemonic = "DPSTDJNT", + /// ShortMnemonic = "SJNT", + /// Description = "No. Joints/Stand", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("DPSTDJNT")] + public short? Dpstdjnt { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 50, + /// LongMnemonic = "HOLENUM", + /// ShortMnemonic = "HLNO", + /// Description = "No. Hole Sections", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("HOLENUM")] + public short? Holenum { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 51, + /// LongMnemonic = "HL1DIAM", + /// ShortMnemonic = "H1DI", + /// Description = "Hole Section 1 Diam", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HL1DIAM")] + public float? Hl1diam { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 52, + /// LongMnemonic = "HL1LEN", + /// ShortMnemonic = "H1LE", + /// Description = "Hole Section 1 Length", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HL1LEN")] + public float? Hl1len { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 53, + /// LongMnemonic = "HL2DIAM", + /// ShortMnemonic = "H2DI", + /// Description = "Hole Section 2 Diam", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HL2DIAM")] + public float? Hl2diam { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 54, + /// LongMnemonic = "HL2LEN", + /// ShortMnemonic = "H2LE", + /// Description = "Hole Section 2 Length", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HL2LEN")] + public float? Hl2len { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 55, + /// LongMnemonic = "HL3DIAM", + /// ShortMnemonic = "H3DI", + /// Description = "Hole Section 3 Diam", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HL3DIAM")] + public float? Hl3diam { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 56, + /// LongMnemonic = "HL3LEN", + /// ShortMnemonic = "H3LE", + /// Description = "Hole Section 3 Length", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HL3LEN")] + public float? Hl3len { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 57, + /// LongMnemonic = "HL4DIAM", + /// ShortMnemonic = "H4DI", + /// Description = "Hole Section 4 Diam", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HL4DIAM")] + public float? Hl4diam { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 58, + /// LongMnemonic = "HL4LEN", + /// ShortMnemonic = "H4LE", + /// Description = "Hole Section 4 Length", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HL4LEN")] + public float? Hl4len { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 59, + /// LongMnemonic = "HL5DIAM", + /// ShortMnemonic = "H5DI", + /// Description = "Hole Section 5 Diam", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HL5DIAM")] + public float? Hl5diam { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 60, + /// LongMnemonic = "PUMP1CAP", + /// ShortMnemonic = "P1CA", + /// Description = "Pump 1 Capacity", + /// Description2 = "", + /// FPSUnits = "B/ST", + /// MetricUnits = "M3ST", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PUMP1CAP")] + public float? Pump1cap { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 61, + /// LongMnemonic = "PUMP1EFF", + /// ShortMnemonic = "P1EF", + /// Description = "Pump 1 Efficiency", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 2, + /// ValueType = "S" + /// + [Column("PUMP1EFF")] + public short? Pump1eff { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 62, + /// LongMnemonic = "PUMP2CAP", + /// ShortMnemonic = "P2CA", + /// Description = "Pump 2 Capacity", + /// Description2 = "", + /// FPSUnits = "B/ST", + /// MetricUnits = "M3ST", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PUMP2CAP")] + public float? Pump2cap { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 63, + /// LongMnemonic = "PUMP2EFF", + /// ShortMnemonic = "P2EF", + /// Description = "Pump 2 Efficiency", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 2, + /// ValueType = "S" + /// + [Column("PUMP2EFF")] + public short? Pump2eff { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 64, + /// LongMnemonic = "PUMP3CAP", + /// ShortMnemonic = "P3CA", + /// Description = "Pump 3 Capacity", + /// Description2 = "", + /// FPSUnits = "B/ST", + /// MetricUnits = "M3ST", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PUMP3CAP")] + public float? Pump3cap { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 65, + /// LongMnemonic = "PUMP3EFF", + /// ShortMnemonic = "P3EF", + /// Description = "Pump 3 Efficiency", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 2, + /// ValueType = "S" + /// + [Column("PUMP3EFF")] + public short? Pump3eff { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 66, + /// LongMnemonic = "RIGCOST", + /// ShortMnemonic = "RIGC", + /// Description = "Rig Operating Cost/Hour", + /// Description2 = "", + /// FPSUnits = "$", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("RIGCOST")] + public short? Rigcost { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 67, + /// LongMnemonic = "TRIPRATE", + /// ShortMnemonic = "TRRT", + /// Description = "Trip Rate (Dist/Time)", + /// Description2 = "", + /// FPSUnits = "KF/H", + /// MetricUnits = "KPH", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TRIPRATE")] + public float? Triprate { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 68, + /// LongMnemonic = "KILLID", + /// ShortMnemonic = "KLID", + /// Description = "Kill Line ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("KILLID")] + public float? Killid { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 69, + /// LongMnemonic = "KILLJID", + /// ShortMnemonic = "KLJD", + /// Description = "Kill Line Joint ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("KILLJID")] + public float? Killjid { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 70, + /// LongMnemonic = "KILLJF", + /// ShortMnemonic = "KLJF", + /// Description = "Kill Line Joint Fraction", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 2, + /// ValueType = "S" + /// + [Column("KILLJF")] + public short? Killjf { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 71, + /// LongMnemonic = "KILLLEN", + /// ShortMnemonic = "KLLE", + /// Description = "Kill Line Length", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("KILLLEN")] + public float? Killlen { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 72, + /// LongMnemonic = "CHKID", + /// ShortMnemonic = "CHID", + /// Description = "Choke Line ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CHKID")] + public float? Chkid { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 73, + /// LongMnemonic = "CHKJID", + /// ShortMnemonic = "CHJD", + /// Description = "Choke Line Joint ID", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CHKJID")] + public float? Chkjid { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 74, + /// LongMnemonic = "CHKJF", + /// ShortMnemonic = "CHJF", + /// Description = "Choke Line Joint Fraction", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 2, + /// ValueType = "S" + /// + [Column("CHKJF")] + public short? Chkjf { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 75, + /// LongMnemonic = "CHKLEN", + /// ShortMnemonic = "CHLE", + /// Description = "Choke Line Length", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CHKLEN")] + public float? Chklen { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 76, + /// LongMnemonic = "DEPTCSGM", + /// ShortMnemonic = "DCGM", + /// Description = "Depth Casing Shoe (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTCSGM")] + public float? Deptcsgm { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 77, + /// LongMnemonic = "DEPTCSGV", + /// ShortMnemonic = "DCGV", + /// Description = "Depth Casing Shoe (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTCSGV")] + public float? Deptcsgv { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 78, + /// LongMnemonic = "DEPTPITM", + /// ShortMnemonic = "DPTM", + /// Description = "Depth PIT (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTPITM")] + public float? Deptpitm { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 79, + /// LongMnemonic = "DEPTPITV", + /// ShortMnemonic = "DPTV", + /// Description = "Depth PIT (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTPITV")] + public float? Deptpitv { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 80, + /// LongMnemonic = "FPGPIT", + /// ShortMnemonic = "FPIT", + /// Description = "Frac Pressure Grad at PIT", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("FPGPIT")] + public float? Fpgpit { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 81, + /// LongMnemonic = "DRLGCONT", + /// ShortMnemonic = "CONT", + /// Description = "Drilling Contractor", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("DRLGCONT")] + public string? Drlgcont { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 82, + /// LongMnemonic = "RIGNAME", + /// ShortMnemonic = "RIG", + /// Description = "Rig Name", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("RIGNAME")] + public string? Rigname { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 83, + /// LongMnemonic = "RIGTYPE", + /// ShortMnemonic = "RTYP", + /// Description = "Rig Type", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("RIGTYPE")] + public string? Rigtype { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 84, + /// LongMnemonic = "VENDOR1", + /// ShortMnemonic = "VEN1", + /// Description = "Vendor 1 Name/Service", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("VENDOR1")] + public string? Vendor1 { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 85, + /// LongMnemonic = "VENDOR2", + /// ShortMnemonic = "VEN2", + /// Description = "Vendor 2 Name/Service", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("VENDOR2")] + public string? Vendor2 { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 86, + /// LongMnemonic = "VENDOR3", + /// ShortMnemonic = "VEN3", + /// Description = "Vendor 3 Name/Service", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("VENDOR3")] + public string? Vendor3 { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 87, + /// LongMnemonic = "VENDOR4", + /// ShortMnemonic = "VEN4", + /// Description = "Vendor 4 Name/Service", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("VENDOR4")] + public string? Vendor4 { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 88, + /// LongMnemonic = "VENDOR5", + /// ShortMnemonic = "VEN5", + /// Description = "Vendor 5 Name/Service", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("VENDOR5")] + public string? Vendor5 { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 89, + /// LongMnemonic = "VENDOR6", + /// ShortMnemonic = "VEN6", + /// Description = "Vendor 6 Name/Service", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("VENDOR6")] + public string? Vendor6 { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 90, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 91, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 92, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 93, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } + + /// + /// RecordId = 19, + /// ItemId = 94, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record2.cs b/AsbCloudDb/Model/WITS/Record2.cs index 8ce926e9..fe970778 100644 --- a/AsbCloudDb/Model/WITS/Record2.cs +++ b/AsbCloudDb/Model/WITS/Record2.cs @@ -1,449 +1,449 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Drilling - Depth Based - /// Description: Drilling data gathered at regular depth intervals - /// - [Table("t_telemetry_wits_2")] - public class Record2: RecordBase { - - /// - /// RecordId = 2, - /// ItemId = 8, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "Depth Hole (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } + /// + /// Record name: Drilling - Depth Based + /// Description: Drilling data gathered at regular depth intervals + /// + [Table("t_telemetry_wits_2")] + public class Record2 : RecordBase + { - /// - /// RecordId = 2, - /// ItemId = 9, - /// LongMnemonic = "DEPTVERT", - /// ShortMnemonic = "DVER", - /// Description = "Depth Hole (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTVERT")] - public float? Deptvert { get; set; } + /// + /// RecordId = 2, + /// ItemId = 8, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "Depth Hole (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } - /// - /// RecordId = 2, - /// ItemId = 10, - /// LongMnemonic = "ROPA", - /// ShortMnemonic = "ROPA", - /// Description = "Rate of Penetration (avg)", - /// Description2 = "", - /// FPSUnits = "F/HR", - /// MetricUnits = "M/HR", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ROPA")] - public float? Ropa { get; set; } + /// + /// RecordId = 2, + /// ItemId = 9, + /// LongMnemonic = "DEPTVERT", + /// ShortMnemonic = "DVER", + /// Description = "Depth Hole (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTVERT")] + public float? Deptvert { get; set; } - /// - /// RecordId = 2, - /// ItemId = 11, - /// LongMnemonic = "WOBA", - /// ShortMnemonic = "WOBA", - /// Description = "Weight-on-Bit (surf,avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("WOBA")] - public float? Woba { get; set; } + /// + /// RecordId = 2, + /// ItemId = 10, + /// LongMnemonic = "ROPA", + /// ShortMnemonic = "ROPA", + /// Description = "Rate of Penetration (avg)", + /// Description2 = "", + /// FPSUnits = "F/HR", + /// MetricUnits = "M/HR", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ROPA")] + public float? Ropa { get; set; } - /// - /// RecordId = 2, - /// ItemId = 12, - /// LongMnemonic = "HKLA", - /// ShortMnemonic = "HKLA", - /// Description = "Hookload (avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HKLA")] - public float? Hkla { get; set; } + /// + /// RecordId = 2, + /// ItemId = 11, + /// LongMnemonic = "WOBA", + /// ShortMnemonic = "WOBA", + /// Description = "Weight-on-Bit (surf,avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("WOBA")] + public float? Woba { get; set; } - /// - /// RecordId = 2, - /// ItemId = 13, - /// LongMnemonic = "SPPA", - /// ShortMnemonic = "SPPA", - /// Description = "Standpipe Pressure (avg)", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPPA")] - public float? Sppa { get; set; } + /// + /// RecordId = 2, + /// ItemId = 12, + /// LongMnemonic = "HKLA", + /// ShortMnemonic = "HKLA", + /// Description = "Hookload (avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HKLA")] + public float? Hkla { get; set; } - /// - /// RecordId = 2, - /// ItemId = 14, - /// LongMnemonic = "TORQA", - /// ShortMnemonic = "TQA", - /// Description = "Rotary Torque (surf,avg)", - /// Description2 = "", - /// FPSUnits = "KFLB", - /// MetricUnits = "KNM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TORQA")] - public float? Torqa { get; set; } + /// + /// RecordId = 2, + /// ItemId = 13, + /// LongMnemonic = "SPPA", + /// ShortMnemonic = "SPPA", + /// Description = "Standpipe Pressure (avg)", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPPA")] + public float? Sppa { get; set; } - /// - /// RecordId = 2, - /// ItemId = 15, - /// LongMnemonic = "RPMA", - /// ShortMnemonic = "RPMA", - /// Description = "Rotary Speed (surf,avg)", - /// Description2 = "", - /// FPSUnits = "RPM", - /// MetricUnits = "RPM", - /// Length = 2, - /// ValueType = "S" - /// - [Column("RPMA")] - public short? Rpma { get; set; } + /// + /// RecordId = 2, + /// ItemId = 14, + /// LongMnemonic = "TORQA", + /// ShortMnemonic = "TQA", + /// Description = "Rotary Torque (surf,avg)", + /// Description2 = "", + /// FPSUnits = "KFLB", + /// MetricUnits = "KNM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TORQA")] + public float? Torqa { get; set; } - /// - /// RecordId = 2, - /// ItemId = 16, - /// LongMnemonic = "BTREVC", - /// ShortMnemonic = "BRVC", - /// Description = "Bit Revolutions (cum)", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "L" - /// - [Column("BTREVC")] - public int? Btrevc { get; set; } + /// + /// RecordId = 2, + /// ItemId = 15, + /// LongMnemonic = "RPMA", + /// ShortMnemonic = "RPMA", + /// Description = "Rotary Speed (surf,avg)", + /// Description2 = "", + /// FPSUnits = "RPM", + /// MetricUnits = "RPM", + /// Length = 2, + /// ValueType = "S" + /// + [Column("RPMA")] + public short? Rpma { get; set; } - /// - /// RecordId = 2, - /// ItemId = 17, - /// LongMnemonic = "MDIA", - /// ShortMnemonic = "MDIA", - /// Description = "Mud Density In (avg)", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MDIA")] - public float? Mdia { get; set; } + /// + /// RecordId = 2, + /// ItemId = 16, + /// LongMnemonic = "BTREVC", + /// ShortMnemonic = "BRVC", + /// Description = "Bit Revolutions (cum)", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "L" + /// + [Column("BTREVC")] + public int? Btrevc { get; set; } - /// - /// RecordId = 2, - /// ItemId = 18, - /// LongMnemonic = "ECDTD", - /// ShortMnemonic = "ECDT", - /// Description = "ECD at Total Depth", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ECDTD")] - public float? Ecdtd { get; set; } + /// + /// RecordId = 2, + /// ItemId = 17, + /// LongMnemonic = "MDIA", + /// ShortMnemonic = "MDIA", + /// Description = "Mud Density In (avg)", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MDIA")] + public float? Mdia { get; set; } - /// - /// RecordId = 2, - /// ItemId = 19, - /// LongMnemonic = "MFIA", - /// ShortMnemonic = "MFIA", - /// Description = "Mud Flow In (avg)", - /// Description2 = "", - /// FPSUnits = "GPM", - /// MetricUnits = "L/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MFIA")] - public float? Mfia { get; set; } + /// + /// RecordId = 2, + /// ItemId = 18, + /// LongMnemonic = "ECDTD", + /// ShortMnemonic = "ECDT", + /// Description = "ECD at Total Depth", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ECDTD")] + public float? Ecdtd { get; set; } - /// - /// RecordId = 2, - /// ItemId = 20, - /// LongMnemonic = "MFOA", - /// ShortMnemonic = "MFOA", - /// Description = "Mud Flow Out (avg)", - /// Description2 = "", - /// FPSUnits = "GPM", - /// MetricUnits = "L/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MFOA")] - public float? Mfoa { get; set; } + /// + /// RecordId = 2, + /// ItemId = 19, + /// LongMnemonic = "MFIA", + /// ShortMnemonic = "MFIA", + /// Description = "Mud Flow In (avg)", + /// Description2 = "", + /// FPSUnits = "GPM", + /// MetricUnits = "L/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MFIA")] + public float? Mfia { get; set; } - /// - /// RecordId = 2, - /// ItemId = 21, - /// LongMnemonic = "MFOP", - /// ShortMnemonic = "MFOP", - /// Description = "Mud Flow Out %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 2, - /// ValueType = "S" - /// - [Column("MFOP")] - public short? Mfop { get; set; } + /// + /// RecordId = 2, + /// ItemId = 20, + /// LongMnemonic = "MFOA", + /// ShortMnemonic = "MFOA", + /// Description = "Mud Flow Out (avg)", + /// Description2 = "", + /// FPSUnits = "GPM", + /// MetricUnits = "L/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MFOA")] + public float? Mfoa { get; set; } - /// - /// RecordId = 2, - /// ItemId = 22, - /// LongMnemonic = "TVOLACT", - /// ShortMnemonic = "TVA", - /// Description = "Tank Volume (active)", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TVOLACT")] - public float? Tvolact { get; set; } + /// + /// RecordId = 2, + /// ItemId = 21, + /// LongMnemonic = "MFOP", + /// ShortMnemonic = "MFOP", + /// Description = "Mud Flow Out %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 2, + /// ValueType = "S" + /// + [Column("MFOP")] + public short? Mfop { get; set; } - /// - /// RecordId = 2, - /// ItemId = 23, - /// LongMnemonic = "CPDI", - /// ShortMnemonic = "CPDI", - /// Description = "Cost/Distance (inst)", - /// Description2 = "", - /// FPSUnits = "$/F", - /// MetricUnits = "$/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CPDI")] - public float? Cpdi { get; set; } + /// + /// RecordId = 2, + /// ItemId = 22, + /// LongMnemonic = "TVOLACT", + /// ShortMnemonic = "TVA", + /// Description = "Tank Volume (active)", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TVOLACT")] + public float? Tvolact { get; set; } - /// - /// RecordId = 2, - /// ItemId = 24, - /// LongMnemonic = "CPDC", - /// ShortMnemonic = "CPDC", - /// Description = "Cost/Distance (cum)", - /// Description2 = "", - /// FPSUnits = "$/F", - /// MetricUnits = "$/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CPDC")] - public float? Cpdc { get; set; } + /// + /// RecordId = 2, + /// ItemId = 23, + /// LongMnemonic = "CPDI", + /// ShortMnemonic = "CPDI", + /// Description = "Cost/Distance (inst)", + /// Description2 = "", + /// FPSUnits = "$/F", + /// MetricUnits = "$/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CPDI")] + public float? Cpdi { get; set; } - /// - /// RecordId = 2, - /// ItemId = 25, - /// LongMnemonic = "BTDTIME", - /// ShortMnemonic = "BDTI", - /// Description = "Bit Drilled Time", - /// Description2 = "", - /// FPSUnits = "HR", - /// MetricUnits = "HR", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTDTIME")] - public float? Btdtime { get; set; } + /// + /// RecordId = 2, + /// ItemId = 24, + /// LongMnemonic = "CPDC", + /// ShortMnemonic = "CPDC", + /// Description = "Cost/Distance (cum)", + /// Description2 = "", + /// FPSUnits = "$/F", + /// MetricUnits = "$/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CPDC")] + public float? Cpdc { get; set; } - /// - /// RecordId = 2, - /// ItemId = 26, - /// LongMnemonic = "BTDDIST", - /// ShortMnemonic = "BDDI", - /// Description = "Bit Drilled Distance", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTDDIST")] - public float? Btddist { get; set; } + /// + /// RecordId = 2, + /// ItemId = 25, + /// LongMnemonic = "BTDTIME", + /// ShortMnemonic = "BDTI", + /// Description = "Bit Drilled Time", + /// Description2 = "", + /// FPSUnits = "HR", + /// MetricUnits = "HR", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTDTIME")] + public float? Btdtime { get; set; } - /// - /// RecordId = 2, - /// ItemId = 27, - /// LongMnemonic = "DXC", - /// ShortMnemonic = "DXC", - /// Description = "Corr. Drilling Exponent", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DXC")] - public float? Dxc { get; set; } + /// + /// RecordId = 2, + /// ItemId = 26, + /// LongMnemonic = "BTDDIST", + /// ShortMnemonic = "BDDI", + /// Description = "Bit Drilled Distance", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTDDIST")] + public float? Btddist { get; set; } - /// - /// RecordId = 2, - /// ItemId = 28, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 2, + /// ItemId = 27, + /// LongMnemonic = "DXC", + /// ShortMnemonic = "DXC", + /// Description = "Corr. Drilling Exponent", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DXC")] + public float? Dxc { get; set; } - /// - /// RecordId = 2, - /// ItemId = 29, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 2, + /// ItemId = 28, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 2, - /// ItemId = 30, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 2, + /// ItemId = 29, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 2, - /// ItemId = 31, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 2, + /// ItemId = 30, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 2, - /// ItemId = 32, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 2, + /// ItemId = 31, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - /// - /// RecordId = 2, - /// ItemId = 33, - /// LongMnemonic = "SPARE6", - /// ShortMnemonic = "SPR6", - /// Description = "< SPARE 6>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE6")] - public float? Spare6 { get; set; } + /// + /// RecordId = 2, + /// ItemId = 32, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } - /// - /// RecordId = 2, - /// ItemId = 34, - /// LongMnemonic = "SPARE7", - /// ShortMnemonic = "SPR7", - /// Description = "< SPARE 7>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE7")] - public float? Spare7 { get; set; } + /// + /// RecordId = 2, + /// ItemId = 33, + /// LongMnemonic = "SPARE6", + /// ShortMnemonic = "SPR6", + /// Description = "< SPARE 6>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE6")] + public float? Spare6 { get; set; } - /// - /// RecordId = 2, - /// ItemId = 35, - /// LongMnemonic = "SPARE8", - /// ShortMnemonic = "SPR8", - /// Description = "< SPARE 8>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE8")] - public float? Spare8 { get; set; } + /// + /// RecordId = 2, + /// ItemId = 34, + /// LongMnemonic = "SPARE7", + /// ShortMnemonic = "SPR7", + /// Description = "< SPARE 7>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE7")] + public float? Spare7 { get; set; } - /// - /// RecordId = 2, - /// ItemId = 36, - /// LongMnemonic = "SPARE9", - /// ShortMnemonic = "SPR9", - /// Description = "< SPARE 9>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE9")] - public float? Spare9 { get; set; } + /// + /// RecordId = 2, + /// ItemId = 35, + /// LongMnemonic = "SPARE8", + /// ShortMnemonic = "SPR8", + /// Description = "< SPARE 8>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE8")] + public float? Spare8 { get; set; } - } + /// + /// RecordId = 2, + /// ItemId = 36, + /// LongMnemonic = "SPARE9", + /// ShortMnemonic = "SPR9", + /// Description = "< SPARE 9>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE9")] + public float? Spare9 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record20.cs b/AsbCloudDb/Model/WITS/Record20.cs index 95fee007..deabcb97 100644 --- a/AsbCloudDb/Model/WITS/Record20.cs +++ b/AsbCloudDb/Model/WITS/Record20.cs @@ -1,885 +1,885 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Mud Report - /// Description: Mud Report data - /// Description2: - /// - [Table("t_telemetry_wits_20")] - public class Record20: RecordBase { - - /// - /// RecordId = 20, - /// ItemId = 8, - /// LongMnemonic = "MREPDM", - /// ShortMnemonic = "MRDM", - /// Description = "Mud Rept Depth (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MREPDM")] - public float? Mrepdm { get; set; } + /// + /// Record name: Mud Report + /// Description: Mud Report data + /// Description2: + /// + [Table("t_telemetry_wits_20")] + public class Record20 : RecordBase + { - /// - /// RecordId = 20, - /// ItemId = 9, - /// LongMnemonic = "MREPDV", - /// ShortMnemonic = "MRDV", - /// Description = "Mud Rept Depth (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MREPDV")] - public float? Mrepdv { get; set; } + /// + /// RecordId = 20, + /// ItemId = 8, + /// LongMnemonic = "MREPDM", + /// ShortMnemonic = "MRDM", + /// Description = "Mud Rept Depth (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MREPDM")] + public float? Mrepdm { get; set; } - /// - /// RecordId = 20, - /// ItemId = 10, - /// LongMnemonic = "MREPNUM", - /// ShortMnemonic = "MNUM", - /// Description = "Mud Rept Number", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("MREPNUM")] - public short? Mrepnum { get; set; } + /// + /// RecordId = 20, + /// ItemId = 9, + /// LongMnemonic = "MREPDV", + /// ShortMnemonic = "MRDV", + /// Description = "Mud Rept Depth (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MREPDV")] + public float? Mrepdv { get; set; } - /// - /// RecordId = 20, - /// ItemId = 11, - /// LongMnemonic = "MRMTYPE", - /// ShortMnemonic = "MTYP", - /// Description = "Mud Rept Mud Type", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("MRMTYPE")] - public string? Mrmtype { get; set; } + /// + /// RecordId = 20, + /// ItemId = 10, + /// LongMnemonic = "MREPNUM", + /// ShortMnemonic = "MNUM", + /// Description = "Mud Rept Number", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("MREPNUM")] + public short? Mrepnum { get; set; } - /// - /// RecordId = 20, - /// ItemId = 12, - /// LongMnemonic = "MRSLOC", - /// ShortMnemonic = "MLOC", - /// Description = "Mud Rept Sample Location", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 8, - /// ValueType = "A" - /// - [Column("MRSLOC")] - public string? Mrsloc { get; set; } + /// + /// RecordId = 20, + /// ItemId = 11, + /// LongMnemonic = "MRMTYPE", + /// ShortMnemonic = "MTYP", + /// Description = "Mud Rept Mud Type", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("MRMTYPE")] + public string? Mrmtype { get; set; } - /// - /// RecordId = 20, - /// ItemId = 13, - /// LongMnemonic = "MRSDATE", - /// ShortMnemonic = "MDAT", - /// Description = "Mud Rept Sample Date", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "L" - /// - [Column("MRSDATE")] - public int? Mrsdate { get; set; } + /// + /// RecordId = 20, + /// ItemId = 12, + /// LongMnemonic = "MRSLOC", + /// ShortMnemonic = "MLOC", + /// Description = "Mud Rept Sample Location", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 8, + /// ValueType = "A" + /// + [Column("MRSLOC")] + public string? Mrsloc { get; set; } - /// - /// RecordId = 20, - /// ItemId = 14, - /// LongMnemonic = "MRSTIME", - /// ShortMnemonic = "MTIM", - /// Description = "Mud Rept Sample Time", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "L" - /// - [Column("MRSTIME")] - public int? Mrstime { get; set; } + /// + /// RecordId = 20, + /// ItemId = 13, + /// LongMnemonic = "MRSDATE", + /// ShortMnemonic = "MDAT", + /// Description = "Mud Rept Sample Date", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "L" + /// + [Column("MRSDATE")] + public int? Mrsdate { get; set; } - /// - /// RecordId = 20, - /// ItemId = 15, - /// LongMnemonic = "MRDENS", - /// ShortMnemonic = "MDEN", - /// Description = "Mud Rept Mud Density", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRDENS")] - public float? Mrdens { get; set; } + /// + /// RecordId = 20, + /// ItemId = 14, + /// LongMnemonic = "MRSTIME", + /// ShortMnemonic = "MTIM", + /// Description = "Mud Rept Sample Time", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "L" + /// + [Column("MRSTIME")] + public int? Mrstime { get; set; } - /// - /// RecordId = 20, - /// ItemId = 16, - /// LongMnemonic = "MRFVIS", - /// ShortMnemonic = "MFV", - /// Description = "Mud Rept Funnel Vis", - /// Description2 = "", - /// FPSUnits = "S/QT", - /// MetricUnits = "S/L", - /// Length = 2, - /// ValueType = "S" - /// - [Column("MRFVIS")] - public short? Mrfvis { get; set; } + /// + /// RecordId = 20, + /// ItemId = 15, + /// LongMnemonic = "MRDENS", + /// ShortMnemonic = "MDEN", + /// Description = "Mud Rept Mud Density", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRDENS")] + public float? Mrdens { get; set; } - /// - /// RecordId = 20, - /// ItemId = 17, - /// LongMnemonic = "MRFVIST", - /// ShortMnemonic = "MFVT", - /// Description = "Mud Rept Funnel Vis Temp", - /// Description2 = "", - /// FPSUnits = "DEGF", - /// MetricUnits = "DEGC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRFVIST")] - public float? Mrfvist { get; set; } + /// + /// RecordId = 20, + /// ItemId = 16, + /// LongMnemonic = "MRFVIS", + /// ShortMnemonic = "MFV", + /// Description = "Mud Rept Funnel Vis", + /// Description2 = "", + /// FPSUnits = "S/QT", + /// MetricUnits = "S/L", + /// Length = 2, + /// ValueType = "S" + /// + [Column("MRFVIS")] + public short? Mrfvis { get; set; } - /// - /// RecordId = 20, - /// ItemId = 18, - /// LongMnemonic = "MRPV", - /// ShortMnemonic = "MPV", - /// Description = "Mud Rept Plastic Vis", - /// Description2 = "", - /// FPSUnits = "CP", - /// MetricUnits = "CP", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRPV")] - public float? Mrpv { get; set; } + /// + /// RecordId = 20, + /// ItemId = 17, + /// LongMnemonic = "MRFVIST", + /// ShortMnemonic = "MFVT", + /// Description = "Mud Rept Funnel Vis Temp", + /// Description2 = "", + /// FPSUnits = "DEGF", + /// MetricUnits = "DEGC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRFVIST")] + public float? Mrfvist { get; set; } - /// - /// RecordId = 20, - /// ItemId = 19, - /// LongMnemonic = "MRYP", - /// ShortMnemonic = "MYP", - /// Description = "Mud Rept Yield Point", - /// Description2 = "", - /// FPSUnits = "PHSF", - /// MetricUnits = "PA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRYP")] - public float? Mryp { get; set; } + /// + /// RecordId = 20, + /// ItemId = 18, + /// LongMnemonic = "MRPV", + /// ShortMnemonic = "MPV", + /// Description = "Mud Rept Plastic Vis", + /// Description2 = "", + /// FPSUnits = "CP", + /// MetricUnits = "CP", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRPV")] + public float? Mrpv { get; set; } - /// - /// RecordId = 20, - /// ItemId = 20, - /// LongMnemonic = "MRGEL10S", - /// ShortMnemonic = "MGL1", - /// Description = "Mud Rept Gel - 10 sec", - /// Description2 = "", - /// FPSUnits = "PHSF", - /// MetricUnits = "PA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRGEL10S")] - public float? Mrgel10s { get; set; } + /// + /// RecordId = 20, + /// ItemId = 19, + /// LongMnemonic = "MRYP", + /// ShortMnemonic = "MYP", + /// Description = "Mud Rept Yield Point", + /// Description2 = "", + /// FPSUnits = "PHSF", + /// MetricUnits = "PA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRYP")] + public float? Mryp { get; set; } - /// - /// RecordId = 20, - /// ItemId = 21, - /// LongMnemonic = "MRGEL10M", - /// ShortMnemonic = "MGL2", - /// Description = "Mud Rept Gel - 10 min", - /// Description2 = "", - /// FPSUnits = "PHSF", - /// MetricUnits = "PA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRGEL10M")] - public float? Mrgel10m { get; set; } + /// + /// RecordId = 20, + /// ItemId = 20, + /// LongMnemonic = "MRGEL10S", + /// ShortMnemonic = "MGL1", + /// Description = "Mud Rept Gel - 10 sec", + /// Description2 = "", + /// FPSUnits = "PHSF", + /// MetricUnits = "PA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRGEL10S")] + public float? Mrgel10s { get; set; } - /// - /// RecordId = 20, - /// ItemId = 22, - /// LongMnemonic = "MRGEL30M", - /// ShortMnemonic = "MGL3", - /// Description = "Mud Rept Gel - 30 min", - /// Description2 = "", - /// FPSUnits = "PHSF", - /// MetricUnits = "PA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRGEL30M")] - public float? Mrgel30m { get; set; } + /// + /// RecordId = 20, + /// ItemId = 21, + /// LongMnemonic = "MRGEL10M", + /// ShortMnemonic = "MGL2", + /// Description = "Mud Rept Gel - 10 min", + /// Description2 = "", + /// FPSUnits = "PHSF", + /// MetricUnits = "PA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRGEL10M")] + public float? Mrgel10m { get; set; } - /// - /// RecordId = 20, - /// ItemId = 23, - /// LongMnemonic = "MRFILT", - /// ShortMnemonic = "MFIL", - /// Description = "Mud Rept Filtrate", - /// Description2 = "", - /// FPSUnits = "C/30", - /// MetricUnits = "C/30", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRFILT")] - public float? Mrfilt { get; set; } + /// + /// RecordId = 20, + /// ItemId = 22, + /// LongMnemonic = "MRGEL30M", + /// ShortMnemonic = "MGL3", + /// Description = "Mud Rept Gel - 30 min", + /// Description2 = "", + /// FPSUnits = "PHSF", + /// MetricUnits = "PA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRGEL30M")] + public float? Mrgel30m { get; set; } - /// - /// RecordId = 20, - /// ItemId = 24, - /// LongMnemonic = "MRCAKE", - /// ShortMnemonic = "MCAK", - /// Description = "Mud Rept Filter Cake", - /// Description2 = "", - /// FPSUnits = "I/32", - /// MetricUnits = "MM", - /// Length = 2, - /// ValueType = "S" - /// - [Column("MRCAKE")] - public short? Mrcake { get; set; } + /// + /// RecordId = 20, + /// ItemId = 23, + /// LongMnemonic = "MRFILT", + /// ShortMnemonic = "MFIL", + /// Description = "Mud Rept Filtrate", + /// Description2 = "", + /// FPSUnits = "C/30", + /// MetricUnits = "C/30", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRFILT")] + public float? Mrfilt { get; set; } - /// - /// RecordId = 20, - /// ItemId = 25, - /// LongMnemonic = "MRHT", - /// ShortMnemonic = "MHT", - /// Description = "Mud Rept HTHP Temp", - /// Description2 = "", - /// FPSUnits = "DEGF", - /// MetricUnits = "DEGC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRHT")] - public float? Mrht { get; set; } + /// + /// RecordId = 20, + /// ItemId = 24, + /// LongMnemonic = "MRCAKE", + /// ShortMnemonic = "MCAK", + /// Description = "Mud Rept Filter Cake", + /// Description2 = "", + /// FPSUnits = "I/32", + /// MetricUnits = "MM", + /// Length = 2, + /// ValueType = "S" + /// + [Column("MRCAKE")] + public short? Mrcake { get; set; } - /// - /// RecordId = 20, - /// ItemId = 26, - /// LongMnemonic = "MRHP", - /// ShortMnemonic = "MHP", - /// Description = "Mud Rept HTHP Pressure", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRHP")] - public float? Mrhp { get; set; } + /// + /// RecordId = 20, + /// ItemId = 25, + /// LongMnemonic = "MRHT", + /// ShortMnemonic = "MHT", + /// Description = "Mud Rept HTHP Temp", + /// Description2 = "", + /// FPSUnits = "DEGF", + /// MetricUnits = "DEGC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRHT")] + public float? Mrht { get; set; } - /// - /// RecordId = 20, - /// ItemId = 27, - /// LongMnemonic = "MRHFILT", - /// ShortMnemonic = "MHFI", - /// Description = "Mud Rept HTHP Filtrate", - /// Description2 = "", - /// FPSUnits = "C/30", - /// MetricUnits = "C/30", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRHFILT")] - public float? Mrhfilt { get; set; } + /// + /// RecordId = 20, + /// ItemId = 26, + /// LongMnemonic = "MRHP", + /// ShortMnemonic = "MHP", + /// Description = "Mud Rept HTHP Pressure", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRHP")] + public float? Mrhp { get; set; } - /// - /// RecordId = 20, - /// ItemId = 28, - /// LongMnemonic = "MRHCAKE", - /// ShortMnemonic = "MHCK", - /// Description = "Mud Rept HTHP Filter Cake", - /// Description2 = "", - /// FPSUnits = "I/32", - /// MetricUnits = "MM", - /// Length = 2, - /// ValueType = "S" - /// - [Column("MRHCAKE")] - public short? Mrhcake { get; set; } + /// + /// RecordId = 20, + /// ItemId = 27, + /// LongMnemonic = "MRHFILT", + /// ShortMnemonic = "MHFI", + /// Description = "Mud Rept HTHP Filtrate", + /// Description2 = "", + /// FPSUnits = "C/30", + /// MetricUnits = "C/30", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRHFILT")] + public float? Mrhfilt { get; set; } - /// - /// RecordId = 20, - /// ItemId = 29, - /// LongMnemonic = "MRSOLRET", - /// ShortMnemonic = "MSOL", - /// Description = "Mud Rept Solids % (retort)", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRSOLRET")] - public float? Mrsolret { get; set; } + /// + /// RecordId = 20, + /// ItemId = 28, + /// LongMnemonic = "MRHCAKE", + /// ShortMnemonic = "MHCK", + /// Description = "Mud Rept HTHP Filter Cake", + /// Description2 = "", + /// FPSUnits = "I/32", + /// MetricUnits = "MM", + /// Length = 2, + /// ValueType = "S" + /// + [Column("MRHCAKE")] + public short? Mrhcake { get; set; } - /// - /// RecordId = 20, - /// ItemId = 30, - /// LongMnemonic = "MRWATRET", - /// ShortMnemonic = "MWAT", - /// Description = "Mud Rept Water % (retort)", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRWATRET")] - public float? Mrwatret { get; set; } + /// + /// RecordId = 20, + /// ItemId = 29, + /// LongMnemonic = "MRSOLRET", + /// ShortMnemonic = "MSOL", + /// Description = "Mud Rept Solids % (retort)", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRSOLRET")] + public float? Mrsolret { get; set; } - /// - /// RecordId = 20, - /// ItemId = 31, - /// LongMnemonic = "MROILRET", - /// ShortMnemonic = "MOIL", - /// Description = "Mud Rept Oil % (retort)", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MROILRET")] - public float? Mroilret { get; set; } + /// + /// RecordId = 20, + /// ItemId = 30, + /// LongMnemonic = "MRWATRET", + /// ShortMnemonic = "MWAT", + /// Description = "Mud Rept Water % (retort)", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRWATRET")] + public float? Mrwatret { get; set; } - /// - /// RecordId = 20, - /// ItemId = 32, - /// LongMnemonic = "MRSAND", - /// ShortMnemonic = "MSAN", - /// Description = "Mud Rept Sand %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRSAND")] - public float? Mrsand { get; set; } + /// + /// RecordId = 20, + /// ItemId = 31, + /// LongMnemonic = "MROILRET", + /// ShortMnemonic = "MOIL", + /// Description = "Mud Rept Oil % (retort)", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MROILRET")] + public float? Mroilret { get; set; } - /// - /// RecordId = 20, - /// ItemId = 33, - /// LongMnemonic = "MRLGSOL", - /// ShortMnemonic = "MLGS", - /// Description = "Mud Rept Low Grav Sol %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRLGSOL")] - public float? Mrlgsol { get; set; } + /// + /// RecordId = 20, + /// ItemId = 32, + /// LongMnemonic = "MRSAND", + /// ShortMnemonic = "MSAN", + /// Description = "Mud Rept Sand %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRSAND")] + public float? Mrsand { get; set; } - /// - /// RecordId = 20, - /// ItemId = 34, - /// LongMnemonic = "MRSOLCAL", - /// ShortMnemonic = "MSCA", - /// Description = "Mud Rept Solids % (calc)", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRSOLCAL")] - public float? Mrsolcal { get; set; } + /// + /// RecordId = 20, + /// ItemId = 33, + /// LongMnemonic = "MRLGSOL", + /// ShortMnemonic = "MLGS", + /// Description = "Mud Rept Low Grav Sol %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRLGSOL")] + public float? Mrlgsol { get; set; } - /// - /// RecordId = 20, - /// ItemId = 35, - /// LongMnemonic = "MRBARITE", - /// ShortMnemonic = "MBRT", - /// Description = "Mud Rept Barite content", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRBARITE")] - public float? Mrbarite { get; set; } + /// + /// RecordId = 20, + /// ItemId = 34, + /// LongMnemonic = "MRSOLCAL", + /// ShortMnemonic = "MSCA", + /// Description = "Mud Rept Solids % (calc)", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRSOLCAL")] + public float? Mrsolcal { get; set; } - /// - /// RecordId = 20, - /// ItemId = 36, - /// LongMnemonic = "MRLCM", - /// ShortMnemonic = "MLCM", - /// Description = "Mud Rept LCM content", - /// Description2 = "", - /// FPSUnits = "PPB", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRLCM")] - public float? Mrlcm { get; set; } + /// + /// RecordId = 20, + /// ItemId = 35, + /// LongMnemonic = "MRBARITE", + /// ShortMnemonic = "MBRT", + /// Description = "Mud Rept Barite content", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRBARITE")] + public float? Mrbarite { get; set; } - /// - /// RecordId = 20, - /// ItemId = 37, - /// LongMnemonic = "MRMBT", - /// ShortMnemonic = "MMBT", - /// Description = "Mud Rept MBT capacity", - /// Description2 = "", - /// FPSUnits = "PPB", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRMBT")] - public float? Mrmbt { get; set; } + /// + /// RecordId = 20, + /// ItemId = 36, + /// LongMnemonic = "MRLCM", + /// ShortMnemonic = "MLCM", + /// Description = "Mud Rept LCM content", + /// Description2 = "", + /// FPSUnits = "PPB", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRLCM")] + public float? Mrlcm { get; set; } - /// - /// RecordId = 20, - /// ItemId = 38, - /// LongMnemonic = "MRPH", - /// ShortMnemonic = "MPH", - /// Description = "Mud Rept pH", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRPH")] - public float? Mrph { get; set; } + /// + /// RecordId = 20, + /// ItemId = 37, + /// LongMnemonic = "MRMBT", + /// ShortMnemonic = "MMBT", + /// Description = "Mud Rept MBT capacity", + /// Description2 = "", + /// FPSUnits = "PPB", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRMBT")] + public float? Mrmbt { get; set; } - /// - /// RecordId = 20, - /// ItemId = 39, - /// LongMnemonic = "MRPHT", - /// ShortMnemonic = "MPHT", - /// Description = "Mud Rept pH sample temp", - /// Description2 = "", - /// FPSUnits = "DEGF", - /// MetricUnits = "DEGC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRPHT")] - public float? Mrpht { get; set; } + /// + /// RecordId = 20, + /// ItemId = 38, + /// LongMnemonic = "MRPH", + /// ShortMnemonic = "MPH", + /// Description = "Mud Rept pH", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRPH")] + public float? Mrph { get; set; } - /// - /// RecordId = 20, - /// ItemId = 40, - /// LongMnemonic = "MRPM", - /// ShortMnemonic = "MPM", - /// Description = "Mud Rept Pm", - /// Description2 = "", - /// FPSUnits = "MLML", - /// MetricUnits = "MLML", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRPM")] - public float? Mrpm { get; set; } + /// + /// RecordId = 20, + /// ItemId = 39, + /// LongMnemonic = "MRPHT", + /// ShortMnemonic = "MPHT", + /// Description = "Mud Rept pH sample temp", + /// Description2 = "", + /// FPSUnits = "DEGF", + /// MetricUnits = "DEGC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRPHT")] + public float? Mrpht { get; set; } - /// - /// RecordId = 20, - /// ItemId = 41, - /// LongMnemonic = "MRPF", - /// ShortMnemonic = "MPF", - /// Description = "Mud Rept Pf", - /// Description2 = "", - /// FPSUnits = "MLML", - /// MetricUnits = "MLML", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRPF")] - public float? Mrpf { get; set; } + /// + /// RecordId = 20, + /// ItemId = 40, + /// LongMnemonic = "MRPM", + /// ShortMnemonic = "MPM", + /// Description = "Mud Rept Pm", + /// Description2 = "", + /// FPSUnits = "MLML", + /// MetricUnits = "MLML", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRPM")] + public float? Mrpm { get; set; } - /// - /// RecordId = 20, - /// ItemId = 42, - /// LongMnemonic = "MRMF", - /// ShortMnemonic = "MMF", - /// Description = "Mud Rept Mf", - /// Description2 = "", - /// FPSUnits = "MLML", - /// MetricUnits = "MLML", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRMF")] - public float? Mrmf { get; set; } + /// + /// RecordId = 20, + /// ItemId = 41, + /// LongMnemonic = "MRPF", + /// ShortMnemonic = "MPF", + /// Description = "Mud Rept Pf", + /// Description2 = "", + /// FPSUnits = "MLML", + /// MetricUnits = "MLML", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRPF")] + public float? Mrpf { get; set; } - /// - /// RecordId = 20, - /// ItemId = 43, - /// LongMnemonic = "MRP1", - /// ShortMnemonic = "MRP1", - /// Description = "Mud Rept P1", - /// Description2 = "", - /// FPSUnits = "MLML", - /// MetricUnits = "MLML", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRP1")] - public float? Mrp1 { get; set; } + /// + /// RecordId = 20, + /// ItemId = 42, + /// LongMnemonic = "MRMF", + /// ShortMnemonic = "MMF", + /// Description = "Mud Rept Mf", + /// Description2 = "", + /// FPSUnits = "MLML", + /// MetricUnits = "MLML", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRMF")] + public float? Mrmf { get; set; } - /// - /// RecordId = 20, - /// ItemId = 44, - /// LongMnemonic = "MRP2", - /// ShortMnemonic = "MRP2", - /// Description = "Mud Rept P2", - /// Description2 = "", - /// FPSUnits = "MLML", - /// MetricUnits = "MLML", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRP2")] - public float? Mrp2 { get; set; } + /// + /// RecordId = 20, + /// ItemId = 43, + /// LongMnemonic = "MRP1", + /// ShortMnemonic = "MRP1", + /// Description = "Mud Rept P1", + /// Description2 = "", + /// FPSUnits = "MLML", + /// MetricUnits = "MLML", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRP1")] + public float? Mrp1 { get; set; } - /// - /// RecordId = 20, - /// ItemId = 45, - /// LongMnemonic = "MRCHLOR", - /// ShortMnemonic = "MCHL", - /// Description = "Mud Rept Chlorides", - /// Description2 = "", - /// FPSUnits = "MG/L", - /// MetricUnits = "MG/L", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRCHLOR")] - public float? Mrchlor { get; set; } + /// + /// RecordId = 20, + /// ItemId = 44, + /// LongMnemonic = "MRP2", + /// ShortMnemonic = "MRP2", + /// Description = "Mud Rept P2", + /// Description2 = "", + /// FPSUnits = "MLML", + /// MetricUnits = "MLML", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRP2")] + public float? Mrp2 { get; set; } - /// - /// RecordId = 20, - /// ItemId = 46, - /// LongMnemonic = "MRCALC", - /// ShortMnemonic = "MCAL", - /// Description = "Mud Rept Calcium", - /// Description2 = "", - /// FPSUnits = "MG/L", - /// MetricUnits = "MG/L", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRCALC")] - public float? Mrcalc { get; set; } + /// + /// RecordId = 20, + /// ItemId = 45, + /// LongMnemonic = "MRCHLOR", + /// ShortMnemonic = "MCHL", + /// Description = "Mud Rept Chlorides", + /// Description2 = "", + /// FPSUnits = "MG/L", + /// MetricUnits = "MG/L", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRCHLOR")] + public float? Mrchlor { get; set; } - /// - /// RecordId = 20, - /// ItemId = 47, - /// LongMnemonic = "MRMAG", - /// ShortMnemonic = "MMAG", - /// Description = "Mud Rept Magnesium", - /// Description2 = "", - /// FPSUnits = "MG/L", - /// MetricUnits = "MG/L", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRMAG")] - public float? Mrmag { get; set; } + /// + /// RecordId = 20, + /// ItemId = 46, + /// LongMnemonic = "MRCALC", + /// ShortMnemonic = "MCAL", + /// Description = "Mud Rept Calcium", + /// Description2 = "", + /// FPSUnits = "MG/L", + /// MetricUnits = "MG/L", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRCALC")] + public float? Mrcalc { get; set; } - /// - /// RecordId = 20, - /// ItemId = 48, - /// LongMnemonic = "MRPOT", - /// ShortMnemonic = "MPOT", - /// Description = "Mud Rept Potassium", - /// Description2 = "", - /// FPSUnits = "MG/L", - /// MetricUnits = "MG/L", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRPOT")] - public float? Mrpot { get; set; } + /// + /// RecordId = 20, + /// ItemId = 47, + /// LongMnemonic = "MRMAG", + /// ShortMnemonic = "MMAG", + /// Description = "Mud Rept Magnesium", + /// Description2 = "", + /// FPSUnits = "MG/L", + /// MetricUnits = "MG/L", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRMAG")] + public float? Mrmag { get; set; } - /// - /// RecordId = 20, - /// ItemId = 49, - /// LongMnemonic = "MRRHETEM", - /// ShortMnemonic = "MRHT", - /// Description = "Mud Rept Rheometer temp", - /// Description2 = "", - /// FPSUnits = "DEGF", - /// MetricUnits = "DEGC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRRHETEM")] - public float? Mrrhetem { get; set; } + /// + /// RecordId = 20, + /// ItemId = 48, + /// LongMnemonic = "MRPOT", + /// ShortMnemonic = "MPOT", + /// Description = "Mud Rept Potassium", + /// Description2 = "", + /// FPSUnits = "MG/L", + /// MetricUnits = "MG/L", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRPOT")] + public float? Mrpot { get; set; } - /// - /// RecordId = 20, - /// ItemId = 50, - /// LongMnemonic = "MRVIS3", - /// ShortMnemonic = "M3", - /// Description = "Mud Rept Viscom 3 rpm", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRVIS3")] - public float? Mrvis3 { get; set; } + /// + /// RecordId = 20, + /// ItemId = 49, + /// LongMnemonic = "MRRHETEM", + /// ShortMnemonic = "MRHT", + /// Description = "Mud Rept Rheometer temp", + /// Description2 = "", + /// FPSUnits = "DEGF", + /// MetricUnits = "DEGC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRRHETEM")] + public float? Mrrhetem { get; set; } - /// - /// RecordId = 20, - /// ItemId = 51, - /// LongMnemonic = "MRVIS6", - /// ShortMnemonic = "M6", - /// Description = "Mud Rept Viscom 6 rpm", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRVIS6")] - public float? Mrvis6 { get; set; } + /// + /// RecordId = 20, + /// ItemId = 50, + /// LongMnemonic = "MRVIS3", + /// ShortMnemonic = "M3", + /// Description = "Mud Rept Viscom 3 rpm", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRVIS3")] + public float? Mrvis3 { get; set; } - /// - /// RecordId = 20, - /// ItemId = 52, - /// LongMnemonic = "MRVIS100", - /// ShortMnemonic = "M100", - /// Description = "Mud Rept Viscom 100 rpm", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRVIS100")] - public float? Mrvis100 { get; set; } + /// + /// RecordId = 20, + /// ItemId = 51, + /// LongMnemonic = "MRVIS6", + /// ShortMnemonic = "M6", + /// Description = "Mud Rept Viscom 6 rpm", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRVIS6")] + public float? Mrvis6 { get; set; } - /// - /// RecordId = 20, - /// ItemId = 53, - /// LongMnemonic = "MRVIS200", - /// ShortMnemonic = "M200", - /// Description = "Mud Rept Viscom 200 rpm", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRVIS200")] - public float? Mrvis200 { get; set; } + /// + /// RecordId = 20, + /// ItemId = 52, + /// LongMnemonic = "MRVIS100", + /// ShortMnemonic = "M100", + /// Description = "Mud Rept Viscom 100 rpm", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRVIS100")] + public float? Mrvis100 { get; set; } - /// - /// RecordId = 20, - /// ItemId = 54, - /// LongMnemonic = "MRVIS300", - /// ShortMnemonic = "M300", - /// Description = "Mud Rept Viscom 300 rpm", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRVIS300")] - public float? Mrvis300 { get; set; } + /// + /// RecordId = 20, + /// ItemId = 53, + /// LongMnemonic = "MRVIS200", + /// ShortMnemonic = "M200", + /// Description = "Mud Rept Viscom 200 rpm", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRVIS200")] + public float? Mrvis200 { get; set; } - /// - /// RecordId = 20, - /// ItemId = 55, - /// LongMnemonic = "MRVIS600", - /// ShortMnemonic = "M600", - /// Description = "Mud Rept Viscom 600 rpm", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRVIS600")] - public float? Mrvis600 { get; set; } + /// + /// RecordId = 20, + /// ItemId = 54, + /// LongMnemonic = "MRVIS300", + /// ShortMnemonic = "M300", + /// Description = "Mud Rept Viscom 300 rpm", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRVIS300")] + public float? Mrvis300 { get; set; } - /// - /// RecordId = 20, - /// ItemId = 56, - /// LongMnemonic = "MRBRINE", - /// ShortMnemonic = "MBRI", - /// Description = "Mud Rept Brine %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRBRINE")] - public float? Mrbrine { get; set; } + /// + /// RecordId = 20, + /// ItemId = 55, + /// LongMnemonic = "MRVIS600", + /// ShortMnemonic = "M600", + /// Description = "Mud Rept Viscom 600 rpm", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRVIS600")] + public float? Mrvis600 { get; set; } - /// - /// RecordId = 20, - /// ItemId = 57, - /// LongMnemonic = "MRALK", - /// ShortMnemonic = "MALK", - /// Description = "Mud Rept Alkalinity", - /// Description2 = "", - /// FPSUnits = "MLML", - /// MetricUnits = "MLML", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRALK")] - public float? Mralk { get; set; } + /// + /// RecordId = 20, + /// ItemId = 56, + /// LongMnemonic = "MRBRINE", + /// ShortMnemonic = "MBRI", + /// Description = "Mud Rept Brine %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRBRINE")] + public float? Mrbrine { get; set; } - /// - /// RecordId = 20, - /// ItemId = 58, - /// LongMnemonic = "MRLIME", - /// ShortMnemonic = "MLIM", - /// Description = "Mud Rept Lime content", - /// Description2 = "", - /// FPSUnits = "PPB", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRLIME")] - public float? Mrlime { get; set; } + /// + /// RecordId = 20, + /// ItemId = 57, + /// LongMnemonic = "MRALK", + /// ShortMnemonic = "MALK", + /// Description = "Mud Rept Alkalinity", + /// Description2 = "", + /// FPSUnits = "MLML", + /// MetricUnits = "MLML", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRALK")] + public float? Mralk { get; set; } - /// - /// RecordId = 20, - /// ItemId = 59, - /// LongMnemonic = "MRELECST", - /// ShortMnemonic = "MELS", - /// Description = "Mud Rept Elect. Stability", - /// Description2 = "", - /// FPSUnits = "V", - /// MetricUnits = "V", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRELECST")] - public float? Mrelecst { get; set; } + /// + /// RecordId = 20, + /// ItemId = 58, + /// LongMnemonic = "MRLIME", + /// ShortMnemonic = "MLIM", + /// Description = "Mud Rept Lime content", + /// Description2 = "", + /// FPSUnits = "PPB", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRLIME")] + public float? Mrlime { get; set; } - /// - /// RecordId = 20, - /// ItemId = 60, - /// LongMnemonic = "MRCACL", - /// ShortMnemonic = "MCCL", - /// Description = "Mud Rept CaCl, Wt %", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MRCACL")] - public float? Mrcacl { get; set; } + /// + /// RecordId = 20, + /// ItemId = 59, + /// LongMnemonic = "MRELECST", + /// ShortMnemonic = "MELS", + /// Description = "Mud Rept Elect. Stability", + /// Description2 = "", + /// FPSUnits = "V", + /// MetricUnits = "V", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRELECST")] + public float? Mrelecst { get; set; } - /// - /// RecordId = 20, - /// ItemId = 61, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 20, + /// ItemId = 60, + /// LongMnemonic = "MRCACL", + /// ShortMnemonic = "MCCL", + /// Description = "Mud Rept CaCl, Wt %", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MRCACL")] + public float? Mrcacl { get; set; } - /// - /// RecordId = 20, - /// ItemId = 62, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 20, + /// ItemId = 61, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 20, - /// ItemId = 63, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 20, + /// ItemId = 62, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 20, - /// ItemId = 64, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 20, + /// ItemId = 63, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 20, - /// ItemId = 65, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 20, + /// ItemId = 64, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 20, + /// ItemId = 65, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record21.cs b/AsbCloudDb/Model/WITS/Record21.cs index 0fc28312..c7ab59de 100644 --- a/AsbCloudDb/Model/WITS/Record21.cs +++ b/AsbCloudDb/Model/WITS/Record21.cs @@ -1,645 +1,645 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Bit Report - /// Description: Bit Report data - /// Description2: - /// - [Table("t_telemetry_wits_21")] - public class Record21: RecordBase { - - /// - /// RecordId = 21, - /// ItemId = 8, - /// LongMnemonic = "BTNUM", - /// ShortMnemonic = "BNUM", - /// Description = "Bit Number", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 8, - /// ValueType = "A" - /// - [Column("BTNUM")] - public string? Btnum { get; set; } + /// + /// Record name: Bit Report + /// Description: Bit Report data + /// Description2: + /// + [Table("t_telemetry_wits_21")] + public class Record21 : RecordBase + { - /// - /// RecordId = 21, - /// ItemId = 9, - /// LongMnemonic = "BTDIAM", - /// ShortMnemonic = "BDIA", - /// Description = "Bit Diameter", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTDIAM")] - public float? Btdiam { get; set; } + /// + /// RecordId = 21, + /// ItemId = 8, + /// LongMnemonic = "BTNUM", + /// ShortMnemonic = "BNUM", + /// Description = "Bit Number", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 8, + /// ValueType = "A" + /// + [Column("BTNUM")] + public string? Btnum { get; set; } - /// - /// RecordId = 21, - /// ItemId = 10, - /// LongMnemonic = "BTMANUF", - /// ShortMnemonic = "BMAN", - /// Description = "Bit Manufacturer", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("BTMANUF")] - public string? Btmanuf { get; set; } + /// + /// RecordId = 21, + /// ItemId = 9, + /// LongMnemonic = "BTDIAM", + /// ShortMnemonic = "BDIA", + /// Description = "Bit Diameter", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTDIAM")] + public float? Btdiam { get; set; } - /// - /// RecordId = 21, - /// ItemId = 11, - /// LongMnemonic = "BTNAME", - /// ShortMnemonic = "BNAM", - /// Description = "Bit Name", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("BTNAME")] - public string? Btname { get; set; } + /// + /// RecordId = 21, + /// ItemId = 10, + /// LongMnemonic = "BTMANUF", + /// ShortMnemonic = "BMAN", + /// Description = "Bit Manufacturer", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("BTMANUF")] + public string? Btmanuf { get; set; } - /// - /// RecordId = 21, - /// ItemId = 12, - /// LongMnemonic = "BTCODE", - /// ShortMnemonic = "BCOD", - /// Description = "Bit IADC Code", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 8, - /// ValueType = "A" - /// - [Column("BTCODE")] - public string? Btcode { get; set; } + /// + /// RecordId = 21, + /// ItemId = 11, + /// LongMnemonic = "BTNAME", + /// ShortMnemonic = "BNAM", + /// Description = "Bit Name", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("BTNAME")] + public string? Btname { get; set; } - /// - /// RecordId = 21, - /// ItemId = 13, - /// LongMnemonic = "BTSERNUM", - /// ShortMnemonic = "BSER", - /// Description = "Bit Serial Number", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("BTSERNUM")] - public string? Btsernum { get; set; } + /// + /// RecordId = 21, + /// ItemId = 12, + /// LongMnemonic = "BTCODE", + /// ShortMnemonic = "BCOD", + /// Description = "Bit IADC Code", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 8, + /// ValueType = "A" + /// + [Column("BTCODE")] + public string? Btcode { get; set; } - /// - /// RecordId = 21, - /// ItemId = 14, - /// LongMnemonic = "BTCOST", - /// ShortMnemonic = "BCST", - /// Description = "Bit Cost", - /// Description2 = "", - /// FPSUnits = "$", - /// MetricUnits = "$", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTCOST")] - public float? Btcost { get; set; } + /// + /// RecordId = 21, + /// ItemId = 13, + /// LongMnemonic = "BTSERNUM", + /// ShortMnemonic = "BSER", + /// Description = "Bit Serial Number", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("BTSERNUM")] + public string? Btsernum { get; set; } - /// - /// RecordId = 21, - /// ItemId = 15, - /// LongMnemonic = "BTJET1", - /// ShortMnemonic = "BJT1", - /// Description = "Bit Jet 1 Diameter", - /// Description2 = "", - /// FPSUnits = "I/32", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTJET1")] - public float? Btjet1 { get; set; } + /// + /// RecordId = 21, + /// ItemId = 14, + /// LongMnemonic = "BTCOST", + /// ShortMnemonic = "BCST", + /// Description = "Bit Cost", + /// Description2 = "", + /// FPSUnits = "$", + /// MetricUnits = "$", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTCOST")] + public float? Btcost { get; set; } - /// - /// RecordId = 21, - /// ItemId = 16, - /// LongMnemonic = "BTJET2", - /// ShortMnemonic = "BJT2", - /// Description = "Bit Jet 2 Diameter", - /// Description2 = "", - /// FPSUnits = "I/32", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTJET2")] - public float? Btjet2 { get; set; } + /// + /// RecordId = 21, + /// ItemId = 15, + /// LongMnemonic = "BTJET1", + /// ShortMnemonic = "BJT1", + /// Description = "Bit Jet 1 Diameter", + /// Description2 = "", + /// FPSUnits = "I/32", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTJET1")] + public float? Btjet1 { get; set; } - /// - /// RecordId = 21, - /// ItemId = 17, - /// LongMnemonic = "BTJET3", - /// ShortMnemonic = "BJT3", - /// Description = "Bit Jet 3 Diameter", - /// Description2 = "", - /// FPSUnits = "I/32", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTJET3")] - public float? Btjet3 { get; set; } + /// + /// RecordId = 21, + /// ItemId = 16, + /// LongMnemonic = "BTJET2", + /// ShortMnemonic = "BJT2", + /// Description = "Bit Jet 2 Diameter", + /// Description2 = "", + /// FPSUnits = "I/32", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTJET2")] + public float? Btjet2 { get; set; } - /// - /// RecordId = 21, - /// ItemId = 18, - /// LongMnemonic = "BTJET4", - /// ShortMnemonic = "BJT4", - /// Description = "Bit Jet 4 Diameter", - /// Description2 = "", - /// FPSUnits = "I/32", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTJET4")] - public float? Btjet4 { get; set; } + /// + /// RecordId = 21, + /// ItemId = 17, + /// LongMnemonic = "BTJET3", + /// ShortMnemonic = "BJT3", + /// Description = "Bit Jet 3 Diameter", + /// Description2 = "", + /// FPSUnits = "I/32", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTJET3")] + public float? Btjet3 { get; set; } - /// - /// RecordId = 21, - /// ItemId = 19, - /// LongMnemonic = "BTJETCEN", - /// ShortMnemonic = "BJTC", - /// Description = "Bit Center Jet Diameter", - /// Description2 = "", - /// FPSUnits = "I/32", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTJETCEN")] - public float? Btjetcen { get; set; } + /// + /// RecordId = 21, + /// ItemId = 18, + /// LongMnemonic = "BTJET4", + /// ShortMnemonic = "BJT4", + /// Description = "Bit Jet 4 Diameter", + /// Description2 = "", + /// FPSUnits = "I/32", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTJET4")] + public float? Btjet4 { get; set; } - /// - /// RecordId = 21, - /// ItemId = 20, - /// LongMnemonic = "BTTFA", - /// ShortMnemonic = "BTFA", - /// Description = "Bit Total Flow Area", - /// Description2 = "", - /// FPSUnits = "SQIN", - /// MetricUnits = "MM2", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTTFA")] - public float? Bttfa { get; set; } + /// + /// RecordId = 21, + /// ItemId = 19, + /// LongMnemonic = "BTJETCEN", + /// ShortMnemonic = "BJTC", + /// Description = "Bit Center Jet Diameter", + /// Description2 = "", + /// FPSUnits = "I/32", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTJETCEN")] + public float? Btjetcen { get; set; } - /// - /// RecordId = 21, - /// ItemId = 21, - /// LongMnemonic = "BTDEPIN", - /// ShortMnemonic = "BDPI", - /// Description = "Bit Starting Depth (In)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTDEPIN")] - public float? Btdepin { get; set; } + /// + /// RecordId = 21, + /// ItemId = 20, + /// LongMnemonic = "BTTFA", + /// ShortMnemonic = "BTFA", + /// Description = "Bit Total Flow Area", + /// Description2 = "", + /// FPSUnits = "SQIN", + /// MetricUnits = "MM2", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTTFA")] + public float? Bttfa { get; set; } - /// - /// RecordId = 21, - /// ItemId = 22, - /// LongMnemonic = "BTDEPOUT", - /// ShortMnemonic = "BDPO", - /// Description = "Bit Ending Depth (Out)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTDEPOUT")] - public float? Btdepout { get; set; } + /// + /// RecordId = 21, + /// ItemId = 21, + /// LongMnemonic = "BTDEPIN", + /// ShortMnemonic = "BDPI", + /// Description = "Bit Starting Depth (In)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTDEPIN")] + public float? Btdepin { get; set; } - /// - /// RecordId = 21, - /// ItemId = 23, - /// LongMnemonic = "BTDDIST", - /// ShortMnemonic = "BDDI", - /// Description = "Bit Run Drilled Distance", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTDDIST")] - public float? Btddist { get; set; } + /// + /// RecordId = 21, + /// ItemId = 22, + /// LongMnemonic = "BTDEPOUT", + /// ShortMnemonic = "BDPO", + /// Description = "Bit Ending Depth (Out)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTDEPOUT")] + public float? Btdepout { get; set; } - /// - /// RecordId = 21, - /// ItemId = 24, - /// LongMnemonic = "BTDTIME", - /// ShortMnemonic = "BDTI", - /// Description = "Bit Run Drilled Time", - /// Description2 = "", - /// FPSUnits = "HR", - /// MetricUnits = "HR", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTDTIME")] - public float? Btdtime { get; set; } + /// + /// RecordId = 21, + /// ItemId = 23, + /// LongMnemonic = "BTDDIST", + /// ShortMnemonic = "BDDI", + /// Description = "Bit Run Drilled Distance", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTDDIST")] + public float? Btddist { get; set; } - /// - /// RecordId = 21, - /// ItemId = 25, - /// LongMnemonic = "BTRTIME", - /// ShortMnemonic = "BRTI", - /// Description = "Bit Run Reamed Time", - /// Description2 = "", - /// FPSUnits = "HR", - /// MetricUnits = "HR", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTRTIME")] - public float? Btrtime { get; set; } + /// + /// RecordId = 21, + /// ItemId = 24, + /// LongMnemonic = "BTDTIME", + /// ShortMnemonic = "BDTI", + /// Description = "Bit Run Drilled Time", + /// Description2 = "", + /// FPSUnits = "HR", + /// MetricUnits = "HR", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTDTIME")] + public float? Btdtime { get; set; } - /// - /// RecordId = 21, - /// ItemId = 26, - /// LongMnemonic = "BTROPA", - /// ShortMnemonic = "BRPA", - /// Description = "Bit Penetration Rate (avg)", - /// Description2 = "", - /// FPSUnits = "F/HR", - /// MetricUnits = "M/HR", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTROPA")] - public float? Btropa { get; set; } + /// + /// RecordId = 21, + /// ItemId = 25, + /// LongMnemonic = "BTRTIME", + /// ShortMnemonic = "BRTI", + /// Description = "Bit Run Reamed Time", + /// Description2 = "", + /// FPSUnits = "HR", + /// MetricUnits = "HR", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTRTIME")] + public float? Btrtime { get; set; } - /// - /// RecordId = 21, - /// ItemId = 27, - /// LongMnemonic = "BTWOBA", - /// ShortMnemonic = "BWBA", - /// Description = "Bit Weight-on-Bit (avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTWOBA")] - public float? Btwoba { get; set; } + /// + /// RecordId = 21, + /// ItemId = 26, + /// LongMnemonic = "BTROPA", + /// ShortMnemonic = "BRPA", + /// Description = "Bit Penetration Rate (avg)", + /// Description2 = "", + /// FPSUnits = "F/HR", + /// MetricUnits = "M/HR", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTROPA")] + public float? Btropa { get; set; } - /// - /// RecordId = 21, - /// ItemId = 28, - /// LongMnemonic = "BTWOBX", - /// ShortMnemonic = "BWBX", - /// Description = "Bit Weight-on-Bit (max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTWOBX")] - public float? Btwobx { get; set; } + /// + /// RecordId = 21, + /// ItemId = 27, + /// LongMnemonic = "BTWOBA", + /// ShortMnemonic = "BWBA", + /// Description = "Bit Weight-on-Bit (avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTWOBA")] + public float? Btwoba { get; set; } - /// - /// RecordId = 21, - /// ItemId = 29, - /// LongMnemonic = "BTRPMA", - /// ShortMnemonic = "BRMA", - /// Description = "Bit Rotary Speed (avg)", - /// Description2 = "", - /// FPSUnits = "RPM", - /// MetricUnits = "RPM", - /// Length = 2, - /// ValueType = "S" - /// - [Column("BTRPMA")] - public short? Btrpma { get; set; } + /// + /// RecordId = 21, + /// ItemId = 28, + /// LongMnemonic = "BTWOBX", + /// ShortMnemonic = "BWBX", + /// Description = "Bit Weight-on-Bit (max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTWOBX")] + public float? Btwobx { get; set; } - /// - /// RecordId = 21, - /// ItemId = 30, - /// LongMnemonic = "BTRPMX", - /// ShortMnemonic = "BRMX", - /// Description = "Bit Rotary Speed (max)", - /// Description2 = "", - /// FPSUnits = "RPM", - /// MetricUnits = "RPM", - /// Length = 2, - /// ValueType = "S" - /// - [Column("BTRPMX")] - public short? Btrpmx { get; set; } + /// + /// RecordId = 21, + /// ItemId = 29, + /// LongMnemonic = "BTRPMA", + /// ShortMnemonic = "BRMA", + /// Description = "Bit Rotary Speed (avg)", + /// Description2 = "", + /// FPSUnits = "RPM", + /// MetricUnits = "RPM", + /// Length = 2, + /// ValueType = "S" + /// + [Column("BTRPMA")] + public short? Btrpma { get; set; } - /// - /// RecordId = 21, - /// ItemId = 31, - /// LongMnemonic = "BTMFA", - /// ShortMnemonic = "BMFA", - /// Description = "Bit Mud Flow Rate (avg)", - /// Description2 = "", - /// FPSUnits = "GPM", - /// MetricUnits = "L/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTMFA")] - public float? Btmfa { get; set; } + /// + /// RecordId = 21, + /// ItemId = 30, + /// LongMnemonic = "BTRPMX", + /// ShortMnemonic = "BRMX", + /// Description = "Bit Rotary Speed (max)", + /// Description2 = "", + /// FPSUnits = "RPM", + /// MetricUnits = "RPM", + /// Length = 2, + /// ValueType = "S" + /// + [Column("BTRPMX")] + public short? Btrpmx { get; set; } - /// - /// RecordId = 21, - /// ItemId = 32, - /// LongMnemonic = "BTMDA", - /// ShortMnemonic = "BMDA", - /// Description = "Bit Mud Density (avg)", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTMDA")] - public float? Btmda { get; set; } + /// + /// RecordId = 21, + /// ItemId = 31, + /// LongMnemonic = "BTMFA", + /// ShortMnemonic = "BMFA", + /// Description = "Bit Mud Flow Rate (avg)", + /// Description2 = "", + /// FPSUnits = "GPM", + /// MetricUnits = "L/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTMFA")] + public float? Btmfa { get; set; } - /// - /// RecordId = 21, - /// ItemId = 33, - /// LongMnemonic = "BTSPPA", - /// ShortMnemonic = "BSPA", - /// Description = "Bit Standpipe Pressure (avg)", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BTSPPA")] - public float? Btsppa { get; set; } + /// + /// RecordId = 21, + /// ItemId = 32, + /// LongMnemonic = "BTMDA", + /// ShortMnemonic = "BMDA", + /// Description = "Bit Mud Density (avg)", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTMDA")] + public float? Btmda { get; set; } - /// - /// RecordId = 21, - /// ItemId = 34, - /// LongMnemonic = "BTRUN", - /// ShortMnemonic = "BRUN", - /// Description = "Bit Reason Run", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("BTRUN")] - public string? Btrun { get; set; } + /// + /// RecordId = 21, + /// ItemId = 33, + /// LongMnemonic = "BTSPPA", + /// ShortMnemonic = "BSPA", + /// Description = "Bit Standpipe Pressure (avg)", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BTSPPA")] + public float? Btsppa { get; set; } - /// - /// RecordId = 21, - /// ItemId = 35, - /// LongMnemonic = "BTPULL", - /// ShortMnemonic = "BPUL", - /// Description = "Bit Reason Pulled", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("BTPULL")] - public string? Btpull { get; set; } + /// + /// RecordId = 21, + /// ItemId = 34, + /// LongMnemonic = "BTRUN", + /// ShortMnemonic = "BRUN", + /// Description = "Bit Reason Run", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("BTRUN")] + public string? Btrun { get; set; } - /// - /// RecordId = 21, - /// ItemId = 36, - /// LongMnemonic = "BTGRDIN", - /// ShortMnemonic = "BGI", - /// Description = "Bit Grade In", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("BTGRDIN")] - public string? Btgrdin { get; set; } + /// + /// RecordId = 21, + /// ItemId = 35, + /// LongMnemonic = "BTPULL", + /// ShortMnemonic = "BPUL", + /// Description = "Bit Reason Pulled", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("BTPULL")] + public string? Btpull { get; set; } - /// - /// RecordId = 21, - /// ItemId = 37, - /// LongMnemonic = "BTGRDOUT", - /// ShortMnemonic = "BGO", - /// Description = "Bit Grade Out", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("BTGRDOUT")] - public string? Btgrdout { get; set; } + /// + /// RecordId = 21, + /// ItemId = 36, + /// LongMnemonic = "BTGRDIN", + /// ShortMnemonic = "BGI", + /// Description = "Bit Grade In", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("BTGRDIN")] + public string? Btgrdin { get; set; } - /// - /// RecordId = 21, - /// ItemId = 38, - /// LongMnemonic = "BTSHKSUB", - /// ShortMnemonic = "BSHK", - /// Description = "Bit Shock Sub Used ?", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 1, - /// ValueType = "A" - /// - [Column("BTSHKSUB")] - public string? Btshksub { get; set; } + /// + /// RecordId = 21, + /// ItemId = 37, + /// LongMnemonic = "BTGRDOUT", + /// ShortMnemonic = "BGO", + /// Description = "Bit Grade Out", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("BTGRDOUT")] + public string? Btgrdout { get; set; } - /// - /// RecordId = 21, - /// ItemId = 39, - /// LongMnemonic = "BTMUDMOT", - /// ShortMnemonic = "BMM", - /// Description = "Bit Mud Motor Used ?", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 1, - /// ValueType = "A" - /// - [Column("BTMUDMOT")] - public string? Btmudmot { get; set; } + /// + /// RecordId = 21, + /// ItemId = 38, + /// LongMnemonic = "BTSHKSUB", + /// ShortMnemonic = "BSHK", + /// Description = "Bit Shock Sub Used ?", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 1, + /// ValueType = "A" + /// + [Column("BTSHKSUB")] + public string? Btshksub { get; set; } - /// - /// RecordId = 21, - /// ItemId = 40, - /// LongMnemonic = "BTCOMM", - /// ShortMnemonic = "BCOM", - /// Description = "Bit Comments", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 128, - /// ValueType = "A" - /// - [Column("BTCOMM")] - public string? Btcomm { get; set; } + /// + /// RecordId = 21, + /// ItemId = 39, + /// LongMnemonic = "BTMUDMOT", + /// ShortMnemonic = "BMM", + /// Description = "Bit Mud Motor Used ?", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 1, + /// ValueType = "A" + /// + [Column("BTMUDMOT")] + public string? Btmudmot { get; set; } - /// - /// RecordId = 21, - /// ItemId = 41, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 21, + /// ItemId = 40, + /// LongMnemonic = "BTCOMM", + /// ShortMnemonic = "BCOM", + /// Description = "Bit Comments", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 128, + /// ValueType = "A" + /// + [Column("BTCOMM")] + public string? Btcomm { get; set; } - /// - /// RecordId = 21, - /// ItemId = 42, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 21, + /// ItemId = 41, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 21, - /// ItemId = 43, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 21, + /// ItemId = 42, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 21, - /// ItemId = 44, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 21, + /// ItemId = 43, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 21, - /// ItemId = 45, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 21, + /// ItemId = 44, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - /// - /// RecordId = 21, - /// ItemId = 46, - /// LongMnemonic = "SPARE6", - /// ShortMnemonic = "SPR6", - /// Description = "< SPARE 6>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE6")] - public float? Spare6 { get; set; } + /// + /// RecordId = 21, + /// ItemId = 45, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } - /// - /// RecordId = 21, - /// ItemId = 47, - /// LongMnemonic = "SPARE7", - /// ShortMnemonic = "SPR7", - /// Description = "< SPARE 7>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE7")] - public float? Spare7 { get; set; } + /// + /// RecordId = 21, + /// ItemId = 46, + /// LongMnemonic = "SPARE6", + /// ShortMnemonic = "SPR6", + /// Description = "< SPARE 6>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE6")] + public float? Spare6 { get; set; } - /// - /// RecordId = 21, - /// ItemId = 48, - /// LongMnemonic = "SPARE8", - /// ShortMnemonic = "SPR8", - /// Description = "< SPARE 8>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE8")] - public float? Spare8 { get; set; } + /// + /// RecordId = 21, + /// ItemId = 47, + /// LongMnemonic = "SPARE7", + /// ShortMnemonic = "SPR7", + /// Description = "< SPARE 7>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE7")] + public float? Spare7 { get; set; } - /// - /// RecordId = 21, - /// ItemId = 49, - /// LongMnemonic = "SPARE9", - /// ShortMnemonic = "SPR9", - /// Description = "< SPARE 9>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE9")] - public float? Spare9 { get; set; } + /// + /// RecordId = 21, + /// ItemId = 48, + /// LongMnemonic = "SPARE8", + /// ShortMnemonic = "SPR8", + /// Description = "< SPARE 8>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE8")] + public float? Spare8 { get; set; } - } + /// + /// RecordId = 21, + /// ItemId = 49, + /// LongMnemonic = "SPARE9", + /// ShortMnemonic = "SPR9", + /// Description = "< SPARE 9>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE9")] + public float? Spare9 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record22.cs b/AsbCloudDb/Model/WITS/Record22.cs index 1642eedd..dbc0b577 100644 --- a/AsbCloudDb/Model/WITS/Record22.cs +++ b/AsbCloudDb/Model/WITS/Record22.cs @@ -1,60 +1,60 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Remarks - /// Description: Freeform Comments - /// Description2: - /// - [Table("t_telemetry_wits_22")] - public class Record22: RecordBase { - - /// - /// RecordId = 22, - /// ItemId = 8, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "Depth Hole (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } + /// + /// Record name: Remarks + /// Description: Freeform Comments + /// Description2: + /// + [Table("t_telemetry_wits_22")] + public class Record22 : RecordBase + { - /// - /// RecordId = 22, - /// ItemId = 9, - /// LongMnemonic = "DEPTVERT", - /// ShortMnemonic = "DVER", - /// Description = "Depth Hole (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTVERT")] - public float? Deptvert { get; set; } + /// + /// RecordId = 22, + /// ItemId = 8, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "Depth Hole (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } - /// - /// RecordId = 22, - /// ItemId = 10, - /// LongMnemonic = "COMM", - /// ShortMnemonic = "COMM", - /// Description = "Comments", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 256, - /// ValueType = "A" - /// - [Column("COMM")] - public string? Comm { get; set; } + /// + /// RecordId = 22, + /// ItemId = 9, + /// LongMnemonic = "DEPTVERT", + /// ShortMnemonic = "DVER", + /// Description = "Depth Hole (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTVERT")] + public float? Deptvert { get; set; } - } + /// + /// RecordId = 22, + /// ItemId = 10, + /// LongMnemonic = "COMM", + /// ShortMnemonic = "COMM", + /// Description = "Comments", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 256, + /// ValueType = "A" + /// + [Column("COMM")] + public string? Comm { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record23.cs b/AsbCloudDb/Model/WITS/Record23.cs index e47d9e32..1098641f 100644 --- a/AsbCloudDb/Model/WITS/Record23.cs +++ b/AsbCloudDb/Model/WITS/Record23.cs @@ -1,465 +1,465 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Well Identification - /// Description: Well Identification data - /// Description2: - /// - [Table("t_telemetry_wits_23")] - public class Record23: RecordBase { - - /// - /// RecordId = 23, - /// ItemId = 8, - /// LongMnemonic = "WELLNAME", - /// ShortMnemonic = "WELL", - /// Description = "Well Name", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("WELLNAME")] - public string? Wellname { get; set; } + /// + /// Record name: Well Identification + /// Description: Well Identification data + /// Description2: + /// + [Table("t_telemetry_wits_23")] + public class Record23 : RecordBase + { - /// - /// RecordId = 23, - /// ItemId = 9, - /// LongMnemonic = "WELLNUM", - /// ShortMnemonic = "WNUM", - /// Description = "Well Identification Number", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("WELLNUM")] - public string? Wellnum { get; set; } + /// + /// RecordId = 23, + /// ItemId = 8, + /// LongMnemonic = "WELLNAME", + /// ShortMnemonic = "WELL", + /// Description = "Well Name", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("WELLNAME")] + public string? Wellname { get; set; } - /// - /// RecordId = 23, - /// ItemId = 10, - /// LongMnemonic = "OPERATOR", - /// ShortMnemonic = "OPER", - /// Description = "Operator", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("OPERATOR")] - public string? Operator { get; set; } + /// + /// RecordId = 23, + /// ItemId = 9, + /// LongMnemonic = "WELLNUM", + /// ShortMnemonic = "WNUM", + /// Description = "Well Identification Number", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("WELLNUM")] + public string? Wellnum { get; set; } - /// - /// RecordId = 23, - /// ItemId = 11, - /// LongMnemonic = "WELLCLAS", - /// ShortMnemonic = "WCLS", - /// Description = "Well Classification (Lahee)", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("WELLCLAS")] - public string? Wellclas { get; set; } + /// + /// RecordId = 23, + /// ItemId = 10, + /// LongMnemonic = "OPERATOR", + /// ShortMnemonic = "OPER", + /// Description = "Operator", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("OPERATOR")] + public string? Operator { get; set; } - /// - /// RecordId = 23, - /// ItemId = 12, - /// LongMnemonic = "LOCATION", - /// ShortMnemonic = "WLOC", - /// Description = "Well Location", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("LOCATION")] - public string? Location { get; set; } + /// + /// RecordId = 23, + /// ItemId = 11, + /// LongMnemonic = "WELLCLAS", + /// ShortMnemonic = "WCLS", + /// Description = "Well Classification (Lahee)", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("WELLCLAS")] + public string? Wellclas { get; set; } - /// - /// RecordId = 23, - /// ItemId = 13, - /// LongMnemonic = "WELLUTM", - /// ShortMnemonic = "WUTM", - /// Description = "Well Univ.Tran.Mercator", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("WELLUTM")] - public string? Wellutm { get; set; } + /// + /// RecordId = 23, + /// ItemId = 12, + /// LongMnemonic = "LOCATION", + /// ShortMnemonic = "WLOC", + /// Description = "Well Location", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("LOCATION")] + public string? Location { get; set; } - /// - /// RecordId = 23, - /// ItemId = 14, - /// LongMnemonic = "WELLLAT", - /// ShortMnemonic = "WLAT", - /// Description = "Well Surface Latitude", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("WELLLAT")] - public string? Welllat { get; set; } + /// + /// RecordId = 23, + /// ItemId = 13, + /// LongMnemonic = "WELLUTM", + /// ShortMnemonic = "WUTM", + /// Description = "Well Univ.Tran.Mercator", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("WELLUTM")] + public string? Wellutm { get; set; } - /// - /// RecordId = 23, - /// ItemId = 15, - /// LongMnemonic = "WELLLON", - /// ShortMnemonic = "WLON", - /// Description = "Well Surface Longitude", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("WELLLON")] - public string? Welllon { get; set; } + /// + /// RecordId = 23, + /// ItemId = 14, + /// LongMnemonic = "WELLLAT", + /// ShortMnemonic = "WLAT", + /// Description = "Well Surface Latitude", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("WELLLAT")] + public string? Welllat { get; set; } - /// - /// RecordId = 23, - /// ItemId = 16, - /// LongMnemonic = "FIELD", - /// ShortMnemonic = "FLD", - /// Description = "Field Name", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("FIELD")] - public string? Field { get; set; } + /// + /// RecordId = 23, + /// ItemId = 15, + /// LongMnemonic = "WELLLON", + /// ShortMnemonic = "WLON", + /// Description = "Well Surface Longitude", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("WELLLON")] + public string? Welllon { get; set; } - /// - /// RecordId = 23, - /// ItemId = 17, - /// LongMnemonic = "ELEVDP", - /// ShortMnemonic = "ELDP", - /// Description = "Elev : Datum-MSL", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ELEVDP")] - public float? Elevdp { get; set; } + /// + /// RecordId = 23, + /// ItemId = 16, + /// LongMnemonic = "FIELD", + /// ShortMnemonic = "FLD", + /// Description = "Field Name", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("FIELD")] + public string? Field { get; set; } - /// - /// RecordId = 23, - /// ItemId = 18, - /// LongMnemonic = "ELEVKB", - /// ShortMnemonic = "ELKB", - /// Description = "Elev : Kelly Bushing-MSL", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ELEVKB")] - public float? Elevkb { get; set; } + /// + /// RecordId = 23, + /// ItemId = 17, + /// LongMnemonic = "ELEVDP", + /// ShortMnemonic = "ELDP", + /// Description = "Elev : Datum-MSL", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ELEVDP")] + public float? Elevdp { get; set; } - /// - /// RecordId = 23, - /// ItemId = 19, - /// LongMnemonic = "ELEVGL", - /// ShortMnemonic = "ELGL", - /// Description = "Elev : Ground Level-MSL", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ELEVGL")] - public float? Elevgl { get; set; } + /// + /// RecordId = 23, + /// ItemId = 18, + /// LongMnemonic = "ELEVKB", + /// ShortMnemonic = "ELKB", + /// Description = "Elev : Kelly Bushing-MSL", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ELEVKB")] + public float? Elevkb { get; set; } - /// - /// RecordId = 23, - /// ItemId = 20, - /// LongMnemonic = "WATDEPT", - /// ShortMnemonic = "WDPM", - /// Description = "Water Depth (mean)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("WATDEPT")] - public float? Watdept { get; set; } + /// + /// RecordId = 23, + /// ItemId = 19, + /// LongMnemonic = "ELEVGL", + /// ShortMnemonic = "ELGL", + /// Description = "Elev : Ground Level-MSL", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ELEVGL")] + public float? Elevgl { get; set; } - /// - /// RecordId = 23, - /// ItemId = 21, - /// LongMnemonic = "SPUDDATE", - /// ShortMnemonic = "SPDT", - /// Description = "Spud Date", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "L" - /// - [Column("SPUDDATE")] - public int? Spuddate { get; set; } + /// + /// RecordId = 23, + /// ItemId = 20, + /// LongMnemonic = "WATDEPT", + /// ShortMnemonic = "WDPM", + /// Description = "Water Depth (mean)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("WATDEPT")] + public float? Watdept { get; set; } - /// - /// RecordId = 23, - /// ItemId = 22, - /// LongMnemonic = "CUS1", - /// ShortMnemonic = "CUS1", - /// Description = "Custom Field 01 Identifier", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("CUS1")] - public string? Cus1 { get; set; } + /// + /// RecordId = 23, + /// ItemId = 21, + /// LongMnemonic = "SPUDDATE", + /// ShortMnemonic = "SPDT", + /// Description = "Spud Date", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "L" + /// + [Column("SPUDDATE")] + public int? Spuddate { get; set; } - /// - /// RecordId = 23, - /// ItemId = 23, - /// LongMnemonic = "CUS2", - /// ShortMnemonic = "CUS2", - /// Description = "Custom Field 02 Identifier", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("CUS2")] - public string? Cus2 { get; set; } + /// + /// RecordId = 23, + /// ItemId = 22, + /// LongMnemonic = "CUS1", + /// ShortMnemonic = "CUS1", + /// Description = "Custom Field 01 Identifier", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("CUS1")] + public string? Cus1 { get; set; } - /// - /// RecordId = 23, - /// ItemId = 24, - /// LongMnemonic = "CUS3", - /// ShortMnemonic = "CUS3", - /// Description = "Custom Field 03 Identifier", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("CUS3")] - public string? Cus3 { get; set; } + /// + /// RecordId = 23, + /// ItemId = 23, + /// LongMnemonic = "CUS2", + /// ShortMnemonic = "CUS2", + /// Description = "Custom Field 02 Identifier", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("CUS2")] + public string? Cus2 { get; set; } - /// - /// RecordId = 23, - /// ItemId = 25, - /// LongMnemonic = "CUS4", - /// ShortMnemonic = "CUS4", - /// Description = "Custom Field 04 Identifier", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("CUS4")] - public string? Cus4 { get; set; } + /// + /// RecordId = 23, + /// ItemId = 24, + /// LongMnemonic = "CUS3", + /// ShortMnemonic = "CUS3", + /// Description = "Custom Field 03 Identifier", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("CUS3")] + public string? Cus3 { get; set; } - /// - /// RecordId = 23, - /// ItemId = 26, - /// LongMnemonic = "CUS5", - /// ShortMnemonic = "CUS5", - /// Description = "Custom Field 05 Identifier", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("CUS5")] - public string? Cus5 { get; set; } + /// + /// RecordId = 23, + /// ItemId = 25, + /// LongMnemonic = "CUS4", + /// ShortMnemonic = "CUS4", + /// Description = "Custom Field 04 Identifier", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("CUS4")] + public string? Cus4 { get; set; } - /// - /// RecordId = 23, - /// ItemId = 27, - /// LongMnemonic = "CUS6", - /// ShortMnemonic = "CUS6", - /// Description = "Custom Field 06 Identifier", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("CUS6")] - public string? Cus6 { get; set; } + /// + /// RecordId = 23, + /// ItemId = 26, + /// LongMnemonic = "CUS5", + /// ShortMnemonic = "CUS5", + /// Description = "Custom Field 05 Identifier", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("CUS5")] + public string? Cus5 { get; set; } - /// - /// RecordId = 23, - /// ItemId = 28, - /// LongMnemonic = "CUS7", - /// ShortMnemonic = "CUS7", - /// Description = "Custom Field 07 Identifier", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("CUS7")] - public string? Cus7 { get; set; } + /// + /// RecordId = 23, + /// ItemId = 27, + /// LongMnemonic = "CUS6", + /// ShortMnemonic = "CUS6", + /// Description = "Custom Field 06 Identifier", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("CUS6")] + public string? Cus6 { get; set; } - /// - /// RecordId = 23, - /// ItemId = 29, - /// LongMnemonic = "CUS8", - /// ShortMnemonic = "CUS8", - /// Description = "Custom Field 08 Identifier", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("CUS8")] - public string? Cus8 { get; set; } + /// + /// RecordId = 23, + /// ItemId = 28, + /// LongMnemonic = "CUS7", + /// ShortMnemonic = "CUS7", + /// Description = "Custom Field 07 Identifier", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("CUS7")] + public string? Cus7 { get; set; } - /// - /// RecordId = 23, - /// ItemId = 30, - /// LongMnemonic = "CUS9", - /// ShortMnemonic = "CUS9", - /// Description = "Custom Field 09 Identifier", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("CUS9")] - public string? Cus9 { get; set; } + /// + /// RecordId = 23, + /// ItemId = 29, + /// LongMnemonic = "CUS8", + /// ShortMnemonic = "CUS8", + /// Description = "Custom Field 08 Identifier", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("CUS8")] + public string? Cus8 { get; set; } - /// - /// RecordId = 23, - /// ItemId = 31, - /// LongMnemonic = "CUS0", - /// ShortMnemonic = "CUS0", - /// Description = "Custom Field 10 Identifier", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 32, - /// ValueType = "A" - /// - [Column("CUS0")] - public string? Cus0 { get; set; } + /// + /// RecordId = 23, + /// ItemId = 30, + /// LongMnemonic = "CUS9", + /// ShortMnemonic = "CUS9", + /// Description = "Custom Field 09 Identifier", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("CUS9")] + public string? Cus9 { get; set; } - /// - /// RecordId = 23, - /// ItemId = 32, - /// LongMnemonic = "UNIT", - /// ShortMnemonic = "UNIT", - /// Description = "Units Type used", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 8, - /// ValueType = "A" - /// - [Column("UNIT")] - public string? Unit { get; set; } + /// + /// RecordId = 23, + /// ItemId = 31, + /// LongMnemonic = "CUS0", + /// ShortMnemonic = "CUS0", + /// Description = "Custom Field 10 Identifier", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 32, + /// ValueType = "A" + /// + [Column("CUS0")] + public string? Cus0 { get; set; } - /// - /// RecordId = 23, - /// ItemId = 33, - /// LongMnemonic = "TOFFSET", - /// ShortMnemonic = "TOFF", - /// Description = "Time Zone Offset", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "L" - /// - [Column("TOFFSET")] - public int? Toffset { get; set; } + /// + /// RecordId = 23, + /// ItemId = 32, + /// LongMnemonic = "UNIT", + /// ShortMnemonic = "UNIT", + /// Description = "Units Type used", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 8, + /// ValueType = "A" + /// + [Column("UNIT")] + public string? Unit { get; set; } - /// - /// RecordId = 23, - /// ItemId = 34, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 23, + /// ItemId = 33, + /// LongMnemonic = "TOFFSET", + /// ShortMnemonic = "TOFF", + /// Description = "Time Zone Offset", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "L" + /// + [Column("TOFFSET")] + public int? Toffset { get; set; } - /// - /// RecordId = 23, - /// ItemId = 35, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 23, + /// ItemId = 34, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 23, - /// ItemId = 36, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 23, + /// ItemId = 35, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 23, - /// ItemId = 37, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 23, + /// ItemId = 36, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - } + /// + /// RecordId = 23, + /// ItemId = 37, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record24.cs b/AsbCloudDb/Model/WITS/Record24.cs index ef6d544d..13942c13 100644 --- a/AsbCloudDb/Model/WITS/Record24.cs +++ b/AsbCloudDb/Model/WITS/Record24.cs @@ -1,870 +1,870 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Vessel Motion / Mooring Status - /// Description: Vessel Motion and Mooring Status data - /// Description2: - /// - [Table("t_telemetry_wits_24")] - public class Record24: RecordBase { - - /// - /// RecordId = 24, - /// ItemId = 8, - /// LongMnemonic = "WATDEPT", - /// ShortMnemonic = "WDPM", - /// Description = "Water Depth (mean)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("WATDEPT")] - public float? Watdept { get; set; } + /// + /// Record name: Vessel Motion / Mooring Status + /// Description: Vessel Motion and Mooring Status data + /// Description2: + /// + [Table("t_telemetry_wits_24")] + public class Record24 : RecordBase + { - /// - /// RecordId = 24, - /// ItemId = 9, - /// LongMnemonic = "TIDE", - /// ShortMnemonic = "TIDE", - /// Description = "Tide", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TIDE")] - public float? Tide { get; set; } + /// + /// RecordId = 24, + /// ItemId = 8, + /// LongMnemonic = "WATDEPT", + /// ShortMnemonic = "WDPM", + /// Description = "Water Depth (mean)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("WATDEPT")] + public float? Watdept { get; set; } - /// - /// RecordId = 24, - /// ItemId = 10, - /// LongMnemonic = "VESSHEAD", - /// ShortMnemonic = "VHED", - /// Description = "Vessel Heading", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("VESSHEAD")] - public float? Vesshead { get; set; } + /// + /// RecordId = 24, + /// ItemId = 9, + /// LongMnemonic = "TIDE", + /// ShortMnemonic = "TIDE", + /// Description = "Tide", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TIDE")] + public float? Tide { get; set; } - /// - /// RecordId = 24, - /// ItemId = 11, - /// LongMnemonic = "RIGVCG", - /// ShortMnemonic = "RVCG", - /// Description = "Rig VCG", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RIGVCG")] - public float? Rigvcg { get; set; } + /// + /// RecordId = 24, + /// ItemId = 10, + /// LongMnemonic = "VESSHEAD", + /// ShortMnemonic = "VHED", + /// Description = "Vessel Heading", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("VESSHEAD")] + public float? Vesshead { get; set; } - /// - /// RecordId = 24, - /// ItemId = 12, - /// LongMnemonic = "RISTENS", - /// ShortMnemonic = "RTEN", - /// Description = "Riser Tension", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RISTENS")] - public float? Ristens { get; set; } + /// + /// RecordId = 24, + /// ItemId = 11, + /// LongMnemonic = "RIGVCG", + /// ShortMnemonic = "RVCG", + /// Description = "Rig VCG", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RIGVCG")] + public float? Rigvcg { get; set; } - /// - /// RecordId = 24, - /// ItemId = 13, - /// LongMnemonic = "OFFSETA", - /// ShortMnemonic = "OFSA", - /// Description = "Rig Offset (avg)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("OFFSETA")] - public float? Offseta { get; set; } + /// + /// RecordId = 24, + /// ItemId = 12, + /// LongMnemonic = "RISTENS", + /// ShortMnemonic = "RTEN", + /// Description = "Riser Tension", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RISTENS")] + public float? Ristens { get; set; } - /// - /// RecordId = 24, - /// ItemId = 14, - /// LongMnemonic = "OFFSETX", - /// ShortMnemonic = "OFSX", - /// Description = "Rig Offset (max)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("OFFSETX")] - public float? Offsetx { get; set; } + /// + /// RecordId = 24, + /// ItemId = 13, + /// LongMnemonic = "OFFSETA", + /// ShortMnemonic = "OFSA", + /// Description = "Rig Offset (avg)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("OFFSETA")] + public float? Offseta { get; set; } - /// - /// RecordId = 24, - /// ItemId = 15, - /// LongMnemonic = "OFFSETD", - /// ShortMnemonic = "OFSD", - /// Description = "Rig Offset Direction", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("OFFSETD")] - public float? Offsetd { get; set; } + /// + /// RecordId = 24, + /// ItemId = 14, + /// LongMnemonic = "OFFSETX", + /// ShortMnemonic = "OFSX", + /// Description = "Rig Offset (max)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("OFFSETX")] + public float? Offsetx { get; set; } - /// - /// RecordId = 24, - /// ItemId = 16, - /// LongMnemonic = "LMRPANA", - /// ShortMnemonic = "LANA", - /// Description = "LMRP Angle (avg)", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("LMRPANA")] - public float? Lmrpana { get; set; } + /// + /// RecordId = 24, + /// ItemId = 15, + /// LongMnemonic = "OFFSETD", + /// ShortMnemonic = "OFSD", + /// Description = "Rig Offset Direction", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("OFFSETD")] + public float? Offsetd { get; set; } - /// - /// RecordId = 24, - /// ItemId = 17, - /// LongMnemonic = "LMRPANX", - /// ShortMnemonic = "LANX", - /// Description = "LMRP Angle (max)", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("LMRPANX")] - public float? Lmrpanx { get; set; } + /// + /// RecordId = 24, + /// ItemId = 16, + /// LongMnemonic = "LMRPANA", + /// ShortMnemonic = "LANA", + /// Description = "LMRP Angle (avg)", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("LMRPANA")] + public float? Lmrpana { get; set; } - /// - /// RecordId = 24, - /// ItemId = 18, - /// LongMnemonic = "LMRPAND", - /// ShortMnemonic = "LAND", - /// Description = "LMRP Angle, Direction", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("LMRPAND")] - public float? Lmrpand { get; set; } + /// + /// RecordId = 24, + /// ItemId = 17, + /// LongMnemonic = "LMRPANX", + /// ShortMnemonic = "LANX", + /// Description = "LMRP Angle (max)", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("LMRPANX")] + public float? Lmrpanx { get; set; } - /// - /// RecordId = 24, - /// ItemId = 19, - /// LongMnemonic = "MDRISER", - /// ShortMnemonic = "MDRI", - /// Description = "Fluid Density in Riser", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MDRISER")] - public float? Mdriser { get; set; } + /// + /// RecordId = 24, + /// ItemId = 18, + /// LongMnemonic = "LMRPAND", + /// ShortMnemonic = "LAND", + /// Description = "LMRP Angle, Direction", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("LMRPAND")] + public float? Lmrpand { get; set; } - /// - /// RecordId = 24, - /// ItemId = 20, - /// LongMnemonic = "MLTA01", - /// ShortMnemonic = "TA01", - /// Description = "Mooring Line #01 Tens(avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTA01")] - public float? Mlta01 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 19, + /// LongMnemonic = "MDRISER", + /// ShortMnemonic = "MDRI", + /// Description = "Fluid Density in Riser", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MDRISER")] + public float? Mdriser { get; set; } - /// - /// RecordId = 24, - /// ItemId = 21, - /// LongMnemonic = "MLTX01", - /// ShortMnemonic = "TX01", - /// Description = "Mooring Line #01 Tens(max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTX01")] - public float? Mltx01 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 20, + /// LongMnemonic = "MLTA01", + /// ShortMnemonic = "TA01", + /// Description = "Mooring Line #01 Tens(avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTA01")] + public float? Mlta01 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 22, - /// LongMnemonic = "MLTA02", - /// ShortMnemonic = "TA02", - /// Description = "Mooring Line #02 Tens(avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTA02")] - public float? Mlta02 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 21, + /// LongMnemonic = "MLTX01", + /// ShortMnemonic = "TX01", + /// Description = "Mooring Line #01 Tens(max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTX01")] + public float? Mltx01 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 23, - /// LongMnemonic = "MLTX02", - /// ShortMnemonic = "TX02", - /// Description = "Mooring Line #02 Tens(max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTX02")] - public float? Mltx02 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 22, + /// LongMnemonic = "MLTA02", + /// ShortMnemonic = "TA02", + /// Description = "Mooring Line #02 Tens(avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTA02")] + public float? Mlta02 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 24, - /// LongMnemonic = "MLTA03", - /// ShortMnemonic = "TA03", - /// Description = "Mooring Line #03 Tens(avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTA03")] - public float? Mlta03 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 23, + /// LongMnemonic = "MLTX02", + /// ShortMnemonic = "TX02", + /// Description = "Mooring Line #02 Tens(max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTX02")] + public float? Mltx02 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 25, - /// LongMnemonic = "MLTX03", - /// ShortMnemonic = "TX03", - /// Description = "Mooring Line #03 Tens(max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTX03")] - public float? Mltx03 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 24, + /// LongMnemonic = "MLTA03", + /// ShortMnemonic = "TA03", + /// Description = "Mooring Line #03 Tens(avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTA03")] + public float? Mlta03 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 26, - /// LongMnemonic = "MLTA04", - /// ShortMnemonic = "TA04", - /// Description = "Mooring Line #04 Tens(avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTA04")] - public float? Mlta04 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 25, + /// LongMnemonic = "MLTX03", + /// ShortMnemonic = "TX03", + /// Description = "Mooring Line #03 Tens(max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTX03")] + public float? Mltx03 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 27, - /// LongMnemonic = "MLTX04", - /// ShortMnemonic = "TX04", - /// Description = "Mooring Line #04 Tens(max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTX04")] - public float? Mltx04 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 26, + /// LongMnemonic = "MLTA04", + /// ShortMnemonic = "TA04", + /// Description = "Mooring Line #04 Tens(avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTA04")] + public float? Mlta04 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 28, - /// LongMnemonic = "MLTA05", - /// ShortMnemonic = "TA05", - /// Description = "Mooring Line #05 Tens(avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTA05")] - public float? Mlta05 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 27, + /// LongMnemonic = "MLTX04", + /// ShortMnemonic = "TX04", + /// Description = "Mooring Line #04 Tens(max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTX04")] + public float? Mltx04 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 29, - /// LongMnemonic = "MLTX05", - /// ShortMnemonic = "TX05", - /// Description = "Mooring Line #05 Tens(max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTX05")] - public float? Mltx05 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 28, + /// LongMnemonic = "MLTA05", + /// ShortMnemonic = "TA05", + /// Description = "Mooring Line #05 Tens(avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTA05")] + public float? Mlta05 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 30, - /// LongMnemonic = "MLTA06", - /// ShortMnemonic = "TA06", - /// Description = "Mooring Line #06 Tens(avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTA06")] - public float? Mlta06 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 29, + /// LongMnemonic = "MLTX05", + /// ShortMnemonic = "TX05", + /// Description = "Mooring Line #05 Tens(max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTX05")] + public float? Mltx05 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 31, - /// LongMnemonic = "MLTX06", - /// ShortMnemonic = "TX06", - /// Description = "Mooring Line #06 Tens(max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTX06")] - public float? Mltx06 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 30, + /// LongMnemonic = "MLTA06", + /// ShortMnemonic = "TA06", + /// Description = "Mooring Line #06 Tens(avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTA06")] + public float? Mlta06 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 32, - /// LongMnemonic = "MLTA07", - /// ShortMnemonic = "TA07", - /// Description = "Mooring Line #07 Tens(avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTA07")] - public float? Mlta07 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 31, + /// LongMnemonic = "MLTX06", + /// ShortMnemonic = "TX06", + /// Description = "Mooring Line #06 Tens(max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTX06")] + public float? Mltx06 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 33, - /// LongMnemonic = "MLTX07", - /// ShortMnemonic = "TX07", - /// Description = "Mooring Line #07 Tens(max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTX07")] - public float? Mltx07 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 32, + /// LongMnemonic = "MLTA07", + /// ShortMnemonic = "TA07", + /// Description = "Mooring Line #07 Tens(avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTA07")] + public float? Mlta07 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 34, - /// LongMnemonic = "MLTA08", - /// ShortMnemonic = "TA08", - /// Description = "Mooring Line #08 Tens(avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTA08")] - public float? Mlta08 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 33, + /// LongMnemonic = "MLTX07", + /// ShortMnemonic = "TX07", + /// Description = "Mooring Line #07 Tens(max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTX07")] + public float? Mltx07 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 35, - /// LongMnemonic = "MLTX08", - /// ShortMnemonic = "TX08", - /// Description = "Mooring Line #08 Tens(max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTX08")] - public float? Mltx08 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 34, + /// LongMnemonic = "MLTA08", + /// ShortMnemonic = "TA08", + /// Description = "Mooring Line #08 Tens(avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTA08")] + public float? Mlta08 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 36, - /// LongMnemonic = "MLTA09", - /// ShortMnemonic = "TA09", - /// Description = "Mooring Line #09 Tens(avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTA09")] - public float? Mlta09 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 35, + /// LongMnemonic = "MLTX08", + /// ShortMnemonic = "TX08", + /// Description = "Mooring Line #08 Tens(max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTX08")] + public float? Mltx08 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 37, - /// LongMnemonic = "MLTX09", - /// ShortMnemonic = "TX09", - /// Description = "Mooring Line #09 Tens(max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTX09")] - public float? Mltx09 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 36, + /// LongMnemonic = "MLTA09", + /// ShortMnemonic = "TA09", + /// Description = "Mooring Line #09 Tens(avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTA09")] + public float? Mlta09 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 38, - /// LongMnemonic = "MLTA10", - /// ShortMnemonic = "TA10", - /// Description = "Mooring Line #10 Tens(avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTA10")] - public float? Mlta10 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 37, + /// LongMnemonic = "MLTX09", + /// ShortMnemonic = "TX09", + /// Description = "Mooring Line #09 Tens(max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTX09")] + public float? Mltx09 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 39, - /// LongMnemonic = "MLTX10", - /// ShortMnemonic = "TX10", - /// Description = "Mooring Line #10 Tens(max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTX10")] - public float? Mltx10 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 38, + /// LongMnemonic = "MLTA10", + /// ShortMnemonic = "TA10", + /// Description = "Mooring Line #10 Tens(avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTA10")] + public float? Mlta10 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 40, - /// LongMnemonic = "MLTA11", - /// ShortMnemonic = "TA11", - /// Description = "Mooring Line #11 Tens(avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTA11")] - public float? Mlta11 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 39, + /// LongMnemonic = "MLTX10", + /// ShortMnemonic = "TX10", + /// Description = "Mooring Line #10 Tens(max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTX10")] + public float? Mltx10 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 41, - /// LongMnemonic = "MLTX11", - /// ShortMnemonic = "TX11", - /// Description = "Mooring Line #11 Tens(max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTX11")] - public float? Mltx11 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 40, + /// LongMnemonic = "MLTA11", + /// ShortMnemonic = "TA11", + /// Description = "Mooring Line #11 Tens(avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTA11")] + public float? Mlta11 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 42, - /// LongMnemonic = "MLTA12", - /// ShortMnemonic = "TA12", - /// Description = "Mooring Line #12 Tens(avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTA12")] - public float? Mlta12 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 41, + /// LongMnemonic = "MLTX11", + /// ShortMnemonic = "TX11", + /// Description = "Mooring Line #11 Tens(max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTX11")] + public float? Mltx11 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 43, - /// LongMnemonic = "MLTX12", - /// ShortMnemonic = "TX12", - /// Description = "Mooring Line #12 Tens(max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MLTX12")] - public float? Mltx12 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 42, + /// LongMnemonic = "MLTA12", + /// ShortMnemonic = "TA12", + /// Description = "Mooring Line #12 Tens(avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTA12")] + public float? Mlta12 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 44, - /// LongMnemonic = "THRF01", - /// ShortMnemonic = "TF01", - /// Description = "Thruster #01, Force", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRF01")] - public float? Thrf01 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 43, + /// LongMnemonic = "MLTX12", + /// ShortMnemonic = "TX12", + /// Description = "Mooring Line #12 Tens(max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MLTX12")] + public float? Mltx12 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 45, - /// LongMnemonic = "THRD01", - /// ShortMnemonic = "TD01", - /// Description = "Thruster #01, Direction", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRD01")] - public float? Thrd01 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 44, + /// LongMnemonic = "THRF01", + /// ShortMnemonic = "TF01", + /// Description = "Thruster #01, Force", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRF01")] + public float? Thrf01 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 46, - /// LongMnemonic = "THRF02", - /// ShortMnemonic = "TF02", - /// Description = "Thruster #02, Force", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRF02")] - public float? Thrf02 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 45, + /// LongMnemonic = "THRD01", + /// ShortMnemonic = "TD01", + /// Description = "Thruster #01, Direction", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRD01")] + public float? Thrd01 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 47, - /// LongMnemonic = "THRD02", - /// ShortMnemonic = "TD02", - /// Description = "Thruster #02, Direction", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRD02")] - public float? Thrd02 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 46, + /// LongMnemonic = "THRF02", + /// ShortMnemonic = "TF02", + /// Description = "Thruster #02, Force", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRF02")] + public float? Thrf02 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 48, - /// LongMnemonic = "THRF03", - /// ShortMnemonic = "TF03", - /// Description = "Thruster #03, Force", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRF03")] - public float? Thrf03 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 47, + /// LongMnemonic = "THRD02", + /// ShortMnemonic = "TD02", + /// Description = "Thruster #02, Direction", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRD02")] + public float? Thrd02 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 49, - /// LongMnemonic = "THRD03", - /// ShortMnemonic = "TD03", - /// Description = "Thruster #03, Direction", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRD03")] - public float? Thrd03 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 48, + /// LongMnemonic = "THRF03", + /// ShortMnemonic = "TF03", + /// Description = "Thruster #03, Force", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRF03")] + public float? Thrf03 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 50, - /// LongMnemonic = "THRF04", - /// ShortMnemonic = "TF04", - /// Description = "Thruster #04, Force", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRF04")] - public float? Thrf04 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 49, + /// LongMnemonic = "THRD03", + /// ShortMnemonic = "TD03", + /// Description = "Thruster #03, Direction", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRD03")] + public float? Thrd03 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 51, - /// LongMnemonic = "THRD04", - /// ShortMnemonic = "TD04", - /// Description = "Thruster #04, Direction", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRD04")] - public float? Thrd04 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 50, + /// LongMnemonic = "THRF04", + /// ShortMnemonic = "TF04", + /// Description = "Thruster #04, Force", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRF04")] + public float? Thrf04 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 52, - /// LongMnemonic = "THRF05", - /// ShortMnemonic = "TF05", - /// Description = "Thruster #05, Force", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRF05")] - public float? Thrf05 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 51, + /// LongMnemonic = "THRD04", + /// ShortMnemonic = "TD04", + /// Description = "Thruster #04, Direction", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRD04")] + public float? Thrd04 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 53, - /// LongMnemonic = "THRD05", - /// ShortMnemonic = "TD05", - /// Description = "Thruster #05, Direction", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRD05")] - public float? Thrd05 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 52, + /// LongMnemonic = "THRF05", + /// ShortMnemonic = "TF05", + /// Description = "Thruster #05, Force", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRF05")] + public float? Thrf05 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 54, - /// LongMnemonic = "THRF06", - /// ShortMnemonic = "TF06", - /// Description = "Thruster #06, Force", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRF06")] - public float? Thrf06 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 53, + /// LongMnemonic = "THRD05", + /// ShortMnemonic = "TD05", + /// Description = "Thruster #05, Direction", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRD05")] + public float? Thrd05 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 55, - /// LongMnemonic = "THRD06", - /// ShortMnemonic = "TD06", - /// Description = "Thruster #06, Direction", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRD06")] - public float? Thrd06 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 54, + /// LongMnemonic = "THRF06", + /// ShortMnemonic = "TF06", + /// Description = "Thruster #06, Force", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRF06")] + public float? Thrf06 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 56, - /// LongMnemonic = "THRF07", - /// ShortMnemonic = "TF07", - /// Description = "Thruster #07, Force", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRF07")] - public float? Thrf07 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 55, + /// LongMnemonic = "THRD06", + /// ShortMnemonic = "TD06", + /// Description = "Thruster #06, Direction", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRD06")] + public float? Thrd06 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 57, - /// LongMnemonic = "THRD07", - /// ShortMnemonic = "TD07", - /// Description = "Thruster #07, Direction", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRD07")] - public float? Thrd07 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 56, + /// LongMnemonic = "THRF07", + /// ShortMnemonic = "TF07", + /// Description = "Thruster #07, Force", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRF07")] + public float? Thrf07 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 58, - /// LongMnemonic = "THRF08", - /// ShortMnemonic = "TF08", - /// Description = "Thruster #08, Force", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRF08")] - public float? Thrf08 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 57, + /// LongMnemonic = "THRD07", + /// ShortMnemonic = "TD07", + /// Description = "Thruster #07, Direction", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRD07")] + public float? Thrd07 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 59, - /// LongMnemonic = "THRD08", - /// ShortMnemonic = "TD08", - /// Description = "Thruster #08, Direction", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("THRD08")] - public float? Thrd08 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 58, + /// LongMnemonic = "THRF08", + /// ShortMnemonic = "TF08", + /// Description = "Thruster #08, Force", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRF08")] + public float? Thrf08 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 60, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 59, + /// LongMnemonic = "THRD08", + /// ShortMnemonic = "TD08", + /// Description = "Thruster #08, Direction", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("THRD08")] + public float? Thrd08 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 61, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 60, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 62, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 61, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 63, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 62, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 24, - /// ItemId = 64, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 24, + /// ItemId = 63, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 24, + /// ItemId = 64, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record25.cs b/AsbCloudDb/Model/WITS/Record25.cs index 00214bbe..be706780 100644 --- a/AsbCloudDb/Model/WITS/Record25.cs +++ b/AsbCloudDb/Model/WITS/Record25.cs @@ -1,690 +1,690 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Weather / Sea State - /// Description: Weather and Sea State data - /// Description2: - /// - [Table("t_telemetry_wits_25")] - public class Record25: RecordBase { - - /// - /// RecordId = 25, - /// ItemId = 8, - /// LongMnemonic = "WATDEPT", - /// ShortMnemonic = "WDPM", - /// Description = "Water Depth (mean)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("WATDEPT")] - public float? Watdept { get; set; } + /// + /// Record name: Weather / Sea State + /// Description: Weather and Sea State data + /// Description2: + /// + [Table("t_telemetry_wits_25")] + public class Record25 : RecordBase + { - /// - /// RecordId = 25, - /// ItemId = 9, - /// LongMnemonic = "AIRTEMP", - /// ShortMnemonic = "AIRT", - /// Description = "Air Temperature", - /// Description2 = "", - /// FPSUnits = "DEGF", - /// MetricUnits = "DEGC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("AIRTEMP")] - public float? Airtemp { get; set; } + /// + /// RecordId = 25, + /// ItemId = 8, + /// LongMnemonic = "WATDEPT", + /// ShortMnemonic = "WDPM", + /// Description = "Water Depth (mean)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("WATDEPT")] + public float? Watdept { get; set; } - /// - /// RecordId = 25, - /// ItemId = 10, - /// LongMnemonic = "BARPRES", - /// ShortMnemonic = "BARP", - /// Description = "Barometric Pressure", - /// Description2 = "", - /// FPSUnits = "IHG", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BARPRES")] - public float? Barpres { get; set; } + /// + /// RecordId = 25, + /// ItemId = 9, + /// LongMnemonic = "AIRTEMP", + /// ShortMnemonic = "AIRT", + /// Description = "Air Temperature", + /// Description2 = "", + /// FPSUnits = "DEGF", + /// MetricUnits = "DEGC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("AIRTEMP")] + public float? Airtemp { get; set; } - /// - /// RecordId = 25, - /// ItemId = 11, - /// LongMnemonic = "WVSHGHT", - /// ShortMnemonic = "WVSH", - /// Description = "Waves, Significant Height", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("WVSHGHT")] - public float? Wvshght { get; set; } + /// + /// RecordId = 25, + /// ItemId = 10, + /// LongMnemonic = "BARPRES", + /// ShortMnemonic = "BARP", + /// Description = "Barometric Pressure", + /// Description2 = "", + /// FPSUnits = "IHG", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BARPRES")] + public float? Barpres { get; set; } - /// - /// RecordId = 25, - /// ItemId = 12, - /// LongMnemonic = "WVMHGHT", - /// ShortMnemonic = "WVMH", - /// Description = "Waves, Maximum Height", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("WVMHGHT")] - public float? Wvmhght { get; set; } + /// + /// RecordId = 25, + /// ItemId = 11, + /// LongMnemonic = "WVSHGHT", + /// ShortMnemonic = "WVSH", + /// Description = "Waves, Significant Height", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("WVSHGHT")] + public float? Wvshght { get; set; } - /// - /// RecordId = 25, - /// ItemId = 13, - /// LongMnemonic = "WVMPER", - /// ShortMnemonic = "WVMP", - /// Description = "Waves, Mean Period", - /// Description2 = "", - /// FPSUnits = "SEC", - /// MetricUnits = "SEC", - /// Length = 2, - /// ValueType = "S" - /// - [Column("WVMPER")] - public short? Wvmper { get; set; } + /// + /// RecordId = 25, + /// ItemId = 12, + /// LongMnemonic = "WVMHGHT", + /// ShortMnemonic = "WVMH", + /// Description = "Waves, Maximum Height", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("WVMHGHT")] + public float? Wvmhght { get; set; } - /// - /// RecordId = 25, - /// ItemId = 14, - /// LongMnemonic = "WVDIR", - /// ShortMnemonic = "WVDI", - /// Description = "Waves, Direction", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("WVDIR")] - public float? Wvdir { get; set; } + /// + /// RecordId = 25, + /// ItemId = 13, + /// LongMnemonic = "WVMPER", + /// ShortMnemonic = "WVMP", + /// Description = "Waves, Mean Period", + /// Description2 = "", + /// FPSUnits = "SEC", + /// MetricUnits = "SEC", + /// Length = 2, + /// ValueType = "S" + /// + [Column("WVMPER")] + public short? Wvmper { get; set; } - /// - /// RecordId = 25, - /// ItemId = 15, - /// LongMnemonic = "SWSHGHT", - /// ShortMnemonic = "SWSH", - /// Description = "Swell, Significant Height", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SWSHGHT")] - public float? Swshght { get; set; } + /// + /// RecordId = 25, + /// ItemId = 14, + /// LongMnemonic = "WVDIR", + /// ShortMnemonic = "WVDI", + /// Description = "Waves, Direction", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("WVDIR")] + public float? Wvdir { get; set; } - /// - /// RecordId = 25, - /// ItemId = 16, - /// LongMnemonic = "SWMHGHT", - /// ShortMnemonic = "SWMH", - /// Description = "Swell, Maximum Height", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SWMHGHT")] - public float? Swmhght { get; set; } + /// + /// RecordId = 25, + /// ItemId = 15, + /// LongMnemonic = "SWSHGHT", + /// ShortMnemonic = "SWSH", + /// Description = "Swell, Significant Height", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SWSHGHT")] + public float? Swshght { get; set; } - /// - /// RecordId = 25, - /// ItemId = 17, - /// LongMnemonic = "SWMPER", - /// ShortMnemonic = "SWMP", - /// Description = "Swell, Mean Period", - /// Description2 = "", - /// FPSUnits = "SEC", - /// MetricUnits = "SEC", - /// Length = 2, - /// ValueType = "S" - /// - [Column("SWMPER")] - public short? Swmper { get; set; } + /// + /// RecordId = 25, + /// ItemId = 16, + /// LongMnemonic = "SWMHGHT", + /// ShortMnemonic = "SWMH", + /// Description = "Swell, Maximum Height", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SWMHGHT")] + public float? Swmhght { get; set; } - /// - /// RecordId = 25, - /// ItemId = 18, - /// LongMnemonic = "SWDIR", - /// ShortMnemonic = "SWDI", - /// Description = "Swell, Direction", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SWDIR")] - public float? Swdir { get; set; } + /// + /// RecordId = 25, + /// ItemId = 17, + /// LongMnemonic = "SWMPER", + /// ShortMnemonic = "SWMP", + /// Description = "Swell, Mean Period", + /// Description2 = "", + /// FPSUnits = "SEC", + /// MetricUnits = "SEC", + /// Length = 2, + /// ValueType = "S" + /// + [Column("SWMPER")] + public short? Swmper { get; set; } - /// - /// RecordId = 25, - /// ItemId = 19, - /// LongMnemonic = "WINDSPD", - /// ShortMnemonic = "WSPD", - /// Description = "Wind Speed ( 1 min )", - /// Description2 = "", - /// FPSUnits = "MPH", - /// MetricUnits = "KPH", - /// Length = 4, - /// ValueType = "F" - /// - [Column("WINDSPD")] - public float? Windspd { get; set; } + /// + /// RecordId = 25, + /// ItemId = 18, + /// LongMnemonic = "SWDIR", + /// ShortMnemonic = "SWDI", + /// Description = "Swell, Direction", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SWDIR")] + public float? Swdir { get; set; } - /// - /// RecordId = 25, - /// ItemId = 20, - /// LongMnemonic = "WINDGUST", - /// ShortMnemonic = "WGST", - /// Description = "Wind Gusts ( 5 sec )", - /// Description2 = "", - /// FPSUnits = "MPH", - /// MetricUnits = "KPH", - /// Length = 4, - /// ValueType = "F" - /// - [Column("WINDGUST")] - public float? Windgust { get; set; } + /// + /// RecordId = 25, + /// ItemId = 19, + /// LongMnemonic = "WINDSPD", + /// ShortMnemonic = "WSPD", + /// Description = "Wind Speed ( 1 min )", + /// Description2 = "", + /// FPSUnits = "MPH", + /// MetricUnits = "KPH", + /// Length = 4, + /// ValueType = "F" + /// + [Column("WINDSPD")] + public float? Windspd { get; set; } - /// - /// RecordId = 25, - /// ItemId = 21, - /// LongMnemonic = "WINDDIR", - /// ShortMnemonic = "WDIR", - /// Description = "Wind Direction", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("WINDDIR")] - public float? Winddir { get; set; } + /// + /// RecordId = 25, + /// ItemId = 20, + /// LongMnemonic = "WINDGUST", + /// ShortMnemonic = "WGST", + /// Description = "Wind Gusts ( 5 sec )", + /// Description2 = "", + /// FPSUnits = "MPH", + /// MetricUnits = "KPH", + /// Length = 4, + /// ValueType = "F" + /// + [Column("WINDGUST")] + public float? Windgust { get; set; } - /// - /// RecordId = 25, - /// ItemId = 22, - /// LongMnemonic = "ANEMHGHT", - /// ShortMnemonic = "ANEM", - /// Description = "Anemometer Height", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ANEMHGHT")] - public float? Anemhght { get; set; } + /// + /// RecordId = 25, + /// ItemId = 21, + /// LongMnemonic = "WINDDIR", + /// ShortMnemonic = "WDIR", + /// Description = "Wind Direction", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("WINDDIR")] + public float? Winddir { get; set; } - /// - /// RecordId = 25, - /// ItemId = 23, - /// LongMnemonic = "CURRSPD", - /// ShortMnemonic = "CSPD", - /// Description = "Current Speed", - /// Description2 = "", - /// FPSUnits = "MPH", - /// MetricUnits = "KPH", - /// Length = 2, - /// ValueType = "S" - /// - [Column("CURRSPD")] - public short? Currspd { get; set; } + /// + /// RecordId = 25, + /// ItemId = 22, + /// LongMnemonic = "ANEMHGHT", + /// ShortMnemonic = "ANEM", + /// Description = "Anemometer Height", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ANEMHGHT")] + public float? Anemhght { get; set; } - /// - /// RecordId = 25, - /// ItemId = 24, - /// LongMnemonic = "CURRDIR", - /// ShortMnemonic = "CDIR", - /// Description = "Current Direction", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("CURRDIR")] - public float? Currdir { get; set; } + /// + /// RecordId = 25, + /// ItemId = 23, + /// LongMnemonic = "CURRSPD", + /// ShortMnemonic = "CSPD", + /// Description = "Current Speed", + /// Description2 = "", + /// FPSUnits = "MPH", + /// MetricUnits = "KPH", + /// Length = 2, + /// ValueType = "S" + /// + [Column("CURRSPD")] + public short? Currspd { get; set; } - /// - /// RecordId = 25, - /// ItemId = 25, - /// LongMnemonic = "DEPTCURR", - /// ShortMnemonic = "DCUR", - /// Description = "Depth current measured", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTCURR")] - public float? Deptcurr { get; set; } + /// + /// RecordId = 25, + /// ItemId = 24, + /// LongMnemonic = "CURRDIR", + /// ShortMnemonic = "CDIR", + /// Description = "Current Direction", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("CURRDIR")] + public float? Currdir { get; set; } - /// - /// RecordId = 25, - /// ItemId = 26, - /// LongMnemonic = "VESMDRFT", - /// ShortMnemonic = "VMD", - /// Description = "Vessel Mean Draft", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("VESMDRFT")] - public float? Vesmdrft { get; set; } + /// + /// RecordId = 25, + /// ItemId = 25, + /// LongMnemonic = "DEPTCURR", + /// ShortMnemonic = "DCUR", + /// Description = "Depth current measured", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTCURR")] + public float? Deptcurr { get; set; } - /// - /// RecordId = 25, - /// ItemId = 27, - /// LongMnemonic = "HEAVSIG", - /// ShortMnemonic = "HVSG", - /// Description = "Heave, Peak-to-Peak (sig)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HEAVSIG")] - public float? Heavsig { get; set; } + /// + /// RecordId = 25, + /// ItemId = 26, + /// LongMnemonic = "VESMDRFT", + /// ShortMnemonic = "VMD", + /// Description = "Vessel Mean Draft", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("VESMDRFT")] + public float? Vesmdrft { get; set; } - /// - /// RecordId = 25, - /// ItemId = 28, - /// LongMnemonic = "HEAVMAX", - /// ShortMnemonic = "HVMX", - /// Description = "Heave, Peak-to-Peak (max)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HEAVMAX")] - public float? Heavmax { get; set; } + /// + /// RecordId = 25, + /// ItemId = 27, + /// LongMnemonic = "HEAVSIG", + /// ShortMnemonic = "HVSG", + /// Description = "Heave, Peak-to-Peak (sig)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HEAVSIG")] + public float? Heavsig { get; set; } - /// - /// RecordId = 25, - /// ItemId = 29, - /// LongMnemonic = "HEAVMPER", - /// ShortMnemonic = "HVMP", - /// Description = "Heave, Mean Period", - /// Description2 = "", - /// FPSUnits = "SEC", - /// MetricUnits = "SEC", - /// Length = 2, - /// ValueType = "S" - /// - [Column("HEAVMPER")] - public short? Heavmper { get; set; } + /// + /// RecordId = 25, + /// ItemId = 28, + /// LongMnemonic = "HEAVMAX", + /// ShortMnemonic = "HVMX", + /// Description = "Heave, Peak-to-Peak (max)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HEAVMAX")] + public float? Heavmax { get; set; } - /// - /// RecordId = 25, - /// ItemId = 30, - /// LongMnemonic = "ROLLSIG", - /// ShortMnemonic = "RLSG", - /// Description = "Roll, Peak-to-Peak (sig)", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ROLLSIG")] - public float? Rollsig { get; set; } + /// + /// RecordId = 25, + /// ItemId = 29, + /// LongMnemonic = "HEAVMPER", + /// ShortMnemonic = "HVMP", + /// Description = "Heave, Mean Period", + /// Description2 = "", + /// FPSUnits = "SEC", + /// MetricUnits = "SEC", + /// Length = 2, + /// ValueType = "S" + /// + [Column("HEAVMPER")] + public short? Heavmper { get; set; } - /// - /// RecordId = 25, - /// ItemId = 31, - /// LongMnemonic = "ROLLMAX", - /// ShortMnemonic = "RLMX", - /// Description = "Roll, Peak-to-Peak (max)", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ROLLMAX")] - public float? Rollmax { get; set; } + /// + /// RecordId = 25, + /// ItemId = 30, + /// LongMnemonic = "ROLLSIG", + /// ShortMnemonic = "RLSG", + /// Description = "Roll, Peak-to-Peak (sig)", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ROLLSIG")] + public float? Rollsig { get; set; } - /// - /// RecordId = 25, - /// ItemId = 32, - /// LongMnemonic = "ROLLMPER", - /// ShortMnemonic = "RLMP", - /// Description = "Roll, Mean Period", - /// Description2 = "", - /// FPSUnits = "SEC", - /// MetricUnits = "SEC", - /// Length = 2, - /// ValueType = "S" - /// - [Column("ROLLMPER")] - public short? Rollmper { get; set; } + /// + /// RecordId = 25, + /// ItemId = 31, + /// LongMnemonic = "ROLLMAX", + /// ShortMnemonic = "RLMX", + /// Description = "Roll, Peak-to-Peak (max)", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ROLLMAX")] + public float? Rollmax { get; set; } - /// - /// RecordId = 25, - /// ItemId = 33, - /// LongMnemonic = "PTCHSIG", - /// ShortMnemonic = "PTSG", - /// Description = "Pitch, Peak-to-Peak (sig)", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PTCHSIG")] - public float? Ptchsig { get; set; } + /// + /// RecordId = 25, + /// ItemId = 32, + /// LongMnemonic = "ROLLMPER", + /// ShortMnemonic = "RLMP", + /// Description = "Roll, Mean Period", + /// Description2 = "", + /// FPSUnits = "SEC", + /// MetricUnits = "SEC", + /// Length = 2, + /// ValueType = "S" + /// + [Column("ROLLMPER")] + public short? Rollmper { get; set; } - /// - /// RecordId = 25, - /// ItemId = 34, - /// LongMnemonic = "PTCHMAX", - /// ShortMnemonic = "PTMX", - /// Description = "Pitch, Peak-to-Peak (max)", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PTCHMAX")] - public float? Ptchmax { get; set; } + /// + /// RecordId = 25, + /// ItemId = 33, + /// LongMnemonic = "PTCHSIG", + /// ShortMnemonic = "PTSG", + /// Description = "Pitch, Peak-to-Peak (sig)", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PTCHSIG")] + public float? Ptchsig { get; set; } - /// - /// RecordId = 25, - /// ItemId = 35, - /// LongMnemonic = "PTCHMPER", - /// ShortMnemonic = "PTMP", - /// Description = "Pitch, Mean Period", - /// Description2 = "", - /// FPSUnits = "SEC", - /// MetricUnits = "SEC", - /// Length = 2, - /// ValueType = "S" - /// - [Column("PTCHMPER")] - public short? Ptchmper { get; set; } + /// + /// RecordId = 25, + /// ItemId = 34, + /// LongMnemonic = "PTCHMAX", + /// ShortMnemonic = "PTMX", + /// Description = "Pitch, Peak-to-Peak (max)", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PTCHMAX")] + public float? Ptchmax { get; set; } - /// - /// RecordId = 25, - /// ItemId = 36, - /// LongMnemonic = "YAWSIG", - /// ShortMnemonic = "YWSG", - /// Description = "Yaw, Peak-to Peak (sig)", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("YAWSIG")] - public float? Yawsig { get; set; } + /// + /// RecordId = 25, + /// ItemId = 35, + /// LongMnemonic = "PTCHMPER", + /// ShortMnemonic = "PTMP", + /// Description = "Pitch, Mean Period", + /// Description2 = "", + /// FPSUnits = "SEC", + /// MetricUnits = "SEC", + /// Length = 2, + /// ValueType = "S" + /// + [Column("PTCHMPER")] + public short? Ptchmper { get; set; } - /// - /// RecordId = 25, - /// ItemId = 37, - /// LongMnemonic = "YAWMAX", - /// ShortMnemonic = "YWMX", - /// Description = "Yaw, Peak-to-Peak (max)", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("YAWMAX")] - public float? Yawmax { get; set; } + /// + /// RecordId = 25, + /// ItemId = 36, + /// LongMnemonic = "YAWSIG", + /// ShortMnemonic = "YWSG", + /// Description = "Yaw, Peak-to Peak (sig)", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("YAWSIG")] + public float? Yawsig { get; set; } - /// - /// RecordId = 25, - /// ItemId = 38, - /// LongMnemonic = "YAWMPER", - /// ShortMnemonic = "YWMP", - /// Description = "Yaw, Mean Period", - /// Description2 = "", - /// FPSUnits = "SEC", - /// MetricUnits = "SEC", - /// Length = 2, - /// ValueType = "S" - /// - [Column("YAWMPER")] - public short? Yawmper { get; set; } + /// + /// RecordId = 25, + /// ItemId = 37, + /// LongMnemonic = "YAWMAX", + /// ShortMnemonic = "YWMX", + /// Description = "Yaw, Peak-to-Peak (max)", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("YAWMAX")] + public float? Yawmax { get; set; } - /// - /// RecordId = 25, - /// ItemId = 39, - /// LongMnemonic = "SURGSIG", - /// ShortMnemonic = "SUSG", - /// Description = "Surge, Peak-to-Peak (sig)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SURGSIG")] - public float? Surgsig { get; set; } + /// + /// RecordId = 25, + /// ItemId = 38, + /// LongMnemonic = "YAWMPER", + /// ShortMnemonic = "YWMP", + /// Description = "Yaw, Mean Period", + /// Description2 = "", + /// FPSUnits = "SEC", + /// MetricUnits = "SEC", + /// Length = 2, + /// ValueType = "S" + /// + [Column("YAWMPER")] + public short? Yawmper { get; set; } - /// - /// RecordId = 25, - /// ItemId = 40, - /// LongMnemonic = "SURGMAX", - /// ShortMnemonic = "SUMX", - /// Description = "Surge, Peak-to-Peak (max)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SURGMAX")] - public float? Surgmax { get; set; } + /// + /// RecordId = 25, + /// ItemId = 39, + /// LongMnemonic = "SURGSIG", + /// ShortMnemonic = "SUSG", + /// Description = "Surge, Peak-to-Peak (sig)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SURGSIG")] + public float? Surgsig { get; set; } - /// - /// RecordId = 25, - /// ItemId = 41, - /// LongMnemonic = "SURGMPER", - /// ShortMnemonic = "SUMP", - /// Description = "Surge, Mean Period", - /// Description2 = "", - /// FPSUnits = "SEC", - /// MetricUnits = "SEC", - /// Length = 2, - /// ValueType = "S" - /// - [Column("SURGMPER")] - public short? Surgmper { get; set; } + /// + /// RecordId = 25, + /// ItemId = 40, + /// LongMnemonic = "SURGMAX", + /// ShortMnemonic = "SUMX", + /// Description = "Surge, Peak-to-Peak (max)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SURGMAX")] + public float? Surgmax { get; set; } - /// - /// RecordId = 25, - /// ItemId = 42, - /// LongMnemonic = "SWAYSIG", - /// ShortMnemonic = "SYSG", - /// Description = "Sway, Peak-to-Peak (sig)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SWAYSIG")] - public float? Swaysig { get; set; } + /// + /// RecordId = 25, + /// ItemId = 41, + /// LongMnemonic = "SURGMPER", + /// ShortMnemonic = "SUMP", + /// Description = "Surge, Mean Period", + /// Description2 = "", + /// FPSUnits = "SEC", + /// MetricUnits = "SEC", + /// Length = 2, + /// ValueType = "S" + /// + [Column("SURGMPER")] + public short? Surgmper { get; set; } - /// - /// RecordId = 25, - /// ItemId = 43, - /// LongMnemonic = "SWAYMAX", - /// ShortMnemonic = "SYMX", - /// Description = "Sway, Peak-to-Peak (max)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SWAYMAX")] - public float? Swaymax { get; set; } + /// + /// RecordId = 25, + /// ItemId = 42, + /// LongMnemonic = "SWAYSIG", + /// ShortMnemonic = "SYSG", + /// Description = "Sway, Peak-to-Peak (sig)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SWAYSIG")] + public float? Swaysig { get; set; } - /// - /// RecordId = 25, - /// ItemId = 44, - /// LongMnemonic = "SWAYMPER", - /// ShortMnemonic = "SYMP", - /// Description = "Sway, Mean Period", - /// Description2 = "", - /// FPSUnits = "SEC", - /// MetricUnits = "SEC", - /// Length = 2, - /// ValueType = "S" - /// - [Column("SWAYMPER")] - public short? Swaymper { get; set; } + /// + /// RecordId = 25, + /// ItemId = 43, + /// LongMnemonic = "SWAYMAX", + /// ShortMnemonic = "SYMX", + /// Description = "Sway, Peak-to-Peak (max)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SWAYMAX")] + public float? Swaymax { get; set; } - /// - /// RecordId = 25, - /// ItemId = 45, - /// LongMnemonic = "TRIM", - /// ShortMnemonic = "TRIM", - /// Description = "Trim", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TRIM")] - public float? Trim { get; set; } + /// + /// RecordId = 25, + /// ItemId = 44, + /// LongMnemonic = "SWAYMPER", + /// ShortMnemonic = "SYMP", + /// Description = "Sway, Mean Period", + /// Description2 = "", + /// FPSUnits = "SEC", + /// MetricUnits = "SEC", + /// Length = 2, + /// ValueType = "S" + /// + [Column("SWAYMPER")] + public short? Swaymper { get; set; } - /// - /// RecordId = 25, - /// ItemId = 46, - /// LongMnemonic = "HEEL", - /// ShortMnemonic = "HEEL", - /// Description = "Heel", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HEEL")] - public float? Heel { get; set; } + /// + /// RecordId = 25, + /// ItemId = 45, + /// LongMnemonic = "TRIM", + /// ShortMnemonic = "TRIM", + /// Description = "Trim", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TRIM")] + public float? Trim { get; set; } - /// - /// RecordId = 25, - /// ItemId = 47, - /// LongMnemonic = "WSSCOMM", - /// ShortMnemonic = "WSCM", - /// Description = "Weather Comments", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 128, - /// ValueType = "A" - /// - [Column("WSSCOMM")] - public string? Wsscomm { get; set; } + /// + /// RecordId = 25, + /// ItemId = 46, + /// LongMnemonic = "HEEL", + /// ShortMnemonic = "HEEL", + /// Description = "Heel", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HEEL")] + public float? Heel { get; set; } - /// - /// RecordId = 25, - /// ItemId = 48, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 25, + /// ItemId = 47, + /// LongMnemonic = "WSSCOMM", + /// ShortMnemonic = "WSCM", + /// Description = "Weather Comments", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 128, + /// ValueType = "A" + /// + [Column("WSSCOMM")] + public string? Wsscomm { get; set; } - /// - /// RecordId = 25, - /// ItemId = 49, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 25, + /// ItemId = 48, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 25, - /// ItemId = 50, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 25, + /// ItemId = 49, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 25, - /// ItemId = 51, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 25, + /// ItemId = 50, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 25, - /// ItemId = 52, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 25, + /// ItemId = 51, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 25, + /// ItemId = 52, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record3.cs b/AsbCloudDb/Model/WITS/Record3.cs index 4f6bd7f9..bfc69538 100644 --- a/AsbCloudDb/Model/WITS/Record3.cs +++ b/AsbCloudDb/Model/WITS/Record3.cs @@ -1,300 +1,300 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Drilling - Connections - /// Description: Data gathered at drilling connections - /// Description2: - /// - [Table("t_telemetry_wits_3")] - public class Record3: RecordBase { - - /// - /// RecordId = 3, - /// ItemId = 8, - /// LongMnemonic = "DEPTCONM", - /// ShortMnemonic = "DCNM", - /// Description = "Depth Connection (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTCONM")] - public float? Deptconm { get; set; } + /// + /// Record name: Drilling - Connections + /// Description: Data gathered at drilling connections + /// Description2: + /// + [Table("t_telemetry_wits_3")] + public class Record3 : RecordBase + { - /// - /// RecordId = 3, - /// ItemId = 9, - /// LongMnemonic = "DEPTCONV", - /// ShortMnemonic = "DCNV", - /// Description = "Depth Connection (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTCONV")] - public float? Deptconv { get; set; } + /// + /// RecordId = 3, + /// ItemId = 8, + /// LongMnemonic = "DEPTCONM", + /// ShortMnemonic = "DCNM", + /// Description = "Depth Connection (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTCONM")] + public float? Deptconm { get; set; } - /// - /// RecordId = 3, - /// ItemId = 10, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "Depth Hole (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } + /// + /// RecordId = 3, + /// ItemId = 9, + /// LongMnemonic = "DEPTCONV", + /// ShortMnemonic = "DCNV", + /// Description = "Depth Connection (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTCONV")] + public float? Deptconv { get; set; } - /// - /// RecordId = 3, - /// ItemId = 11, - /// LongMnemonic = "DEPTVERT", - /// ShortMnemonic = "DVER", - /// Description = "Depth Hole (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTVERT")] - public float? Deptvert { get; set; } + /// + /// RecordId = 3, + /// ItemId = 10, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "Depth Hole (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } - /// - /// RecordId = 3, - /// ItemId = 12, - /// LongMnemonic = "ETIMEBTS", - /// ShortMnemonic = "ETBS", - /// Description = "Elapsed Time Bottom-Slips", - /// Description2 = "", - /// FPSUnits = "SEC", - /// MetricUnits = "SEC", - /// Length = 2, - /// ValueType = "S" - /// - [Column("ETIMEBTS")] - public short? Etimebts { get; set; } + /// + /// RecordId = 3, + /// ItemId = 11, + /// LongMnemonic = "DEPTVERT", + /// ShortMnemonic = "DVER", + /// Description = "Depth Hole (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTVERT")] + public float? Deptvert { get; set; } - /// - /// RecordId = 3, - /// ItemId = 13, - /// LongMnemonic = "ETIMESLP", - /// ShortMnemonic = "ETSL", - /// Description = "Elapsed Time In-Slips", - /// Description2 = "", - /// FPSUnits = "SEC", - /// MetricUnits = "SEC", - /// Length = 2, - /// ValueType = "S" - /// - [Column("ETIMESLP")] - public short? Etimeslp { get; set; } + /// + /// RecordId = 3, + /// ItemId = 12, + /// LongMnemonic = "ETIMEBTS", + /// ShortMnemonic = "ETBS", + /// Description = "Elapsed Time Bottom-Slips", + /// Description2 = "", + /// FPSUnits = "SEC", + /// MetricUnits = "SEC", + /// Length = 2, + /// ValueType = "S" + /// + [Column("ETIMEBTS")] + public short? Etimebts { get; set; } - /// - /// RecordId = 3, - /// ItemId = 14, - /// LongMnemonic = "ETIMESTB", - /// ShortMnemonic = "ETSB", - /// Description = "Elapsed Time Slips-Bottom", - /// Description2 = "", - /// FPSUnits = "SEC", - /// MetricUnits = "SEC", - /// Length = 2, - /// ValueType = "S" - /// - [Column("ETIMESTB")] - public short? Etimestb { get; set; } + /// + /// RecordId = 3, + /// ItemId = 13, + /// LongMnemonic = "ETIMESLP", + /// ShortMnemonic = "ETSL", + /// Description = "Elapsed Time In-Slips", + /// Description2 = "", + /// FPSUnits = "SEC", + /// MetricUnits = "SEC", + /// Length = 2, + /// ValueType = "S" + /// + [Column("ETIMESLP")] + public short? Etimeslp { get; set; } - /// - /// RecordId = 3, - /// ItemId = 15, - /// LongMnemonic = "ETIMEPOF", - /// ShortMnemonic = "ETPO", - /// Description = "Elapsed Time Pumps-Off", - /// Description2 = "", - /// FPSUnits = "SEC", - /// MetricUnits = "SEC", - /// Length = 2, - /// ValueType = "S" - /// - [Column("ETIMEPOF")] - public short? Etimepof { get; set; } + /// + /// RecordId = 3, + /// ItemId = 14, + /// LongMnemonic = "ETIMESTB", + /// ShortMnemonic = "ETSB", + /// Description = "Elapsed Time Slips-Bottom", + /// Description2 = "", + /// FPSUnits = "SEC", + /// MetricUnits = "SEC", + /// Length = 2, + /// ValueType = "S" + /// + [Column("ETIMESTB")] + public short? Etimestb { get; set; } - /// - /// RecordId = 3, - /// ItemId = 16, - /// LongMnemonic = "RSUX", - /// ShortMnemonic = "RSUX", - /// Description = "Running Speed - up (max)", - /// Description2 = "", - /// FPSUnits = "FPM", - /// MetricUnits = "M/S", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RSUX")] - public float? Rsux { get; set; } + /// + /// RecordId = 3, + /// ItemId = 15, + /// LongMnemonic = "ETIMEPOF", + /// ShortMnemonic = "ETPO", + /// Description = "Elapsed Time Pumps-Off", + /// Description2 = "", + /// FPSUnits = "SEC", + /// MetricUnits = "SEC", + /// Length = 2, + /// ValueType = "S" + /// + [Column("ETIMEPOF")] + public short? Etimepof { get; set; } - /// - /// RecordId = 3, - /// ItemId = 17, - /// LongMnemonic = "RSDX", - /// ShortMnemonic = "RSDX", - /// Description = "Running Speed - down (max)", - /// Description2 = "", - /// FPSUnits = "FPM", - /// MetricUnits = "M/S", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RSDX")] - public float? Rsdx { get; set; } + /// + /// RecordId = 3, + /// ItemId = 16, + /// LongMnemonic = "RSUX", + /// ShortMnemonic = "RSUX", + /// Description = "Running Speed - up (max)", + /// Description2 = "", + /// FPSUnits = "FPM", + /// MetricUnits = "M/S", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RSUX")] + public float? Rsux { get; set; } - /// - /// RecordId = 3, - /// ItemId = 18, - /// LongMnemonic = "HKLX", - /// ShortMnemonic = "HKLX", - /// Description = "Hookload (max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HKLX")] - public float? Hklx { get; set; } + /// + /// RecordId = 3, + /// ItemId = 17, + /// LongMnemonic = "RSDX", + /// ShortMnemonic = "RSDX", + /// Description = "Running Speed - down (max)", + /// Description2 = "", + /// FPSUnits = "FPM", + /// MetricUnits = "M/S", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RSDX")] + public float? Rsdx { get; set; } - /// - /// RecordId = 3, - /// ItemId = 19, - /// LongMnemonic = "STRGWT", - /// ShortMnemonic = "STWT", - /// Description = "String Weight (rot,avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("STRGWT")] - public float? Strgwt { get; set; } + /// + /// RecordId = 3, + /// ItemId = 18, + /// LongMnemonic = "HKLX", + /// ShortMnemonic = "HKLX", + /// Description = "Hookload (max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HKLX")] + public float? Hklx { get; set; } - /// - /// RecordId = 3, - /// ItemId = 20, - /// LongMnemonic = "TORQMUX", - /// ShortMnemonic = "TQMX", - /// Description = "Torque - Make Up (max)", - /// Description2 = "", - /// FPSUnits = "KFLB", - /// MetricUnits = "KNM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TORQMUX")] - public float? Torqmux { get; set; } + /// + /// RecordId = 3, + /// ItemId = 19, + /// LongMnemonic = "STRGWT", + /// ShortMnemonic = "STWT", + /// Description = "String Weight (rot,avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("STRGWT")] + public float? Strgwt { get; set; } - /// - /// RecordId = 3, - /// ItemId = 21, - /// LongMnemonic = "TORQBOX", - /// ShortMnemonic = "TQBX", - /// Description = "Torque - Breakout (max)", - /// Description2 = "", - /// FPSUnits = "KFLB", - /// MetricUnits = "KNM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TORQBOX")] - public float? Torqbox { get; set; } + /// + /// RecordId = 3, + /// ItemId = 20, + /// LongMnemonic = "TORQMUX", + /// ShortMnemonic = "TQMX", + /// Description = "Torque - Make Up (max)", + /// Description2 = "", + /// FPSUnits = "KFLB", + /// MetricUnits = "KNM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TORQMUX")] + public float? Torqmux { get; set; } - /// - /// RecordId = 3, - /// ItemId = 22, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 3, + /// ItemId = 21, + /// LongMnemonic = "TORQBOX", + /// ShortMnemonic = "TQBX", + /// Description = "Torque - Breakout (max)", + /// Description2 = "", + /// FPSUnits = "KFLB", + /// MetricUnits = "KNM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TORQBOX")] + public float? Torqbox { get; set; } - /// - /// RecordId = 3, - /// ItemId = 23, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 3, + /// ItemId = 22, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 3, - /// ItemId = 24, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 3, + /// ItemId = 23, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 3, - /// ItemId = 25, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 3, + /// ItemId = 24, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 3, - /// ItemId = 26, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 3, + /// ItemId = 25, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 3, + /// ItemId = 26, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record4.cs b/AsbCloudDb/Model/WITS/Record4.cs index 49bc7215..37e43ffc 100644 --- a/AsbCloudDb/Model/WITS/Record4.cs +++ b/AsbCloudDb/Model/WITS/Record4.cs @@ -1,495 +1,495 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Hydraulics - /// Description: Hydraulics data gathered while circulating - /// Description2: - /// - [Table("t_telemetry_wits_4")] - public class Record4: RecordBase { - - /// - /// RecordId = 4, - /// ItemId = 8, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "Depth Hole (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } + /// + /// Record name: Hydraulics + /// Description: Hydraulics data gathered while circulating + /// Description2: + /// + [Table("t_telemetry_wits_4")] + public class Record4 : RecordBase + { - /// - /// RecordId = 4, - /// ItemId = 9, - /// LongMnemonic = "DEPTVERT", - /// ShortMnemonic = "DVER", - /// Description = "Depth Hole (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTVERT")] - public float? Deptvert { get; set; } + /// + /// RecordId = 4, + /// ItemId = 8, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "Depth Hole (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } - /// - /// RecordId = 4, - /// ItemId = 10, - /// LongMnemonic = "DEPTBITM", - /// ShortMnemonic = "DBTM", - /// Description = "Depth Bit (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTBITM")] - public float? Deptbitm { get; set; } + /// + /// RecordId = 4, + /// ItemId = 9, + /// LongMnemonic = "DEPTVERT", + /// ShortMnemonic = "DVER", + /// Description = "Depth Hole (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTVERT")] + public float? Deptvert { get; set; } - /// - /// RecordId = 4, - /// ItemId = 11, - /// LongMnemonic = "DEPTBITV", - /// ShortMnemonic = "DBTV", - /// Description = "Depth Bit (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTBITV")] - public float? Deptbitv { get; set; } + /// + /// RecordId = 4, + /// ItemId = 10, + /// LongMnemonic = "DEPTBITM", + /// ShortMnemonic = "DBTM", + /// Description = "Depth Bit (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTBITM")] + public float? Deptbitm { get; set; } - /// - /// RecordId = 4, - /// ItemId = 12, - /// LongMnemonic = "MDIA", - /// ShortMnemonic = "MDIA", - /// Description = "Mud Density In (avg)", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MDIA")] - public float? Mdia { get; set; } + /// + /// RecordId = 4, + /// ItemId = 11, + /// LongMnemonic = "DEPTBITV", + /// ShortMnemonic = "DBTV", + /// Description = "Depth Bit (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTBITV")] + public float? Deptbitv { get; set; } - /// - /// RecordId = 4, - /// ItemId = 13, - /// LongMnemonic = "MFIA", - /// ShortMnemonic = "MFIA", - /// Description = "Mud Flow In (avg)", - /// Description2 = "", - /// FPSUnits = "GPM", - /// MetricUnits = "L/M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MFIA")] - public float? Mfia { get; set; } + /// + /// RecordId = 4, + /// ItemId = 12, + /// LongMnemonic = "MDIA", + /// ShortMnemonic = "MDIA", + /// Description = "Mud Density In (avg)", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MDIA")] + public float? Mdia { get; set; } - /// - /// RecordId = 4, - /// ItemId = 14, - /// LongMnemonic = "SPPA", - /// ShortMnemonic = "SPPA", - /// Description = "Standpipe Pressure (avg)", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPPA")] - public float? Sppa { get; set; } + /// + /// RecordId = 4, + /// ItemId = 13, + /// LongMnemonic = "MFIA", + /// ShortMnemonic = "MFIA", + /// Description = "Mud Flow In (avg)", + /// Description2 = "", + /// FPSUnits = "GPM", + /// MetricUnits = "L/M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MFIA")] + public float? Mfia { get; set; } - /// - /// RecordId = 4, - /// ItemId = 15, - /// LongMnemonic = "PV", - /// ShortMnemonic = "PV", - /// Description = "Plastic Viscosity", - /// Description2 = "", - /// FPSUnits = "CP", - /// MetricUnits = "CP", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PV")] - public float? Pv { get; set; } + /// + /// RecordId = 4, + /// ItemId = 14, + /// LongMnemonic = "SPPA", + /// ShortMnemonic = "SPPA", + /// Description = "Standpipe Pressure (avg)", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPPA")] + public float? Sppa { get; set; } - /// - /// RecordId = 4, - /// ItemId = 16, - /// LongMnemonic = "YP", - /// ShortMnemonic = "YP", - /// Description = "Yield Point", - /// Description2 = "", - /// FPSUnits = "PHSF", - /// MetricUnits = "PA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("YP")] - public float? Yp { get; set; } + /// + /// RecordId = 4, + /// ItemId = 15, + /// LongMnemonic = "PV", + /// ShortMnemonic = "PV", + /// Description = "Plastic Viscosity", + /// Description2 = "", + /// FPSUnits = "CP", + /// MetricUnits = "CP", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PV")] + public float? Pv { get; set; } - /// - /// RecordId = 4, - /// ItemId = 17, - /// LongMnemonic = "PLB", - /// ShortMnemonic = "PLB", - /// Description = "Pressure Loss - bit", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PLB")] - public float? Plb { get; set; } + /// + /// RecordId = 4, + /// ItemId = 16, + /// LongMnemonic = "YP", + /// ShortMnemonic = "YP", + /// Description = "Yield Point", + /// Description2 = "", + /// FPSUnits = "PHSF", + /// MetricUnits = "PA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("YP")] + public float? Yp { get; set; } - /// - /// RecordId = 4, - /// ItemId = 18, - /// LongMnemonic = "PLDS", - /// ShortMnemonic = "PLDS", - /// Description = "Pressure Loss - string", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PLDS")] - public float? Plds { get; set; } + /// + /// RecordId = 4, + /// ItemId = 17, + /// LongMnemonic = "PLB", + /// ShortMnemonic = "PLB", + /// Description = "Pressure Loss - bit", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PLB")] + public float? Plb { get; set; } - /// - /// RecordId = 4, - /// ItemId = 19, - /// LongMnemonic = "PLA", - /// ShortMnemonic = "PLA", - /// Description = "Pressure Loss - annulus", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PLA")] - public float? Pla { get; set; } + /// + /// RecordId = 4, + /// ItemId = 18, + /// LongMnemonic = "PLDS", + /// ShortMnemonic = "PLDS", + /// Description = "Pressure Loss - string", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PLDS")] + public float? Plds { get; set; } - /// - /// RecordId = 4, - /// ItemId = 20, - /// LongMnemonic = "PLSU", - /// ShortMnemonic = "PLSU", - /// Description = "Pressure Loss - surface", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PLSU")] - public float? Plsu { get; set; } + /// + /// RecordId = 4, + /// ItemId = 19, + /// LongMnemonic = "PLA", + /// ShortMnemonic = "PLA", + /// Description = "Pressure Loss - annulus", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PLA")] + public float? Pla { get; set; } - /// - /// RecordId = 4, - /// ItemId = 21, - /// LongMnemonic = "PLMM", - /// ShortMnemonic = "PLMM", - /// Description = "Pressure Loss - mud motor", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PLMM")] - public float? Plmm { get; set; } + /// + /// RecordId = 4, + /// ItemId = 20, + /// LongMnemonic = "PLSU", + /// ShortMnemonic = "PLSU", + /// Description = "Pressure Loss - surface", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PLSU")] + public float? Plsu { get; set; } - /// - /// RecordId = 4, - /// ItemId = 22, - /// LongMnemonic = "PLMWD", - /// ShortMnemonic = "PLMW", - /// Description = "Pressure Loss - MWD tool", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PLMWD")] - public float? Plmwd { get; set; } + /// + /// RecordId = 4, + /// ItemId = 21, + /// LongMnemonic = "PLMM", + /// ShortMnemonic = "PLMM", + /// Description = "Pressure Loss - mud motor", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PLMM")] + public float? Plmm { get; set; } - /// - /// RecordId = 4, - /// ItemId = 23, - /// LongMnemonic = "PLPB", - /// ShortMnemonic = "PLPB", - /// Description = "Pressure Loss - % at bit", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PLPB")] - public float? Plpb { get; set; } + /// + /// RecordId = 4, + /// ItemId = 22, + /// LongMnemonic = "PLMWD", + /// ShortMnemonic = "PLMW", + /// Description = "Pressure Loss - MWD tool", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PLMWD")] + public float? Plmwd { get; set; } - /// - /// RecordId = 4, - /// ItemId = 24, - /// LongMnemonic = "BHP", - /// ShortMnemonic = "BHP", - /// Description = "Bit Hydraulic Power", - /// Description2 = "", - /// FPSUnits = "HP", - /// MetricUnits = "KW", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BHP")] - public float? Bhp { get; set; } + /// + /// RecordId = 4, + /// ItemId = 23, + /// LongMnemonic = "PLPB", + /// ShortMnemonic = "PLPB", + /// Description = "Pressure Loss - % at bit", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PLPB")] + public float? Plpb { get; set; } - /// - /// RecordId = 4, - /// ItemId = 25, - /// LongMnemonic = "BHPA", - /// ShortMnemonic = "BHPA", - /// Description = "Bit Hydraulic Power/Area", - /// Description2 = "", - /// FPSUnits = "HSI", - /// MetricUnits = "KWM2", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BHPA")] - public float? Bhpa { get; set; } + /// + /// RecordId = 4, + /// ItemId = 24, + /// LongMnemonic = "BHP", + /// ShortMnemonic = "BHP", + /// Description = "Bit Hydraulic Power", + /// Description2 = "", + /// FPSUnits = "HP", + /// MetricUnits = "KW", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BHP")] + public float? Bhp { get; set; } - /// - /// RecordId = 4, - /// ItemId = 26, - /// LongMnemonic = "JIF", - /// ShortMnemonic = "JIF", - /// Description = "Jet Impact Force", - /// Description2 = "", - /// FPSUnits = "LB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("JIF")] - public float? Jif { get; set; } + /// + /// RecordId = 4, + /// ItemId = 25, + /// LongMnemonic = "BHPA", + /// ShortMnemonic = "BHPA", + /// Description = "Bit Hydraulic Power/Area", + /// Description2 = "", + /// FPSUnits = "HSI", + /// MetricUnits = "KWM2", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BHPA")] + public float? Bhpa { get; set; } - /// - /// RecordId = 4, - /// ItemId = 27, - /// LongMnemonic = "JV", - /// ShortMnemonic = "JV", - /// Description = "Jet Velocity", - /// Description2 = "", - /// FPSUnits = "FPS", - /// MetricUnits = "M/S", - /// Length = 4, - /// ValueType = "F" - /// - [Column("JV")] - public float? Jv { get; set; } + /// + /// RecordId = 4, + /// ItemId = 26, + /// LongMnemonic = "JIF", + /// ShortMnemonic = "JIF", + /// Description = "Jet Impact Force", + /// Description2 = "", + /// FPSUnits = "LB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("JIF")] + public float? Jif { get; set; } - /// - /// RecordId = 4, - /// ItemId = 28, - /// LongMnemonic = "AVELN", - /// ShortMnemonic = "AVN", - /// Description = "Annular Velocity (min)", - /// Description2 = "", - /// FPSUnits = "FPM", - /// MetricUnits = "M/S", - /// Length = 4, - /// ValueType = "F" - /// - [Column("AVELN")] - public float? Aveln { get; set; } + /// + /// RecordId = 4, + /// ItemId = 27, + /// LongMnemonic = "JV", + /// ShortMnemonic = "JV", + /// Description = "Jet Velocity", + /// Description2 = "", + /// FPSUnits = "FPS", + /// MetricUnits = "M/S", + /// Length = 4, + /// ValueType = "F" + /// + [Column("JV")] + public float? Jv { get; set; } - /// - /// RecordId = 4, - /// ItemId = 29, - /// LongMnemonic = "AVELX", - /// ShortMnemonic = "AVX", - /// Description = "Annular Velocity (max)", - /// Description2 = "", - /// FPSUnits = "FPM", - /// MetricUnits = "M/S", - /// Length = 4, - /// ValueType = "F" - /// - [Column("AVELX")] - public float? Avelx { get; set; } + /// + /// RecordId = 4, + /// ItemId = 28, + /// LongMnemonic = "AVELN", + /// ShortMnemonic = "AVN", + /// Description = "Annular Velocity (min)", + /// Description2 = "", + /// FPSUnits = "FPM", + /// MetricUnits = "M/S", + /// Length = 4, + /// ValueType = "F" + /// + [Column("AVELN")] + public float? Aveln { get; set; } - /// - /// RecordId = 4, - /// ItemId = 30, - /// LongMnemonic = "ECDTD", - /// ShortMnemonic = "ECDT", - /// Description = "ECD at Total Depth", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ECDTD")] - public float? Ecdtd { get; set; } + /// + /// RecordId = 4, + /// ItemId = 29, + /// LongMnemonic = "AVELX", + /// ShortMnemonic = "AVX", + /// Description = "Annular Velocity (max)", + /// Description2 = "", + /// FPSUnits = "FPM", + /// MetricUnits = "M/S", + /// Length = 4, + /// ValueType = "F" + /// + [Column("AVELX")] + public float? Avelx { get; set; } - /// - /// RecordId = 4, - /// ItemId = 31, - /// LongMnemonic = "ECDBIT", - /// ShortMnemonic = "ECDB", - /// Description = "ECD at Bit", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ECDBIT")] - public float? Ecdbit { get; set; } + /// + /// RecordId = 4, + /// ItemId = 30, + /// LongMnemonic = "ECDTD", + /// ShortMnemonic = "ECDT", + /// Description = "ECD at Total Depth", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ECDTD")] + public float? Ecdtd { get; set; } - /// - /// RecordId = 4, - /// ItemId = 32, - /// LongMnemonic = "ECDCSG", - /// ShortMnemonic = "ECDC", - /// Description = "ECD at Casing Shoe", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ECDCSG")] - public float? Ecdcsg { get; set; } + /// + /// RecordId = 4, + /// ItemId = 31, + /// LongMnemonic = "ECDBIT", + /// ShortMnemonic = "ECDB", + /// Description = "ECD at Bit", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ECDBIT")] + public float? Ecdbit { get; set; } - /// - /// RecordId = 4, - /// ItemId = 33, - /// LongMnemonic = "PHP", - /// ShortMnemonic = "PHP", - /// Description = "Pump Hydraulic Power", - /// Description2 = "", - /// FPSUnits = "HP", - /// MetricUnits = "KW", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PHP")] - public float? Php { get; set; } + /// + /// RecordId = 4, + /// ItemId = 32, + /// LongMnemonic = "ECDCSG", + /// ShortMnemonic = "ECDC", + /// Description = "ECD at Casing Shoe", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ECDCSG")] + public float? Ecdcsg { get; set; } - /// - /// RecordId = 4, - /// ItemId = 34, - /// LongMnemonic = "PLCO", - /// ShortMnemonic = "PLCO", - /// Description = "Calc/Obs Press.Loss ratio", - /// Description2 = "", - /// FPSUnits = "%", - /// MetricUnits = "%", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PLCO")] - public float? Plco { get; set; } + /// + /// RecordId = 4, + /// ItemId = 33, + /// LongMnemonic = "PHP", + /// ShortMnemonic = "PHP", + /// Description = "Pump Hydraulic Power", + /// Description2 = "", + /// FPSUnits = "HP", + /// MetricUnits = "KW", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PHP")] + public float? Php { get; set; } - /// - /// RecordId = 4, - /// ItemId = 35, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 4, + /// ItemId = 34, + /// LongMnemonic = "PLCO", + /// ShortMnemonic = "PLCO", + /// Description = "Calc/Obs Press.Loss ratio", + /// Description2 = "", + /// FPSUnits = "%", + /// MetricUnits = "%", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PLCO")] + public float? Plco { get; set; } - /// - /// RecordId = 4, - /// ItemId = 36, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 4, + /// ItemId = 35, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 4, - /// ItemId = 37, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 4, + /// ItemId = 36, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 4, - /// ItemId = 38, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 4, + /// ItemId = 37, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 4, - /// ItemId = 39, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 4, + /// ItemId = 38, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 4, + /// ItemId = 39, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record5.cs b/AsbCloudDb/Model/WITS/Record5.cs index 85a19e82..ab7d773e 100644 --- a/AsbCloudDb/Model/WITS/Record5.cs +++ b/AsbCloudDb/Model/WITS/Record5.cs @@ -1,255 +1,255 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Trip - Time - /// Description: Tripping data gathered while running in/pulling out - /// Description2: - /// - [Table("t_telemetry_wits_5")] - public class Record5: RecordBase { - - /// - /// RecordId = 5, - /// ItemId = 8, - /// LongMnemonic = "DEPTBITM", - /// ShortMnemonic = "DBTM", - /// Description = "Depth Bit (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTBITM")] - public float? Deptbitm { get; set; } + /// + /// Record name: Trip - Time + /// Description: Tripping data gathered while running in/pulling out + /// Description2: + /// + [Table("t_telemetry_wits_5")] + public class Record5 : RecordBase + { - /// - /// RecordId = 5, - /// ItemId = 9, - /// LongMnemonic = "DEPTBITV", - /// ShortMnemonic = "DBTV", - /// Description = "Depth Bit (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTBITV")] - public float? Deptbitv { get; set; } + /// + /// RecordId = 5, + /// ItemId = 8, + /// LongMnemonic = "DEPTBITM", + /// ShortMnemonic = "DBTM", + /// Description = "Depth Bit (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTBITM")] + public float? Deptbitm { get; set; } - /// - /// RecordId = 5, - /// ItemId = 10, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "Depth Hole (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } + /// + /// RecordId = 5, + /// ItemId = 9, + /// LongMnemonic = "DEPTBITV", + /// ShortMnemonic = "DBTV", + /// Description = "Depth Bit (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTBITV")] + public float? Deptbitv { get; set; } - /// - /// RecordId = 5, - /// ItemId = 11, - /// LongMnemonic = "DEPTVERT", - /// ShortMnemonic = "DVER", - /// Description = "Depth Hole (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTVERT")] - public float? Deptvert { get; set; } + /// + /// RecordId = 5, + /// ItemId = 10, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "Depth Hole (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } - /// - /// RecordId = 5, - /// ItemId = 12, - /// LongMnemonic = "TRIPNUM", - /// ShortMnemonic = "TNUM", - /// Description = "Trip Number", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("TRIPNUM")] - public short? Tripnum { get; set; } + /// + /// RecordId = 5, + /// ItemId = 11, + /// LongMnemonic = "DEPTVERT", + /// ShortMnemonic = "DVER", + /// Description = "Depth Hole (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTVERT")] + public float? Deptvert { get; set; } - /// - /// RecordId = 5, - /// ItemId = 13, - /// LongMnemonic = "STATUSIS", - /// ShortMnemonic = "STIS", - /// Description = "In-Slips Status", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "A" - /// - [Column("STATUSIS")] - public string? Statusis { get; set; } + /// + /// RecordId = 5, + /// ItemId = 12, + /// LongMnemonic = "TRIPNUM", + /// ShortMnemonic = "TNUM", + /// Description = "Trip Number", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("TRIPNUM")] + public short? Tripnum { get; set; } - /// - /// RecordId = 5, - /// ItemId = 14, - /// LongMnemonic = "HKLA", - /// ShortMnemonic = "HKLA", - /// Description = "Hookload (avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HKLA")] - public float? Hkla { get; set; } + /// + /// RecordId = 5, + /// ItemId = 13, + /// LongMnemonic = "STATUSIS", + /// ShortMnemonic = "STIS", + /// Description = "In-Slips Status", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "A" + /// + [Column("STATUSIS")] + public string? Statusis { get; set; } - /// - /// RecordId = 5, - /// ItemId = 15, - /// LongMnemonic = "BLKPOS", - /// ShortMnemonic = "BPOS", - /// Description = "Block Position", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("BLKPOS")] - public float? Blkpos { get; set; } + /// + /// RecordId = 5, + /// ItemId = 14, + /// LongMnemonic = "HKLA", + /// ShortMnemonic = "HKLA", + /// Description = "Hookload (avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HKLA")] + public float? Hkla { get; set; } - /// - /// RecordId = 5, - /// ItemId = 16, - /// LongMnemonic = "RSUX", - /// ShortMnemonic = "RSUX", - /// Description = "Running Speed - up (max)", - /// Description2 = "", - /// FPSUnits = "FPM", - /// MetricUnits = "M/S", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RSUX")] - public float? Rsux { get; set; } + /// + /// RecordId = 5, + /// ItemId = 15, + /// LongMnemonic = "BLKPOS", + /// ShortMnemonic = "BPOS", + /// Description = "Block Position", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("BLKPOS")] + public float? Blkpos { get; set; } - /// - /// RecordId = 5, - /// ItemId = 17, - /// LongMnemonic = "RSDX", - /// ShortMnemonic = "RSDX", - /// Description = "Running Speed - down (max)", - /// Description2 = "", - /// FPSUnits = "FPM", - /// MetricUnits = "M/S", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RSDX")] - public float? Rsdx { get; set; } + /// + /// RecordId = 5, + /// ItemId = 16, + /// LongMnemonic = "RSUX", + /// ShortMnemonic = "RSUX", + /// Description = "Running Speed - up (max)", + /// Description2 = "", + /// FPSUnits = "FPM", + /// MetricUnits = "M/S", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RSUX")] + public float? Rsux { get; set; } - /// - /// RecordId = 5, - /// ItemId = 18, - /// LongMnemonic = "FVOLOC", - /// ShortMnemonic = "FVOC", - /// Description = "Fill/Gain Volume Obs.(cum)", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("FVOLOC")] - public float? Fvoloc { get; set; } + /// + /// RecordId = 5, + /// ItemId = 17, + /// LongMnemonic = "RSDX", + /// ShortMnemonic = "RSDX", + /// Description = "Running Speed - down (max)", + /// Description2 = "", + /// FPSUnits = "FPM", + /// MetricUnits = "M/S", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RSDX")] + public float? Rsdx { get; set; } - /// - /// RecordId = 5, - /// ItemId = 19, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 5, + /// ItemId = 18, + /// LongMnemonic = "FVOLOC", + /// ShortMnemonic = "FVOC", + /// Description = "Fill/Gain Volume Obs.(cum)", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("FVOLOC")] + public float? Fvoloc { get; set; } - /// - /// RecordId = 5, - /// ItemId = 20, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 5, + /// ItemId = 19, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 5, - /// ItemId = 21, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 5, + /// ItemId = 20, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 5, - /// ItemId = 22, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 5, + /// ItemId = 21, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 5, - /// ItemId = 23, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 5, + /// ItemId = 22, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 5, + /// ItemId = 23, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record50.cs b/AsbCloudDb/Model/WITS/Record50.cs index f6a32b53..9077d3e9 100644 --- a/AsbCloudDb/Model/WITS/Record50.cs +++ b/AsbCloudDb/Model/WITS/Record50.cs @@ -1,300 +1,300 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Резистивиметр MCR - /// Description: SibReciver. Резистивиметр MCR - /// Description2: - /// - [Table("t_telemetry_wits_50")] - public class Record50: RecordBase { - - /// - /// RecordId = 50, - /// ItemId = 8, - /// LongMnemonic = "DEPTBITM", - /// ShortMnemonic = "DBTM", - /// Description = "SibReceiver custom. Положение долота", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTBITM")] - public float? Deptbitm { get; set; } + /// + /// Record name: Резистивиметр MCR + /// Description: SibReciver. Резистивиметр MCR + /// Description2: + /// + [Table("t_telemetry_wits_50")] + public class Record50 : RecordBase + { - /// - /// RecordId = 50, - /// ItemId = 10, - /// LongMnemonic = "DEPTMEAS_MCRSTAT", - /// ShortMnemonic = "DEPTMEAS_MCRSTAT", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS_MCRSTAT")] - public float? DeptmeasMcrstat { get; set; } + /// + /// RecordId = 50, + /// ItemId = 8, + /// LongMnemonic = "DEPTBITM", + /// ShortMnemonic = "DBTM", + /// Description = "SibReceiver custom. Положение долота", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTBITM")] + public float? Deptbitm { get; set; } - /// - /// RecordId = 50, - /// ItemId = 11, - /// LongMnemonic = "MCRSTAT", - /// ShortMnemonic = "MCRSTAT", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MCRSTAT")] - public float? Mcrstat { get; set; } + /// + /// RecordId = 50, + /// ItemId = 10, + /// LongMnemonic = "DEPTMEAS_MCRSTAT", + /// ShortMnemonic = "DEPTMEAS_MCRSTAT", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS_MCRSTAT")] + public float? DeptmeasMcrstat { get; set; } - /// - /// RecordId = 50, - /// ItemId = 12, - /// LongMnemonic = "DEPTMEAS_SLVL_mc", - /// ShortMnemonic = "DEPTMEAS_SLVL_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS_SLVL_mc")] - public float? DeptmeasSlvlMc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 11, + /// LongMnemonic = "MCRSTAT", + /// ShortMnemonic = "MCRSTAT", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MCRSTAT")] + public float? Mcrstat { get; set; } - /// - /// RecordId = 50, - /// ItemId = 13, - /// LongMnemonic = "SLVL_mc", - /// ShortMnemonic = "SLVL_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SLVL_mc")] - public float? SlvlMc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 12, + /// LongMnemonic = "DEPTMEAS_SLVL_mc", + /// ShortMnemonic = "DEPTMEAS_SLVL_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS_SLVL_mc")] + public float? DeptmeasSlvlMc { get; set; } - /// - /// RecordId = 50, - /// ItemId = 14, - /// LongMnemonic = "DEPTMEAS_GDP_mc", - /// ShortMnemonic = "DEPTMEAS_GDP_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS_GDP_mc")] - public float? DeptmeasGdpMc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 13, + /// LongMnemonic = "SLVL_mc", + /// ShortMnemonic = "SLVL_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SLVL_mc")] + public float? SlvlMc { get; set; } - /// - /// RecordId = 50, - /// ItemId = 15, - /// LongMnemonic = "GDP_mc", - /// ShortMnemonic = "GDP_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("GDP_mc")] - public float? GdpMc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 14, + /// LongMnemonic = "DEPTMEAS_GDP_mc", + /// ShortMnemonic = "DEPTMEAS_GDP_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS_GDP_mc")] + public float? DeptmeasGdpMc { get; set; } - /// - /// RecordId = 50, - /// ItemId = 16, - /// LongMnemonic = "DEPTMEAS_RA33F2_mc", - /// ShortMnemonic = "DEPTMEAS_RA33F2_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS_RA33F2_mc")] - public float? DeptmeasRa33f2Mc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 15, + /// LongMnemonic = "GDP_mc", + /// ShortMnemonic = "GDP_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("GDP_mc")] + public float? GdpMc { get; set; } - /// - /// RecordId = 50, - /// ItemId = 17, - /// LongMnemonic = "RA33F2_mc", - /// ShortMnemonic = "RA33F2_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RA33F2_mc")] - public float? Ra33f2Mc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 16, + /// LongMnemonic = "DEPTMEAS_RA33F2_mc", + /// ShortMnemonic = "DEPTMEAS_RA33F2_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS_RA33F2_mc")] + public float? DeptmeasRa33f2Mc { get; set; } - /// - /// RecordId = 50, - /// ItemId = 18, - /// LongMnemonic = "DEPTMEAS_RP33F2_mc", - /// ShortMnemonic = "DEPTMEAS_RP33F2_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS_RP33F2_mc")] - public float? DeptmeasRp33f2Mc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 17, + /// LongMnemonic = "RA33F2_mc", + /// ShortMnemonic = "RA33F2_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RA33F2_mc")] + public float? Ra33f2Mc { get; set; } - /// - /// RecordId = 50, - /// ItemId = 19, - /// LongMnemonic = "RP33F2_mc", - /// ShortMnemonic = "RP33F2_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RP33F2_mc")] - public float? Rp33f2Mc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 18, + /// LongMnemonic = "DEPTMEAS_RP33F2_mc", + /// ShortMnemonic = "DEPTMEAS_RP33F2_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS_RP33F2_mc")] + public float? DeptmeasRp33f2Mc { get; set; } - /// - /// RecordId = 50, - /// ItemId = 20, - /// LongMnemonic = "DEPTMEAS_RA33F4_mc", - /// ShortMnemonic = "DEPTMEAS_RA33F4_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS_RA33F4_mc")] - public float? DeptmeasRa33f4Mc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 19, + /// LongMnemonic = "RP33F2_mc", + /// ShortMnemonic = "RP33F2_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RP33F2_mc")] + public float? Rp33f2Mc { get; set; } - /// - /// RecordId = 50, - /// ItemId = 21, - /// LongMnemonic = "RA33F4_mc", - /// ShortMnemonic = "RA33F4_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RA33F4_mc")] - public float? Ra33f4Mc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 20, + /// LongMnemonic = "DEPTMEAS_RA33F4_mc", + /// ShortMnemonic = "DEPTMEAS_RA33F4_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS_RA33F4_mc")] + public float? DeptmeasRa33f4Mc { get; set; } - /// - /// RecordId = 50, - /// ItemId = 22, - /// LongMnemonic = "DEPTMEAS_RP33F4_mc", - /// ShortMnemonic = "DEPTMEAS_RP33F4_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS_RP33F4_mc")] - public float? DeptmeasRp33f4Mc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 21, + /// LongMnemonic = "RA33F4_mc", + /// ShortMnemonic = "RA33F4_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RA33F4_mc")] + public float? Ra33f4Mc { get; set; } - /// - /// RecordId = 50, - /// ItemId = 23, - /// LongMnemonic = "RP33F4_mc", - /// ShortMnemonic = "RP33F4_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RP33F4_mc")] - public float? Rp33f4Mc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 22, + /// LongMnemonic = "DEPTMEAS_RP33F4_mc", + /// ShortMnemonic = "DEPTMEAS_RP33F4_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS_RP33F4_mc")] + public float? DeptmeasRp33f4Mc { get; set; } - /// - /// RecordId = 50, - /// ItemId = 46, - /// LongMnemonic = "DEPTMEAS_RA33_mc", - /// ShortMnemonic = "DEPTMEAS_RA33_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS_RA33_mc")] - public float? DeptmeasRa33Mc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 23, + /// LongMnemonic = "RP33F4_mc", + /// ShortMnemonic = "RP33F4_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RP33F4_mc")] + public float? Rp33f4Mc { get; set; } - /// - /// RecordId = 50, - /// ItemId = 47, - /// LongMnemonic = "RA33_mc", - /// ShortMnemonic = "RA33_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RA33_mc")] - public float? Ra33Mc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 46, + /// LongMnemonic = "DEPTMEAS_RA33_mc", + /// ShortMnemonic = "DEPTMEAS_RA33_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS_RA33_mc")] + public float? DeptmeasRa33Mc { get; set; } - /// - /// RecordId = 50, - /// ItemId = 28, - /// LongMnemonic = "DEPTMEAS_RP33_mc", - /// ShortMnemonic = "DEPTMEAS_RP33_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS_RP33_mc")] - public float? DeptmeasRp33Mc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 47, + /// LongMnemonic = "RA33_mc", + /// ShortMnemonic = "RA33_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RA33_mc")] + public float? Ra33Mc { get; set; } - /// - /// RecordId = 50, - /// ItemId = 29, - /// LongMnemonic = "RP33_mc", - /// ShortMnemonic = "RP33_mc", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RP33_mc")] - public float? Rp33Mc { get; set; } + /// + /// RecordId = 50, + /// ItemId = 28, + /// LongMnemonic = "DEPTMEAS_RP33_mc", + /// ShortMnemonic = "DEPTMEAS_RP33_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS_RP33_mc")] + public float? DeptmeasRp33Mc { get; set; } - } + /// + /// RecordId = 50, + /// ItemId = 29, + /// LongMnemonic = "RP33_mc", + /// ShortMnemonic = "RP33_mc", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RP33_mc")] + public float? Rp33Mc { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record6.cs b/AsbCloudDb/Model/WITS/Record6.cs index db760b72..3ea8b20c 100644 --- a/AsbCloudDb/Model/WITS/Record6.cs +++ b/AsbCloudDb/Model/WITS/Record6.cs @@ -1,420 +1,420 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Trip - Connections - /// Description: Tripping data gathered at tripping connections - /// Description2: - /// - [Table("t_telemetry_wits_6")] - public class Record6: RecordBase { - - /// - /// RecordId = 6, - /// ItemId = 8, - /// LongMnemonic = "DEPTBITM", - /// ShortMnemonic = "DBTM", - /// Description = "Depth Bit (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTBITM")] - public float? Deptbitm { get; set; } + /// + /// Record name: Trip - Connections + /// Description: Tripping data gathered at tripping connections + /// Description2: + /// + [Table("t_telemetry_wits_6")] + public class Record6 : RecordBase + { - /// - /// RecordId = 6, - /// ItemId = 9, - /// LongMnemonic = "DEPTBITV", - /// ShortMnemonic = "DBTV", - /// Description = "Depth Bit (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTBITV")] - public float? Deptbitv { get; set; } + /// + /// RecordId = 6, + /// ItemId = 8, + /// LongMnemonic = "DEPTBITM", + /// ShortMnemonic = "DBTM", + /// Description = "Depth Bit (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTBITM")] + public float? Deptbitm { get; set; } - /// - /// RecordId = 6, - /// ItemId = 10, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "Depth Hole (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } + /// + /// RecordId = 6, + /// ItemId = 9, + /// LongMnemonic = "DEPTBITV", + /// ShortMnemonic = "DBTV", + /// Description = "Depth Bit (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTBITV")] + public float? Deptbitv { get; set; } - /// - /// RecordId = 6, - /// ItemId = 11, - /// LongMnemonic = "DEPTVERT", - /// ShortMnemonic = "DVER", - /// Description = "Depth Hole (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTVERT")] - public float? Deptvert { get; set; } + /// + /// RecordId = 6, + /// ItemId = 10, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "Depth Hole (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } - /// - /// RecordId = 6, - /// ItemId = 12, - /// LongMnemonic = "TRIPNUM", - /// ShortMnemonic = "TNUM", - /// Description = "Trip Number", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("TRIPNUM")] - public short? Tripnum { get; set; } + /// + /// RecordId = 6, + /// ItemId = 11, + /// LongMnemonic = "DEPTVERT", + /// ShortMnemonic = "DVER", + /// Description = "Depth Hole (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTVERT")] + public float? Deptvert { get; set; } - /// - /// RecordId = 6, - /// ItemId = 13, - /// LongMnemonic = "CONNDONE", - /// ShortMnemonic = "CDON", - /// Description = "Connections Done", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("CONNDONE")] - public short? Conndone { get; set; } + /// + /// RecordId = 6, + /// ItemId = 12, + /// LongMnemonic = "TRIPNUM", + /// ShortMnemonic = "TNUM", + /// Description = "Trip Number", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("TRIPNUM")] + public short? Tripnum { get; set; } - /// - /// RecordId = 6, - /// ItemId = 14, - /// LongMnemonic = "CONNREM", - /// ShortMnemonic = "CREM", - /// Description = "Connections Remaining", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("CONNREM")] - public short? Connrem { get; set; } + /// + /// RecordId = 6, + /// ItemId = 13, + /// LongMnemonic = "CONNDONE", + /// ShortMnemonic = "CDON", + /// Description = "Connections Done", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("CONNDONE")] + public short? Conndone { get; set; } - /// - /// RecordId = 6, - /// ItemId = 15, - /// LongMnemonic = "ETIMESLP", - /// ShortMnemonic = "ETSL", - /// Description = "Elapsed Time In-Slips", - /// Description2 = "", - /// FPSUnits = "SEC", - /// MetricUnits = "SEC", - /// Length = 2, - /// ValueType = "S" - /// - [Column("ETIMESLP")] - public short? Etimeslp { get; set; } + /// + /// RecordId = 6, + /// ItemId = 14, + /// LongMnemonic = "CONNREM", + /// ShortMnemonic = "CREM", + /// Description = "Connections Remaining", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("CONNREM")] + public short? Connrem { get; set; } - /// - /// RecordId = 6, - /// ItemId = 16, - /// LongMnemonic = "ETIMEOS", - /// ShortMnemonic = "ETOS", - /// Description = "Elapsed Time Out-of-Slips", - /// Description2 = "", - /// FPSUnits = "SEC", - /// MetricUnits = "SEC", - /// Length = 2, - /// ValueType = "S" - /// - [Column("ETIMEOS")] - public short? Etimeos { get; set; } + /// + /// RecordId = 6, + /// ItemId = 15, + /// LongMnemonic = "ETIMESLP", + /// ShortMnemonic = "ETSL", + /// Description = "Elapsed Time In-Slips", + /// Description2 = "", + /// FPSUnits = "SEC", + /// MetricUnits = "SEC", + /// Length = 2, + /// ValueType = "S" + /// + [Column("ETIMESLP")] + public short? Etimeslp { get; set; } - /// - /// RecordId = 6, - /// ItemId = 17, - /// LongMnemonic = "RSUX", - /// ShortMnemonic = "RSUX", - /// Description = "Running Speed -up (max)", - /// Description2 = "", - /// FPSUnits = "FPM", - /// MetricUnits = "M/S", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RSUX")] - public float? Rsux { get; set; } + /// + /// RecordId = 6, + /// ItemId = 16, + /// LongMnemonic = "ETIMEOS", + /// ShortMnemonic = "ETOS", + /// Description = "Elapsed Time Out-of-Slips", + /// Description2 = "", + /// FPSUnits = "SEC", + /// MetricUnits = "SEC", + /// Length = 2, + /// ValueType = "S" + /// + [Column("ETIMEOS")] + public short? Etimeos { get; set; } - /// - /// RecordId = 6, - /// ItemId = 18, - /// LongMnemonic = "RSUA", - /// ShortMnemonic = "RSUA", - /// Description = "Running Speed -up (avg)", - /// Description2 = "", - /// FPSUnits = "FPM", - /// MetricUnits = "M/S", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RSUA")] - public float? Rsua { get; set; } + /// + /// RecordId = 6, + /// ItemId = 17, + /// LongMnemonic = "RSUX", + /// ShortMnemonic = "RSUX", + /// Description = "Running Speed -up (max)", + /// Description2 = "", + /// FPSUnits = "FPM", + /// MetricUnits = "M/S", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RSUX")] + public float? Rsux { get; set; } - /// - /// RecordId = 6, - /// ItemId = 19, - /// LongMnemonic = "RSDX", - /// ShortMnemonic = "RSDX", - /// Description = "Running Speed -down (max)", - /// Description2 = "", - /// FPSUnits = "FPM", - /// MetricUnits = "M/S", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RSDX")] - public float? Rsdx { get; set; } + /// + /// RecordId = 6, + /// ItemId = 18, + /// LongMnemonic = "RSUA", + /// ShortMnemonic = "RSUA", + /// Description = "Running Speed -up (avg)", + /// Description2 = "", + /// FPSUnits = "FPM", + /// MetricUnits = "M/S", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RSUA")] + public float? Rsua { get; set; } - /// - /// RecordId = 6, - /// ItemId = 20, - /// LongMnemonic = "RSDA", - /// ShortMnemonic = "RSDA", - /// Description = "Running Speed -down (avg)", - /// Description2 = "", - /// FPSUnits = "FPM", - /// MetricUnits = "M/S", - /// Length = 4, - /// ValueType = "F" - /// - [Column("RSDA")] - public float? Rsda { get; set; } + /// + /// RecordId = 6, + /// ItemId = 19, + /// LongMnemonic = "RSDX", + /// ShortMnemonic = "RSDX", + /// Description = "Running Speed -down (max)", + /// Description2 = "", + /// FPSUnits = "FPM", + /// MetricUnits = "M/S", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RSDX")] + public float? Rsdx { get; set; } - /// - /// RecordId = 6, - /// ItemId = 21, - /// LongMnemonic = "HKLX", - /// ShortMnemonic = "HKLX", - /// Description = "Hookload (max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HKLX")] - public float? Hklx { get; set; } + /// + /// RecordId = 6, + /// ItemId = 20, + /// LongMnemonic = "RSDA", + /// ShortMnemonic = "RSDA", + /// Description = "Running Speed -down (avg)", + /// Description2 = "", + /// FPSUnits = "FPM", + /// MetricUnits = "M/S", + /// Length = 4, + /// ValueType = "F" + /// + [Column("RSDA")] + public float? Rsda { get; set; } - /// - /// RecordId = 6, - /// ItemId = 22, - /// LongMnemonic = "HKLN", - /// ShortMnemonic = "HKLN", - /// Description = "Hookload (min)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HKLN")] - public float? Hkln { get; set; } + /// + /// RecordId = 6, + /// ItemId = 21, + /// LongMnemonic = "HKLX", + /// ShortMnemonic = "HKLX", + /// Description = "Hookload (max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HKLX")] + public float? Hklx { get; set; } - /// - /// RecordId = 6, - /// ItemId = 23, - /// LongMnemonic = "HKLA", - /// ShortMnemonic = "HKLA", - /// Description = "Hookload (avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("HKLA")] - public float? Hkla { get; set; } + /// + /// RecordId = 6, + /// ItemId = 22, + /// LongMnemonic = "HKLN", + /// ShortMnemonic = "HKLN", + /// Description = "Hookload (min)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HKLN")] + public float? Hkln { get; set; } - /// - /// RecordId = 6, - /// ItemId = 24, - /// LongMnemonic = "TORQMUX", - /// ShortMnemonic = "TQMX", - /// Description = "Torque - Make Up (max)", - /// Description2 = "", - /// FPSUnits = "KFLB", - /// MetricUnits = "KNM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TORQMUX")] - public float? Torqmux { get; set; } + /// + /// RecordId = 6, + /// ItemId = 23, + /// LongMnemonic = "HKLA", + /// ShortMnemonic = "HKLA", + /// Description = "Hookload (avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("HKLA")] + public float? Hkla { get; set; } - /// - /// RecordId = 6, - /// ItemId = 25, - /// LongMnemonic = "TORQBOX", - /// ShortMnemonic = "TQBX", - /// Description = "Torque - Breakout (max)", - /// Description2 = "", - /// FPSUnits = "KFLB", - /// MetricUnits = "KNM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("TORQBOX")] - public float? Torqbox { get; set; } + /// + /// RecordId = 6, + /// ItemId = 24, + /// LongMnemonic = "TORQMUX", + /// ShortMnemonic = "TQMX", + /// Description = "Torque - Make Up (max)", + /// Description2 = "", + /// FPSUnits = "KFLB", + /// MetricUnits = "KNM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TORQMUX")] + public float? Torqmux { get; set; } - /// - /// RecordId = 6, - /// ItemId = 26, - /// LongMnemonic = "FVOLO", - /// ShortMnemonic = "FVO", - /// Description = "Fill/Gain Volume Obs.", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("FVOLO")] - public float? Fvolo { get; set; } + /// + /// RecordId = 6, + /// ItemId = 25, + /// LongMnemonic = "TORQBOX", + /// ShortMnemonic = "TQBX", + /// Description = "Torque - Breakout (max)", + /// Description2 = "", + /// FPSUnits = "KFLB", + /// MetricUnits = "KNM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("TORQBOX")] + public float? Torqbox { get; set; } - /// - /// RecordId = 6, - /// ItemId = 27, - /// LongMnemonic = "FVOLE", - /// ShortMnemonic = "FVE", - /// Description = "Fill/Gain Volume Exp.", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("FVOLE")] - public float? Fvole { get; set; } + /// + /// RecordId = 6, + /// ItemId = 26, + /// LongMnemonic = "FVOLO", + /// ShortMnemonic = "FVO", + /// Description = "Fill/Gain Volume Obs.", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("FVOLO")] + public float? Fvolo { get; set; } - /// - /// RecordId = 6, - /// ItemId = 28, - /// LongMnemonic = "FVOLOC", - /// ShortMnemonic = "FVOC", - /// Description = "Fill/Gain Volume Obs.(cum)", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("FVOLOC")] - public float? Fvoloc { get; set; } + /// + /// RecordId = 6, + /// ItemId = 27, + /// LongMnemonic = "FVOLE", + /// ShortMnemonic = "FVE", + /// Description = "Fill/Gain Volume Exp.", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("FVOLE")] + public float? Fvole { get; set; } - /// - /// RecordId = 6, - /// ItemId = 29, - /// LongMnemonic = "FVOLEC", - /// ShortMnemonic = "FVEC", - /// Description = "Fill/Gain Volume Exp (cum)", - /// Description2 = "", - /// FPSUnits = "BBL", - /// MetricUnits = "M3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("FVOLEC")] - public float? Fvolec { get; set; } + /// + /// RecordId = 6, + /// ItemId = 28, + /// LongMnemonic = "FVOLOC", + /// ShortMnemonic = "FVOC", + /// Description = "Fill/Gain Volume Obs.(cum)", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("FVOLOC")] + public float? Fvoloc { get; set; } - /// - /// RecordId = 6, - /// ItemId = 30, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 6, + /// ItemId = 29, + /// LongMnemonic = "FVOLEC", + /// ShortMnemonic = "FVEC", + /// Description = "Fill/Gain Volume Exp (cum)", + /// Description2 = "", + /// FPSUnits = "BBL", + /// MetricUnits = "M3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("FVOLEC")] + public float? Fvolec { get; set; } - /// - /// RecordId = 6, - /// ItemId = 31, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 6, + /// ItemId = 30, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 6, - /// ItemId = 32, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 6, + /// ItemId = 31, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 6, - /// ItemId = 33, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 6, + /// ItemId = 32, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 6, - /// ItemId = 34, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 6, + /// ItemId = 33, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 6, + /// ItemId = 34, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record60.cs b/AsbCloudDb/Model/WITS/Record60.cs index 8aff0af2..311c1b70 100644 --- a/AsbCloudDb/Model/WITS/Record60.cs +++ b/AsbCloudDb/Model/WITS/Record60.cs @@ -1,165 +1,165 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Передача полных - /// Description: SibReciver. Передача полных - /// Description2: - /// - [Table("t_telemetry_wits_60")] - public class Record60: RecordBase { - - /// - /// RecordId = 60, - /// ItemId = 99, - /// LongMnemonic = "DEPTBITM", - /// ShortMnemonic = "DBTM", - /// Description = "SibReceiver custom. Положение долота", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTBITM")] - public float? Deptbitm { get; set; } + /// + /// Record name: Передача полных + /// Description: SibReciver. Передача полных + /// Description2: + /// + [Table("t_telemetry_wits_60")] + public class Record60 : RecordBase + { - /// - /// RecordId = 60, - /// ItemId = 10, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "SibReceiver custom. Точка Замера", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } + /// + /// RecordId = 60, + /// ItemId = 99, + /// LongMnemonic = "DEPTBITM", + /// ShortMnemonic = "DBTM", + /// Description = "SibReceiver custom. Положение долота", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTBITM")] + public float? Deptbitm { get; set; } - /// - /// RecordId = 60, - /// ItemId = 11, - /// LongMnemonic = "Gtot", - /// ShortMnemonic = "Gtot", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("Gtot")] - public float? Gtot { get; set; } + /// + /// RecordId = 60, + /// ItemId = 10, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "SibReceiver custom. Точка Замера", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } - /// - /// RecordId = 60, - /// ItemId = 12, - /// LongMnemonic = "Gx", - /// ShortMnemonic = "Gx", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("Gx")] - public float? Gx { get; set; } + /// + /// RecordId = 60, + /// ItemId = 11, + /// LongMnemonic = "Gtot", + /// ShortMnemonic = "Gtot", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("Gtot")] + public float? Gtot { get; set; } - /// - /// RecordId = 60, - /// ItemId = 13, - /// LongMnemonic = "Gy", - /// ShortMnemonic = "Gy", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("Gy")] - public float? Gy { get; set; } + /// + /// RecordId = 60, + /// ItemId = 12, + /// LongMnemonic = "Gx", + /// ShortMnemonic = "Gx", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("Gx")] + public float? Gx { get; set; } - /// - /// RecordId = 60, - /// ItemId = 14, - /// LongMnemonic = "Gz", - /// ShortMnemonic = "Gz", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("Gz")] - public float? Gz { get; set; } + /// + /// RecordId = 60, + /// ItemId = 13, + /// LongMnemonic = "Gy", + /// ShortMnemonic = "Gy", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("Gy")] + public float? Gy { get; set; } - /// - /// RecordId = 60, - /// ItemId = 15, - /// LongMnemonic = "Btot", - /// ShortMnemonic = "Btot", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("Btot")] - public float? Btot { get; set; } + /// + /// RecordId = 60, + /// ItemId = 14, + /// LongMnemonic = "Gz", + /// ShortMnemonic = "Gz", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("Gz")] + public float? Gz { get; set; } - /// - /// RecordId = 60, - /// ItemId = 16, - /// LongMnemonic = "Bx", - /// ShortMnemonic = "Bx", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("Bx")] - public float? Bx { get; set; } + /// + /// RecordId = 60, + /// ItemId = 15, + /// LongMnemonic = "Btot", + /// ShortMnemonic = "Btot", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("Btot")] + public float? Btot { get; set; } - /// - /// RecordId = 60, - /// ItemId = 17, - /// LongMnemonic = "By", - /// ShortMnemonic = "By", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("By")] - public float? By { get; set; } + /// + /// RecordId = 60, + /// ItemId = 16, + /// LongMnemonic = "Bx", + /// ShortMnemonic = "Bx", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("Bx")] + public float? Bx { get; set; } - /// - /// RecordId = 60, - /// ItemId = 18, - /// LongMnemonic = "Bz", - /// ShortMnemonic = "Bz", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("Bz")] - public float? Bz { get; set; } + /// + /// RecordId = 60, + /// ItemId = 17, + /// LongMnemonic = "By", + /// ShortMnemonic = "By", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("By")] + public float? By { get; set; } - } + /// + /// RecordId = 60, + /// ItemId = 18, + /// LongMnemonic = "Bz", + /// ShortMnemonic = "Bz", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("Bz")] + public float? Bz { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record61.cs b/AsbCloudDb/Model/WITS/Record61.cs index e2079075..378ad5a0 100644 --- a/AsbCloudDb/Model/WITS/Record61.cs +++ b/AsbCloudDb/Model/WITS/Record61.cs @@ -1,180 +1,180 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Резистивиметр Corvet - /// Description: SibReciver. Резистивиметр Corvet - /// Description2: - /// - [Table("t_telemetry_wits_61")] - public class Record61: RecordBase { - - /// - /// RecordId = 61, - /// ItemId = 99, - /// LongMnemonic = "DEPTBITM", - /// ShortMnemonic = "DBTM", - /// Description = "SibReceiver custom. Положение долота", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTBITM")] - public float? Deptbitm { get; set; } + /// + /// Record name: Резистивиметр Corvet + /// Description: SibReciver. Резистивиметр Corvet + /// Description2: + /// + [Table("t_telemetry_wits_61")] + public class Record61 : RecordBase + { - /// - /// RecordId = 61, - /// ItemId = 10, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "SibReceiver custom. Точка Замера", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } + /// + /// RecordId = 61, + /// ItemId = 99, + /// LongMnemonic = "DEPTBITM", + /// ShortMnemonic = "DBTM", + /// Description = "SibReceiver custom. Положение долота", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTBITM")] + public float? Deptbitm { get; set; } - /// - /// RecordId = 61, - /// ItemId = 11, - /// LongMnemonic = "PHL1F1", - /// ShortMnemonic = "PHL1F1", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PHL1F1")] - public float? Phl1f1 { get; set; } + /// + /// RecordId = 61, + /// ItemId = 10, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "SibReceiver custom. Точка Замера", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } - /// - /// RecordId = 61, - /// ItemId = 12, - /// LongMnemonic = "PHL1F2", - /// ShortMnemonic = "PHL1F2", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PHL1F2")] - public float? Phl1f2 { get; set; } + /// + /// RecordId = 61, + /// ItemId = 11, + /// LongMnemonic = "PHL1F1", + /// ShortMnemonic = "PHL1F1", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PHL1F1")] + public float? Phl1f1 { get; set; } - /// - /// RecordId = 61, - /// ItemId = 13, - /// LongMnemonic = "PHL2F1", - /// ShortMnemonic = "PHL2F1", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PHL2F1")] - public float? Phl2f1 { get; set; } + /// + /// RecordId = 61, + /// ItemId = 12, + /// LongMnemonic = "PHL1F2", + /// ShortMnemonic = "PHL1F2", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PHL1F2")] + public float? Phl1f2 { get; set; } - /// - /// RecordId = 61, - /// ItemId = 14, - /// LongMnemonic = "PHL2F2", - /// ShortMnemonic = "PHL2F2", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("PHL2F2")] - public float? Phl2f2 { get; set; } + /// + /// RecordId = 61, + /// ItemId = 13, + /// LongMnemonic = "PHL2F1", + /// ShortMnemonic = "PHL2F1", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PHL2F1")] + public float? Phl2f1 { get; set; } - /// - /// RecordId = 61, - /// ItemId = 15, - /// LongMnemonic = "ATT06H", - /// ShortMnemonic = "ATT06H", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ATT06H")] - public float? Att06h { get; set; } + /// + /// RecordId = 61, + /// ItemId = 14, + /// LongMnemonic = "PHL2F2", + /// ShortMnemonic = "PHL2F2", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("PHL2F2")] + public float? Phl2f2 { get; set; } - /// - /// RecordId = 61, - /// ItemId = 16, - /// LongMnemonic = "ATT06L", - /// ShortMnemonic = "ATT06L", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ATT06L")] - public float? Att06l { get; set; } + /// + /// RecordId = 61, + /// ItemId = 15, + /// LongMnemonic = "ATT06H", + /// ShortMnemonic = "ATT06H", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ATT06H")] + public float? Att06h { get; set; } - /// - /// RecordId = 61, - /// ItemId = 17, - /// LongMnemonic = "ATT10H", - /// ShortMnemonic = "ATT10H", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ATT10H")] - public float? Att10h { get; set; } + /// + /// RecordId = 61, + /// ItemId = 16, + /// LongMnemonic = "ATT06L", + /// ShortMnemonic = "ATT06L", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ATT06L")] + public float? Att06l { get; set; } - /// - /// RecordId = 61, - /// ItemId = 18, - /// LongMnemonic = "ATT10L", - /// ShortMnemonic = "ATT10L", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("ATT10L")] - public float? Att10l { get; set; } + /// + /// RecordId = 61, + /// ItemId = 17, + /// LongMnemonic = "ATT10H", + /// ShortMnemonic = "ATT10H", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ATT10H")] + public float? Att10h { get; set; } - /// - /// RecordId = 61, - /// ItemId = 19, - /// LongMnemonic = "Status", - /// ShortMnemonic = "Status", - /// Description = "SibReceiver custom", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("Status")] - public float? Status { get; set; } + /// + /// RecordId = 61, + /// ItemId = 18, + /// LongMnemonic = "ATT10L", + /// ShortMnemonic = "ATT10L", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("ATT10L")] + public float? Att10l { get; set; } - } + /// + /// RecordId = 61, + /// ItemId = 19, + /// LongMnemonic = "Status", + /// ShortMnemonic = "Status", + /// Description = "SibReceiver custom", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("Status")] + public float? Status { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record7.cs b/AsbCloudDb/Model/WITS/Record7.cs index 4256e3bc..d856f8a7 100644 --- a/AsbCloudDb/Model/WITS/Record7.cs +++ b/AsbCloudDb/Model/WITS/Record7.cs @@ -1,300 +1,300 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: Survey/Directional - /// Description: Directional/Survey data - /// Description2: - /// - [Table("t_telemetry_wits_7")] - public class Record7: RecordBase { - - /// - /// RecordId = 7, - /// ItemId = 8, - /// LongMnemonic = "DEPTSVYM", - /// ShortMnemonic = "DSVM", - /// Description = "Depth Svy/reading (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTSVYM")] - public float? Deptsvym { get; set; } + /// + /// Record name: Survey/Directional + /// Description: Directional/Survey data + /// Description2: + /// + [Table("t_telemetry_wits_7")] + public class Record7 : RecordBase + { - /// - /// RecordId = 7, - /// ItemId = 9, - /// LongMnemonic = "DEPTSVYV", - /// ShortMnemonic = "DSVV", - /// Description = "Depth Svy/reading (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTSVYV")] - public float? Deptsvyv { get; set; } + /// + /// RecordId = 7, + /// ItemId = 8, + /// LongMnemonic = "DEPTSVYM", + /// ShortMnemonic = "DSVM", + /// Description = "Depth Svy/reading (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTSVYM")] + public float? Deptsvym { get; set; } - /// - /// RecordId = 7, - /// ItemId = 10, - /// LongMnemonic = "PASSNUM", - /// ShortMnemonic = "PASS", - /// Description = "Pass Number", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("PASSNUM")] - public short? Passnum { get; set; } + /// + /// RecordId = 7, + /// ItemId = 9, + /// LongMnemonic = "DEPTSVYV", + /// ShortMnemonic = "DSVV", + /// Description = "Depth Svy/reading (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTSVYV")] + public float? Deptsvyv { get; set; } - /// - /// RecordId = 7, - /// ItemId = 11, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "Depth Hole (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } + /// + /// RecordId = 7, + /// ItemId = 10, + /// LongMnemonic = "PASSNUM", + /// ShortMnemonic = "PASS", + /// Description = "Pass Number", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("PASSNUM")] + public short? Passnum { get; set; } - /// - /// RecordId = 7, - /// ItemId = 12, - /// LongMnemonic = "SVYTYPE", - /// ShortMnemonic = "STYP", - /// Description = "Svy Type", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 8, - /// ValueType = "A" - /// - [Column("SVYTYPE")] - public string? Svytype { get; set; } + /// + /// RecordId = 7, + /// ItemId = 11, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "Depth Hole (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } - /// - /// RecordId = 7, - /// ItemId = 13, - /// LongMnemonic = "SVYINC", - /// ShortMnemonic = "SINC", - /// Description = "Svy Inclination", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SVYINC")] - public float? Svyinc { get; set; } + /// + /// RecordId = 7, + /// ItemId = 12, + /// LongMnemonic = "SVYTYPE", + /// ShortMnemonic = "STYP", + /// Description = "Svy Type", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 8, + /// ValueType = "A" + /// + [Column("SVYTYPE")] + public string? Svytype { get; set; } - /// - /// RecordId = 7, - /// ItemId = 14, - /// LongMnemonic = "SVYAZU", - /// ShortMnemonic = "SAZU", - /// Description = "Svy Azimuth (uncorrected)", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SVYAZU")] - public float? Svyazu { get; set; } + /// + /// RecordId = 7, + /// ItemId = 13, + /// LongMnemonic = "SVYINC", + /// ShortMnemonic = "SINC", + /// Description = "Svy Inclination", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SVYINC")] + public float? Svyinc { get; set; } - /// - /// RecordId = 7, - /// ItemId = 15, - /// LongMnemonic = "SVYAZC", - /// ShortMnemonic = "SAZC", - /// Description = "Svy Azimuth (corrected)", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SVYAZC")] - public float? Svyazc { get; set; } + /// + /// RecordId = 7, + /// ItemId = 14, + /// LongMnemonic = "SVYAZU", + /// ShortMnemonic = "SAZU", + /// Description = "Svy Azimuth (uncorrected)", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SVYAZU")] + public float? Svyazu { get; set; } - /// - /// RecordId = 7, - /// ItemId = 16, - /// LongMnemonic = "SVYMTF", - /// ShortMnemonic = "SMTF", - /// Description = "Svy Magnetic Toolface", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SVYMTF")] - public float? Svymtf { get; set; } + /// + /// RecordId = 7, + /// ItemId = 15, + /// LongMnemonic = "SVYAZC", + /// ShortMnemonic = "SAZC", + /// Description = "Svy Azimuth (corrected)", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SVYAZC")] + public float? Svyazc { get; set; } - /// - /// RecordId = 7, - /// ItemId = 17, - /// LongMnemonic = "SVYGTF", - /// ShortMnemonic = "SGTF", - /// Description = "Svy Gravity Toolface", - /// Description2 = "", - /// FPSUnits = "DEG", - /// MetricUnits = "DEG", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SVYGTF")] - public float? Svygtf { get; set; } + /// + /// RecordId = 7, + /// ItemId = 16, + /// LongMnemonic = "SVYMTF", + /// ShortMnemonic = "SMTF", + /// Description = "Svy Magnetic Toolface", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SVYMTF")] + public float? Svymtf { get; set; } - /// - /// RecordId = 7, - /// ItemId = 18, - /// LongMnemonic = "SVYNS", - /// ShortMnemonic = "SNS", - /// Description = "Svy North-South Position", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SVYNS")] - public float? Svyns { get; set; } + /// + /// RecordId = 7, + /// ItemId = 17, + /// LongMnemonic = "SVYGTF", + /// ShortMnemonic = "SGTF", + /// Description = "Svy Gravity Toolface", + /// Description2 = "", + /// FPSUnits = "DEG", + /// MetricUnits = "DEG", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SVYGTF")] + public float? Svygtf { get; set; } - /// - /// RecordId = 7, - /// ItemId = 19, - /// LongMnemonic = "SVYEW", - /// ShortMnemonic = "SEW", - /// Description = "Svy East-West Position", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SVYEW")] - public float? Svyew { get; set; } + /// + /// RecordId = 7, + /// ItemId = 18, + /// LongMnemonic = "SVYNS", + /// ShortMnemonic = "SNS", + /// Description = "Svy North-South Position", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SVYNS")] + public float? Svyns { get; set; } - /// - /// RecordId = 7, - /// ItemId = 20, - /// LongMnemonic = "SVYDLS", - /// ShortMnemonic = "SDLS", - /// Description = "Svy Dog Leg Severity", - /// Description2 = "", - /// FPSUnits = "DGHF", - /// MetricUnits = "DGHM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SVYDLS")] - public float? Svydls { get; set; } + /// + /// RecordId = 7, + /// ItemId = 19, + /// LongMnemonic = "SVYEW", + /// ShortMnemonic = "SEW", + /// Description = "Svy East-West Position", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SVYEW")] + public float? Svyew { get; set; } - /// - /// RecordId = 7, - /// ItemId = 21, - /// LongMnemonic = "SVYWALK", - /// ShortMnemonic = "SWLK", - /// Description = "Svy Rate of Walk", - /// Description2 = "", - /// FPSUnits = "DGHF", - /// MetricUnits = "DGHM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SVYWALK")] - public float? Svywalk { get; set; } + /// + /// RecordId = 7, + /// ItemId = 20, + /// LongMnemonic = "SVYDLS", + /// ShortMnemonic = "SDLS", + /// Description = "Svy Dog Leg Severity", + /// Description2 = "", + /// FPSUnits = "DGHF", + /// MetricUnits = "DGHM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SVYDLS")] + public float? Svydls { get; set; } - /// - /// RecordId = 7, - /// ItemId = 22, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 7, + /// ItemId = 21, + /// LongMnemonic = "SVYWALK", + /// ShortMnemonic = "SWLK", + /// Description = "Svy Rate of Walk", + /// Description2 = "", + /// FPSUnits = "DGHF", + /// MetricUnits = "DGHM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SVYWALK")] + public float? Svywalk { get; set; } - /// - /// RecordId = 7, - /// ItemId = 23, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 7, + /// ItemId = 22, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 7, - /// ItemId = 24, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 7, + /// ItemId = 23, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 7, - /// ItemId = 25, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 7, + /// ItemId = 24, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 7, - /// ItemId = 26, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 7, + /// ItemId = 25, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - } + /// + /// RecordId = 7, + /// ItemId = 26, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record8.cs b/AsbCloudDb/Model/WITS/Record8.cs index 3fc66961..cdae16fa 100644 --- a/AsbCloudDb/Model/WITS/Record8.cs +++ b/AsbCloudDb/Model/WITS/Record8.cs @@ -1,735 +1,735 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: MWD Formation Evaluation - /// Description: MWD Formation Evaluation data - /// Description2: - /// - [Table("t_telemetry_wits_8")] - public class Record8: RecordBase { - - /// - /// RecordId = 8, - /// ItemId = 8, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "Depth Hole (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } + /// + /// Record name: MWD Formation Evaluation + /// Description: MWD Formation Evaluation data + /// Description2: + /// + [Table("t_telemetry_wits_8")] + public class Record8 : RecordBase + { - /// - /// RecordId = 8, - /// ItemId = 9, - /// LongMnemonic = "DEPTVERT", - /// ShortMnemonic = "DVER", - /// Description = "Depth Hole (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTVERT")] - public float? Deptvert { get; set; } + /// + /// RecordId = 8, + /// ItemId = 8, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "Depth Hole (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } - /// - /// RecordId = 8, - /// ItemId = 10, - /// LongMnemonic = "DEPTBITM", - /// ShortMnemonic = "DBTM", - /// Description = "Depth Bit (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTBITM")] - public float? Deptbitm { get; set; } + /// + /// RecordId = 8, + /// ItemId = 9, + /// LongMnemonic = "DEPTVERT", + /// ShortMnemonic = "DVER", + /// Description = "Depth Hole (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTVERT")] + public float? Deptvert { get; set; } - /// - /// RecordId = 8, - /// ItemId = 11, - /// LongMnemonic = "DEPTBITV", - /// ShortMnemonic = "DBTV", - /// Description = "Depth Bit (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTBITV")] - public float? Deptbitv { get; set; } + /// + /// RecordId = 8, + /// ItemId = 10, + /// LongMnemonic = "DEPTBITM", + /// ShortMnemonic = "DBTM", + /// Description = "Depth Bit (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTBITM")] + public float? Deptbitm { get; set; } - /// - /// RecordId = 8, - /// ItemId = 12, - /// LongMnemonic = "PASSNUM", - /// ShortMnemonic = "PASS", - /// Description = "Pass Number", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("PASSNUM")] - public short? Passnum { get; set; } + /// + /// RecordId = 8, + /// ItemId = 11, + /// LongMnemonic = "DEPTBITV", + /// ShortMnemonic = "DBTV", + /// Description = "Depth Bit (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTBITV")] + public float? Deptbitv { get; set; } - /// - /// RecordId = 8, - /// ItemId = 13, - /// LongMnemonic = "DEPTRS1M", - /// ShortMnemonic = "DR1M", - /// Description = "Depth Resis 1 sensor (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTRS1M")] - public float? Deptrs1m { get; set; } + /// + /// RecordId = 8, + /// ItemId = 12, + /// LongMnemonic = "PASSNUM", + /// ShortMnemonic = "PASS", + /// Description = "Pass Number", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("PASSNUM")] + public short? Passnum { get; set; } - /// - /// RecordId = 8, - /// ItemId = 14, - /// LongMnemonic = "DEPTRS1V", - /// ShortMnemonic = "DR1V", - /// Description = "Depth Resis 1 sensor (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTRS1V")] - public float? Deptrs1v { get; set; } + /// + /// RecordId = 8, + /// ItemId = 13, + /// LongMnemonic = "DEPTRS1M", + /// ShortMnemonic = "DR1M", + /// Description = "Depth Resis 1 sensor (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTRS1M")] + public float? Deptrs1m { get; set; } - /// - /// RecordId = 8, - /// ItemId = 15, - /// LongMnemonic = "MR1", - /// ShortMnemonic = "MR1", - /// Description = "Resis 1 reading", - /// Description2 = "", - /// FPSUnits = "OHMM", - /// MetricUnits = "OHMM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MR1")] - public float? Mr1 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 14, + /// LongMnemonic = "DEPTRS1V", + /// ShortMnemonic = "DR1V", + /// Description = "Depth Resis 1 sensor (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTRS1V")] + public float? Deptrs1v { get; set; } - /// - /// RecordId = 8, - /// ItemId = 16, - /// LongMnemonic = "MR1C", - /// ShortMnemonic = "MR1C", - /// Description = "Resis 1 (borehole corr)", - /// Description2 = "", - /// FPSUnits = "OHMM", - /// MetricUnits = "OHMM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MR1C")] - public float? Mr1c { get; set; } + /// + /// RecordId = 8, + /// ItemId = 15, + /// LongMnemonic = "MR1", + /// ShortMnemonic = "MR1", + /// Description = "Resis 1 reading", + /// Description2 = "", + /// FPSUnits = "OHMM", + /// MetricUnits = "OHMM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MR1")] + public float? Mr1 { get; set; } - /// - /// RecordId = 8, - /// ItemId = 17, - /// LongMnemonic = "DEPTRS2M", - /// ShortMnemonic = "DR2M", - /// Description = "Depth Resis 2 sensor (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTRS2M")] - public float? Deptrs2m { get; set; } + /// + /// RecordId = 8, + /// ItemId = 16, + /// LongMnemonic = "MR1C", + /// ShortMnemonic = "MR1C", + /// Description = "Resis 1 (borehole corr)", + /// Description2 = "", + /// FPSUnits = "OHMM", + /// MetricUnits = "OHMM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MR1C")] + public float? Mr1c { get; set; } - /// - /// RecordId = 8, - /// ItemId = 18, - /// LongMnemonic = "DEPTRS2V", - /// ShortMnemonic = "DR2V", - /// Description = "Depth Resis 2 sensor (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTRS2V")] - public float? Deptrs2v { get; set; } + /// + /// RecordId = 8, + /// ItemId = 17, + /// LongMnemonic = "DEPTRS2M", + /// ShortMnemonic = "DR2M", + /// Description = "Depth Resis 2 sensor (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTRS2M")] + public float? Deptrs2m { get; set; } - /// - /// RecordId = 8, - /// ItemId = 19, - /// LongMnemonic = "MR2", - /// ShortMnemonic = "MR2", - /// Description = "Resis 2 reading", - /// Description2 = "", - /// FPSUnits = "OHMM", - /// MetricUnits = "OHMM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MR2")] - public float? Mr2 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 18, + /// LongMnemonic = "DEPTRS2V", + /// ShortMnemonic = "DR2V", + /// Description = "Depth Resis 2 sensor (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTRS2V")] + public float? Deptrs2v { get; set; } - /// - /// RecordId = 8, - /// ItemId = 20, - /// LongMnemonic = "MR2C", - /// ShortMnemonic = "MR2C", - /// Description = "Resis 2 (borehole corr)", - /// Description2 = "", - /// FPSUnits = "OHMM", - /// MetricUnits = "OHMM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MR2C")] - public float? Mr2c { get; set; } + /// + /// RecordId = 8, + /// ItemId = 19, + /// LongMnemonic = "MR2", + /// ShortMnemonic = "MR2", + /// Description = "Resis 2 reading", + /// Description2 = "", + /// FPSUnits = "OHMM", + /// MetricUnits = "OHMM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MR2")] + public float? Mr2 { get; set; } - /// - /// RecordId = 8, - /// ItemId = 21, - /// LongMnemonic = "DEPTGR1M", - /// ShortMnemonic = "DG1M", - /// Description = "Depth G.Ray 1 sensor(meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTGR1M")] - public float? Deptgr1m { get; set; } + /// + /// RecordId = 8, + /// ItemId = 20, + /// LongMnemonic = "MR2C", + /// ShortMnemonic = "MR2C", + /// Description = "Resis 2 (borehole corr)", + /// Description2 = "", + /// FPSUnits = "OHMM", + /// MetricUnits = "OHMM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MR2C")] + public float? Mr2c { get; set; } - /// - /// RecordId = 8, - /// ItemId = 22, - /// LongMnemonic = "DEPTGR1V", - /// ShortMnemonic = "DG1V", - /// Description = "Depth G.Ray 1 sensor(vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTGR1V")] - public float? Deptgr1v { get; set; } + /// + /// RecordId = 8, + /// ItemId = 21, + /// LongMnemonic = "DEPTGR1M", + /// ShortMnemonic = "DG1M", + /// Description = "Depth G.Ray 1 sensor(meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTGR1M")] + public float? Deptgr1m { get; set; } - /// - /// RecordId = 8, - /// ItemId = 23, - /// LongMnemonic = "MG1", - /// ShortMnemonic = "MG1", - /// Description = "Gamma Ray 1 reading", - /// Description2 = "", - /// FPSUnits = "API", - /// MetricUnits = "API", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MG1")] - public float? Mg1 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 22, + /// LongMnemonic = "DEPTGR1V", + /// ShortMnemonic = "DG1V", + /// Description = "Depth G.Ray 1 sensor(vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTGR1V")] + public float? Deptgr1v { get; set; } - /// - /// RecordId = 8, - /// ItemId = 24, - /// LongMnemonic = "MG1C", - /// ShortMnemonic = "MG1C", - /// Description = "Gamma Ray 1(borehole corr)", - /// Description2 = "", - /// FPSUnits = "API", - /// MetricUnits = "API", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MG1C")] - public float? Mg1c { get; set; } + /// + /// RecordId = 8, + /// ItemId = 23, + /// LongMnemonic = "MG1", + /// ShortMnemonic = "MG1", + /// Description = "Gamma Ray 1 reading", + /// Description2 = "", + /// FPSUnits = "API", + /// MetricUnits = "API", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MG1")] + public float? Mg1 { get; set; } - /// - /// RecordId = 8, - /// ItemId = 25, - /// LongMnemonic = "DEPTGR2M", - /// ShortMnemonic = "DG2M", - /// Description = "Depth G.Ray 2 sensor(meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTGR2M")] - public float? Deptgr2m { get; set; } + /// + /// RecordId = 8, + /// ItemId = 24, + /// LongMnemonic = "MG1C", + /// ShortMnemonic = "MG1C", + /// Description = "Gamma Ray 1(borehole corr)", + /// Description2 = "", + /// FPSUnits = "API", + /// MetricUnits = "API", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MG1C")] + public float? Mg1c { get; set; } - /// - /// RecordId = 8, - /// ItemId = 26, - /// LongMnemonic = "DEPTGR2V", - /// ShortMnemonic = "DG2V", - /// Description = "Depth G.Ray 2 sensor(vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTGR2V")] - public float? Deptgr2v { get; set; } + /// + /// RecordId = 8, + /// ItemId = 25, + /// LongMnemonic = "DEPTGR2M", + /// ShortMnemonic = "DG2M", + /// Description = "Depth G.Ray 2 sensor(meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTGR2M")] + public float? Deptgr2m { get; set; } - /// - /// RecordId = 8, - /// ItemId = 27, - /// LongMnemonic = "MG2", - /// ShortMnemonic = "MG2", - /// Description = "Gamma Ray 2 reading", - /// Description2 = "", - /// FPSUnits = "API", - /// MetricUnits = "API", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MG2")] - public float? Mg2 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 26, + /// LongMnemonic = "DEPTGR2V", + /// ShortMnemonic = "DG2V", + /// Description = "Depth G.Ray 2 sensor(vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTGR2V")] + public float? Deptgr2v { get; set; } - /// - /// RecordId = 8, - /// ItemId = 28, - /// LongMnemonic = "MG2C", - /// ShortMnemonic = "MG2C", - /// Description = "Gamma Ray 2(borehole corr)", - /// Description2 = "", - /// FPSUnits = "API", - /// MetricUnits = "API", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MG2C")] - public float? Mg2c { get; set; } + /// + /// RecordId = 8, + /// ItemId = 27, + /// LongMnemonic = "MG2", + /// ShortMnemonic = "MG2", + /// Description = "Gamma Ray 2 reading", + /// Description2 = "", + /// FPSUnits = "API", + /// MetricUnits = "API", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MG2")] + public float? Mg2 { get; set; } - /// - /// RecordId = 8, - /// ItemId = 29, - /// LongMnemonic = "DEPTP1M", - /// ShortMnemonic = "DP1M", - /// Description = "Depth Por 1 sensor (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTP1M")] - public float? Deptp1m { get; set; } + /// + /// RecordId = 8, + /// ItemId = 28, + /// LongMnemonic = "MG2C", + /// ShortMnemonic = "MG2C", + /// Description = "Gamma Ray 2(borehole corr)", + /// Description2 = "", + /// FPSUnits = "API", + /// MetricUnits = "API", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MG2C")] + public float? Mg2c { get; set; } - /// - /// RecordId = 8, - /// ItemId = 30, - /// LongMnemonic = "DEPTP1V", - /// ShortMnemonic = "DP1V", - /// Description = "Depth Por 1 sensor (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTP1V")] - public float? Deptp1v { get; set; } + /// + /// RecordId = 8, + /// ItemId = 29, + /// LongMnemonic = "DEPTP1M", + /// ShortMnemonic = "DP1M", + /// Description = "Depth Por 1 sensor (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTP1M")] + public float? Deptp1m { get; set; } - /// - /// RecordId = 8, - /// ItemId = 31, - /// LongMnemonic = "MPO1", - /// ShortMnemonic = "MPO1", - /// Description = "Porosity Tool 1 reading", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MPO1")] - public float? Mpo1 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 30, + /// LongMnemonic = "DEPTP1V", + /// ShortMnemonic = "DP1V", + /// Description = "Depth Por 1 sensor (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTP1V")] + public float? Deptp1v { get; set; } - /// - /// RecordId = 8, - /// ItemId = 32, - /// LongMnemonic = "DEPTP2M", - /// ShortMnemonic = "DP2M", - /// Description = "Depth Por 2 sensor (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTP2M")] - public float? Deptp2m { get; set; } + /// + /// RecordId = 8, + /// ItemId = 31, + /// LongMnemonic = "MPO1", + /// ShortMnemonic = "MPO1", + /// Description = "Porosity Tool 1 reading", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MPO1")] + public float? Mpo1 { get; set; } - /// - /// RecordId = 8, - /// ItemId = 33, - /// LongMnemonic = "DEPTP2V", - /// ShortMnemonic = "DP2V", - /// Description = "Depth Por 2 sensor (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTP2V")] - public float? Deptp2v { get; set; } + /// + /// RecordId = 8, + /// ItemId = 32, + /// LongMnemonic = "DEPTP2M", + /// ShortMnemonic = "DP2M", + /// Description = "Depth Por 2 sensor (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTP2M")] + public float? Deptp2m { get; set; } - /// - /// RecordId = 8, - /// ItemId = 34, - /// LongMnemonic = "MPO2", - /// ShortMnemonic = "MPO2", - /// Description = "Porosity Tool 2 reading", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MPO2")] - public float? Mpo2 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 33, + /// LongMnemonic = "DEPTP2V", + /// ShortMnemonic = "DP2V", + /// Description = "Depth Por 2 sensor (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTP2V")] + public float? Deptp2v { get; set; } - /// - /// RecordId = 8, - /// ItemId = 35, - /// LongMnemonic = "MFTANN", - /// ShortMnemonic = "MFTA", - /// Description = "Downhole Fluid Temp (ann)", - /// Description2 = "", - /// FPSUnits = "DEGF", - /// MetricUnits = "DEGC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MFTANN")] - public float? Mftann { get; set; } + /// + /// RecordId = 8, + /// ItemId = 34, + /// LongMnemonic = "MPO2", + /// ShortMnemonic = "MPO2", + /// Description = "Porosity Tool 2 reading", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MPO2")] + public float? Mpo2 { get; set; } - /// - /// RecordId = 8, - /// ItemId = 36, - /// LongMnemonic = "MFTPIPE", - /// ShortMnemonic = "MFTP", - /// Description = "Downhole Fluid Temp (pipe)", - /// Description2 = "", - /// FPSUnits = "DEGF", - /// MetricUnits = "DEGC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MFTPIPE")] - public float? Mftpipe { get; set; } + /// + /// RecordId = 8, + /// ItemId = 35, + /// LongMnemonic = "MFTANN", + /// ShortMnemonic = "MFTA", + /// Description = "Downhole Fluid Temp (ann)", + /// Description2 = "", + /// FPSUnits = "DEGF", + /// MetricUnits = "DEGC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MFTANN")] + public float? Mftann { get; set; } - /// - /// RecordId = 8, - /// ItemId = 37, - /// LongMnemonic = "MFRANN", - /// ShortMnemonic = "MFRA", - /// Description = "Downhole Fluid Resis (ann)", - /// Description2 = "", - /// FPSUnits = "OHMM", - /// MetricUnits = "OHMM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MFRANN")] - public float? Mfrann { get; set; } + /// + /// RecordId = 8, + /// ItemId = 36, + /// LongMnemonic = "MFTPIPE", + /// ShortMnemonic = "MFTP", + /// Description = "Downhole Fluid Temp (pipe)", + /// Description2 = "", + /// FPSUnits = "DEGF", + /// MetricUnits = "DEGC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MFTPIPE")] + public float? Mftpipe { get; set; } - /// - /// RecordId = 8, - /// ItemId = 38, - /// LongMnemonic = "MFRPIPE", - /// ShortMnemonic = "MFRP", - /// Description = "Downhole Fluid Resis (pipe)", - /// Description2 = "", - /// FPSUnits = "OHMM", - /// MetricUnits = "OHMM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MFRPIPE")] - public float? Mfrpipe { get; set; } + /// + /// RecordId = 8, + /// ItemId = 37, + /// LongMnemonic = "MFRANN", + /// ShortMnemonic = "MFRA", + /// Description = "Downhole Fluid Resis (ann)", + /// Description2 = "", + /// FPSUnits = "OHMM", + /// MetricUnits = "OHMM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MFRANN")] + public float? Mfrann { get; set; } - /// - /// RecordId = 8, - /// ItemId = 39, - /// LongMnemonic = "DEPTFDM", - /// ShortMnemonic = "DFDM", - /// Description = "Depth Form Density (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTFDM")] - public float? Deptfdm { get; set; } + /// + /// RecordId = 8, + /// ItemId = 38, + /// LongMnemonic = "MFRPIPE", + /// ShortMnemonic = "MFRP", + /// Description = "Downhole Fluid Resis (pipe)", + /// Description2 = "", + /// FPSUnits = "OHMM", + /// MetricUnits = "OHMM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MFRPIPE")] + public float? Mfrpipe { get; set; } - /// - /// RecordId = 8, - /// ItemId = 40, - /// LongMnemonic = "DEPTFDV", - /// ShortMnemonic = "DFDV", - /// Description = "Depth Form Density (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTFDV")] - public float? Deptfdv { get; set; } + /// + /// RecordId = 8, + /// ItemId = 39, + /// LongMnemonic = "DEPTFDM", + /// ShortMnemonic = "DFDM", + /// Description = "Depth Form Density (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTFDM")] + public float? Deptfdm { get; set; } - /// - /// RecordId = 8, - /// ItemId = 41, - /// LongMnemonic = "MFD", - /// ShortMnemonic = "MFD", - /// Description = "Formation Density", - /// Description2 = "", - /// FPSUnits = "G/CC", - /// MetricUnits = "G/CC", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MFD")] - public float? Mfd { get; set; } + /// + /// RecordId = 8, + /// ItemId = 40, + /// LongMnemonic = "DEPTFDV", + /// ShortMnemonic = "DFDV", + /// Description = "Depth Form Density (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTFDV")] + public float? Deptfdv { get; set; } - /// - /// RecordId = 8, - /// ItemId = 42, - /// LongMnemonic = "DEPTCALM", - /// ShortMnemonic = "DCLM", - /// Description = "Depth Caliper (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTCALM")] - public float? Deptcalm { get; set; } + /// + /// RecordId = 8, + /// ItemId = 41, + /// LongMnemonic = "MFD", + /// ShortMnemonic = "MFD", + /// Description = "Formation Density", + /// Description2 = "", + /// FPSUnits = "G/CC", + /// MetricUnits = "G/CC", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MFD")] + public float? Mfd { get; set; } - /// - /// RecordId = 8, - /// ItemId = 43, - /// LongMnemonic = "DEPTCALV", - /// ShortMnemonic = "DCLV", - /// Description = "Depth Caliper (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTCALV")] - public float? Deptcalv { get; set; } + /// + /// RecordId = 8, + /// ItemId = 42, + /// LongMnemonic = "DEPTCALM", + /// ShortMnemonic = "DCLM", + /// Description = "Depth Caliper (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTCALM")] + public float? Deptcalm { get; set; } - /// - /// RecordId = 8, - /// ItemId = 44, - /// LongMnemonic = "MCLP", - /// ShortMnemonic = "MCLP", - /// Description = "Caliper", - /// Description2 = "", - /// FPSUnits = "IN", - /// MetricUnits = "MM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MCLP")] - public float? Mclp { get; set; } + /// + /// RecordId = 8, + /// ItemId = 43, + /// LongMnemonic = "DEPTCALV", + /// ShortMnemonic = "DCLV", + /// Description = "Depth Caliper (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTCALV")] + public float? Deptcalv { get; set; } - /// - /// RecordId = 8, - /// ItemId = 45, - /// LongMnemonic = "MFPP", - /// ShortMnemonic = "MFPP", - /// Description = "Pore Pressure Grad MWD", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MFPP")] - public float? Mfpp { get; set; } + /// + /// RecordId = 8, + /// ItemId = 44, + /// LongMnemonic = "MCLP", + /// ShortMnemonic = "MCLP", + /// Description = "Caliper", + /// Description2 = "", + /// FPSUnits = "IN", + /// MetricUnits = "MM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MCLP")] + public float? Mclp { get; set; } - /// - /// RecordId = 8, - /// ItemId = 46, - /// LongMnemonic = "MFFP", - /// ShortMnemonic = "MFFP", - /// Description = "Frac Pressure Grad MWD", - /// Description2 = "", - /// FPSUnits = "PPG", - /// MetricUnits = "KGM3", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MFFP")] - public float? Mffp { get; set; } + /// + /// RecordId = 8, + /// ItemId = 45, + /// LongMnemonic = "MFPP", + /// ShortMnemonic = "MFPP", + /// Description = "Pore Pressure Grad MWD", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MFPP")] + public float? Mfpp { get; set; } - /// - /// RecordId = 8, - /// ItemId = 47, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 46, + /// LongMnemonic = "MFFP", + /// ShortMnemonic = "MFFP", + /// Description = "Frac Pressure Grad MWD", + /// Description2 = "", + /// FPSUnits = "PPG", + /// MetricUnits = "KGM3", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MFFP")] + public float? Mffp { get; set; } - /// - /// RecordId = 8, - /// ItemId = 48, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 47, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 8, - /// ItemId = 49, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 48, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 8, - /// ItemId = 50, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 49, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 8, - /// ItemId = 51, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 50, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - /// - /// RecordId = 8, - /// ItemId = 52, - /// LongMnemonic = "SPARE6", - /// ShortMnemonic = "SPR6", - /// Description = "< SPARE 6>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE6")] - public float? Spare6 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 51, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } - /// - /// RecordId = 8, - /// ItemId = 53, - /// LongMnemonic = "SPARE7", - /// ShortMnemonic = "SPR7", - /// Description = "< SPARE 7>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE7")] - public float? Spare7 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 52, + /// LongMnemonic = "SPARE6", + /// ShortMnemonic = "SPR6", + /// Description = "< SPARE 6>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE6")] + public float? Spare6 { get; set; } - /// - /// RecordId = 8, - /// ItemId = 54, - /// LongMnemonic = "SPARE8", - /// ShortMnemonic = "SPR8", - /// Description = "< SPARE 8>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE8")] - public float? Spare8 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 53, + /// LongMnemonic = "SPARE7", + /// ShortMnemonic = "SPR7", + /// Description = "< SPARE 7>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE7")] + public float? Spare7 { get; set; } - /// - /// RecordId = 8, - /// ItemId = 55, - /// LongMnemonic = "SPARE9", - /// ShortMnemonic = "SPR9", - /// Description = "< SPARE 9>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE9")] - public float? Spare9 { get; set; } + /// + /// RecordId = 8, + /// ItemId = 54, + /// LongMnemonic = "SPARE8", + /// ShortMnemonic = "SPR8", + /// Description = "< SPARE 8>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE8")] + public float? Spare8 { get; set; } - } + /// + /// RecordId = 8, + /// ItemId = 55, + /// LongMnemonic = "SPARE9", + /// ShortMnemonic = "SPR9", + /// Description = "< SPARE 9>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE9")] + public float? Spare9 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/Record9.cs b/AsbCloudDb/Model/WITS/Record9.cs index 988089e4..40da98a3 100644 --- a/AsbCloudDb/Model/WITS/Record9.cs +++ b/AsbCloudDb/Model/WITS/Record9.cs @@ -1,345 +1,345 @@ -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// Record name: MWD Mechanical - /// Description: MWD Mechanical data - /// Description2: - /// - [Table("t_telemetry_wits_9")] - public class Record9: RecordBase { - - /// - /// RecordId = 9, - /// ItemId = 8, - /// LongMnemonic = "DEPTMEAS", - /// ShortMnemonic = "DMEA", - /// Description = "Depth Hole (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTMEAS")] - public float? Deptmeas { get; set; } + /// + /// Record name: MWD Mechanical + /// Description: MWD Mechanical data + /// Description2: + /// + [Table("t_telemetry_wits_9")] + public class Record9 : RecordBase + { - /// - /// RecordId = 9, - /// ItemId = 9, - /// LongMnemonic = "DEPTVERT", - /// ShortMnemonic = "DVER", - /// Description = "Depth Hole (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTVERT")] - public float? Deptvert { get; set; } + /// + /// RecordId = 9, + /// ItemId = 8, + /// LongMnemonic = "DEPTMEAS", + /// ShortMnemonic = "DMEA", + /// Description = "Depth Hole (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTMEAS")] + public float? Deptmeas { get; set; } - /// - /// RecordId = 9, - /// ItemId = 10, - /// LongMnemonic = "DEPTBITM", - /// ShortMnemonic = "DBTM", - /// Description = "Depth Bit (meas)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTBITM")] - public float? Deptbitm { get; set; } + /// + /// RecordId = 9, + /// ItemId = 9, + /// LongMnemonic = "DEPTVERT", + /// ShortMnemonic = "DVER", + /// Description = "Depth Hole (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTVERT")] + public float? Deptvert { get; set; } - /// - /// RecordId = 9, - /// ItemId = 11, - /// LongMnemonic = "DEPTBITV", - /// ShortMnemonic = "DBTV", - /// Description = "Depth Bit (vert)", - /// Description2 = "", - /// FPSUnits = "F", - /// MetricUnits = "M", - /// Length = 4, - /// ValueType = "F" - /// - [Column("DEPTBITV")] - public float? Deptbitv { get; set; } + /// + /// RecordId = 9, + /// ItemId = 10, + /// LongMnemonic = "DEPTBITM", + /// ShortMnemonic = "DBTM", + /// Description = "Depth Bit (meas)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTBITM")] + public float? Deptbitm { get; set; } - /// - /// RecordId = 9, - /// ItemId = 12, - /// LongMnemonic = "PASSNUM", - /// ShortMnemonic = "PASS", - /// Description = "Pass Number", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("PASSNUM")] - public short? Passnum { get; set; } + /// + /// RecordId = 9, + /// ItemId = 11, + /// LongMnemonic = "DEPTBITV", + /// ShortMnemonic = "DBTV", + /// Description = "Depth Bit (vert)", + /// Description2 = "", + /// FPSUnits = "F", + /// MetricUnits = "M", + /// Length = 4, + /// ValueType = "F" + /// + [Column("DEPTBITV")] + public float? Deptbitv { get; set; } - /// - /// RecordId = 9, - /// ItemId = 13, - /// LongMnemonic = "MBHPANN", - /// ShortMnemonic = "MBPA", - /// Description = "Bottom-hole annulus press", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MBHPANN")] - public float? Mbhpann { get; set; } + /// + /// RecordId = 9, + /// ItemId = 12, + /// LongMnemonic = "PASSNUM", + /// ShortMnemonic = "PASS", + /// Description = "Pass Number", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("PASSNUM")] + public short? Passnum { get; set; } - /// - /// RecordId = 9, - /// ItemId = 14, - /// LongMnemonic = "MBHPINT", - /// ShortMnemonic = "MBPI", - /// Description = "Bottom-hole internal press", - /// Description2 = "", - /// FPSUnits = "PSI", - /// MetricUnits = "KPA", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MBHPINT")] - public float? Mbhpint { get; set; } + /// + /// RecordId = 9, + /// ItemId = 13, + /// LongMnemonic = "MBHPANN", + /// ShortMnemonic = "MBPA", + /// Description = "Bottom-hole annulus press", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MBHPANN")] + public float? Mbhpann { get; set; } - /// - /// RecordId = 9, - /// ItemId = 15, - /// LongMnemonic = "MWOBA", - /// ShortMnemonic = "MWBA", - /// Description = "Downhole Wt-on-Bit (avg)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MWOBA")] - public float? Mwoba { get; set; } + /// + /// RecordId = 9, + /// ItemId = 14, + /// LongMnemonic = "MBHPINT", + /// ShortMnemonic = "MBPI", + /// Description = "Bottom-hole internal press", + /// Description2 = "", + /// FPSUnits = "PSI", + /// MetricUnits = "KPA", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MBHPINT")] + public float? Mbhpint { get; set; } - /// - /// RecordId = 9, - /// ItemId = 16, - /// LongMnemonic = "MWOBX", - /// ShortMnemonic = "MWBX", - /// Description = "Downhole Wt-on-Bit (max)", - /// Description2 = "", - /// FPSUnits = "KLB", - /// MetricUnits = "KDN", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MWOBX")] - public float? Mwobx { get; set; } + /// + /// RecordId = 9, + /// ItemId = 15, + /// LongMnemonic = "MWOBA", + /// ShortMnemonic = "MWBA", + /// Description = "Downhole Wt-on-Bit (avg)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MWOBA")] + public float? Mwoba { get; set; } - /// - /// RecordId = 9, - /// ItemId = 17, - /// LongMnemonic = "MTORQA", - /// ShortMnemonic = "MTQA", - /// Description = "Downhole Torque (avg)", - /// Description2 = "", - /// FPSUnits = "KFLB", - /// MetricUnits = "KNM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MTORQA")] - public float? Mtorqa { get; set; } + /// + /// RecordId = 9, + /// ItemId = 16, + /// LongMnemonic = "MWOBX", + /// ShortMnemonic = "MWBX", + /// Description = "Downhole Wt-on-Bit (max)", + /// Description2 = "", + /// FPSUnits = "KLB", + /// MetricUnits = "KDN", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MWOBX")] + public float? Mwobx { get; set; } - /// - /// RecordId = 9, - /// ItemId = 18, - /// LongMnemonic = "MTORQX", - /// ShortMnemonic = "MTQX", - /// Description = "Downhole Torque (max)", - /// Description2 = "", - /// FPSUnits = "KFLB", - /// MetricUnits = "KNM", - /// Length = 4, - /// ValueType = "F" - /// - [Column("MTORQX")] - public float? Mtorqx { get; set; } + /// + /// RecordId = 9, + /// ItemId = 17, + /// LongMnemonic = "MTORQA", + /// ShortMnemonic = "MTQA", + /// Description = "Downhole Torque (avg)", + /// Description2 = "", + /// FPSUnits = "KFLB", + /// MetricUnits = "KNM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MTORQA")] + public float? Mtorqa { get; set; } - /// - /// RecordId = 9, - /// ItemId = 19, - /// LongMnemonic = "MMMRPM", - /// ShortMnemonic = "MMRP", - /// Description = "Downhole Motor RPM", - /// Description2 = "", - /// FPSUnits = "RPM", - /// MetricUnits = "RPM", - /// Length = 2, - /// ValueType = "S" - /// - [Column("MMMRPM")] - public short? Mmmrpm { get; set; } + /// + /// RecordId = 9, + /// ItemId = 18, + /// LongMnemonic = "MTORQX", + /// ShortMnemonic = "MTQX", + /// Description = "Downhole Torque (max)", + /// Description2 = "", + /// FPSUnits = "KFLB", + /// MetricUnits = "KNM", + /// Length = 4, + /// ValueType = "F" + /// + [Column("MTORQX")] + public float? Mtorqx { get; set; } - /// - /// RecordId = 9, - /// ItemId = 20, - /// LongMnemonic = "MALTVOLT", - /// ShortMnemonic = "MALT", - /// Description = "MWD Tool Alternator Voltage", - /// Description2 = "", - /// FPSUnits = "V", - /// MetricUnits = "V", - /// Length = 2, - /// ValueType = "S" - /// - [Column("MALTVOLT")] - public short? Maltvolt { get; set; } + /// + /// RecordId = 9, + /// ItemId = 19, + /// LongMnemonic = "MMMRPM", + /// ShortMnemonic = "MMRP", + /// Description = "Downhole Motor RPM", + /// Description2 = "", + /// FPSUnits = "RPM", + /// MetricUnits = "RPM", + /// Length = 2, + /// ValueType = "S" + /// + [Column("MMMRPM")] + public short? Mmmrpm { get; set; } - /// - /// RecordId = 9, - /// ItemId = 21, - /// LongMnemonic = "SPARE1", - /// ShortMnemonic = "SPR1", - /// Description = "< SPARE 1>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE1")] - public float? Spare1 { get; set; } + /// + /// RecordId = 9, + /// ItemId = 20, + /// LongMnemonic = "MALTVOLT", + /// ShortMnemonic = "MALT", + /// Description = "MWD Tool Alternator Voltage", + /// Description2 = "", + /// FPSUnits = "V", + /// MetricUnits = "V", + /// Length = 2, + /// ValueType = "S" + /// + [Column("MALTVOLT")] + public short? Maltvolt { get; set; } - /// - /// RecordId = 9, - /// ItemId = 22, - /// LongMnemonic = "SPARE2", - /// ShortMnemonic = "SPR2", - /// Description = "< SPARE 2>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE2")] - public float? Spare2 { get; set; } + /// + /// RecordId = 9, + /// ItemId = 21, + /// LongMnemonic = "SPARE1", + /// ShortMnemonic = "SPR1", + /// Description = "< SPARE 1>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE1")] + public float? Spare1 { get; set; } - /// - /// RecordId = 9, - /// ItemId = 23, - /// LongMnemonic = "SPARE3", - /// ShortMnemonic = "SPR3", - /// Description = "< SPARE 3>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE3")] - public float? Spare3 { get; set; } + /// + /// RecordId = 9, + /// ItemId = 22, + /// LongMnemonic = "SPARE2", + /// ShortMnemonic = "SPR2", + /// Description = "< SPARE 2>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE2")] + public float? Spare2 { get; set; } - /// - /// RecordId = 9, - /// ItemId = 24, - /// LongMnemonic = "SPARE4", - /// ShortMnemonic = "SPR4", - /// Description = "< SPARE 4>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE4")] - public float? Spare4 { get; set; } + /// + /// RecordId = 9, + /// ItemId = 23, + /// LongMnemonic = "SPARE3", + /// ShortMnemonic = "SPR3", + /// Description = "< SPARE 3>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE3")] + public float? Spare3 { get; set; } - /// - /// RecordId = 9, - /// ItemId = 25, - /// LongMnemonic = "SPARE5", - /// ShortMnemonic = "SPR5", - /// Description = "< SPARE 5>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "---", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE5")] - public float? Spare5 { get; set; } + /// + /// RecordId = 9, + /// ItemId = 24, + /// LongMnemonic = "SPARE4", + /// ShortMnemonic = "SPR4", + /// Description = "< SPARE 4>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE4")] + public float? Spare4 { get; set; } - /// - /// RecordId = 9, - /// ItemId = 26, - /// LongMnemonic = "SPARE6", - /// ShortMnemonic = "SPR6", - /// Description = "< SPARE 6>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE6")] - public float? Spare6 { get; set; } + /// + /// RecordId = 9, + /// ItemId = 25, + /// LongMnemonic = "SPARE5", + /// ShortMnemonic = "SPR5", + /// Description = "< SPARE 5>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "---", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE5")] + public float? Spare5 { get; set; } - /// - /// RecordId = 9, - /// ItemId = 27, - /// LongMnemonic = "SPARE7", - /// ShortMnemonic = "SPR7", - /// Description = "< SPARE 7>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE7")] - public float? Spare7 { get; set; } + /// + /// RecordId = 9, + /// ItemId = 26, + /// LongMnemonic = "SPARE6", + /// ShortMnemonic = "SPR6", + /// Description = "< SPARE 6>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE6")] + public float? Spare6 { get; set; } - /// - /// RecordId = 9, - /// ItemId = 28, - /// LongMnemonic = "SPARE8", - /// ShortMnemonic = "SPR8", - /// Description = "< SPARE 8>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE8")] - public float? Spare8 { get; set; } + /// + /// RecordId = 9, + /// ItemId = 27, + /// LongMnemonic = "SPARE7", + /// ShortMnemonic = "SPR7", + /// Description = "< SPARE 7>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE7")] + public float? Spare7 { get; set; } - /// - /// RecordId = 9, - /// ItemId = 29, - /// LongMnemonic = "SPARE9", - /// ShortMnemonic = "SPR9", - /// Description = "< SPARE 9>", - /// Description2 = "", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "F" - /// - [Column("SPARE9")] - public float? Spare9 { get; set; } + /// + /// RecordId = 9, + /// ItemId = 28, + /// LongMnemonic = "SPARE8", + /// ShortMnemonic = "SPR8", + /// Description = "< SPARE 8>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE8")] + public float? Spare8 { get; set; } - } + /// + /// RecordId = 9, + /// ItemId = 29, + /// LongMnemonic = "SPARE9", + /// ShortMnemonic = "SPR9", + /// Description = "< SPARE 9>", + /// Description2 = "", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "F" + /// + [Column("SPARE9")] + public float? Spare9 { get; set; } + + } } diff --git a/AsbCloudDb/Model/WITS/RecordBase.cs b/AsbCloudDb/Model/WITS/RecordBase.cs index 1bf5effa..7a7590ee 100644 --- a/AsbCloudDb/Model/WITS/RecordBase.cs +++ b/AsbCloudDb/Model/WITS/RecordBase.cs @@ -1,127 +1,126 @@ using System; -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AsbCloudDb.Model.WITS { - /// - /// This is base class for all WITS-0 records - /// - public abstract class RecordBase: ITelemetryData - { - [Column("id_telemetry")] - public int IdTelemetry { get; set; } + /// + /// This is base class for all WITS-0 records + /// + public abstract class RecordBase : ITelemetryData + { + [Column("id_telemetry")] + public int IdTelemetry { get; set; } - [Column("date", TypeName = "timestamp with time zone")] - public DateTimeOffset DateTime { get; set; } + [Column("date", TypeName = "timestamp with time zone")] + public DateTimeOffset DateTime { get; set; } - /// - /// RecordId = 1, - /// ItemId = 1, - /// LongMnemonic = "WELLID", - /// ShortMnemonic = "WID", - /// Description = "Well Identifier", - /// Description2 = "Number/name assigned to the well by the operator for identification purposes. This item is common to all records. This includes a four-character code identifying the SENDER.", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 16, - /// ValueType = "A" - /// - [Column("WELLID")] - public string? Wellid { get; set; } + /// + /// RecordId = 1, + /// ItemId = 1, + /// LongMnemonic = "WELLID", + /// ShortMnemonic = "WID", + /// Description = "Well Identifier", + /// Description2 = "Number/name assigned to the well by the operator for identification purposes. This item is common to all records. This includes a four-character code identifying the SENDER.", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 16, + /// ValueType = "A" + /// + [Column("WELLID")] + public string? Wellid { get; set; } - /// - /// RecordId = 1, - /// ItemId = 2, - /// LongMnemonic = "STKNUM", - /// ShortMnemonic = "SKNO", - /// Description = "Sidetrack/Hole Sect No.", - /// Description2 = "Measured depth of the hole at the time the record is generated.", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("STKNUM")] - public short? Stknum { get; set; } + /// + /// RecordId = 1, + /// ItemId = 2, + /// LongMnemonic = "STKNUM", + /// ShortMnemonic = "SKNO", + /// Description = "Sidetrack/Hole Sect No.", + /// Description2 = "Measured depth of the hole at the time the record is generated.", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("STKNUM")] + public short? Stknum { get; set; } - /// - /// RecordId = 1, - /// ItemId = 3, - /// LongMnemonic = "RECID", - /// ShortMnemonic = "RID", - /// Description = "Record Identifier", - /// Description2 = "Number of the sidetrack being drilled at the time the computer generated the record. Prior to having a sidetrack, this number is always 0. The sidetrack number indexes at the time drilling new formation commences (not while drilling the cement plug). This item is common to all records.", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("RECID")] - public short? Recid { get; set; } + /// + /// RecordId = 1, + /// ItemId = 3, + /// LongMnemonic = "RECID", + /// ShortMnemonic = "RID", + /// Description = "Record Identifier", + /// Description2 = "Number of the sidetrack being drilled at the time the computer generated the record. Prior to having a sidetrack, this number is always 0. The sidetrack number indexes at the time drilling new formation commences (not while drilling the cement plug). This item is common to all records.", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("RECID")] + public short? Recid { get; set; } - /// - /// RecordId = 1, - /// ItemId = 4, - /// LongMnemonic = "SEQID", - /// ShortMnemonic = "SQID", - /// Description = "Sequence Identifier", - /// Description2 = "Logical data record type identifier. This item is common to all records and, for current Pre-Defined Records, contains a value between 1 and 25, according to the record type. Types 26 through 49 inclusive are reserved for future expansion of the Pre-Defined records. Types 50 through 80 inclusive are open for Custom user definition. NOTE that the Logical Record Type for a record is this number plus 150, thus WITS Record 1 is Logical Record Type 151, WITS Record 2 is Logical Record Type 152, etc.", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "L" - /// - [Column("SEQID")] - public int? Seqid { get; set; } + /// + /// RecordId = 1, + /// ItemId = 4, + /// LongMnemonic = "SEQID", + /// ShortMnemonic = "SQID", + /// Description = "Sequence Identifier", + /// Description2 = "Logical data record type identifier. This item is common to all records and, for current Pre-Defined Records, contains a value between 1 and 25, according to the record type. Types 26 through 49 inclusive are reserved for future expansion of the Pre-Defined records. Types 50 through 80 inclusive are open for Custom user definition. NOTE that the Logical Record Type for a record is this number plus 150, thus WITS Record 1 is Logical Record Type 151, WITS Record 2 is Logical Record Type 152, etc.", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "L" + /// + [Column("SEQID")] + public int? Seqid { get; set; } - /// - /// RecordId = 1, - /// ItemId = 5, - /// LongMnemonic = "DATE", - /// ShortMnemonic = "DATE", - /// Description = "Date", - /// Description2 = "Indicates the number of times this record has been generated (it is not reset to zero for a sidetrack). The computer should automatically increase the number by one each time it creates a new record. This item is common to all records. The sequence identifier in each individual record type keeps track of the count for that particular record only. Thus there is a sequence identifier for each record type used.", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "L" - /// - [Column("DATE")] - public int? Date { get; set; } + /// + /// RecordId = 1, + /// ItemId = 5, + /// LongMnemonic = "DATE", + /// ShortMnemonic = "DATE", + /// Description = "Date", + /// Description2 = "Indicates the number of times this record has been generated (it is not reset to zero for a sidetrack). The computer should automatically increase the number by one each time it creates a new record. This item is common to all records. The sequence identifier in each individual record type keeps track of the count for that particular record only. Thus there is a sequence identifier for each record type used.", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "L" + /// + [Column("DATE")] + public int? Date { get; set; } - /// - /// RecordId = 1, - /// ItemId = 6, - /// LongMnemonic = "TIME", - /// ShortMnemonic = "TIME", - /// Description = "Time", - /// Description2 = "Indicates the date the computer generated this record. The date is reported as a 6 digit integer in a YYMMDD type format. e.g. 910404 would represent April 4, 1991. It is common to all records. Note that, like Time below, Universal Coordinated Time (Greenwich Mean Time) is used as the common reference. Note also that though this number should never decrease, there is no guarantee of this fact.", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 4, - /// ValueType = "L" - /// - [Column("TIME")] - public int? Time { get; set; } + /// + /// RecordId = 1, + /// ItemId = 6, + /// LongMnemonic = "TIME", + /// ShortMnemonic = "TIME", + /// Description = "Time", + /// Description2 = "Indicates the date the computer generated this record. The date is reported as a 6 digit integer in a YYMMDD type format. e.g. 910404 would represent April 4, 1991. It is common to all records. Note that, like Time below, Universal Coordinated Time (Greenwich Mean Time) is used as the common reference. Note also that though this number should never decrease, there is no guarantee of this fact.", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 4, + /// ValueType = "L" + /// + [Column("TIME")] + public int? Time { get; set; } - /// - /// RecordId = 1, - /// ItemId = 7, - /// LongMnemonic = "ACTCOD", - /// ShortMnemonic = "ACTC", - /// Description = "Activity Code", - /// Description2 = "Indicates the time of day (24 hour clock), when the computer generated the record, eg. 225015 would represent 10:50:15 pm. This item is common to all records. Note that, like Date above, Universal Coordinated Time (Greenwich Mean Time) is used as the common reference.", - /// FPSUnits = "----", - /// MetricUnits = "----", - /// Length = 2, - /// ValueType = "S" - /// - [Column("ACTCOD")] - public short? Actcod { get; set; } + /// + /// RecordId = 1, + /// ItemId = 7, + /// LongMnemonic = "ACTCOD", + /// ShortMnemonic = "ACTC", + /// Description = "Activity Code", + /// Description2 = "Indicates the time of day (24 hour clock), when the computer generated the record, eg. 225015 would represent 10:50:15 pm. This item is common to all records. Note that, like Date above, Universal Coordinated Time (Greenwich Mean Time) is used as the common reference.", + /// FPSUnits = "----", + /// MetricUnits = "----", + /// Length = 2, + /// ValueType = "S" + /// + [Column("ACTCOD")] + public short? Actcod { get; set; } - [ForeignKey(nameof(IdTelemetry))] - public virtual Telemetry Telemetry { get; set; } - } + [ForeignKey(nameof(IdTelemetry))] + public virtual Telemetry Telemetry { get; set; } + } } diff --git a/AsbCloudDb/Model/Well.cs b/AsbCloudDb/Model/Well.cs index 346d112d..74345480 100644 --- a/AsbCloudDb/Model/Well.cs +++ b/AsbCloudDb/Model/Well.cs @@ -27,7 +27,7 @@ namespace AsbCloudDb.Model [Column("id_well_type")] public int? IdWellType { get; set; } - + [Column("state"), Comment("0 - неизвестно, 1 - в работе, 2 - завершена")] public int IdState { get; set; } diff --git a/AsbCloudDb/Model/WellComposite.cs b/AsbCloudDb/Model/WellComposite.cs index b0815454..bbb2e8aa 100644 --- a/AsbCloudDb/Model/WellComposite.cs +++ b/AsbCloudDb/Model/WellComposite.cs @@ -1,5 +1,4 @@ using Microsoft.EntityFrameworkCore; -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; #nullable disable diff --git a/AsbCloudDb/Model/WellSectionType.cs b/AsbCloudDb/Model/WellSectionType.cs index 133032a0..1bd873fc 100644 --- a/AsbCloudDb/Model/WellSectionType.cs +++ b/AsbCloudDb/Model/WellSectionType.cs @@ -21,7 +21,7 @@ namespace AsbCloudDb.Model [JsonIgnore] [InverseProperty(nameof(WellOperation.WellSectionType))] public virtual ICollection WellOperations { get; set; } - + [JsonIgnore] [InverseProperty(nameof(DrillParams.WellSectionType))] public virtual ICollection DrillParamsCollection { get; set; } diff --git a/AsbCloudInfrastructure/DateTimeExtentions.cs b/AsbCloudInfrastructure/DateTimeExtentions.cs index 5c562399..10a20972 100644 --- a/AsbCloudInfrastructure/DateTimeExtentions.cs +++ b/AsbCloudInfrastructure/DateTimeExtentions.cs @@ -15,7 +15,7 @@ namespace AsbCloudInfrastructure DateTimeKind.Unspecified => DateTime.SpecifyKind(date.AddHours(-remoteTimezoneOffsetHours), DateTimeKind.Utc), _ => date, }; - return new DateTimeOffset( dateUtc); + return new DateTimeOffset(dateUtc); } public static DateTime ToRemoteDateTime(this DateTimeOffset date, double remoteTimezoneOffsetHours) diff --git a/AsbCloudInfrastructure/DependencyInjection.cs b/AsbCloudInfrastructure/DependencyInjection.cs index 5c9971db..d92e3c67 100644 --- a/AsbCloudInfrastructure/DependencyInjection.cs +++ b/AsbCloudInfrastructure/DependencyInjection.cs @@ -1,20 +1,20 @@ using AsbCloudApp.Data; +using AsbCloudApp.Data.SAUB; using AsbCloudApp.Services; using AsbCloudDb.Model; using AsbCloudInfrastructure.Services; using AsbCloudInfrastructure.Services.Analysis; using AsbCloudInfrastructure.Services.Cache; +using AsbCloudInfrastructure.Services.DrillingProgram; +using AsbCloudInfrastructure.Services.SAUB; using AsbCloudInfrastructure.Services.WellOperationService; using AsbCloudInfrastructure.Validators; +using FluentValidation.AspNetCore; using Mapster; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; -using FluentValidation; -using FluentValidation.AspNetCore; -using AsbCloudInfrastructure.Services.DrillingProgram; -using AsbCloudApp.Data.SAUB; namespace AsbCloudInfrastructure { @@ -48,7 +48,7 @@ namespace AsbCloudInfrastructure options.UseNpgsql(configuration.GetConnectionString("DefaultConnection"))); services.AddFluentValidation(); - + services.AddScoped(provider => provider.GetService()); services.AddScoped(); services.AddScoped(); @@ -71,7 +71,7 @@ namespace AsbCloudInfrastructure services.AddTransient(); services.AddTransient(); services.AddTransient(); - services.AddTransient(); + services.AddTransient(); services.AddTransient(); services.AddTransient(); services.AddTransient(); @@ -80,7 +80,7 @@ namespace AsbCloudInfrastructure services.AddTransient(); services.AddTransient(); services.AddTransient(); - services.AddTransient(); + services.AddTransient(); services.AddTransient(); services.AddTransient(); services.AddTransient(); diff --git a/AsbCloudInfrastructure/ReportDataSourcePgCloud.cs b/AsbCloudInfrastructure/ReportDataSourcePgCloud.cs index ae175266..67da6b82 100644 --- a/AsbCloudInfrastructure/ReportDataSourcePgCloud.cs +++ b/AsbCloudInfrastructure/ReportDataSourcePgCloud.cs @@ -1,10 +1,10 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using AsbCloudApp.Exceptions; +using AsbCloudApp.Exceptions; using AsbCloudDb.Model; using AsbSaubReport.Model; using Microsoft.EntityFrameworkCore; +using System; +using System.Collections.Generic; +using System.Linq; namespace AsbCloudInfrastructure { @@ -28,7 +28,7 @@ namespace AsbCloudInfrastructure public ReportDataSourcePgCloud(AsbCloudDbContext context, int idWell) { this.context = context; - + var well = context.Wells .Include(w => w.Cluster) .ThenInclude(c => c.Deposit) @@ -97,7 +97,8 @@ namespace AsbCloudInfrastructure && d.DateTime >= beginUtc && d.DateTime <= endUtc) .OrderBy(d => d.DateTime) - .Select(d => new DataSaubReport { + .Select(d => new DataSaubReport + { Date = d.DateTime.DateTime.AddHours(timezoneOffset), Mode = d.Mode, WellDepth = d.WellDepth, diff --git a/AsbCloudInfrastructure/Services/Analysis/InterpolationLine.cs b/AsbCloudInfrastructure/Services/Analysis/InterpolationLine.cs index 653b1d4a..93f1e5ee 100644 --- a/AsbCloudInfrastructure/Services/Analysis/InterpolationLine.cs +++ b/AsbCloudInfrastructure/Services/Analysis/InterpolationLine.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; +using System.Collections.Generic; namespace AsbCloudInfrastructure.Services.Analysis { @@ -33,7 +31,7 @@ namespace AsbCloudInfrastructure.Services.Analysis (xSum * xySum - x2Sum * ySum) / (xSum * xSum - count * x2Sum); - public bool IsYNotChanges(double upperBound = 0d, double lowerBound = 0d) => + public bool IsYNotChanges(double upperBound = 0d, double lowerBound = 0d) => A < upperBound && A > lowerBound; public bool IsYIncreases(double bound = 0d) => diff --git a/AsbCloudInfrastructure/Services/Analysis/TelemetryAnalyticsBackgroundService.cs b/AsbCloudInfrastructure/Services/Analysis/TelemetryAnalyticsBackgroundService.cs index 6fc77638..5db2de25 100644 --- a/AsbCloudInfrastructure/Services/Analysis/TelemetryAnalyticsBackgroundService.cs +++ b/AsbCloudInfrastructure/Services/Analysis/TelemetryAnalyticsBackgroundService.cs @@ -1,13 +1,14 @@ -using System; +using AsbCloudApp.Services; +using AsbCloudDb.Model; +using AsbCloudInfrastructure.Services.Cache; +using AsbCloudInfrastructure.Services.SAUB; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.Hosting; +using System; +using System.Diagnostics; using System.Threading; using System.Threading.Tasks; -using System.Diagnostics; -using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.Hosting; -using AsbCloudInfrastructure.Services.Cache; -using AsbCloudApp.Services; -using AsbCloudDb.Model; -using Microsoft.Extensions.Configuration; namespace AsbCloudInfrastructure.Services.Analysis { @@ -34,7 +35,7 @@ namespace AsbCloudInfrastructure.Services.Analysis while (!token.IsCancellationRequested) { - if(DateTime.Now > timeToStartAnalysis) + if (DateTime.Now > timeToStartAnalysis) { timeToStartAnalysis = DateTime.Now + period; try @@ -45,7 +46,7 @@ namespace AsbCloudInfrastructure.Services.Analysis var analyticsService = new TelemetryAnalyticsService(context, telemetryService, cacheDb); - await analyticsService.AnalyzeAndSaveTelemetriesAsync(token).ConfigureAwait(false); + await analyticsService.AnalyzeAndSaveTelemetriesAsync(token).ConfigureAwait(false); context.Dispose(); } catch (Exception ex) @@ -58,7 +59,7 @@ namespace AsbCloudInfrastructure.Services.Analysis var ms = (int)(timeToStartAnalysis - DateTime.Now).TotalMilliseconds; ms = ms > 100 ? ms : 100; - await Task.Delay(ms, token).ConfigureAwait(false); + await Task.Delay(ms, token).ConfigureAwait(false); } } diff --git a/AsbCloudInfrastructure/Services/Analysis/TelemetryAnalyticsService.cs b/AsbCloudInfrastructure/Services/Analysis/TelemetryAnalyticsService.cs index 5ac22ae0..c7e2edcc 100644 --- a/AsbCloudInfrastructure/Services/Analysis/TelemetryAnalyticsService.cs +++ b/AsbCloudInfrastructure/Services/Analysis/TelemetryAnalyticsService.cs @@ -76,13 +76,14 @@ namespace AsbCloudInfrastructure.Services.Analysis var drillingPeriodsInfo = await db.TelemetryDataSaub .Where(t => t.IdTelemetry == telemetryId) .GroupBy(t => Math.Floor((((t.DateTime.DayOfYear * 24 + t.DateTime.Hour) * 60 + t.DateTime.Minute) * 60 + t.DateTime.Second + timezone.Hours - shiftStartSec) / intervalSeconds)) - .Select(g => new { + .Select(g => new + { WellDepthMin = g.Min(t => t.WellDepth), WellDepthMax = g.Max(t => t.WellDepth), DateMin = g.Min(t => t.DateTime), DateMax = g.Max(t => t.DateTime), }) - .OrderBy(g=>g.DateMin) + .OrderBy(g => g.DateMin) .ToListAsync(token); var wellDepthToIntervalData = drillingPeriodsInfo.Select(d => new WellDepthToIntervalDto @@ -170,11 +171,11 @@ namespace AsbCloudInfrastructure.Services.Analysis if (telemetryId is null) return null; - var unixBegin = begin == default - ? 0 + var unixBegin = begin == default + ? 0 : (begin - new DateTime(1970, 1, 1)).TotalSeconds; - var unixEnd = end == default - ? (DateTime.Now - new DateTime(1970, 1, 1)).TotalSeconds + var unixEnd = end == default + ? (DateTime.Now - new DateTime(1970, 1, 1)).TotalSeconds : (end - new DateTime(1970, 1, 1)).TotalSeconds; return await (from a in db.TelemetryAnalysis @@ -256,7 +257,7 @@ namespace AsbCloudInfrastructure.Services.Analysis const int take = step * 2; TelemetryAnalysis currentAnalysis = null; - + while (true) { var dataSaubPart = await GetDataSaubPartOrDefaultAsync(idTelemetry, analyzeStartDate, token).ConfigureAwait(false); @@ -328,24 +329,24 @@ namespace AsbCloudInfrastructure.Services.Analysis ? DateTime.MaxValue : DateTimeOffset.FromUnixTimeSeconds(datesRange.To)).ToRemoteDateTime(timezone.Hours), }; - + return result; } private async Task GetLastAnalysisDateAsync(int idTelemetry, CancellationToken token = default) { var lastAnalysisInDb = await (from analysis in db.TelemetryAnalysis - where analysis.IdTelemetry == idTelemetry - orderby analysis.UnixDate - select analysis) + where analysis.IdTelemetry == idTelemetry + orderby analysis.UnixDate + select analysis) .LastOrDefaultAsync(token) .ConfigureAwait(false); DateTime lastAnalysisDate = new DateTime(0, DateTimeKind.Utc); - if(lastAnalysisInDb is not null) + if (lastAnalysisInDb is not null) lastAnalysisDate = DateTime.UnixEpoch.AddSeconds(lastAnalysisInDb.DurationSec + lastAnalysisInDb.UnixDate); - + return lastAnalysisDate; } @@ -363,11 +364,12 @@ namespace AsbCloudInfrastructure.Services.Analysis ) .OrderBy(d => d.DateTime) .Take(countOfRecordsForInterpolation) - .Select(d => new DataSaubAnalyse { + .Select(d => new DataSaubAnalyse + { IdTelemetry = d.IdTelemetry, Date = d.DateTime, BitDepth = d.BitDepth ?? 0, - BlockPosition = d.BlockPosition ?? 0, + BlockPosition = d.BlockPosition ?? 0, HookWeight = d.HookWeight ?? 0, Pressure = d.Pressure ?? 0, RotorSpeed = d.RotorSpeed ?? 0, @@ -479,7 +481,7 @@ namespace AsbCloudInfrastructure.Services.Analysis var dataSaubFirst = dataSaubPartOfPart.First(); var dataSaubLast = dataSaubPartOfPart.Last(); - var saubWellDepths = dataSaubPartOfPart.Select(s => (Y: (double)s.WellDepth, + var saubWellDepths = dataSaubPartOfPart.Select(s => (Y: (double)s.WellDepth, X: (s.Date - dataSaubFirst.Date).TotalSeconds)); var saubBitDepths = dataSaubPartOfPart.Select(s => (Y: (double)s.BitDepth, X: (s.Date - dataSaubFirst.Date).TotalSeconds)); @@ -507,7 +509,7 @@ namespace AsbCloudInfrastructure.Services.Analysis OperationStartDepth = null, OperationEndDepth = null, IsWellDepthDecreasing = wellDepthLine.IsYDecreases(-0.0001), - IsWellDepthIncreasing = wellDepthLine.IsYIncreases( 0.0001), + IsWellDepthIncreasing = wellDepthLine.IsYIncreases(0.0001), IsBitPositionDecreasing = bitPositionLine.IsYDecreases(-0.0001), IsBitPositionIncreasing = bitPositionLine.IsYIncreases(0.0001), IsBitPositionLt20 = bitPositionLine.IsAverageYLessThanBound(20), @@ -522,7 +524,7 @@ namespace AsbCloudInfrastructure.Services.Analysis IdOperation = default, }; - drillingAnalysis.IdOperation = + drillingAnalysis.IdOperation = operationDetectorService.DetectOperation(drillingAnalysis).Id; return drillingAnalysis; diff --git a/AsbCloudInfrastructure/Services/AuthService.cs b/AsbCloudInfrastructure/Services/AuthService.cs index 6b37716f..ea91d774 100644 --- a/AsbCloudInfrastructure/Services/AuthService.cs +++ b/AsbCloudInfrastructure/Services/AuthService.cs @@ -1,18 +1,18 @@ using AsbCloudApp.Data; using AsbCloudApp.Services; using AsbCloudDb.Model; +using Mapster; using Microsoft.EntityFrameworkCore; using Microsoft.IdentityModel.Tokens; using System; using System.Collections.Generic; +using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using System.Security.Cryptography; using System.Text; using System.Threading; using System.Threading.Tasks; -using Mapster; -using System.IdentityModel.Tokens.Jwt; namespace AsbCloudInfrastructure.Services { @@ -23,7 +23,7 @@ namespace AsbCloudInfrastructure.Services public const string issuer = "a"; public const string audience = "a"; - public static readonly SymmetricSecurityKey securityKey = new (Encoding.ASCII.GetBytes("супер секретный ключ для шифрования")); + public static readonly SymmetricSecurityKey securityKey = new(Encoding.ASCII.GetBytes("супер секретный ключ для шифрования")); private const string algorithms = SecurityAlgorithms.HmacSha256; private static readonly TimeSpan expiresTimespan = TimeSpan.FromDays(365.25); @@ -72,19 +72,19 @@ namespace AsbCloudInfrastructure.Services if (userDto.Password is null || userDto.Password.Length is < 3 or > 50) return -2; - + if (userDto.Email?.Length > 255) return -3; - + if (userDto.Phone?.Length > 50) return -4; - + if (userDto.Position?.Length > 255) return -5; var user = db.Users.FirstOrDefault(u => u.Login == userDto.Login); - - if(user is not null) + + if (user is not null) return -6; var salt = GenerateSalt(); @@ -104,7 +104,7 @@ namespace AsbCloudInfrastructure.Services }; db.Users.Add(newUser); - + try { db.SaveChanges(); diff --git a/AsbCloudInfrastructure/Services/BackgroundWorkerService.cs b/AsbCloudInfrastructure/Services/BackgroundWorkerService.cs index 4906471d..ab4d723a 100644 --- a/AsbCloudInfrastructure/Services/BackgroundWorkerService.cs +++ b/AsbCloudInfrastructure/Services/BackgroundWorkerService.cs @@ -1,5 +1,4 @@ -using AsbCloudApp.Data; -using AsbCloudApp.Services; +using AsbCloudApp.Services; using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; @@ -136,7 +135,7 @@ namespace AsbCloudInfrastructure.Services { try { - var actionTask = work.ActionAsync(work.Id, cts.Token); + var actionTask = work.ActionAsync(work.Id, cts.Token); await actionTask.WaitAsync(TimeSpan.FromMinutes(2), cts.Token); } catch (Exception ex) diff --git a/AsbCloudInfrastructure/Services/Cache/CacheDb.cs b/AsbCloudInfrastructure/Services/Cache/CacheDb.cs index a43be14b..f8f56f0c 100644 --- a/AsbCloudInfrastructure/Services/Cache/CacheDb.cs +++ b/AsbCloudInfrastructure/Services/Cache/CacheDb.cs @@ -1,15 +1,14 @@ using Microsoft.EntityFrameworkCore; -using System.Linq; +using System; using System.Collections.Concurrent; using System.Collections.Generic; -using System; -using AsbCloudApp; +using System.Linq; namespace AsbCloudInfrastructure.Services.Cache { public class CacheDb { - private readonly ConcurrentDictionary cache = + private readonly ConcurrentDictionary cache = new ConcurrentDictionary(); public CacheTable GetCachedTable(DbContext context, params string[] includes) diff --git a/AsbCloudInfrastructure/Services/Cache/CacheTable.cs b/AsbCloudInfrastructure/Services/Cache/CacheTable.cs index a0170e17..46ff4572 100644 --- a/AsbCloudInfrastructure/Services/Cache/CacheTable.cs +++ b/AsbCloudInfrastructure/Services/Cache/CacheTable.cs @@ -1,11 +1,11 @@ using Microsoft.EntityFrameworkCore; using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; -using System.Collections; -using System.Diagnostics; namespace AsbCloudInfrastructure.Services.Cache { @@ -28,13 +28,13 @@ namespace AsbCloudInfrastructure.Services.Cache this.context = context; this.data = data; dbSet = context.Set(); - + if (includes?.Any() == true) configureDbSet = (DbSet dbSet) => { IQueryable result = dbSet; - foreach (var include in includes) - result = result.Include(include); + foreach (var include in includes) + result = result.Include(include); return result; }; @@ -418,7 +418,7 @@ namespace AsbCloudInfrastructure.Services.Cache public Task> InsertAsync(IEnumerable newEntities, CancellationToken token = default) { - if(newEntities is null) + if (newEntities is null) return null; var count = newEntities.Count(); if (count == 0) diff --git a/AsbCloudInfrastructure/Services/Cache/CacheTableDataStore.cs b/AsbCloudInfrastructure/Services/Cache/CacheTableDataStore.cs index ef900b11..3c2fad37 100644 --- a/AsbCloudInfrastructure/Services/Cache/CacheTableDataStore.cs +++ b/AsbCloudInfrastructure/Services/Cache/CacheTableDataStore.cs @@ -1,6 +1,5 @@ using System; using System.Collections; -using System.Collections.Generic; namespace AsbCloudInfrastructure.Services.Cache { @@ -11,7 +10,7 @@ namespace AsbCloudInfrastructure.Services.Cache //public ISet Includes { get; set; } //TODO: this prop change should update entities public IEnumerable Entities { get; set; } - public TimeSpan ObsolesenceTime { get; set; } = TimeSpan.FromMinutes(15); + public TimeSpan ObsolesenceTime { get; set; } = TimeSpan.FromMinutes(15); public bool IsObsolete => (DateTime.Now - LastResreshDate > ObsolesenceTime); } diff --git a/AsbCloudInfrastructure/Services/ClusterService.cs b/AsbCloudInfrastructure/Services/ClusterService.cs index 7f73525d..79f1ea46 100644 --- a/AsbCloudInfrastructure/Services/ClusterService.cs +++ b/AsbCloudInfrastructure/Services/ClusterService.cs @@ -39,7 +39,7 @@ namespace AsbCloudInfrastructure.Services return dtos; } - + public async Task> GetDepositsDrillParamsAsync(int idCompany, CancellationToken token = default) { @@ -48,10 +48,10 @@ namespace AsbCloudInfrastructure.Services .Include(w => w.WellType) .Include(w => w.Cluster) .ThenInclude(c => c.Deposit) - from p in db.DrillParams - where well.RelationCompaniesWells.Any(r => r.IdCompany == idCompany) && - well.Id == p.IdWell - select well).ToListAsync(token) + from p in db.DrillParams + where well.RelationCompaniesWells.Any(r => r.IdCompany == idCompany) && + well.Id == p.IdWell + select well).ToListAsync(token) .ConfigureAwait(false); var gDepositEntities = GroupWells(wellEntities); @@ -131,7 +131,7 @@ namespace AsbCloudInfrastructure.Services .Where(w => w.RelationCompaniesWells.Any(c => c.IdCompany == idCompany)); } - private IEnumerable CreateDepositDto(IEnumerable>>gDepositEntities) + private IEnumerable CreateDepositDto(IEnumerable>> gDepositEntities) { return gDepositEntities.Select(gDeposit => new DepositDto { @@ -145,7 +145,8 @@ namespace AsbCloudInfrastructure.Services Caption = gCluster.Key.Caption, Latitude = gCluster.Key.Latitude, Longitude = gCluster.Key.Longitude, - Wells = gCluster.Select(well => { + Wells = gCluster.Select(well => + { var dto = well.Adapt(); dto.WellType = well.WellType?.Caption; dto.LastTelemetryDate = wellService.GetLastTelemetryDate(well.Id).DateTime; diff --git a/AsbCloudInfrastructure/Services/CrudCacheServiceBase.cs b/AsbCloudInfrastructure/Services/CrudCacheServiceBase.cs index d35f767c..104aa156 100644 --- a/AsbCloudInfrastructure/Services/CrudCacheServiceBase.cs +++ b/AsbCloudInfrastructure/Services/CrudCacheServiceBase.cs @@ -1,4 +1,3 @@ -using AsbCloudApp; using AsbCloudApp.Services; using AsbCloudDb.Model; using AsbCloudInfrastructure.Services.Cache; @@ -21,16 +20,18 @@ namespace AsbCloudInfrastructure.Services public ISet Includes { get; } = new SortedSet(); - protected CacheTable Cache { - get { - if(cache is null) + protected CacheTable Cache + { + get + { + if (cache is null) cache = cacheDb.GetCachedTable((AsbCloudDbContext)db, Includes); return cache; } } public CrudCacheServiceBase(IAsbCloudDbContext db, CacheDb cacheDb) - { + { this.db = db; this.cacheDb = cacheDb; } @@ -40,15 +41,15 @@ namespace AsbCloudInfrastructure.Services var entity = Convert(newItem); var insertedEntity = await Cache.InsertAsync(entity, token) .ConfigureAwait(false); - return insertedEntity?.Id??-1; + return insertedEntity?.Id ?? -1; } public virtual async Task InsertRangeAsync(IEnumerable dtos, CancellationToken token) { - var entities = dtos.Select(Convert); + var entities = dtos.Select(Convert); var insertedEntities = await Cache.InsertAsync(entities, token) .ConfigureAwait(false); - return insertedEntities?.Count()??0; + return insertedEntities?.Count() ?? 0; } public virtual async Task> GetAllAsync(CancellationToken token) @@ -74,12 +75,12 @@ namespace AsbCloudInfrastructure.Services { if (dto.Id != id) { - var exist = await Cache.ContainsAsync(i=>i.Id == dto.Id, token) + var exist = await Cache.ContainsAsync(i => i.Id == dto.Id, token) .ConfigureAwait(false); - + if (exist) return -1; - + await Cache.RemoveAsync(i => i.Id == id, token) .ConfigureAwait(false); } diff --git a/AsbCloudInfrastructure/Services/CrudServiceBase.cs b/AsbCloudInfrastructure/Services/CrudServiceBase.cs index ca4bc395..12805c00 100644 --- a/AsbCloudInfrastructure/Services/CrudServiceBase.cs +++ b/AsbCloudInfrastructure/Services/CrudServiceBase.cs @@ -1,5 +1,4 @@ -using AsbCloudApp; -using AsbCloudApp.Data; +using AsbCloudApp.Data; using AsbCloudApp.Services; using AsbCloudDb.Model; using Mapster; @@ -93,7 +92,8 @@ namespace AsbCloudInfrastructure.Services public virtual Task InsertRangeAsync(IEnumerable items, CancellationToken token = default) { - var entities = items.Select(i => { + var entities = items.Select(i => + { var entity = Convert(i); entity.Id = 0; return entity; diff --git a/AsbCloudInfrastructure/Services/DrillFlowChartService.cs b/AsbCloudInfrastructure/Services/DrillFlowChartService.cs index 046a46bf..c9e927ea 100644 --- a/AsbCloudInfrastructure/Services/DrillFlowChartService.cs +++ b/AsbCloudInfrastructure/Services/DrillFlowChartService.cs @@ -1,43 +1,44 @@ +using AsbCloudApp.Data; +using AsbCloudApp.Services; +using AsbCloudDb.Model; +using Mapster; +using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; -using AsbCloudApp.Data; -using AsbCloudApp.Services; -using AsbCloudDb.Model; -using Microsoft.EntityFrameworkCore; -using Mapster; namespace AsbCloudInfrastructure.Services { - public class DrillFlowChartService : CrudServiceBase, + public class DrillFlowChartService : CrudServiceBase, IDrillFlowChartService { private readonly IAsbCloudDbContext db; private readonly IWellService wellService; - public DrillFlowChartService(IAsbCloudDbContext context, IWellService wellService) + public DrillFlowChartService(IAsbCloudDbContext context, IWellService wellService) : base(context) { this.db = context; this.wellService = wellService; } - + public async Task> GetAllAsync(int idWell, DateTime updateFrom, CancellationToken token = default) { var timezone = wellService.GetTimezone(idWell); var updateFromUtc = updateFrom.ToUtcDateTimeOffset(timezone.Hours); var entities = await (from p in db.DrillFlowChart - where p.IdWell == idWell && - p.LastUpdate > updateFromUtc - orderby p.DepthStart, p.Id - select p) + where p.IdWell == idWell && + p.LastUpdate > updateFromUtc + orderby p.DepthStart, p.Id + select p) .ToListAsync(token) .ConfigureAwait(false); - - var dtos = entities.Select(entity => { + + var dtos = entities.Select(entity => + { var dto = entity.Adapt(); dto.LastUpdate = entity.LastUpdate.ToRemoteDateTime(timezone.Hours); return dto; @@ -67,8 +68,8 @@ namespace AsbCloudInfrastructure.Services return result; } - - public async Task UpdateAsync(int idWell, int idDto, DrillFlowChartDto dto, + + public async Task UpdateAsync(int idWell, int idDto, DrillFlowChartDto dto, CancellationToken token = default) { dto.IdWell = idWell; diff --git a/AsbCloudInfrastructure/Services/DrillParamsService.cs b/AsbCloudInfrastructure/Services/DrillParamsService.cs index 4b29ab30..385b3dea 100644 --- a/AsbCloudInfrastructure/Services/DrillParamsService.cs +++ b/AsbCloudInfrastructure/Services/DrillParamsService.cs @@ -1,12 +1,12 @@ -using System.Collections.Generic; +using AsbCloudApp.Data; +using AsbCloudApp.Services; +using AsbCloudDb.Model; +using Mapster; +using Microsoft.EntityFrameworkCore; +using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; -using AsbCloudApp.Data; -using AsbCloudApp.Services; -using AsbCloudDb.Model; -using Microsoft.EntityFrameworkCore; -using Mapster; namespace AsbCloudInfrastructure.Services { @@ -14,15 +14,15 @@ namespace AsbCloudInfrastructure.Services { private readonly IAsbCloudDbContext db; private readonly ITelemetryService telemetryService; - - public DrillParamsService(IAsbCloudDbContext context, ITelemetryService telemetryService) + + public DrillParamsService(IAsbCloudDbContext context, ITelemetryService telemetryService) : base(context) { this.db = context; this.telemetryService = telemetryService; } - - public async Task GetDefaultDrillParamsAsync(int idWell, + + public async Task GetDefaultDrillParamsAsync(int idWell, double startDepth, double endDepth, CancellationToken token = default) { var idTelemetry = telemetryService.GetIdTelemetryByIdWell(idWell); @@ -41,17 +41,17 @@ namespace AsbCloudInfrastructure.Services DepthStart = startDepth, DepthEnd = endDepth, IdWellSectionType = 0, - AxialLoadMin = g.Min(t=> t.AxialLoad) ?? double.NaN, - AxialLoadAvg = g.Average(t => t.AxialLoad) ?? double.NaN, + AxialLoadMin = g.Min(t => t.AxialLoad) ?? double.NaN, + AxialLoadAvg = g.Average(t => t.AxialLoad) ?? double.NaN, AxialLoadMax = g.Max(t => t.AxialLoad) ?? double.NaN, - PressureMin = g.Min(t=> t.Pressure) ?? double.NaN, - PressureAvg = g.Average(t => t.Pressure) ?? double.NaN, + PressureMin = g.Min(t => t.Pressure) ?? double.NaN, + PressureAvg = g.Average(t => t.Pressure) ?? double.NaN, PressureMax = g.Max(t => t.Pressure) ?? double.NaN, - RotorTorqueMin = g.Min(t=> t.RotorTorque) ?? double.NaN, - RotorTorqueAvg = g.Average(t => t.RotorTorque) ?? double.NaN, + RotorTorqueMin = g.Min(t => t.RotorTorque) ?? double.NaN, + RotorTorqueAvg = g.Average(t => t.RotorTorque) ?? double.NaN, RotorTorqueMax = g.Max(t => t.RotorTorque) ?? double.NaN, - RotorSpeedMin = g.Min(t=> t.RotorSpeed) ?? double.NaN, - RotorSpeedAvg = g.Average(t => t.RotorSpeed) ?? double.NaN, + RotorSpeedMin = g.Min(t => t.RotorSpeed) ?? double.NaN, + RotorSpeedAvg = g.Average(t => t.RotorSpeed) ?? double.NaN, RotorSpeedMax = g.Max(t => t.RotorSpeed) ?? double.NaN, FlowMin = g.Min(t => t.Flow) ?? double.NaN, FlowAvg = g.Min(t => t.Flow) ?? double.NaN, @@ -65,41 +65,41 @@ namespace AsbCloudInfrastructure.Services return drillParamsDto; } - + public async Task> GetAllAsync(int idWell, CancellationToken token = default) { var entities = await (from p in db.DrillParams - where p.IdWell == idWell - orderby p.Id - select p) + where p.IdWell == idWell + orderby p.Id + select p) .AsNoTracking() .ToListAsync(token) .ConfigureAwait(false); - + var dto = entities.Adapt(); return dto; } - + public async Task> GetCompositeAllAsync(int idWell, CancellationToken token = default) { var compositeWellDrillParams = await (from p in db.DrillParams from c in db.WellComposites - where c.IdWell == idWell && - p.IdWell == c.IdWellSrc && + where c.IdWell == idWell && + p.IdWell == c.IdWellSrc && p.IdWellSectionType == c.IdWellSectionType select p) .AsNoTracking() .ToListAsync(token) .ConfigureAwait(false); - + var compositeDrillParamsDtos = compositeWellDrillParams.Adapt(); return compositeDrillParamsDtos; } - + public async Task InsertAsync(int idWell, DrillParamsDto dto, CancellationToken token = default) { @@ -134,7 +134,7 @@ namespace AsbCloudInfrastructure.Services return result; } - public async Task UpdateAsync(int idWell, int dtoId, DrillParamsDto dto, + public async Task UpdateAsync(int idWell, int dtoId, DrillParamsDto dto, CancellationToken token = default) { dto.IdWell = idWell; diff --git a/AsbCloudInfrastructure/Services/DrillingProgram/DrillingProgramMaker.cs b/AsbCloudInfrastructure/Services/DrillingProgram/DrillingProgramMaker.cs index 8fa06fde..3a4962df 100644 --- a/AsbCloudInfrastructure/Services/DrillingProgram/DrillingProgramMaker.cs +++ b/AsbCloudInfrastructure/Services/DrillingProgram/DrillingProgramMaker.cs @@ -1,14 +1,8 @@ -using AsbCloudApp.Data; -using AsbCloudApp.Exceptions; -using AsbCloudApp.Services; -using ClosedXML.Excel; +using ClosedXML.Excel; using ClosedXML.Excel.Drawings; -using System; using System.Collections.Generic; using System.IO; using System.Linq; -using System.Threading; -using System.Threading.Tasks; namespace AsbCloudInfrastructure.Services.DrillingProgram { diff --git a/AsbCloudInfrastructure/Services/DrillingProgram/DrillingProgramService.cs b/AsbCloudInfrastructure/Services/DrillingProgram/DrillingProgramService.cs index 20731e05..3771ad34 100644 --- a/AsbCloudInfrastructure/Services/DrillingProgram/DrillingProgramService.cs +++ b/AsbCloudInfrastructure/Services/DrillingProgram/DrillingProgramService.cs @@ -47,9 +47,9 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram private const int idStateError = 4; public DrillingProgramService( - IAsbCloudDbContext context, - IFileService fileService, - IUserService userService, + IAsbCloudDbContext context, + IFileService fileService, + IUserService userService, IWellService wellService, IConfiguration configuration, IBackgroundWorkerService backgroundWorker) @@ -79,7 +79,7 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram public async Task> GetCategoriesAsync(CancellationToken token = default) { var result = await context.FileCategories - .Where(c=>c.Id > idFileCategoryDrillingProgramPartsStart && c.Id < idFileCategoryDrillingProgramPartsEnd) + .Where(c => c.Id > idFileCategoryDrillingProgramPartsStart && c.Id < idFileCategoryDrillingProgramPartsEnd) .ToListAsync(token); return result.Select(c => c.Adapt()); } @@ -96,8 +96,8 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram .ThenInclude(m => m.User) .Include(f => f.Author) .Include(f => f.FileCategory) - .Where(f => f.IdWell == idWell && - f.IdCategory >= idFileCategoryDrillingProgram && + .Where(f => f.IdWell == idWell && + f.IdCategory >= idFileCategoryDrillingProgram && f.IdCategory < idFileCategoryDrillingProgramPartsEnd && f.IsDeleted == false) .OrderBy(f => f.UploadDate) @@ -122,12 +122,12 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram Parts = parts, Program = files.FirstOrDefault(f => f.IdCategory == idFileCategoryDrillingProgram) .Adapt(), - PermissionToEdit = userService.HasPermission(idUser, "DrillingProgram.edit"), + PermissionToEdit = userService.HasPermission(idUser, "DrillingProgram.edit"), }; if (parts.Any()) { - if(parts.All(p=>p.IdState == idPartStateApproved)) + if (parts.All(p => p.IdState == idPartStateApproved)) { if (state.Program is not null) { @@ -160,25 +160,25 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram var part = await context.DrillingProgramParts .Include(p => p.RelatedUsers) .FirstOrDefaultAsync(p => p.IdWell == idWell && p.IdFileCategory == idFileCategory, token); - + if (part == null) throw new ArgumentInvalidException($"DrillingProgramPart id == {idFileCategory} does not exist", nameof(idFileCategory)); - if (! part.RelatedUsers.Any(r => r.IdUser == idUser && r.IdUserRole == idUserRolePublisher)) + if (!part.RelatedUsers.Any(r => r.IdUser == idUser && r.IdUserRole == idUserRolePublisher)) throw new ForbidException($"User {idUser} is not in the publisher list."); var result = await fileService.SaveAsync( - part.IdWell, - idUser, - part.IdFileCategory, - fileFullName, - fileStream, + part.IdWell, + idUser, + part.IdFileCategory, + fileFullName, + fileStream, token); await RemoveDrillingProgramAsync(part.IdWell, token); return result.Id; } - + public async Task AddPartsAsync(int idWell, IEnumerable idFileCategories, CancellationToken token = default) { if (!idFileCategories.Any()) @@ -192,10 +192,10 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram var newParts = idFileCategories .Where(c => !existingCategories.Any(e => e == c)) .Select(c => new DrillingProgramPart - { - IdWell = idWell, - IdFileCategory = c, - }); + { + IdWell = idWell, + IdFileCategory = c, + }); context.DrillingProgramParts.AddRange(newParts); var affected = await context.SaveChangesAsync(token); @@ -233,7 +233,7 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram var oldRelation = await context.RelationDrillingProgramPartUsers .FirstOrDefaultAsync(r => r.IdUser == idUser && r.IdDrillingProgramPart == part.Id, token); - if(oldRelation is not null) + if (oldRelation is not null) context.RelationDrillingProgramPartUsers.Remove(oldRelation); var newRelation = new RelationUserDrillingProgramPart @@ -244,7 +244,7 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram }; context.RelationDrillingProgramPartUsers.Add(newRelation); - if(idUserRole == idUserRoleApprover) + if (idUserRole == idUserRoleApprover) await RemoveDrillingProgramAsync(part.IdWell, token); return await context.SaveChangesAsync(token); } @@ -259,13 +259,13 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram r.DrillingProgramPart.IdFileCategory == idFileCategory); context.RelationDrillingProgramPartUsers.RemoveRange(whereQuery); - + return await context.SaveChangesAsync(token); } public async Task AddOrReplaceFileMarkAsync(FileMarkDto fileMarkDto, int idUser, CancellationToken token) { - if(fileMarkDto.IdMarkType != idMarkTypeApprove && + if (fileMarkDto.IdMarkType != idMarkTypeApprove && fileMarkDto.IdMarkType != idMarkTypeReject) throw new ArgumentInvalidException($"В этом методе допустимы только отметки о принятии или отклонении.", nameof(fileMarkDto)); @@ -290,13 +290,13 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram ?.Where(m => m.User.Id == idUser) .Select(m => m.Id); - if(oldMarksIds?.Any() == true) + if (oldMarksIds?.Any() == true) await fileService.MarkFileMarkAsDeletedAsync(oldMarksIds, token); var result = await fileService.CreateFileMarkAsync(fileMarkDto, idUser, token) .ConfigureAwait(false); - if(fileMarkDto.IdMarkType == idMarkTypeReject) + if (fileMarkDto.IdMarkType == idMarkTypeReject) await RemoveDrillingProgramAsync(fileInfo.IdWell, token); return result; @@ -357,8 +357,9 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram var marks = fileEntity.FileMarks?.Where(m => !m.IsDeleted); if (marks?.Any() == true) - { - part.File.FileMarks = marks.Select(m => { + { + part.File.FileMarks = marks.Select(m => + { var mark = m.Adapt(); mark.DateCreated = m.DateCreated.ToRemoteDateTime(timezoneOffset); return mark; @@ -401,9 +402,11 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram await fileService.MoveAsync(idWell, null, idFileCategoryDrillingProgram, resultFileName, tempResultFilePath, token); } - Task funcOnErrorProgramMake(string workId, Exception exception, CancellationToken token) { + Task funcOnErrorProgramMake(string workId, Exception exception, CancellationToken token) + { var message = $"Не удалось сформировать программу бурения по скважине {well?.Caption}"; - drillingProgramCreateErrors[workId] = new() { + drillingProgramCreateErrors[workId] = new() + { Message = message, Exception = exception.Message, }; @@ -437,7 +440,7 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram return 0; } - private static string MakeWorkId(int idWell) + private static string MakeWorkId(int idWell) => $"Make drilling program for wellId {idWell}"; } } \ No newline at end of file diff --git a/AsbCloudInfrastructure/Services/EmailService.cs b/AsbCloudInfrastructure/Services/EmailService.cs index e9915a36..dac8e438 100644 --- a/AsbCloudInfrastructure/Services/EmailService.cs +++ b/AsbCloudInfrastructure/Services/EmailService.cs @@ -6,7 +6,6 @@ using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Mail; -using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; @@ -37,7 +36,7 @@ namespace AsbCloudInfrastructure.Services public void EnqueueSend(IEnumerable addresses, string subject, string htmlBody) { - if(!IsConfigured) + if (!IsConfigured) { Trace.TraceWarning("smtp is not configured"); return; @@ -47,7 +46,7 @@ namespace AsbCloudInfrastructure.Services { var action = MakeEmailSendJobAsync(addresses, subject, htmlBody); backgroundWorker.Enqueue(jobId, action); - } + } } private Func MakeEmailSendJobAsync(IEnumerable addresses, string subject, string htmlBody) @@ -66,7 +65,7 @@ namespace AsbCloudInfrastructure.Services if (string.IsNullOrEmpty(subject)) throw new ArgumentInvalidException($"{nameof(subject)} should be set", nameof(subject)); - + var func = async (string id, CancellationToken token) => { var from = new MailAddress(sender); @@ -76,7 +75,7 @@ namespace AsbCloudInfrastructure.Services foreach (var mailAddress in mailAddresses) message.To.Add(mailAddress); - + message.Subject = subject; message.Body = htmlBody; message.IsBodyHtml = true; @@ -85,14 +84,14 @@ namespace AsbCloudInfrastructure.Services client.EnableSsl = true; client.UseDefaultCredentials = false; client.Credentials = new System.Net.NetworkCredential(sender, smtpPassword); - + // TODO: uncomment next when tested //await client.SendMailAsync(message, token); await Task.Delay(0); Trace.TraceInformation($"Send email to {string.Join(',', addresses)} subj:{subject}"); }; return func; - } + } private string CalcJobId(IEnumerable addresses, string subject, string content) { @@ -107,7 +106,7 @@ namespace AsbCloudInfrastructure.Services int hash = -1397075115; var enumerator = strings.GetEnumerator(); - while(enumerator.MoveNext()) + while (enumerator.MoveNext()) hash ^= enumerator.Current.GetHashCode(); return hash; } diff --git a/AsbCloudInfrastructure/Services/FileService.cs b/AsbCloudInfrastructure/Services/FileService.cs index daacee7f..c769788b 100644 --- a/AsbCloudInfrastructure/Services/FileService.cs +++ b/AsbCloudInfrastructure/Services/FileService.cs @@ -30,7 +30,7 @@ namespace AsbCloudInfrastructure.Services .ThenInclude(c => c.CompanyType) .Include(f => f.FileMarks) .ThenInclude(m => m.User) - .Include(f=>f.Well); + .Include(f => f.Well); } public async Task GetSharedUrlAsync(int idFileInfo, int idUser, IFileShareService fileShareService, @@ -43,16 +43,16 @@ namespace AsbCloudInfrastructure.Services return sharedUrl; } - public async Task GetSharedUrlAsync( FileInfoDto fileInfo, int idUser, IFileShareService fileShareService, + public async Task GetSharedUrlAsync(FileInfoDto fileInfo, int idUser, IFileShareService fileShareService, CancellationToken token) { var fileWebUrl = fileInfo.PublishInfo?.WebStorageFileUrl; - - if (!string.IsNullOrEmpty(fileWebUrl)) + + if (!string.IsNullOrEmpty(fileWebUrl)) return fileWebUrl; - + var relativePath = GetUrl(fileInfo); - var sharedUrl = await fileShareService.PublishFileToCloudAsync(relativePath, + var sharedUrl = await fileShareService.PublishFileToCloudAsync(relativePath, fileInfo.Name, token); await SaveWeblinkToFileInfo(fileInfo.Id, idUser, sharedUrl, token); @@ -60,7 +60,7 @@ namespace AsbCloudInfrastructure.Services return sharedUrl; } - public async Task MoveAsync(int idWell, int? idUser, int idCategory, + public async Task MoveAsync(int idWell, int? idUser, int idCategory, string destinationFileName, string srcFilePath, CancellationToken token = default) { destinationFileName = Path.GetFileName(destinationFileName); @@ -92,7 +92,7 @@ namespace AsbCloudInfrastructure.Services return await GetInfoAsync(entry.Entity.Id, token); } - public async Task SaveAsync(int idWell, int? idUser, int idCategory, + public async Task SaveAsync(int idWell, int? idUser, int idCategory, string fileFullName, Stream fileStream, CancellationToken token) { //save info to db @@ -145,13 +145,13 @@ namespace AsbCloudInfrastructure.Services DateTime end = default, int skip = 0, int take = 32, CancellationToken token = default) { var query = dbSetConfigured - .Where(e => e.IdWell == idWell && + .Where(e => e.IdWell == idWell && e.IdCategory == idCategory && !e.IsDeleted); if (!string.IsNullOrEmpty(companyName)) - query = query.Where(e => (e.Author == null) || - (e.Author.Company == null) || + query = query.Where(e => (e.Author == null) || + (e.Author.Company == null) || e.Author.Company.Caption.Contains(companyName)); if (!string.IsNullOrEmpty(fileName)) @@ -224,7 +224,7 @@ namespace AsbCloudInfrastructure.Services var relativePath = GetUrl(entity.IdWell, entity.IdCategory, entity.Id, ext); var fullPath = Path.GetFullPath(relativePath); - if (! File.Exists(fullPath)) + if (!File.Exists(fullPath)) { throw new FileNotFoundException("not found", relativePath); } @@ -247,7 +247,7 @@ namespace AsbCloudInfrastructure.Services } public Task DeleteAsync(int idFile, CancellationToken token) - => DeleteAsync(new int[] { idFile}, token); + => DeleteAsync(new int[] { idFile }, token); public async Task DeleteAsync(IEnumerable ids, CancellationToken token) { @@ -324,7 +324,7 @@ namespace AsbCloudInfrastructure.Services { var fileMark = await db.FileMarks .FirstOrDefaultAsync(m => m.IdFile == fileMarkDto.IdFile && - m.IdMarkType == fileMarkDto.IdMarkType && + m.IdMarkType == fileMarkDto.IdMarkType && m.IdUser == idUser && m.IsDeleted == false, token) @@ -350,7 +350,7 @@ namespace AsbCloudInfrastructure.Services CancellationToken token) { var fileMarkQuery = db.FileMarks - .Where(m => idsMarks.Contains( m.Id )); + .Where(m => idsMarks.Contains(m.Id)); foreach (var fileMark in fileMarkQuery) fileMark.IsDeleted = true; diff --git a/AsbCloudInfrastructure/Services/GoogleDriveService.cs b/AsbCloudInfrastructure/Services/GoogleDriveService.cs index 8d5e50b9..767dbc45 100644 --- a/AsbCloudInfrastructure/Services/GoogleDriveService.cs +++ b/AsbCloudInfrastructure/Services/GoogleDriveService.cs @@ -1,16 +1,16 @@ -using System; +using AsbCloudApp.Services; using Google.Apis.Auth.OAuth2; using Google.Apis.Auth.OAuth2.Flows; -using Google.Apis.Services; using Google.Apis.Drive.v3; -using Google.Apis.Util.Store; using Google.Apis.Drive.v3.Data; -using System.IO; +using Google.Apis.Services; +using Google.Apis.Util.Store; +using System; using System.Collections.Generic; +using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; -using AsbCloudApp.Services; namespace AsbCloudInfrastructure.Services { @@ -28,15 +28,15 @@ namespace AsbCloudInfrastructure.Services //const string accessToken = "ya29.a0ARrdaM8jLcdNDylpV70X08ix-pqU-1QfLbmQy4iRb7KWUgl3keukmd2mx5AxraEO0eveR3I_p1EacrgtlbbxtNWbXxl_YPf4mQTbhhNaoltp2aSn6VndUlyydLDKzw9J9r8ouFNnVZip9fivBmc-AX_rWXsj"; static readonly IAuthorizationCodeFlow flow = new GoogleAuthorizationCodeFlow(new GoogleAuthorizationCodeFlow.Initializer + { + ClientSecrets = new ClientSecrets { - ClientSecrets = new ClientSecrets - { - ClientId = clientId, - ClientSecret = clientSecret - }, - - Scopes = new[] { DriveService.Scope.Drive }, - DataStore = new FileDataStore(applicationName),//TODO: replace FileDataStore by thread safe static datastore service + ClientId = clientId, + ClientSecret = clientSecret + }, + + Scopes = new[] { DriveService.Scope.Drive }, + DataStore = new FileDataStore(applicationName),//TODO: replace FileDataStore by thread safe static datastore service }); public GoogleDriveService() @@ -59,7 +59,7 @@ namespace AsbCloudInfrastructure.Services //token = await flow.ExchangeCodeForTokenAsync(clientId, authorizationCode, redirectUri, cancellationToken).ConfigureAwait(false); await flow.DataStore.StoreAsync(username, token).ConfigureAwait(false); } - + var credential = new UserCredential(flow, username, token); var newService = new DriveService(new BaseClientService.Initializer @@ -74,7 +74,7 @@ namespace AsbCloudInfrastructure.Services { var fileList = service.Files.List(); fileList.Fields = "files(id, webViewLink, size)"; - + var result = new List(); string pageToken = null; do @@ -85,7 +85,7 @@ namespace AsbCloudInfrastructure.Services pageToken = filesResult.NextPageToken; result.AddRange(files); } while (pageToken != null); - + return result.Select(r => r.Name); } @@ -99,10 +99,10 @@ namespace AsbCloudInfrastructure.Services var file = filesResult.Files.FirstOrDefault(f => f.Id == idFile); return file?.WebViewLink ?? string.Empty; } - + public async Task CreateFolderAsync(string folderName, - CancellationToken token = default) - { + CancellationToken token = default) + { var driveFolder = new Google.Apis.Drive.v3.Data.File(); driveFolder.Name = folderName; driveFolder.MimeType = "application/vnd.google-apps.folder"; @@ -116,13 +116,13 @@ namespace AsbCloudInfrastructure.Services public async Task CreatePublicPermissionForFileAsync(string idFile, CancellationToken token = default) { - var permission = new Permission() { Type = "anyone", Role = "reader"}; + var permission = new Permission() { Type = "anyone", Role = "reader" }; var addPermissionRequest = service.Permissions.Create(permission, idFile); await addPermissionRequest.ExecuteAsync(token) .ConfigureAwait(false); } - - public async Task UploadFileAsync(Stream file, string fileName, string fileMime, + + public async Task UploadFileAsync(Stream file, string fileName, string fileMime, string fileDescription, CancellationToken token = default) { var driveFile = new Google.Apis.Drive.v3.Data.File(); @@ -130,15 +130,15 @@ namespace AsbCloudInfrastructure.Services driveFile.Description = fileDescription; driveFile.MimeType = fileMime; //driveFile.Parents = new [] {folder}; - + var request = service.Files.Create(driveFile, file, fileMime); request.Fields = "id"; - + var response = await request.UploadAsync(token) .ConfigureAwait(false); if (response.Status != Google.Apis.Upload.UploadStatus.Completed) throw response.Exception; - + return request.ResponseBody.Id; } diff --git a/AsbCloudInfrastructure/Services/MeasureService.cs b/AsbCloudInfrastructure/Services/MeasureService.cs index 766f806b..2668cbe0 100644 --- a/AsbCloudInfrastructure/Services/MeasureService.cs +++ b/AsbCloudInfrastructure/Services/MeasureService.cs @@ -5,7 +5,6 @@ using AsbCloudDb.Model; using AsbCloudInfrastructure.Services.Cache; using Mapster; using Microsoft.EntityFrameworkCore; -using System; using System.Collections.Generic; using System.Linq; using System.Threading; @@ -47,7 +46,8 @@ namespace AsbCloudInfrastructure.Services .ConfigureAwait(false); var timezone = wellService.GetTimezone(idWell); - var dto = entity?.Adapt((d, s) => { + var dto = entity?.Adapt((d, s) => + { d.CategoryName = s.Category?.Name; d.Timestamp = s.Timestamp.ToRemoteDateTime(timezone.Hours); }); @@ -59,7 +59,7 @@ namespace AsbCloudInfrastructure.Services var query = db.Measures.Include(m => m.Category) .Where(m => m.IdWell == idWell && !m.IsDeleted); - if(idCategory is not null) + if (idCategory is not null) query = query.Where(m => m.IdCategory == idCategory); var entities = await query @@ -69,7 +69,8 @@ namespace AsbCloudInfrastructure.Services .ConfigureAwait(false); var timezone = wellService.GetTimezone(idWell); - var dtos = entities.Adapt((d, s) => { + var dtos = entities.Adapt((d, s) => + { d.CategoryName = s.Category?.Name; d.Timestamp = s.Timestamp.ToRemoteDateTime(timezone.Hours); }); diff --git a/AsbCloudInfrastructure/Services/ReportService.cs b/AsbCloudInfrastructure/Services/ReportService.cs index 8f384c39..3c70915b 100644 --- a/AsbCloudInfrastructure/Services/ReportService.cs +++ b/AsbCloudInfrastructure/Services/ReportService.cs @@ -64,10 +64,10 @@ namespace AsbCloudInfrastructure.Services progressHandler.Invoke(e.Adapt(), id); }; generator.Make(reportFileName); - + var fileService = new FileService(context); var fileInfo = await fileService.MoveAsync(idWell, idUser, ReportCategoryId, reportFileName, reportFileName, token); - + progressHandler.Invoke(new { Operation = "done", @@ -111,7 +111,7 @@ namespace AsbCloudInfrastructure.Services public DatesRangeDto GetDatesRangeOrDefault(int idWell) { var idTelemetry = telemetryService.GetIdTelemetryByIdWell(idWell); - if(idTelemetry is null) + if (idTelemetry is null) return null; var range = telemetryService.GetDatesRange((int)idTelemetry); return range; diff --git a/AsbCloudInfrastructure/Services/RequestTrackerService.cs b/AsbCloudInfrastructure/Services/RequestTrackerService.cs index fe152570..454cea5e 100644 --- a/AsbCloudInfrastructure/Services/RequestTrackerService.cs +++ b/AsbCloudInfrastructure/Services/RequestTrackerService.cs @@ -1,11 +1,9 @@ using AsbCloudApp.Data; using AsbCloudApp.Services; using System; -using System.Collections.Generic; using System.Collections.Concurrent; +using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace AsbCloudInfrastructure.Services { @@ -22,7 +20,7 @@ namespace AsbCloudInfrastructure.Services private readonly ConcurrentQueue slowRequests = new ConcurrentQueue(); private readonly ConcurrentQueue errorRequests = new ConcurrentQueue(); private readonly ConcurrentDictionary users = new ConcurrentDictionary(); - + private static IEnumerable Get(IEnumerable list, int take = -1) { IEnumerable orderedlist = list.OrderByDescending(r => r.Date); @@ -35,7 +33,7 @@ namespace AsbCloudInfrastructure.Services { IEnumerable result = users.Values.OrderByDescending(u => u.LastDate); if (take > 0) - result = result.Take(take); + result = result.Take(take); return result; } @@ -89,8 +87,8 @@ namespace AsbCloudInfrastructure.Services public void RegisterRequestError(RequestLogDto requestLog, Exception ex) { requestLog.Date = DateTime.Now; - requestLog.ExceptionMessage = ex.InnerException?.InnerException?.Message - ?? ex.InnerException?.Message + requestLog.ExceptionMessage = ex.InnerException?.InnerException?.Message + ?? ex.InnerException?.Message ?? ex.Message; requestLog.ExceptionStack = ex.StackTrace?.Split(stackTraceSeparators)[0]; errorRequests.Enqueue(requestLog); @@ -117,10 +115,10 @@ namespace AsbCloudInfrastructure.Services users[key].ElapsedMs += requestLog.ElapsedMilliseconds; users[key].LastDate = requestLog.Date; users[key].Requests++; - if(!string.IsNullOrEmpty(requestLog.ExceptionMessage)) + if (!string.IsNullOrEmpty(requestLog.ExceptionMessage)) users[key].Errors++; - if(users.Count > 1000) + if (users.Count > 1000) { var count = 900 - users.Count; var toRemove = users.OrderBy(kv => kv.Value.LastDate).Take(count); diff --git a/AsbCloudInfrastructure/Services/EventService.cs b/AsbCloudInfrastructure/Services/SAUB/EventService.cs similarity index 96% rename from AsbCloudInfrastructure/Services/EventService.cs rename to AsbCloudInfrastructure/Services/SAUB/EventService.cs index 59828dd4..db9b21e8 100644 --- a/AsbCloudInfrastructure/Services/EventService.cs +++ b/AsbCloudInfrastructure/Services/SAUB/EventService.cs @@ -7,7 +7,7 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; -namespace AsbCloudInfrastructure.Services +namespace AsbCloudInfrastructure.Services.SAUB { public class EventService : IEventService { diff --git a/AsbCloudInfrastructure/Services/MessageService.cs b/AsbCloudInfrastructure/Services/SAUB/MessageService.cs similarity index 94% rename from AsbCloudInfrastructure/Services/MessageService.cs rename to AsbCloudInfrastructure/Services/SAUB/MessageService.cs index e18aed0d..2090d615 100644 --- a/AsbCloudInfrastructure/Services/MessageService.cs +++ b/AsbCloudInfrastructure/Services/SAUB/MessageService.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; -namespace AsbCloudInfrastructure.Services +namespace AsbCloudInfrastructure.Services.SAUB { public class MessageService : IMessageService { @@ -50,7 +50,7 @@ namespace AsbCloudInfrastructure.Services var query = db.TelemetryMessages.Where(m => m.IdTelemetry == idTelemetry) .OrderBy(m => m.DateTime).AsNoTracking(); - if ((categoryids?.Any() == true) || !string.IsNullOrEmpty(searchString)) + if (categoryids?.Any() == true || !string.IsNullOrEmpty(searchString)) { if (!string.IsNullOrEmpty(searchString)) events = events.Where(e => e.MessageTemplate.Contains(searchString, StringComparison.OrdinalIgnoreCase)); @@ -68,19 +68,19 @@ namespace AsbCloudInfrastructure.Services query = query.OrderByDescending(m => m.DateTime); - var timezone = telemetryService.GetTimezone(idTelemetry??default); - + var timezone = telemetryService.GetTimezone(idTelemetry ?? default); + if (begin != default) { var beginUtc = begin.ToUtcDateTimeOffset(timezone.Hours); query = query.Where(m => m.DateTime >= beginUtc); - } + } if (end != default) { var endUtc = end.ToUtcDateTimeOffset(timezone.Hours); query = query.Where(m => m.DateTime <= endUtc); - } + } var result = new PaginationContainer { @@ -130,7 +130,7 @@ namespace AsbCloudInfrastructure.Services result.Items.Add(messageDto); } - + return result; } @@ -142,14 +142,14 @@ namespace AsbCloudInfrastructure.Services var telemetryId = telemetryService.GetOrCreateTelemetryIdByUid(uid); var timezone = telemetryService.GetTimezone(telemetryId); - + var maxDateDto = dtos.Max(m => m.Date); var maxDateUtc = maxDateDto.ToUtcDateTimeOffset(timezone.Hours); telemetryService.SaveRequestDate(uid, maxDateDto); foreach (var dto in dtos) { - var entity = dto.Adapt(); + var entity = dto.Adapt(); entity.Id = 0; entity.IdTelemetry = telemetryId; entity.DateTime = dto.Date.ToUtcDateTimeOffset(timezone.Hours); diff --git a/AsbCloudInfrastructure/Services/SAUB/Readme.md b/AsbCloudInfrastructure/Services/SAUB/Readme.md new file mode 100644 index 00000000..af2e3df0 --- /dev/null +++ b/AsbCloudInfrastructure/Services/SAUB/Readme.md @@ -0,0 +1 @@ +Папка содержит services для получаемых от панели оператора САУБ запросов. \ No newline at end of file diff --git a/AsbCloudInfrastructure/Services/SetpointsService.cs b/AsbCloudInfrastructure/Services/SAUB/SetpointsService.cs similarity index 97% rename from AsbCloudInfrastructure/Services/SetpointsService.cs rename to AsbCloudInfrastructure/Services/SAUB/SetpointsService.cs index 0611218d..53333fc4 100644 --- a/AsbCloudInfrastructure/Services/SetpointsService.cs +++ b/AsbCloudInfrastructure/Services/SAUB/SetpointsService.cs @@ -1,4 +1,4 @@ -using AsbCloudApp.Data; +using AsbCloudApp.Data.SAUB; using AsbCloudApp.Services; using AsbCloudDb.Model; using AsbCloudInfrastructure.Services.Cache; @@ -9,12 +9,12 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; -namespace AsbCloudInfrastructure.Services +namespace AsbCloudInfrastructure.Services.SAUB { public class SetpointsService : ISetpointsService, IConverter { // ## Инфо от АПГ от 26.11.2021, дополнения ШОВ от 26.11.2021 - private static readonly Dictionary SetpointInfos = new () + private static readonly Dictionary SetpointInfos = new() { { "bitLoad", new SetpointInfoDto { Name = "bitLoad", DisplayName = "Осевая нагрузка, т" } }, { "dPressureMaxRotorSP", new SetpointInfoDto { Name = "dPressureMaxRotorSP", DisplayName = "Дифференциальное рабочее давление в роторе, атм" } }, @@ -34,7 +34,7 @@ namespace AsbCloudInfrastructure.Services public SetpointsService(IAsbCloudDbContext db, CacheDb cacheDb, ITelemetryService telemetryService) { cacheSetpoints = cacheDb.GetCachedTable( - (AsbCloudDbContext)db, + (AsbCloudDbContext)db, nameof(SetpointsRequest.Author), nameof(SetpointsRequest.Well)); this.telemetryService = telemetryService; @@ -76,7 +76,7 @@ namespace AsbCloudInfrastructure.Services foreach (var entity in entities) entity.IdState = 2; - + await cacheSetpoints.UpsertAsync(entities, token) .ConfigureAwait(false); diff --git a/AsbCloudInfrastructure/Services/TelemetryDataBaseService.cs b/AsbCloudInfrastructure/Services/SAUB/TelemetryDataBaseService.cs similarity index 91% rename from AsbCloudInfrastructure/Services/TelemetryDataBaseService.cs rename to AsbCloudInfrastructure/Services/SAUB/TelemetryDataBaseService.cs index ef8a118a..c8983361 100644 --- a/AsbCloudInfrastructure/Services/TelemetryDataBaseService.cs +++ b/AsbCloudInfrastructure/Services/SAUB/TelemetryDataBaseService.cs @@ -1,7 +1,6 @@ -using AsbCloudApp.Data; -using AsbCloudApp.Services; -using AsbCloudDb.Model; +using AsbCloudApp.Services; using AsbCloudDb; +using AsbCloudDb.Model; using AsbCloudInfrastructure.Services.Cache; using Microsoft.EntityFrameworkCore; using System; @@ -11,7 +10,7 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; -namespace AsbCloudInfrastructure.Services +namespace AsbCloudInfrastructure.Services.SAUB { public abstract class TelemetryDataBaseService : ITelemetryDataService where TDto : AsbCloudApp.Data.ITelemetryData @@ -49,7 +48,7 @@ namespace AsbCloudInfrastructure.Services { var duplicates = new List(8); for (int i = 1; i < dtosList.Count; i++) - if (dtosList[i].DateTime - dtosList[i-1].DateTime < TimeSpan.FromMilliseconds(100)) + if (dtosList[i].DateTime - dtosList[i - 1].DateTime < TimeSpan.FromMilliseconds(100)) duplicates.Add(dtosList[i - 1]); foreach (var duplicate in duplicates) dtosList.Remove(duplicate); @@ -58,11 +57,12 @@ namespace AsbCloudInfrastructure.Services var idTelemetry = telemetryService.GetOrCreateTelemetryIdByUid(uid); var timezone = telemetryService.GetTimezone(idTelemetry); - var entities = dtosList.Select(dto => { - var entity = Convert(dto, timezone.Hours); - entity.IdTelemetry = idTelemetry; - return entity; - }); + var entities = dtosList.Select(dto => + { + var entity = Convert(dto, timezone.Hours); + entity.IdTelemetry = idTelemetry; + return entity; + }); var entityMaxDate = entities.Max(e => e.DateTime); telemetryService.SaveRequestDate(uid, entityMaxDate); @@ -73,7 +73,7 @@ namespace AsbCloudInfrastructure.Services { return await db.Database.ExecInsertOrUpdateAsync(dbset, entities, token).ConfigureAwait(false); } - catch(Exception ex) + catch (Exception ex) { stopwatch.Stop(); Trace.WriteLine($"Fail to save data telemetry " + @@ -114,7 +114,7 @@ namespace AsbCloudInfrastructure.Services if (dateBeginUtc == default) dateBeginUtc = DateTime.UtcNow.AddSeconds(-intervalSec); - + var dateEnd = dateBeginUtc.AddSeconds(intervalSec); var dbSet = db.Set(); @@ -154,17 +154,17 @@ namespace AsbCloudInfrastructure.Services } if (m > 1) - query = query.Where((d) => (((d.DateTime.DayOfYear*24 + d.DateTime.Hour)*60 + d.DateTime.Minute)*60 + d.DateTime.Second) % m == 0); + query = query.Where((d) => (((d.DateTime.DayOfYear * 24 + d.DateTime.Hour) * 60 + d.DateTime.Minute) * 60 + d.DateTime.Second) % m == 0); } var entities = await query - .OrderBy(d=>d.DateTime) + .OrderBy(d => d.DateTime) .AsNoTracking() .ToListAsync(token) .ConfigureAwait(false); var dtos = entities.Select(e => Convert(e, timezone.Hours)); - + return dtos; } diff --git a/AsbCloudInfrastructure/Services/TelemetryDataSaubService.cs b/AsbCloudInfrastructure/Services/SAUB/TelemetryDataSaubService.cs similarity index 85% rename from AsbCloudInfrastructure/Services/TelemetryDataSaubService.cs rename to AsbCloudInfrastructure/Services/SAUB/TelemetryDataSaubService.cs index 7bfd7f61..2941b1ca 100644 --- a/AsbCloudInfrastructure/Services/TelemetryDataSaubService.cs +++ b/AsbCloudInfrastructure/Services/SAUB/TelemetryDataSaubService.cs @@ -4,16 +4,16 @@ using AsbCloudDb.Model; using AsbCloudInfrastructure.Services.Cache; using Mapster; -namespace AsbCloudInfrastructure.Services +namespace AsbCloudInfrastructure.Services.SAUB { - public class TelemetryDataSaubService: TelemetryDataBaseService + public class TelemetryDataSaubService : TelemetryDataBaseService { public TelemetryDataSaubService( IAsbCloudDbContext db, ITelemetryService telemetryService, CacheDb cacheDb) - :base(db, telemetryService, cacheDb) - {} + : base(db, telemetryService, cacheDb) + { } public override TelemetryDataSaub Convert(TelemetryDataSaubDto src, double timezoneOffset) { diff --git a/AsbCloudInfrastructure/Services/TelemetryDataSpinService.cs b/AsbCloudInfrastructure/Services/SAUB/TelemetryDataSpinService.cs similarity index 95% rename from AsbCloudInfrastructure/Services/TelemetryDataSpinService.cs rename to AsbCloudInfrastructure/Services/SAUB/TelemetryDataSpinService.cs index b808ae4c..c33b7cab 100644 --- a/AsbCloudInfrastructure/Services/TelemetryDataSpinService.cs +++ b/AsbCloudInfrastructure/Services/SAUB/TelemetryDataSpinService.cs @@ -4,7 +4,7 @@ using AsbCloudDb.Model; using AsbCloudInfrastructure.Services.Cache; using Mapster; -namespace AsbCloudInfrastructure.Services +namespace AsbCloudInfrastructure.Services.SAUB { public class TelemetryDataSpinService : TelemetryDataBaseService { diff --git a/AsbCloudInfrastructure/Services/TelemetryService.cs b/AsbCloudInfrastructure/Services/SAUB/TelemetryService.cs similarity index 95% rename from AsbCloudInfrastructure/Services/TelemetryService.cs rename to AsbCloudInfrastructure/Services/SAUB/TelemetryService.cs index c88c3972..30419050 100644 --- a/AsbCloudInfrastructure/Services/TelemetryService.cs +++ b/AsbCloudInfrastructure/Services/SAUB/TelemetryService.cs @@ -1,18 +1,18 @@ using AsbCloudApp.Data; +using AsbCloudApp.Data.SAUB; using AsbCloudApp.Services; +using AsbCloudDb; using AsbCloudDb.Model; using AsbCloudInfrastructure.Services.Cache; using Mapster; +using Microsoft.EntityFrameworkCore; +using System; using System.Collections.Generic; using System.Linq; -using System.Threading.Tasks; -using System; using System.Threading; -using Microsoft.EntityFrameworkCore; -using AsbCloudDb; -using AsbCloudApp.Data.SAUB; +using System.Threading.Tasks; -namespace AsbCloudInfrastructure.Services +namespace AsbCloudInfrastructure.Services.SAUB { public class TelemetryService : ITelemetryService { @@ -26,14 +26,14 @@ namespace AsbCloudInfrastructure.Services public ITelemetryTracker TelemetryTracker => telemetryTracker; public TelemetryService( - IAsbCloudDbContext db, + IAsbCloudDbContext db, ITelemetryTracker telemetryTracker, ITimezoneService timezoneService, CacheDb cacheDb) { cacheTelemetry = cacheDb.GetCachedTable((AsbCloudDbContext)db); cacheWells = cacheDb.GetCachedTable( - (AsbCloudDbContext)db, + (AsbCloudDbContext)db, $"{nameof(Well.Cluster)}.{nameof(Cluster.Deposit)}", nameof(Well.Telemetry), $"{nameof(Well.RelationCompaniesWells)}.{nameof(RelationCompanyWell.Company)}", @@ -42,7 +42,7 @@ namespace AsbCloudInfrastructure.Services this.telemetryTracker = telemetryTracker; this.timezoneService = timezoneService; } - + public IEnumerable GetTransmittingTelemetries() { var telemetryDtos = new List(); @@ -88,7 +88,7 @@ namespace AsbCloudInfrastructure.Services if (dto is null) throw new Exception($"Telemetry id:{idTelemetry} has no data"); - var timezone = GetTimezone((int)idTelemetry); + var timezone = GetTimezone(idTelemetry); dto.From = dto.From.ToTimeZoneOffsetHours(timezone.Hours); dto.To = dto.To.ToTimeZoneOffsetHours(timezone.Hours); @@ -114,7 +114,7 @@ namespace AsbCloudInfrastructure.Services Hours = info.TimeZoneOffsetTotalHours, TimeZoneId = info.TimeZoneId }; - + await cacheTelemetry.UpsertAsync(telemetry, token) .ConfigureAwait(false); } @@ -151,13 +151,13 @@ namespace AsbCloudInfrastructure.Services throw new Exception($"Telemetry id: {idTelemetry} can't find timezone."); } - public async Task UpdateTimezoneAsync(string uid, SimpleTimezoneDto timeone, + public async Task UpdateTimezoneAsync(string uid, SimpleTimezoneDto timeone, CancellationToken token) { - var telemetry = GetOrCreateTelemetryByUid(uid); + var telemetry = GetOrCreateTelemetryByUid(uid); var newTelemetryTimeZone = timeone.Adapt(); if (newTelemetryTimeZone?.Equals(telemetry.TimeZone) == true) - return; + return; await cacheTelemetry.UpsertAsync(telemetry, token) .ConfigureAwait(false); } @@ -179,11 +179,11 @@ namespace AsbCloudInfrastructure.Services } private Telemetry GetOrCreateTelemetryByUid(string uid) - => cacheTelemetry.GetOrCreate(t => t.RemoteUid == uid, () => new Telemetry + => cacheTelemetry.GetOrCreate(t => t.RemoteUid == uid, () => new Telemetry { - RemoteUid = uid, - TimeZone = new SimpleTimezone - { + RemoteUid = uid, + TimeZone = new SimpleTimezone + { Hours = 5, IsOverride = false, TimeZoneId = "default", @@ -198,11 +198,11 @@ namespace AsbCloudInfrastructure.Services var stopwath = new System.Diagnostics.Stopwatch(); stopwath.Start(); - var transaction = await db.Database.BeginTransactionAsync(token).ConfigureAwait(false); + var transaction = await db.Database.BeginTransactionAsync(token).ConfigureAwait(false); try { var affected = 0; - + var wellFrom = await db.Wells.FirstOrDefaultAsync(w => w.IdTelemetry == from, token) .ConfigureAwait(false); var wellTo = await db.Wells.FirstOrDefaultAsync(w => w.IdTelemetry == to, token) @@ -220,7 +220,7 @@ namespace AsbCloudInfrastructure.Services affected += await MergeEventsAndMessagesAndUsersAsync(from, to, token); affected += await MergeDataAsync(from, to, token); affected += await MergeDataAsync(from, to, token); - + affected += await db.Database.ExecuteSqlRawAsync($"DELETE FROM t_telemetry_analysis WHERE id_telemetry = {from} OR id_telemetry = {to};", token) .ConfigureAwait(false); affected += await db.Database.ExecuteSqlRawAsync($"DELETE FROM t_telemetry WHERE id = {from};", token) @@ -231,7 +231,7 @@ namespace AsbCloudInfrastructure.Services Console.WriteLine($"Successfully committed in {1d * stopwath.ElapsedMilliseconds / 1000d: #0.00} sec. Affected {affected} rows."); return affected; } - catch(Exception ex) + catch (Exception ex) { System.Diagnostics.Trace.WriteLine($"Merge() Fail. Rollback. Reason is:{ex.Message}"); await transaction.RollbackAsync(token).ConfigureAwait(false); @@ -265,7 +265,7 @@ namespace AsbCloudInfrastructure.Services foreach (var userFrom in usersFrom) { var userTo = usersTo - .FirstOrDefault(u=>u.IdUser == userFrom.IdUser); + .FirstOrDefault(u => u.IdUser == userFrom.IdUser); if (userTo is null || userTo.Name != userFrom.Name || @@ -329,7 +329,7 @@ namespace AsbCloudInfrastructure.Services } private async Task MergeDataAsync(int from, int to, CancellationToken token) - where TEntity: class, AsbCloudDb.Model.ITelemetryData + where TEntity : class, AsbCloudDb.Model.ITelemetryData { const string IdTelemetryColumnName = "\"id_telemetry\""; var dbSet = db.Set(); diff --git a/AsbCloudInfrastructure/Services/TelemetryTracker.cs b/AsbCloudInfrastructure/Services/SAUB/TelemetryTracker.cs similarity index 93% rename from AsbCloudInfrastructure/Services/TelemetryTracker.cs rename to AsbCloudInfrastructure/Services/SAUB/TelemetryTracker.cs index e158574c..86cad906 100644 --- a/AsbCloudInfrastructure/Services/TelemetryTracker.cs +++ b/AsbCloudInfrastructure/Services/SAUB/TelemetryTracker.cs @@ -1,16 +1,16 @@ -using AsbCloudApp.Services; -using System; -using System.Collections.Generic; -using System.Linq; +using AsbCloudApp.Data; +using AsbCloudApp.Services; using AsbCloudDb.Model; using AsbCloudInfrastructure.Services.Cache; using Microsoft.EntityFrameworkCore; -using System.Collections.Concurrent; -using System.Threading.Tasks; using Microsoft.Extensions.Configuration; -using AsbCloudApp.Data; +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; -namespace AsbCloudInfrastructure.Services +namespace AsbCloudInfrastructure.Services.SAUB { public class TelemetryTracker : ITelemetryTracker { @@ -102,7 +102,7 @@ namespace AsbCloudInfrastructure.Services private static DateTimeOffset ParseDateFromUidOrDefault(string remoteUid, DateTime defaultValue = default) { //example: uid = 20211102_173407926 - if (string.IsNullOrEmpty(remoteUid) || (remoteUid.Length != 18)) + if (string.IsNullOrEmpty(remoteUid) || remoteUid.Length != 18) return defaultValue; if (DateTime.TryParseExact(remoteUid, "yyyyMMdd_HHmmssfff", @@ -116,14 +116,16 @@ namespace AsbCloudInfrastructure.Services public void SaveRequestDate(string uid, DateTimeOffset remoteDate) { - var stat = telemetriesStats.GetOrAdd(uid, _ => new TrackerStat { - RemoteUid = uid, - TelemetryDateUtcMin = remoteDate} + var stat = telemetriesStats.GetOrAdd(uid, _ => new TrackerStat + { + RemoteUid = uid, + TelemetryDateUtcMin = remoteDate + } ); - + stat.LastTimeServer = DateTime.Now; - if(stat.TelemetryDateUtcMax.ToUniversalTime() < remoteDate.ToUniversalTime()) + if (stat.TelemetryDateUtcMax.ToUniversalTime() < remoteDate.ToUniversalTime()) stat.TelemetryDateUtcMax = remoteDate; } diff --git a/AsbCloudInfrastructure/Services/TelemetryUserService.cs b/AsbCloudInfrastructure/Services/SAUB/TelemetryUserService.cs similarity index 96% rename from AsbCloudInfrastructure/Services/TelemetryUserService.cs rename to AsbCloudInfrastructure/Services/SAUB/TelemetryUserService.cs index 19b0d781..98fece8b 100644 --- a/AsbCloudInfrastructure/Services/TelemetryUserService.cs +++ b/AsbCloudInfrastructure/Services/SAUB/TelemetryUserService.cs @@ -6,7 +6,7 @@ using AsbCloudInfrastructure.Services.Cache; using System.Collections.Generic; using System.Linq; -namespace AsbCloudInfrastructure.Services +namespace AsbCloudInfrastructure.Services.SAUB { public class TelemetryUserService : ITelemetryUserService { diff --git a/AsbCloudInfrastructure/Services/TimeZoneService.cs b/AsbCloudInfrastructure/Services/TimeZoneService.cs index 0b52aa86..a4f4f0e3 100644 --- a/AsbCloudInfrastructure/Services/TimeZoneService.cs +++ b/AsbCloudInfrastructure/Services/TimeZoneService.cs @@ -1,10 +1,9 @@ -using AsbCloudApp.Services; +using AsbCloudApp.Data; +using AsbCloudApp.Services; using System.Net.Http; -using AsbCloudApp.Data; using System.Text.Json; using System.Threading; using System.Threading.Tasks; -using System; namespace AsbCloudInfrastructure.Services { @@ -55,7 +54,7 @@ namespace AsbCloudInfrastructure.Services PropertyNameCaseInsensitive = true }; var timezoneInfo = JsonSerializer.Deserialize(responseJson, options); - + return new SimpleTimezoneDto { Hours = timezoneInfo.DstOffset, diff --git a/AsbCloudInfrastructure/Services/UserRoleService.cs b/AsbCloudInfrastructure/Services/UserRoleService.cs index bd195fd3..d6019def 100644 --- a/AsbCloudInfrastructure/Services/UserRoleService.cs +++ b/AsbCloudInfrastructure/Services/UserRoleService.cs @@ -1,15 +1,15 @@ +using AsbCloudApp.Comparators; +using AsbCloudApp.Data; +using AsbCloudApp.Exceptions; +using AsbCloudApp.Services; +using AsbCloudDb.Model; +using AsbCloudInfrastructure.Services.Cache; +using Mapster; +using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; -using AsbCloudApp.Data; -using AsbCloudDb.Model; -using AsbCloudInfrastructure.Services.Cache; -using Mapster; -using AsbCloudApp.Services; -using System; -using AsbCloudApp.Comparators; -using AsbCloudApp.Exceptions; namespace AsbCloudInfrastructure.Services { @@ -36,7 +36,7 @@ namespace AsbCloudInfrastructure.Services dto.Id = updatedEntity.Id; await UpdatePermissionsAsync(dto, token); await UpdateIncludedRolesAsync(dto, token); - + await cacheUserRoles.RefreshAsync(true, token) .ConfigureAwait(false); return updatedEntity?.Id ?? 0; @@ -59,7 +59,7 @@ namespace AsbCloudInfrastructure.Services public async Task GetAsync(int id, CancellationToken token = default) { - var entity = await cacheUserRoles.FirstOrDefaultAsync(r=>r.Id == id, token) + var entity = await cacheUserRoles.FirstOrDefaultAsync(r => r.Id == id, token) .ConfigureAwait(false); if (entity is null) return null; @@ -119,7 +119,7 @@ namespace AsbCloudInfrastructure.Services if (role is null) return null; var dto = Convert(role); - var roles = new SortedSet(ComparerIId.GetInstance()) { dto }; + var roles = new SortedSet(ComparerIId.GetInstance()) { dto }; if (recursionLevel <= 0 || role.RelationUserRoleUserRoles?.Any() != true) return roles; @@ -159,13 +159,13 @@ namespace AsbCloudInfrastructure.Services private async Task UpdateIncludedRolesAsync(UserRoleDto dto, CancellationToken token) { if (dto?.Roles is null) - return ; + return; await cacheRelationUserRoleUserRole.RemoveAsync(rel => rel.Id == dto.Id, token); if (dto.Roles.Any()) { - var newRelations = dto.Roles.Select(r => new RelationUserRoleUserRole { Id = dto.Id, IdInclude = r.Id }); + var newRelations = dto.Roles.Select(r => new RelationUserRoleUserRole { Id = dto.Id, IdInclude = r.Id }); await cacheRelationUserRoleUserRole.UpsertAsync(newRelations, token); } } @@ -222,7 +222,7 @@ namespace AsbCloudInfrastructure.Services private UserRoleDto Convert(UserRole entity) { var dto = entity.Adapt(); - if(entity.RelationUserRolePermissions?.Any() == true) + if (entity.RelationUserRolePermissions?.Any() == true) { dto.Permissions = cacheRelationUserRolePermissions .Where(r => entity.Id == r.IdUserRole) @@ -231,7 +231,8 @@ namespace AsbCloudInfrastructure.Services if (entity.RelationUserRoleUserRoles?.Any() == true) { - dto.Roles = entity.RelationUserRoleUserRoles.Select(rel => { + dto.Roles = entity.RelationUserRoleUserRoles.Select(rel => + { var includedRole = cacheUserRoles.First(r => r.Id == rel.IdInclude); return Convert(includedRole); }).ToList(); diff --git a/AsbCloudInfrastructure/Services/UserService.cs b/AsbCloudInfrastructure/Services/UserService.cs index a8512981..2fdcb94f 100644 --- a/AsbCloudInfrastructure/Services/UserService.cs +++ b/AsbCloudInfrastructure/Services/UserService.cs @@ -12,7 +12,7 @@ using System.Threading.Tasks; namespace AsbCloudInfrastructure.Services { - public class UserService : IUserService + public class UserService : IUserService { private readonly CacheTable cacheUsers; private readonly CacheTable cacheRelationUserToRoles; @@ -32,7 +32,7 @@ namespace AsbCloudInfrastructure.Services var db = (AsbCloudDbContext)context; cacheUsers = cacheDb.GetCachedTable( db, - new[] { + new[] { nameof(User.RelationUsersUserRoles), nameof(User.Company), }); @@ -83,7 +83,7 @@ namespace AsbCloudInfrastructure.Services public async Task GetAsync(int id, CancellationToken token = default) { - var entity = await cacheUsers.FirstOrDefaultAsync(u=>u.Id == id, token).ConfigureAwait(false); + var entity = await cacheUsers.FirstOrDefaultAsync(u => u.Id == id, token).ConfigureAwait(false); var dto = Convert(entity); dto.RoleNames = GetRolesNamesByIdUser(dto.Id); return dto; @@ -94,11 +94,11 @@ namespace AsbCloudInfrastructure.Services if (id <= 1) throw new ArgumentInvalidException($"Invalid id {id}. You can't edit this user.", nameof(id)); - var oldUser = await cacheUsers.FirstOrDefaultAsync(u=>u.Id == id, token); - if(oldUser.Login != dto.Login) + var oldUser = await cacheUsers.FirstOrDefaultAsync(u => u.Id == id, token); + if (oldUser.Login != dto.Login) await AssertLoginIsBusyAsync(dto.Login, token); - var userRoles = await RoleService.GetByNamesAsync(dto.RoleNames, token).ConfigureAwait(false); + var userRoles = await RoleService.GetByNamesAsync(dto.RoleNames, token).ConfigureAwait(false); await UpdateRolesCacheForUserAsync(id, userRoles, token); var entity = Convert(dto); @@ -141,7 +141,7 @@ namespace AsbCloudInfrastructure.Services public IEnumerable GetNestedPermissions(int idUser) { var roles = GetRolesByIdUser(idUser, 7); - if(roles?.Any() != true) + if (roles?.Any() != true) return null; var permissions = roles .Where(r => r.Permissions is not null) @@ -156,22 +156,22 @@ namespace AsbCloudInfrastructure.Services .ConfigureAwait(false); if (newRoles?.Any() == true) - await cacheRelationUserToRoles.InsertAsync(newRoles.Select(role => new RelationUserUserRole - { - IdUser = idUser, - IdUserRole = role.Id - }), token).ConfigureAwait(false); + await cacheRelationUserToRoles.InsertAsync(newRoles.Select(role => new RelationUserUserRole + { + IdUser = idUser, + IdUserRole = role.Id + }), token).ConfigureAwait(false); } public bool HasAnyRoleOf(int idUser, IEnumerable roleNames) { - if(!roleNames.Any()) + if (!roleNames.Any()) return true; var userRoleNames = GetRolesNamesByIdUser(idUser); foreach (var roleName in userRoleNames) if (roleNames.Contains(roleName)) return true; - return false; + return false; } public bool HasAnyRoleOf(int idUser, IEnumerable roleIds) @@ -190,7 +190,7 @@ namespace AsbCloudInfrastructure.Services if (idUser == 1) return true; - var relationsToRoles = cacheRelationUserToRoles.Where(r=>r.IdUser == idUser); + var relationsToRoles = cacheRelationUserToRoles.Where(r => r.IdUser == idUser); if (relationsToRoles is null) return false; @@ -200,7 +200,7 @@ namespace AsbCloudInfrastructure.Services protected virtual User Convert(UserExtendedDto dto) { - var entity = dto.Adapt(userTypeAdapterConfig); + var entity = dto.Adapt(userTypeAdapterConfig); if (string.IsNullOrEmpty(entity.PasswordHash)) entity.PasswordHash = cacheUsers.FirstOrDefault(u => u.Id == dto.Id)?.PasswordHash; return entity; diff --git a/AsbCloudInfrastructure/Services/WellOperationService/OperationsStatService.cs b/AsbCloudInfrastructure/Services/WellOperationService/OperationsStatService.cs index 9a6f3ed6..debdc405 100644 --- a/AsbCloudInfrastructure/Services/WellOperationService/OperationsStatService.cs +++ b/AsbCloudInfrastructure/Services/WellOperationService/OperationsStatService.cs @@ -28,12 +28,12 @@ namespace AsbCloudInfrastructure.Services.WellOperationService cacheWellType = cache.GetCachedTable((DbContext)db); cacheCluster = cache.GetCachedTable((DbContext)db); } - + public async Task GetStatClusterAsync(int idCluster, int idCompany, CancellationToken token = default) { var allWellsByCompany = await wellService.GetWellsByCompanyAsync(idCompany, token).ConfigureAwait(false); - var idWellsByCompany = allWellsByCompany.Select(w=>w.Id).Distinct(); + var idWellsByCompany = allWellsByCompany.Select(w => w.Id).Distinct(); var wells = await db.Wells .Include(w => w.WellOperations) @@ -93,10 +93,10 @@ namespace AsbCloudInfrastructure.Services.WellOperationService return null; var idLastSectionType = await (from o in db.WellOperations - where o.IdWell == idWell && - o.IdType == 1 - orderby o.DepthStart - select o.IdWellSectionType) + where o.IdWell == idWell && + o.IdType == 1 + orderby o.DepthStart + select o.IdWellSectionType) .LastOrDefaultAsync(token) .ConfigureAwait(false); @@ -104,10 +104,10 @@ namespace AsbCloudInfrastructure.Services.WellOperationService return null; var operations = await (from o in db.WellOperations - where clusterWellsIds.Contains(o.IdWell) && - o.IdType == 1 && - o.IdWellSectionType == idLastSectionType - select o) + where clusterWellsIds.Contains(o.IdWell) && + o.IdType == 1 && + o.IdWellSectionType == idLastSectionType + select o) .ToListAsync(token) .ConfigureAwait(false); @@ -121,7 +121,7 @@ namespace AsbCloudInfrastructure.Services.WellOperationService if (!statsList.Any()) return null; - + var clusterRops = new ClusterRopStatDto() { RopMax = statsList.Max(s => s.Rop), @@ -133,7 +133,7 @@ namespace AsbCloudInfrastructure.Services.WellOperationService private async Task CalcWellStatAsync(Well well, CancellationToken token = default) { - var wellType = await cacheWellType.FirstOrDefaultAsync(t => t.Id == well.IdWellType, token); + var wellType = await cacheWellType.FirstOrDefaultAsync(t => t.Id == well.IdWellType, token); var statWellDto = new StatWellDto() { Id = well.Id, @@ -216,7 +216,7 @@ namespace AsbCloudInfrastructure.Services.WellOperationService return CalcStat(sectionOperations, timezoneOffsetH); } - + private static StatOperationsDto CalcStat(IEnumerable operations, double timezoneOffsetH) { if (!operations.Any()) @@ -409,7 +409,7 @@ namespace AsbCloudInfrastructure.Services.WellOperationService Predict = null, }; - if(planFactPredict.Plan is not null) + if (planFactPredict.Plan is not null) planFactPredict.Plan.Day = (planFactPredict.Plan.DateStart - dateStart).TotalDays; if (planFactPredict.Fact is not null) @@ -543,7 +543,7 @@ namespace AsbCloudInfrastructure.Services.WellOperationService private static WellOperationDto Convert(WellOperation source, double tzOffsetHours) { - if(source is null) + if (source is null) return null; var dest = source.Adapt(); dest.CategoryName = source.OperationCategory?.Name; diff --git a/AsbCloudInfrastructure/Services/WellOperationService/ScheduleReportService.cs b/AsbCloudInfrastructure/Services/WellOperationService/ScheduleReportService.cs index 9cdd5b60..4387124f 100644 --- a/AsbCloudInfrastructure/Services/WellOperationService/ScheduleReportService.cs +++ b/AsbCloudInfrastructure/Services/WellOperationService/ScheduleReportService.cs @@ -10,7 +10,7 @@ using System.Threading.Tasks; namespace AsbCloudInfrastructure.Services.WellOperationService { - public class ScheduleReportService: IScheduleReportService + public class ScheduleReportService : IScheduleReportService { private readonly IOperationsStatService operationsStatService; private readonly IWellService wellService; @@ -20,7 +20,7 @@ namespace AsbCloudInfrastructure.Services.WellOperationService public ScheduleReportService(IOperationsStatService operationsStatService, IWellService wellService) { - this.operationsStatService = operationsStatService; + this.operationsStatService = operationsStatService; this.wellService = wellService; } @@ -78,8 +78,8 @@ namespace AsbCloudInfrastructure.Services.WellOperationService var tvdList = tvd.ToList(); var facts = tvd - .Where(t=>t.Fact is not null) - .Select(t=>t.Fact) + .Where(t => t.Fact is not null) + .Select(t => t.Fact) .ToList(); DateTime lastFactDate = default; @@ -171,7 +171,7 @@ namespace AsbCloudInfrastructure.Services.WellOperationService var rowSummary = sheet.Row(rowNumSummary); rowSummary.Style.Font.Bold = true; rowSummary.Cell(columnCaption).Value = "Итого:"; - + AddRangeFormula(rowSummary, "sum", columnDeltaWellDepthPerDay); AddRangeFormula(rowSummary, "sum", columnDurationPlan); AddRangeFormula(rowSummary, "sum", columnDurationFact); @@ -192,7 +192,7 @@ namespace AsbCloudInfrastructure.Services.WellOperationService SetNumber(rowSummary2.Cell(columnDurationFact)); rowSummary2.Cell(columnNpt).FormulaA1 = $"={GetColunmLetter(columnNpt)}{rowNumSummary}/24"; SetNumber(rowSummary2.Cell(columnNpt)); - SetBorder(rowSummary2.Cells(true).Style); + SetBorder(rowSummary2.Cells(true).Style); } private static void FillTvdSheetToWorkbook(XLWorkbook workbook, IEnumerable> tvd, WellDto well) @@ -204,7 +204,7 @@ namespace AsbCloudInfrastructure.Services.WellOperationService const int rowTitle = 2; const int rowSubtitle = 3; const int colTitle = 5; - + const int rowTopStatTitle = 2; const int colTopStatvalue = 10; @@ -242,24 +242,24 @@ namespace AsbCloudInfrastructure.Services.WellOperationService var endDate = endDatePredict > endDateFact ? endDatePredict : endDateFact; - - if(startDateFact is not null) + + if (startDateFact is not null) { SetCell(sheet.Row(rowStartDateFact), colBottomStatvalue, startDateFact); SetCell(sheet.Row(rowEndDatePlan), colBottomStatvalue, endDatePlan); SetCell(sheet.Row(rowEndDateFact), colBottomStatvalue, endDate); - if(endDate != default) + if (endDate != default) { var deltaEndDate = (endDatePlan - endDate).TotalDays; SetCell(sheet.Row(rowTopStatTitle + 1), colTopStatvalue, Math.Abs(deltaEndDate)); - if(deltaEndDate >= 0) + if (deltaEndDate >= 0) SetCell(sheet.Row(rowTopStatTitle + 1), colTopStatvalue - 1, "+") .Style.Font.SetFontColor(XLColor.Green); else SetCell(sheet.Row(rowTopStatTitle + 1), colTopStatvalue - 1, "—") .Style.Font.SetFontColor(XLColor.Red); } - } + } } private static string GetColunmLetter(int columnNumber) @@ -304,7 +304,7 @@ namespace AsbCloudInfrastructure.Services.WellOperationService { var cell = row.Cell(colunm); cell.Value = value; - + SetBorder(cell.Style); cell.Style.Alignment.WrapText = true; @@ -322,7 +322,7 @@ namespace AsbCloudInfrastructure.Services.WellOperationService { SetNumber(cell); } - + return cell; } diff --git a/AsbCloudInfrastructure/Services/WellOperationService/WellOperationImportService.cs b/AsbCloudInfrastructure/Services/WellOperationService/WellOperationImportService.cs index 5576323c..81771165 100644 --- a/AsbCloudInfrastructure/Services/WellOperationService/WellOperationImportService.cs +++ b/AsbCloudInfrastructure/Services/WellOperationService/WellOperationImportService.cs @@ -1,13 +1,13 @@ -using System; -using System.IO; -using System.Collections.Generic; -using System.Linq; -using ClosedXML.Excel; -using AsbCloudApp.Data; +using AsbCloudApp.Data; +using AsbCloudApp.Services; using AsbCloudDb.Model; +using ClosedXML.Excel; using Mapster; using Microsoft.EntityFrameworkCore; -using AsbCloudApp.Services; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; namespace AsbCloudInfrastructure.Services.WellOperationService { @@ -99,11 +99,12 @@ namespace AsbCloudInfrastructure.Services.WellOperationService return MakeExelFileStream(operations, timezone.Hours); } - public Stream GetExcelTemplateStream() { + public Stream GetExcelTemplateStream() + { var stream = System.Reflection.Assembly.GetExecutingAssembly() .GetManifestResourceStream("AsbCloudInfrastructure.Services.WellOperationService.WellOperationImportTemplate.xlsx"); return stream; - } + } private Stream MakeExelFileStream(IEnumerable operations, double timezoneOffset) { @@ -166,7 +167,8 @@ namespace AsbCloudInfrastructure.Services.WellOperationService { if (deleteWellOperationsBeforeImport) db.WellOperations.RemoveRange(db.WellOperations.Where(o => o.IdWell == idWell)); - var entities = operations.Select(o => { + var entities = operations.Select(o => + { var entity = o.Adapt(); entity.IdWell = idWell; entity.DateStart = o.DateStart.ToUtcDateTimeOffset(timezone.Hours); @@ -254,7 +256,7 @@ namespace AsbCloudInfrastructure.Services.WellOperationService if (operations.Any()) if (operations.Min(o => o.DateStart) - operations.Max(o => o.DateStart) > drillingDurationLimitMax) parseErrors.Add($"Лист {sheet.Name} содержит диапазон дат больше {drillingDurationLimitMax}"); - } + } return operations; } diff --git a/AsbCloudInfrastructure/Services/WellOperationService/WellOperationService.cs b/AsbCloudInfrastructure/Services/WellOperationService/WellOperationService.cs index 72a13718..dbaee017 100644 --- a/AsbCloudInfrastructure/Services/WellOperationService/WellOperationService.cs +++ b/AsbCloudInfrastructure/Services/WellOperationService/WellOperationService.cs @@ -90,14 +90,14 @@ namespace AsbCloudInfrastructure.Services.WellOperationService { var beginOffset = begin.ToUtcDateTimeOffset(timezone.Hours); query = query.Where(e => e.DateStart >= beginOffset); - } + } if (end != default) { var endOffset = end.ToUtcDateTimeOffset(timezone.Hours); query = query.Where(e => e.DateStart <= endOffset); - } + } var result = new PaginationContainer { @@ -126,11 +126,11 @@ namespace AsbCloudInfrastructure.Services.WellOperationService dto.WellSectionTypeName = entity.WellSectionType.Caption; dto.DateStart = entity.DateStart.ToRemoteDateTime(timezone.Hours); dto.CategoryName = entity.OperationCategory.Name; - if(entity.IdType == idOperationTypeFact) + if (entity.IdType == idOperationTypeFact) { - if(entity.IdCategory == idOperationNonProductiveTime) + if (entity.IdCategory == idOperationNonProductiveTime) nptHours += entity.DurationHours; - dto.NptHours = nptHours; + dto.NptHours = nptHours; } result.Items.Add(dto); } diff --git a/AsbCloudInfrastructure/Services/WellService.cs b/AsbCloudInfrastructure/Services/WellService.cs index 275d599c..ebe5ca84 100644 --- a/AsbCloudInfrastructure/Services/WellService.cs +++ b/AsbCloudInfrastructure/Services/WellService.cs @@ -33,7 +33,7 @@ namespace AsbCloudInfrastructure.Services public ITelemetryService TelemetryService => telemetryService; public WellService(IAsbCloudDbContext db, CacheDb cacheDb, ITelemetryService telemetryService, ITimezoneService timezoneService) - :base(db, cacheDb) + : base(db, cacheDb) { this.telemetryService = telemetryService; this.timezoneService = timezoneService; @@ -48,7 +48,7 @@ namespace AsbCloudInfrastructure.Services public DateTimeOffset GetLastTelemetryDate(int idWell) { var well = Cache.FirstOrDefault(w => w.Id == idWell); - + if (well?.IdTelemetry is null) return DateTimeOffset.MinValue; @@ -68,7 +68,7 @@ namespace AsbCloudInfrastructure.Services return dtos; } - public override async Task InsertAsync(WellDto dto, CancellationToken token = default) + public override async Task InsertAsync(WellDto dto, CancellationToken token = default) { if (dto.IdWellType is < 1 or > 2) throw new ArgumentInvalidException("Тип скважины указан неправильно.", nameof(dto)); @@ -97,16 +97,16 @@ namespace AsbCloudInfrastructure.Services throw new NotImplementedException(); } - public override async Task UpdateAsync(int idWell, WellDto dto, + public override async Task UpdateAsync(int idWell, WellDto dto, CancellationToken token = default) { if (dto.IdWellType is < 1 or > 2) throw new ArgumentInvalidException("Тип скважины указан неправильно.", nameof(dto)); - + if (dto.IdState is < 0 or > 2) throw new ArgumentInvalidException("Текущее состояние работы скважины указано неправильно.", nameof(dto)); - - if(dto.Id != idWell) + + if (dto.Id != idWell) throw new ArgumentInvalidException($"Нельзя поменять id для скважины: {idWell} => {dto.Id}.", nameof(dto)); var entity = Convert(dto); @@ -114,11 +114,11 @@ namespace AsbCloudInfrastructure.Services var oldRelations = await cacheRelationCompaniesWells .WhereAsync(r => r.IdWell == idWell, token); - if(dto.Companies.Count() != oldRelations.Count() || + if (dto.Companies.Count() != oldRelations.Count() || dto.Companies.Any(c => !oldRelations.Any(oldC => oldC.IdCompany == c.Id))) { await cacheRelationCompaniesWells.RemoveAsync(r => r.IdWell == idWell, token); - var newRelations = dto.Companies.Select(c=> new RelationCompanyWell {IdWell = idWell, IdCompany = c.Id }); + var newRelations = dto.Companies.Select(c => new RelationCompanyWell { IdWell = idWell, IdCompany = c.Id }); await cacheRelationCompaniesWells.InsertAsync(newRelations, token); } @@ -163,18 +163,18 @@ namespace AsbCloudInfrastructure.Services _ => "Неизвестно", }; } - + public async Task> GetClusterWellsIdsAsync(int idWell, CancellationToken token) { var well = await Cache.FirstOrDefaultAsync(w => w.Id == idWell, token) .ConfigureAwait(false); - - if (well is null) + + if (well is null) return null; - + var clusterWells = await Cache.WhereAsync(w => w.IdCluster == well.IdCluster, token) .ConfigureAwait(false); - + return clusterWells.Select(w => w.Id); } @@ -199,8 +199,8 @@ namespace AsbCloudInfrastructure.Services var dto = base.Convert(entity); if (entity.Timezone is null) - if(TryGetTimezone(entity, out var timezone)) - dto.Timezone = timezone; + if (TryGetTimezone(entity, out var timezone)) + dto.Timezone = timezone; dto.WellType = entity.WellType?.Caption; dto.Cluster = entity.Cluster?.Caption; @@ -213,7 +213,7 @@ namespace AsbCloudInfrastructure.Services private CompanyDto Convert(Company entity) { var dto = entity.Adapt(); - dto.CompanyTypeCaption = entity.CompanyType?.Caption + dto.CompanyTypeCaption = entity.CompanyType?.Caption ?? cacheCompanyWellTypes.FirstOrDefault(c => c.Id == entity.IdCompanyType).Caption; return dto; } @@ -239,7 +239,7 @@ namespace AsbCloudInfrastructure.Services { var adaptedWells = wellsWithTz.Adapt().Select(Convert); Cache.Upsert(adaptedWells); - } + } } private bool TryGetTimezone(int idWell, out SimpleTimezoneDto timezone) @@ -272,10 +272,10 @@ namespace AsbCloudInfrastructure.Services timezone = GetTimezone(well); return timezone is not null; } - catch + catch { return false; - } + } } private SimpleTimezoneDto GetTimezone(Well well) @@ -321,7 +321,7 @@ namespace AsbCloudInfrastructure.Services private static AsbCloudDb.Model.IMapPoint GetCoordinates(Well well) { - if(well is null) + if (well is null) throw new ArgumentNullException(nameof(well)); if (well.Latitude is not null & well.Longitude is not null) diff --git a/AsbCloudInfrastructure/Services/WitsInfoService.cs b/AsbCloudInfrastructure/Services/WitsInfoService.cs index 42bea924..d97cc4a7 100644 --- a/AsbCloudInfrastructure/Services/WitsInfoService.cs +++ b/AsbCloudInfrastructure/Services/WitsInfoService.cs @@ -6,7 +6,7 @@ namespace AsbCloudInfrastructure.Services public class WitsInfoService { private readonly InfoService witsInfoService; - public WitsInfoService(IEnumerable? customItems = null, IEnumerable? customRecords = null) + public WitsInfoService(IEnumerable? customItems = null, IEnumerable? customRecords = null) { witsInfoService = new InfoService(customItems, customRecords); } @@ -14,7 +14,7 @@ namespace AsbCloudInfrastructure.Services public object GetItems(int idRecord = -1) { object items; - if(idRecord > 0) + if (idRecord > 0) items = witsInfoService.ItemInfoStore.Where(i => i.RecordId == idRecord); else items = witsInfoService.ItemInfoStore.Where(i => true); diff --git a/AsbCloudInfrastructure/Services/WitsRecordRepository.cs b/AsbCloudInfrastructure/Services/WitsRecordRepository.cs index 09cb1d09..53a13277 100644 --- a/AsbCloudInfrastructure/Services/WitsRecordRepository.cs +++ b/AsbCloudInfrastructure/Services/WitsRecordRepository.cs @@ -12,7 +12,7 @@ namespace AsbCloudInfrastructure.Services { public class WitsRecordRepository : IWitsRecordRepository where TEntity : class, ITelemetryData - where TDto: AsbCloudApp.Data.ITelemetryData + where TDto : AsbCloudApp.Data.ITelemetryData { private readonly DbSet dbset; private readonly IAsbCloudDbContext db; diff --git a/AsbCloudInfrastructure/Startup.cs b/AsbCloudInfrastructure/Startup.cs index 11174ac6..432bd68f 100644 --- a/AsbCloudInfrastructure/Startup.cs +++ b/AsbCloudInfrastructure/Startup.cs @@ -8,10 +8,10 @@ using System; namespace AsbCloudInfrastructure { - public class Startup + public class Startup { public static void BeforeRunHandler(IHost host, IConfigurationRoot configuration) - { + { using var scope = host.Services.CreateScope(); var context = scope.ServiceProvider.GetService(); context.Database.SetCommandTimeout(TimeSpan.FromSeconds(2 * 60)); diff --git a/AsbCloudInfrastructure/Validators/AuthDtoValidator.cs b/AsbCloudInfrastructure/Validators/AuthDtoValidator.cs index e5ee7116..febbc992 100644 --- a/AsbCloudInfrastructure/Validators/AuthDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/AuthDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class AuthDtoValidator : AbstractValidator + public class AuthDtoValidator : AbstractValidator { public AuthDtoValidator() { diff --git a/AsbCloudInfrastructure/Validators/ClusterDtoValidator.cs b/AsbCloudInfrastructure/Validators/ClusterDtoValidator.cs index b927228e..88902c83 100644 --- a/AsbCloudInfrastructure/Validators/ClusterDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/ClusterDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class ClusterDtoValidator : AbstractValidator + public class ClusterDtoValidator : AbstractValidator { public ClusterDtoValidator() { diff --git a/AsbCloudInfrastructure/Validators/CompanyDtoValidator.cs b/AsbCloudInfrastructure/Validators/CompanyDtoValidator.cs index c8390315..d8a7c952 100644 --- a/AsbCloudInfrastructure/Validators/CompanyDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/CompanyDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class CompanyDtoValidator : AbstractValidator + public class CompanyDtoValidator : AbstractValidator { public CompanyDtoValidator() { diff --git a/AsbCloudInfrastructure/Validators/DependencyInjection.cs b/AsbCloudInfrastructure/Validators/DependencyInjection.cs index 8b844fbe..1af250eb 100644 --- a/AsbCloudInfrastructure/Validators/DependencyInjection.cs +++ b/AsbCloudInfrastructure/Validators/DependencyInjection.cs @@ -1,7 +1,4 @@ -using AsbCloudApp.Data; -using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; -using FluentValidation; namespace AsbCloudInfrastructure.Validators { diff --git a/AsbCloudInfrastructure/Validators/DepositDtoValidator.cs b/AsbCloudInfrastructure/Validators/DepositDtoValidator.cs index dd4cfbbc..dc3dfae3 100644 --- a/AsbCloudInfrastructure/Validators/DepositDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/DepositDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class DepositDtoValidator : AbstractValidator + public class DepositDtoValidator : AbstractValidator { public DepositDtoValidator() { diff --git a/AsbCloudInfrastructure/Validators/DrillFlowChartDtoValidator.cs b/AsbCloudInfrastructure/Validators/DrillFlowChartDtoValidator.cs index 78e83056..4b773678 100644 --- a/AsbCloudInfrastructure/Validators/DrillFlowChartDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/DrillFlowChartDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class DrillFlowChartDtoValidator : AbstractValidator + public class DrillFlowChartDtoValidator : AbstractValidator { public DrillFlowChartDtoValidator() { diff --git a/AsbCloudInfrastructure/Validators/EventDtoValidator.cs b/AsbCloudInfrastructure/Validators/EventDtoValidator.cs index 3ed82d24..7c532d76 100644 --- a/AsbCloudInfrastructure/Validators/EventDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/EventDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class EventDtoValidator : AbstractValidator + public class EventDtoValidator : AbstractValidator { public EventDtoValidator() { diff --git a/AsbCloudInfrastructure/Validators/FileInfoDtoValidator.cs b/AsbCloudInfrastructure/Validators/FileInfoDtoValidator.cs index 001b125d..364247d0 100644 --- a/AsbCloudInfrastructure/Validators/FileInfoDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/FileInfoDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class FileInfoDtoValidator : AbstractValidator + public class FileInfoDtoValidator : AbstractValidator { public FileInfoDtoValidator() { diff --git a/AsbCloudInfrastructure/Validators/FileMarkDtoValidator.cs b/AsbCloudInfrastructure/Validators/FileMarkDtoValidator.cs index 21777f9c..d894815a 100644 --- a/AsbCloudInfrastructure/Validators/FileMarkDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/FileMarkDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class FileMarkDtoValidator : AbstractValidator + public class FileMarkDtoValidator : AbstractValidator { public FileMarkDtoValidator() { @@ -13,6 +13,6 @@ namespace AsbCloudInfrastructure.Validators .WithMessage("Id категории действия с файлом не может быть ниже 1"); RuleFor(x => x.Comment).MaximumLength(4096) .WithMessage("Длина текста комментария не может быть выше 4096 символов"); - } + } } } \ No newline at end of file diff --git a/AsbCloudInfrastructure/Validators/MeasureDtoValidator.cs b/AsbCloudInfrastructure/Validators/MeasureDtoValidator.cs index 54fb7604..3998d515 100644 --- a/AsbCloudInfrastructure/Validators/MeasureDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/MeasureDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class MeasureDtoValidator : AbstractValidator + public class MeasureDtoValidator : AbstractValidator { public MeasureDtoValidator() { diff --git a/AsbCloudInfrastructure/Validators/MessageDtoValidator.cs b/AsbCloudInfrastructure/Validators/MessageDtoValidator.cs index 442e8e4a..dff52f4a 100644 --- a/AsbCloudInfrastructure/Validators/MessageDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/MessageDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class MessageDtoValidator : AbstractValidator + public class MessageDtoValidator : AbstractValidator { public MessageDtoValidator() { diff --git a/AsbCloudInfrastructure/Validators/PermissionDtoValidator.cs b/AsbCloudInfrastructure/Validators/PermissionDtoValidator.cs index 4c652f6a..3ca63f69 100644 --- a/AsbCloudInfrastructure/Validators/PermissionDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/PermissionDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class PermissionDtoValidator : AbstractValidator + public class PermissionDtoValidator : AbstractValidator { public PermissionDtoValidator() { diff --git a/AsbCloudInfrastructure/Validators/ReportPropertiesDtoValidator.cs b/AsbCloudInfrastructure/Validators/ReportPropertiesDtoValidator.cs index 08e00bc2..344a7a95 100644 --- a/AsbCloudInfrastructure/Validators/ReportPropertiesDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/ReportPropertiesDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class ReportPropertiesDtoValidator : AbstractValidator + public class ReportPropertiesDtoValidator : AbstractValidator { public ReportPropertiesDtoValidator() { diff --git a/AsbCloudInfrastructure/Validators/UserRegistrationDtoValidator.cs b/AsbCloudInfrastructure/Validators/UserRegistrationDtoValidator.cs index 5e12a6f5..e80e59c7 100644 --- a/AsbCloudInfrastructure/Validators/UserRegistrationDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/UserRegistrationDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class UserRegistrationDtoValidator : AbstractValidator + public class UserRegistrationDtoValidator : AbstractValidator { public UserRegistrationDtoValidator() { diff --git a/AsbCloudInfrastructure/Validators/UserRoleDtoValidator.cs b/AsbCloudInfrastructure/Validators/UserRoleDtoValidator.cs index 46333aa1..3f5032f1 100644 --- a/AsbCloudInfrastructure/Validators/UserRoleDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/UserRoleDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class UserRoleDtoValidator : AbstractValidator + public class UserRoleDtoValidator : AbstractValidator { public UserRoleDtoValidator() { diff --git a/AsbCloudInfrastructure/Validators/WellDtoValidator.cs b/AsbCloudInfrastructure/Validators/WellDtoValidator.cs index bb7e1c9e..bc10ee05 100644 --- a/AsbCloudInfrastructure/Validators/WellDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/WellDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class WellDtoValidator : AbstractValidator + public class WellDtoValidator : AbstractValidator { public WellDtoValidator() { diff --git a/AsbCloudInfrastructure/Validators/WellOperationDtoValidator.cs b/AsbCloudInfrastructure/Validators/WellOperationDtoValidator.cs index ac529e4f..12253c9e 100644 --- a/AsbCloudInfrastructure/Validators/WellOperationDtoValidator.cs +++ b/AsbCloudInfrastructure/Validators/WellOperationDtoValidator.cs @@ -3,7 +3,7 @@ using FluentValidation; namespace AsbCloudInfrastructure.Validators { - public class WellOperationDtoValidator : AbstractValidator + public class WellOperationDtoValidator : AbstractValidator { public WellOperationDtoValidator() { diff --git a/AsbCloudWebApi.Tests/ControllersTests/AnalyticsControllerTests.cs b/AsbCloudWebApi.Tests/ControllersTests/AnalyticsControllerTests.cs index 7aac3397..f2dbd41d 100644 --- a/AsbCloudWebApi.Tests/ControllersTests/AnalyticsControllerTests.cs +++ b/AsbCloudWebApi.Tests/ControllersTests/AnalyticsControllerTests.cs @@ -1,6 +1,6 @@ using AsbCloudApp.Data; using AsbCloudApp.Services; -using AsbCloudWebApi.Controllers; +using AsbCloudWebApi.Controllers.SAUB; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Moq; diff --git a/AsbCloudWebApi.Tests/ServicesTests/TelemetryDataSaubServiceTest.cs b/AsbCloudWebApi.Tests/ServicesTests/TelemetryDataSaubServiceTest.cs index a29de72f..8aa5c66c 100644 --- a/AsbCloudWebApi.Tests/ServicesTests/TelemetryDataSaubServiceTest.cs +++ b/AsbCloudWebApi.Tests/ServicesTests/TelemetryDataSaubServiceTest.cs @@ -2,8 +2,8 @@ using AsbCloudApp.Data.SAUB; using AsbCloudApp.Services; using AsbCloudDb.Model; -using AsbCloudInfrastructure.Services; using AsbCloudInfrastructure.Services.Cache; +using AsbCloudInfrastructure.Services.SAUB; using Moq; using System; using System.Collections.Generic; diff --git a/AsbCloudWebApi/Controllers/AdminClusterController.cs b/AsbCloudWebApi/Controllers/AdminClusterController.cs index 60cbe2b6..beced4cf 100644 --- a/AsbCloudWebApi/Controllers/AdminClusterController.cs +++ b/AsbCloudWebApi/Controllers/AdminClusterController.cs @@ -11,7 +11,7 @@ namespace AsbCloudWebApi.Controllers public class AdminClusterController : CrudController> { public AdminClusterController(ICrudService service) - :base(service) + : base(service) { service.Includes.Add(nameof(ClusterDto.Wells)); service.Includes.Add(nameof(ClusterDto.Deposit)); diff --git a/AsbCloudWebApi/Controllers/AdminDepositController.cs b/AsbCloudWebApi/Controllers/AdminDepositController.cs index 42775fbc..e9275c06 100644 --- a/AsbCloudWebApi/Controllers/AdminDepositController.cs +++ b/AsbCloudWebApi/Controllers/AdminDepositController.cs @@ -11,7 +11,7 @@ namespace AsbCloudWebApi.Controllers public class AdminDepositController : CrudController> { public AdminDepositController(ICrudService service) - :base(service) + : base(service) { service.Includes.Add("Clusters"); } diff --git a/AsbCloudWebApi/Controllers/AdminPermissionController.cs b/AsbCloudWebApi/Controllers/AdminPermissionController.cs index 3bfb9663..007cfe0d 100644 --- a/AsbCloudWebApi/Controllers/AdminPermissionController.cs +++ b/AsbCloudWebApi/Controllers/AdminPermissionController.cs @@ -13,10 +13,10 @@ namespace AsbCloudWebApi.Controllers [ApiController] [Authorize] public class AdminPermissionController : CrudController> - { + { public AdminPermissionController(ICrudService service) - :base(service) - {} + : base(service) + { } [HttpGet("Autogenerated")] [Permission] @@ -48,12 +48,12 @@ namespace AsbCloudWebApi.Controllers default: continue; } - + } } return Ok(permissions); - + } } } \ No newline at end of file diff --git a/AsbCloudWebApi/Controllers/AdminUserController.cs b/AsbCloudWebApi/Controllers/AdminUserController.cs index a14afab3..142a88b6 100644 --- a/AsbCloudWebApi/Controllers/AdminUserController.cs +++ b/AsbCloudWebApi/Controllers/AdminUserController.cs @@ -2,8 +2,6 @@ using AsbCloudApp.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; -using System.Threading; -using System.Threading.Tasks; namespace AsbCloudWebApi.Controllers { @@ -13,8 +11,8 @@ namespace AsbCloudWebApi.Controllers public class AdminUserController : CrudController> { public AdminUserController(IUserService service) - :base(service) - {} + : base(service) + { } } } diff --git a/AsbCloudWebApi/Controllers/AdminUserRoleController.cs b/AsbCloudWebApi/Controllers/AdminUserRoleController.cs index b608ee17..2651e66f 100644 --- a/AsbCloudWebApi/Controllers/AdminUserRoleController.cs +++ b/AsbCloudWebApi/Controllers/AdminUserRoleController.cs @@ -9,10 +9,10 @@ namespace AsbCloudWebApi.Controllers [Route("api/admin/role")] [ApiController] [Authorize] - public class AdminUserRoleController : CrudController + public class AdminUserRoleController : CrudController { public AdminUserRoleController(IUserRoleService service) - :base(service) + : base(service) { InsertForbidAsync = (role, token) => { diff --git a/AsbCloudWebApi/Controllers/AdminWellController.cs b/AsbCloudWebApi/Controllers/AdminWellController.cs index 2a9f8a28..154217c8 100644 --- a/AsbCloudWebApi/Controllers/AdminWellController.cs +++ b/AsbCloudWebApi/Controllers/AdminWellController.cs @@ -11,9 +11,9 @@ namespace AsbCloudWebApi.Controllers public class AdminWellController : CrudController> { public AdminWellController(IWellService service) - :base(service) + : base(service) { - service.Includes.Add("Telemetry"); + service.Includes.Add("Telemetry"); } [HttpPost("EnshureTimezonesIsSet")] diff --git a/AsbCloudWebApi/Controllers/AuthController.cs b/AsbCloudWebApi/Controllers/AuthController.cs index 549fed3c..49cfe68f 100644 --- a/AsbCloudWebApi/Controllers/AuthController.cs +++ b/AsbCloudWebApi/Controllers/AuthController.cs @@ -83,13 +83,13 @@ namespace AsbCloudWebApi.Controllers /// Ок [Authorize] [HttpPut("{idUser}/ChangePassword")] - public IActionResult ChangePassword([FromRoute]int idUser, [FromBody]string newPassword) + public IActionResult ChangePassword([FromRoute] int idUser, [FromBody] string newPassword) { var editorUserId = User.GetUserId(); if (editorUserId is null) return Forbid(); - + if (!((editorUserId == idUser) || userService.HasPermission((int)editorUserId, "Auth.edit"))) return Forbid(); diff --git a/AsbCloudWebApi/Controllers/CrudController.cs b/AsbCloudWebApi/Controllers/CrudController.cs index 8f2181ab..90724f32 100644 --- a/AsbCloudWebApi/Controllers/CrudController.cs +++ b/AsbCloudWebApi/Controllers/CrudController.cs @@ -2,11 +2,10 @@ using AsbCloudApp.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; -using System.Threading; -using System.Linq; -using System.Threading.Tasks; -using System.Collections.Generic; using System; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace AsbCloudWebApi.Controllers diff --git a/AsbCloudWebApi/Controllers/DepositController.cs b/AsbCloudWebApi/Controllers/DepositController.cs index 5344e1a9..44a0f4a0 100644 --- a/AsbCloudWebApi/Controllers/DepositController.cs +++ b/AsbCloudWebApi/Controllers/DepositController.cs @@ -42,7 +42,7 @@ namespace AsbCloudWebApi.Controllers token).ConfigureAwait(false); return Ok(result); } - + /// /// Получает список доступных пользователю месторождений (только скважины с параметрами бурения) /// diff --git a/AsbCloudWebApi/Controllers/DrillFlowChartController.cs b/AsbCloudWebApi/Controllers/DrillFlowChartController.cs index 15e07297..2fcb6f07 100644 --- a/AsbCloudWebApi/Controllers/DrillFlowChartController.cs +++ b/AsbCloudWebApi/Controllers/DrillFlowChartController.cs @@ -1,11 +1,11 @@ +using AsbCloudApp.Data; +using AsbCloudApp.Services; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNetCore.Mvc; -using AsbCloudApp.Data; -using AsbCloudApp.Services; -using Microsoft.AspNetCore.Authorization; namespace AsbCloudWebApi.Controllers { @@ -27,7 +27,7 @@ namespace AsbCloudWebApi.Controllers this.telemetryService = telemetryService; this.wellService = wellService; } - + /// /// Возвращает все значения для коридоров бурения по id скважины /// @@ -38,19 +38,19 @@ namespace AsbCloudWebApi.Controllers [HttpGet] [Route("api/well/{idWell}/drillFlowChart")] [Permission] - [ProducesResponseType(typeof(IEnumerable), (int) System.Net.HttpStatusCode.OK)] - public async Task GetAsync(int idWell, DateTime updateFrom = default, + [ProducesResponseType(typeof(IEnumerable), (int)System.Net.HttpStatusCode.OK)] + public async Task GetAsync(int idWell, DateTime updateFrom = default, CancellationToken token = default) { var idCompany = User.GetCompanyId(); - + if (idCompany is null || !await wellService.IsCompanyInvolvedInWellAsync((int)idCompany, idWell, token).ConfigureAwait(false)) return Forbid(); - var dto = await drillFlowChartService.GetAllAsync(idWell, + var dto = await drillFlowChartService.GetAllAsync(idWell, updateFrom, token); - + return Ok(dto); } @@ -64,19 +64,19 @@ namespace AsbCloudWebApi.Controllers [HttpGet] [Route("api/telemetry/{uid}/drillFlowChart")] [AllowAnonymous] - [ProducesResponseType(typeof(IEnumerable), (int) System.Net.HttpStatusCode.OK)] + [ProducesResponseType(typeof(IEnumerable), (int)System.Net.HttpStatusCode.OK)] public async Task GetByTelemetryAsync(string uid, DateTime updateFrom = default, CancellationToken token = default) { var idWell = telemetryService.GetIdWellByTelemetryUid(uid); if (idWell is null) return BadRequest($"Wrong uid {uid}"); - - var dto = await drillFlowChartService.GetAllAsync((int)idWell, + + var dto = await drillFlowChartService.GetAllAsync((int)idWell, updateFrom, token); - + return Ok(dto); } - + /// /// Сохраняет значения для коридоров бурения /// @@ -87,8 +87,8 @@ namespace AsbCloudWebApi.Controllers [HttpPost] [Route("api/well/{idWell}/drillFlowChart")] [Permission] - [ProducesResponseType(typeof(int), (int) System.Net.HttpStatusCode.OK)] - public async Task InsertAsync(int idWell, + [ProducesResponseType(typeof(int), (int)System.Net.HttpStatusCode.OK)] + public async Task InsertAsync(int idWell, DrillFlowChartDto drillFlowChartDto, CancellationToken token = default) { var idCompany = User.GetCompanyId(); @@ -101,7 +101,7 @@ namespace AsbCloudWebApi.Controllers return Ok(result); } - + /// /// Добавляет массив объектов коридоров бурения /// @@ -112,22 +112,22 @@ namespace AsbCloudWebApi.Controllers [HttpPost] [Route("api/well/{idWell}/drillFlowChart/range")] [Permission] - [ProducesResponseType(typeof(int), (int) System.Net.HttpStatusCode.OK)] - public async Task InsertRangeAsync(int idWell, + [ProducesResponseType(typeof(int), (int)System.Net.HttpStatusCode.OK)] + public async Task InsertRangeAsync(int idWell, IEnumerable drillFlowChartParams, CancellationToken token = default) { var idCompany = User.GetCompanyId(); - + if (idCompany is null || !await wellService.IsCompanyInvolvedInWellAsync((int)idCompany, idWell, token).ConfigureAwait(false)) return Forbid(); var result = await drillFlowChartService.InsertRangeAsync(idWell, drillFlowChartParams, token); - + return Ok(result); } - + /// /// Изменяет значения выбранного коридора бурения /// @@ -138,22 +138,22 @@ namespace AsbCloudWebApi.Controllers [HttpPut] [Route("api/well/{idWell}/drillFlowChart")] [Permission] - [ProducesResponseType(typeof(int), (int) System.Net.HttpStatusCode.OK)] - public async Task EditAsync(int idWell, + [ProducesResponseType(typeof(int), (int)System.Net.HttpStatusCode.OK)] + public async Task EditAsync(int idWell, DrillFlowChartDto drillFlowChart, CancellationToken token = default) { var idCompany = User.GetCompanyId(); - + if (idCompany is null || !await wellService.IsCompanyInvolvedInWellAsync((int)idCompany, idWell, token).ConfigureAwait(false)) return Forbid(); var result = await drillFlowChartService.UpdateAsync(idWell, drillFlowChart.Id, drillFlowChart, token); - + return Ok(result); } - + /// /// Удаляет значения выбранного коридора бурения /// @@ -164,19 +164,19 @@ namespace AsbCloudWebApi.Controllers [HttpDelete] [Route("api/well/{idWell}/drillFlowChart")] [Permission] - [ProducesResponseType(typeof(int), (int) System.Net.HttpStatusCode.OK)] - public async Task DeleteAsync(int idWell, + [ProducesResponseType(typeof(int), (int)System.Net.HttpStatusCode.OK)] + public async Task DeleteAsync(int idWell, int drillFlowChartParamsId, CancellationToken token = default) { var idCompany = User.GetCompanyId(); - + if (idCompany is null || !await wellService.IsCompanyInvolvedInWellAsync((int)idCompany, idWell, token).ConfigureAwait(false)) return Forbid(); - - var result = await drillFlowChartService.DeleteAsync(drillFlowChartParamsId, + + var result = await drillFlowChartService.DeleteAsync(drillFlowChartParamsId, token); - + return Ok(result); } } diff --git a/AsbCloudWebApi/Controllers/DrillParamsController.cs b/AsbCloudWebApi/Controllers/DrillParamsController.cs index 50c3a432..2b99f0c6 100644 --- a/AsbCloudWebApi/Controllers/DrillParamsController.cs +++ b/AsbCloudWebApi/Controllers/DrillParamsController.cs @@ -1,9 +1,9 @@ -using System.Collections.Generic; +using AsbCloudApp.Data; +using AsbCloudApp.Services; +using Microsoft.AspNetCore.Mvc; +using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNetCore.Mvc; -using AsbCloudApp.Data; -using AsbCloudApp.Services; namespace AsbCloudWebApi.Controllers { @@ -34,8 +34,8 @@ namespace AsbCloudWebApi.Controllers /// Значения по умолчанию для режимов бурения [HttpGet("autoParams")] [Permission] - [ProducesResponseType(typeof(DrillParamsDto), (int) System.Net.HttpStatusCode.OK)] - public async Task GetDefaultAsync(int idWell, + [ProducesResponseType(typeof(DrillParamsDto), (int)System.Net.HttpStatusCode.OK)] + public async Task GetDefaultAsync(int idWell, double startDepth, double endDepth, CancellationToken token = default) { var idCompany = User.GetCompanyId(); @@ -43,13 +43,13 @@ namespace AsbCloudWebApi.Controllers if (idCompany is null || !await wellService.IsCompanyInvolvedInWellAsync((int)idCompany, idWell, token).ConfigureAwait(false)) return Forbid(); - - var drillParamsDo = await drillParamsService.GetDefaultDrillParamsAsync(idWell, + + var drillParamsDo = await drillParamsService.GetDefaultDrillParamsAsync(idWell, startDepth, endDepth, token); return Ok(drillParamsDo); } - + /// /// Возвращает все значения для режимов бурения на скважине /// @@ -58,21 +58,21 @@ namespace AsbCloudWebApi.Controllers /// Список параметров для режимов бурения на скважине [HttpGet] [Permission] - [ProducesResponseType(typeof(IEnumerable), (int) System.Net.HttpStatusCode.OK)] - public async Task GetAllAsync(int idWell, + [ProducesResponseType(typeof(IEnumerable), (int)System.Net.HttpStatusCode.OK)] + public async Task GetAllAsync(int idWell, CancellationToken token = default) { var idCompany = User.GetCompanyId(); - + if (idCompany is null || !await wellService.IsCompanyInvolvedInWellAsync((int)idCompany, idWell, token).ConfigureAwait(false)) return Forbid(); var dto = await drillParamsService.GetAllAsync(idWell, token); - + return Ok(dto); } - + /// /// Сохраняет значения для режимов бурения по секции на скважине /// @@ -82,8 +82,8 @@ namespace AsbCloudWebApi.Controllers /// [HttpPost] [Permission] - [ProducesResponseType(typeof(int), (int) System.Net.HttpStatusCode.OK)] - public async Task InsertAsync(int idWell, + [ProducesResponseType(typeof(int), (int)System.Net.HttpStatusCode.OK)] + public async Task InsertAsync(int idWell, DrillParamsDto drillParamsDto, CancellationToken token = default) { var idCompany = User.GetCompanyId(); @@ -96,7 +96,7 @@ namespace AsbCloudWebApi.Controllers return Ok(result); } - + /// /// Добавляет массив объектов режимов бурений /// @@ -106,19 +106,19 @@ namespace AsbCloudWebApi.Controllers /// [HttpPost("range")] [Permission] - [ProducesResponseType(typeof(int), (int) System.Net.HttpStatusCode.OK)] - public async Task InsertRangeAsync(int idWell, + [ProducesResponseType(typeof(int), (int)System.Net.HttpStatusCode.OK)] + public async Task InsertRangeAsync(int idWell, IEnumerable drillParams, CancellationToken token = default) { var idCompany = User.GetCompanyId(); - + if (idCompany is null || !await wellService.IsCompanyInvolvedInWellAsync((int)idCompany, idWell, token).ConfigureAwait(false)) return Forbid(); var result = await drillParamsService.InsertRangeAsync(idWell, drillParams, token); - + return Ok(result); } @@ -156,22 +156,22 @@ namespace AsbCloudWebApi.Controllers /// [HttpPut] [Permission] - [ProducesResponseType(typeof(int), (int) System.Net.HttpStatusCode.OK)] + [ProducesResponseType(typeof(int), (int)System.Net.HttpStatusCode.OK)] public async Task UpdateAsync(int idWell, int dtoId, DrillParamsDto drillParamsDto, CancellationToken token = default) { var idCompany = User.GetCompanyId(); - + if (idCompany is null || !await wellService.IsCompanyInvolvedInWellAsync((int)idCompany, idWell, token).ConfigureAwait(false)) return Forbid(); var result = await drillParamsService.UpdateAsync(idWell, dtoId, drillParamsDto, token); - + return Ok(result); } - + /// /// Удаляет объект значений выбранного режима бурения /// @@ -181,22 +181,22 @@ namespace AsbCloudWebApi.Controllers /// [HttpDelete] [Permission] - [ProducesResponseType(typeof(int), (int) System.Net.HttpStatusCode.OK)] - public async Task DeleteAsync(int idWell, + [ProducesResponseType(typeof(int), (int)System.Net.HttpStatusCode.OK)] + public async Task DeleteAsync(int idWell, int drillParamsId, CancellationToken token = default) { var idCompany = User.GetCompanyId(); - + if (idCompany is null || !await wellService.IsCompanyInvolvedInWellAsync((int)idCompany, idWell, token).ConfigureAwait(false)) return Forbid(); - - var result = await drillParamsService.DeleteAsync(drillParamsId, + + var result = await drillParamsService.DeleteAsync(drillParamsId, token); - + return Ok(result); } - + /// /// Возвращает значения для режимов бурения на композитной скважине /// @@ -205,17 +205,17 @@ namespace AsbCloudWebApi.Controllers /// Список параметров для режимов бурения на композитной скважине [HttpGet("composite")] [Permission] - [ProducesResponseType(typeof(IEnumerable), (int) System.Net.HttpStatusCode.OK)] + [ProducesResponseType(typeof(IEnumerable), (int)System.Net.HttpStatusCode.OK)] public async Task GetCompositeAllAsync(int idWell, CancellationToken token = default) { var idCompany = User.GetCompanyId(); - + if (idCompany is null || !await wellService.IsCompanyInvolvedInWellAsync((int)idCompany, idWell, token).ConfigureAwait(false)) return Forbid(); var dto = await drillParamsService.GetCompositeAllAsync(idWell, token); - + return Ok(dto); } } diff --git a/AsbCloudWebApi/Controllers/DrillingProgramController.cs b/AsbCloudWebApi/Controllers/DrillingProgramController.cs index 2b7677b3..a083af86 100644 --- a/AsbCloudWebApi/Controllers/DrillingProgramController.cs +++ b/AsbCloudWebApi/Controllers/DrillingProgramController.cs @@ -102,7 +102,7 @@ namespace AsbCloudWebApi.Controllers public async Task AddFile( int idWell, int idFileCategory, - [FromForm] IFormFileCollection files, + [FromForm] IFormFileCollection files, CancellationToken token) { int? idCompany = User.GetCompanyId(); @@ -127,7 +127,7 @@ namespace AsbCloudWebApi.Controllers return BadRequest(ArgumentInvalidException.MakeValidationError("file", "Файл должен быть xlsx")); var fileStream = files[0].OpenReadStream(); - var result = await drillingProgramService.AddFile(idWell, idFileCategory, (int)idUser, fileName, fileStream, token); + var result = await drillingProgramService.AddFile(idWell, idFileCategory, (int)idUser, fileName, fileStream, token); return Ok(result); } @@ -224,7 +224,7 @@ namespace AsbCloudWebApi.Controllers [HttpDelete("part/{idFileCategory}/user/{idUser}")] [Permission] [ProducesResponseType(typeof(int), (int)System.Net.HttpStatusCode.OK)] - public async Task RemoveUserAsync(int idWell, int idUser, int idFileCategory, [Required]int idUserRole, CancellationToken token = default) + public async Task RemoveUserAsync(int idWell, int idUser, int idFileCategory, [Required] int idUserRole, CancellationToken token = default) { int? idCompany = User.GetCompanyId(); int? idUserEditor = User.GetUserId(); @@ -236,7 +236,7 @@ namespace AsbCloudWebApi.Controllers idWell, token).ConfigureAwait(false)) return Forbid(); - var result = await drillingProgramService.RemoveUserAsync(idWell, idFileCategory,idUser, idUserRole, token); + var result = await drillingProgramService.RemoveUserAsync(idWell, idFileCategory, idUser, idUserRole, token); return Ok(result); } @@ -255,11 +255,11 @@ namespace AsbCloudWebApi.Controllers var idUser = User.GetUserId(); - if (idCompany is null || idUser is null || + if (idCompany is null || idUser is null || !await wellService.IsCompanyInvolvedInWellAsync((int)idCompany, idWell, token).ConfigureAwait(false)) return Forbid(); - + var result = await drillingProgramService.AddOrReplaceFileMarkAsync(markDto, (int)idUser, token) .ConfigureAwait(false); diff --git a/AsbCloudWebApi/Controllers/FileController.cs b/AsbCloudWebApi/Controllers/FileController.cs index dad05899..d6622cf4 100644 --- a/AsbCloudWebApi/Controllers/FileController.cs +++ b/AsbCloudWebApi/Controllers/FileController.cs @@ -5,7 +5,6 @@ using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.IO; -using System.Linq; using System.Threading; using System.Threading.Tasks; @@ -50,13 +49,13 @@ namespace AsbCloudWebApi.Controllers idWell, token).ConfigureAwait(false)) return Forbid(); - if(!userService.HasPermission((int)idUser, $"File.edit{idCategory}")) + if (!userService.HasPermission((int)idUser, $"File.edit{idCategory}")) return Forbid(); foreach (var file in files) { var fileStream = file.OpenReadStream(); - await fileService.SaveAsync(idWell, idUser??0, idCategory, file.FileName, + await fileService.SaveAsync(idWell, idUser ?? 0, idCategory, file.FileName, fileStream, token).ConfigureAwait(false); } @@ -84,10 +83,10 @@ namespace AsbCloudWebApi.Controllers int idCategory = default, string companyName = default, string fileName = default, - DateTime begin = default, + DateTime begin = default, DateTime end = default, - int skip = 0, - int take = 32, + int skip = 0, + int take = 32, CancellationToken token = default) { int? idCompany = User.GetCompanyId(); @@ -161,7 +160,7 @@ namespace AsbCloudWebApi.Controllers idWell, token).ConfigureAwait(false)) return Forbid(); - var file = await fileService.GetInfoAsync((int)idFile,token); + var file = await fileService.GetInfoAsync((int)idFile, token); if (!userService.HasPermission((int)idUser, $"File.edit{file.IdCategory}")) return Forbid(); diff --git a/AsbCloudWebApi/Controllers/MeasureController.cs b/AsbCloudWebApi/Controllers/MeasureController.cs index eafbd753..d936e090 100644 --- a/AsbCloudWebApi/Controllers/MeasureController.cs +++ b/AsbCloudWebApi/Controllers/MeasureController.cs @@ -10,7 +10,7 @@ namespace AsbCloudWebApi.Controllers [ApiController] [Authorize] [Route("api/well/{idWell}/measure")] - public class MeasureController: ControllerBase + public class MeasureController : ControllerBase { private readonly IMeasureService measureService; private readonly IWellService wellService; diff --git a/AsbCloudWebApi/Controllers/OperationStatController.cs b/AsbCloudWebApi/Controllers/OperationStatController.cs index 35710c66..d7125ff7 100644 --- a/AsbCloudWebApi/Controllers/OperationStatController.cs +++ b/AsbCloudWebApi/Controllers/OperationStatController.cs @@ -25,7 +25,7 @@ namespace AsbCloudWebApi.Controllers this.operationsStatService = sectionsService; this.wellService = wellService; } - + /// /// Формирует данные по среднему и максимальному МСП на кусту по id скважины /// @@ -46,7 +46,7 @@ namespace AsbCloudWebApi.Controllers return Ok(result); } - + /// /// Формирует данные по среднему и максимальному МСП на кусту по uid панели /// @@ -61,7 +61,7 @@ namespace AsbCloudWebApi.Controllers { var idWell = wellService.TelemetryService.GetIdWellByTelemetryUid(uid); - if(idWell is null) + if (idWell is null) return NoContent(); var result = await operationsStatService.GetRopStatAsync( @@ -84,7 +84,7 @@ namespace AsbCloudWebApi.Controllers CancellationToken token = default) { int? idCompanyOrNull = User.GetCompanyId(); - if(idCompanyOrNull is null) + if (idCompanyOrNull is null) return Forbid(); int idCompany = idCompanyOrNull ?? 0; @@ -107,7 +107,7 @@ namespace AsbCloudWebApi.Controllers [Route("wellsStats")] [Permission] [ProducesResponseType(typeof(IEnumerable), (int)System.Net.HttpStatusCode.OK)] - public async Task GetWellsStatAsync([FromQuery]IEnumerable idWells, CancellationToken token = default) + public async Task GetWellsStatAsync([FromQuery] IEnumerable idWells, CancellationToken token = default) { var protectedIdWells = idWells.Where(CanUserAccessToWell); var result = await operationsStatService.GetWellsStatAsync(protectedIdWells, token) diff --git a/AsbCloudWebApi/Controllers/ReportController.cs b/AsbCloudWebApi/Controllers/ReportController.cs index b1838df4..b5e02333 100644 --- a/AsbCloudWebApi/Controllers/ReportController.cs +++ b/AsbCloudWebApi/Controllers/ReportController.cs @@ -152,7 +152,7 @@ namespace AsbCloudWebApi.Controllers if (!await wellService.IsCompanyInvolvedInWellAsync((int)idCompany, idWell, token).ConfigureAwait(false)) return Forbid(); - + var wellReportsDatesRange = reportService.GetDatesRangeOrDefault(idWell); return Ok(wellReportsDatesRange); diff --git a/AsbCloudWebApi/Controllers/MessageController.cs b/AsbCloudWebApi/Controllers/SAUB/MessageController.cs similarity index 98% rename from AsbCloudWebApi/Controllers/MessageController.cs rename to AsbCloudWebApi/Controllers/SAUB/MessageController.cs index 384e9b11..1be99b19 100644 --- a/AsbCloudWebApi/Controllers/MessageController.cs +++ b/AsbCloudWebApi/Controllers/SAUB/MessageController.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -namespace AsbCloudWebApi.Controllers +namespace AsbCloudWebApi.Controllers.SAUB { [Route("api/well/{idWell}/message")] [ApiController] @@ -77,7 +77,7 @@ namespace AsbCloudWebApi.Controllers if (!isCompanyOwnsWell) return Forbid(); - + var wellMessagesDatesRange = wellService.GetDatesRange(idWell); return Ok(wellMessagesDatesRange); diff --git a/AsbCloudWebApi/Controllers/SAUB/Readme.md b/AsbCloudWebApi/Controllers/SAUB/Readme.md new file mode 100644 index 00000000..8b9fb760 --- /dev/null +++ b/AsbCloudWebApi/Controllers/SAUB/Readme.md @@ -0,0 +1 @@ +Папка содержит controllers для получаемых от панели оператора САУБ запросов. \ No newline at end of file diff --git a/AsbCloudWebApi/Controllers/SetpointsController.cs b/AsbCloudWebApi/Controllers/SAUB/SetpointsController.cs similarity index 97% rename from AsbCloudWebApi/Controllers/SetpointsController.cs rename to AsbCloudWebApi/Controllers/SAUB/SetpointsController.cs index 3f3e481e..2f0c2706 100644 --- a/AsbCloudWebApi/Controllers/SetpointsController.cs +++ b/AsbCloudWebApi/Controllers/SAUB/SetpointsController.cs @@ -1,15 +1,13 @@ -using AsbCloudApp.Services; -using AsbCloudApp.Data; +using AsbCloudApp.Data.SAUB; +using AsbCloudApp.Services; using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; -using System; using System.Collections.Generic; using System.Linq; -using System.Threading.Tasks; using System.Threading; +using System.Threading.Tasks; -namespace AsbCloudWebApi.Controllers +namespace AsbCloudWebApi.Controllers.SAUB { [ApiController] [Authorize] @@ -116,7 +114,7 @@ namespace AsbCloudWebApi.Controllers [ProducesResponseType(typeof(SetpointsRequestDto), (int)System.Net.HttpStatusCode.OK)] [AllowAnonymous] public async Task UpdateByTelemetryUidAsync([FromRoute] string uid, int id, SetpointsRequestDto setpointsRequestDto, CancellationToken token = default) - { + { var result = await setpointsService.UpdateStateAsync(uid, id, setpointsRequestDto, token) .ConfigureAwait(false); diff --git a/AsbCloudWebApi/Controllers/TelemetryAnalyticsController.cs b/AsbCloudWebApi/Controllers/SAUB/TelemetryAnalyticsController.cs similarity index 99% rename from AsbCloudWebApi/Controllers/TelemetryAnalyticsController.cs rename to AsbCloudWebApi/Controllers/SAUB/TelemetryAnalyticsController.cs index fdeafb35..0743061a 100644 --- a/AsbCloudWebApi/Controllers/TelemetryAnalyticsController.cs +++ b/AsbCloudWebApi/Controllers/SAUB/TelemetryAnalyticsController.cs @@ -8,7 +8,7 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; -namespace AsbCloudWebApi.Controllers +namespace AsbCloudWebApi.Controllers.SAUB { [Route("api/well/{idWell}/telemetryAnalytics")] [ApiController] diff --git a/AsbCloudWebApi/Controllers/TelemetryController.cs b/AsbCloudWebApi/Controllers/SAUB/TelemetryController.cs similarity index 98% rename from AsbCloudWebApi/Controllers/TelemetryController.cs rename to AsbCloudWebApi/Controllers/SAUB/TelemetryController.cs index 9855fa3b..985dfabf 100644 --- a/AsbCloudWebApi/Controllers/TelemetryController.cs +++ b/AsbCloudWebApi/Controllers/SAUB/TelemetryController.cs @@ -4,13 +4,12 @@ using AsbCloudApp.Services; using AsbCloudWebApi.SignalR; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR; -using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; -namespace AsbCloudWebApi.Controllers +namespace AsbCloudWebApi.Controllers.SAUB { /// /// Контроллер сбора данных от буровых @@ -54,7 +53,7 @@ namespace AsbCloudWebApi.Controllers await telemetryService.UpdateInfoAsync(uid, info, token).ConfigureAwait(false); return Ok(); } - + /// /// Обновляет часовой пояс скважины /// diff --git a/AsbCloudWebApi/Controllers/TelemetryDataBaseController.cs b/AsbCloudWebApi/Controllers/SAUB/TelemetryDataBaseController.cs similarity index 97% rename from AsbCloudWebApi/Controllers/TelemetryDataBaseController.cs rename to AsbCloudWebApi/Controllers/SAUB/TelemetryDataBaseController.cs index ab1ef1fe..345ecf71 100644 --- a/AsbCloudWebApi/Controllers/TelemetryDataBaseController.cs +++ b/AsbCloudWebApi/Controllers/SAUB/TelemetryDataBaseController.cs @@ -10,13 +10,13 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; -namespace AsbCloudWebApi.Controllers +namespace AsbCloudWebApi.Controllers.SAUB { [ApiController] [Authorize] [Route("api/[controller]")] public abstract class TelemetryDataBaseController : ControllerBase - where TDto: ITelemetryData + where TDto : ITelemetryData { private readonly ITelemetryService telemetryService; private readonly ITelemetryDataService telemetryDataService; @@ -26,7 +26,7 @@ namespace AsbCloudWebApi.Controllers public string SirnalRMethodGetDataName { get; protected set; } = "ReceiveData"; public TelemetryDataBaseController( - ITelemetryService telemetryService, + ITelemetryService telemetryService, ITelemetryDataService telemetryDataService, IWellService wellService, IHubContext telemetryHubContext) @@ -56,7 +56,7 @@ namespace AsbCloudWebApi.Controllers if (idWell is not null && dtos.Any()) _ = Task.Run(() => telemetryHubContext.Clients.Group($"well_{idWell}") .SendAsync(SirnalRMethodGetDataName, dtos), CancellationToken.None); - + return Ok(); } @@ -85,7 +85,7 @@ namespace AsbCloudWebApi.Controllers if (!isCompanyOwnsWell) return Forbid(); - + var content = await telemetryDataService.GetAsync(idWell, begin, intervalSec, approxPointsCount, token).ConfigureAwait(false); diff --git a/AsbCloudWebApi/Controllers/TelemetryDataSaubController.cs b/AsbCloudWebApi/Controllers/SAUB/TelemetryDataSaubController.cs similarity index 95% rename from AsbCloudWebApi/Controllers/TelemetryDataSaubController.cs rename to AsbCloudWebApi/Controllers/SAUB/TelemetryDataSaubController.cs index 242ee985..2ac22774 100644 --- a/AsbCloudWebApi/Controllers/TelemetryDataSaubController.cs +++ b/AsbCloudWebApi/Controllers/SAUB/TelemetryDataSaubController.cs @@ -4,7 +4,7 @@ using AsbCloudWebApi.SignalR; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR; -namespace AsbCloudWebApi.Controllers +namespace AsbCloudWebApi.Controllers.SAUB { [Route("api/[controller]")] [ApiController] diff --git a/AsbCloudWebApi/Controllers/TelemetryDataSpinController.cs b/AsbCloudWebApi/Controllers/SAUB/TelemetryDataSpinController.cs similarity index 95% rename from AsbCloudWebApi/Controllers/TelemetryDataSpinController.cs rename to AsbCloudWebApi/Controllers/SAUB/TelemetryDataSpinController.cs index d8e0bc67..5ee57ffe 100644 --- a/AsbCloudWebApi/Controllers/TelemetryDataSpinController.cs +++ b/AsbCloudWebApi/Controllers/SAUB/TelemetryDataSpinController.cs @@ -4,7 +4,7 @@ using AsbCloudWebApi.SignalR; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR; -namespace AsbCloudWebApi.Controllers +namespace AsbCloudWebApi.Controllers.SAUB { [Route("api/[controller]")] [ApiController] diff --git a/AsbCloudWebApi/Controllers/TelemetryInstantDataController.cs b/AsbCloudWebApi/Controllers/SAUB/TelemetryInstantDataController.cs similarity index 88% rename from AsbCloudWebApi/Controllers/TelemetryInstantDataController.cs rename to AsbCloudWebApi/Controllers/SAUB/TelemetryInstantDataController.cs index 82780eb7..7e2d454e 100644 --- a/AsbCloudWebApi/Controllers/TelemetryInstantDataController.cs +++ b/AsbCloudWebApi/Controllers/SAUB/TelemetryInstantDataController.cs @@ -8,7 +8,7 @@ using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -namespace AsbCloudWebApi.Controllers +namespace AsbCloudWebApi.Controllers.SAUB { [Route("api/[controller]")] [ApiController] @@ -37,7 +37,7 @@ namespace AsbCloudWebApi.Controllers [Route("{uid}")] [AllowAnonymous] public virtual IActionResult PostData( - string uid, + string uid, [FromBody] TDto dto) { if (dto is null) @@ -45,17 +45,17 @@ namespace AsbCloudWebApi.Controllers var idTelemetry = telemetryService.GetOrCreateTelemetryIdByUid(uid); - var typedStore = repository.GetOrAdd(idTelemetry, (id) => new System.Collections.Concurrent.ConcurrentDictionary()); + var typedStore = repository.GetOrAdd(idTelemetry, (id) => new System.Collections.Concurrent.ConcurrentDictionary()); var typeDto = typeof(TDto); - typedStore.AddOrUpdate(typeDto, dto, (_,_) => dto); + typedStore.AddOrUpdate(typeDto, dto, (_, _) => dto); var idWell = telemetryService.GetIdWellByTelemetryUid(uid); if (idWell is not null) - _ = Task.Run(async () => + _ = Task.Run(async () => { - var clients = telemetryHubContext.Clients.Group($"well_{idWell}"); - await clients.SendAsync(SirnalRMethodGetDataName, dto); - }, CancellationToken.None); + var clients = telemetryHubContext.Clients.Group($"well_{idWell}"); + await clients.SendAsync(SirnalRMethodGetDataName, dto); + }, CancellationToken.None); return Ok(); } diff --git a/AsbCloudWebApi/Controllers/TelemetryWirelineRunOutController.cs b/AsbCloudWebApi/Controllers/SAUB/TelemetryWirelineRunOutController.cs similarity index 73% rename from AsbCloudWebApi/Controllers/TelemetryWirelineRunOutController.cs rename to AsbCloudWebApi/Controllers/SAUB/TelemetryWirelineRunOutController.cs index 752fdf98..787670ab 100644 --- a/AsbCloudWebApi/Controllers/TelemetryWirelineRunOutController.cs +++ b/AsbCloudWebApi/Controllers/SAUB/TelemetryWirelineRunOutController.cs @@ -5,7 +5,7 @@ using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR; -namespace AsbCloudWebApi.Controllers +namespace AsbCloudWebApi.Controllers.SAUB { [ApiController] [Authorize] @@ -14,10 +14,10 @@ namespace AsbCloudWebApi.Controllers { protected override string SirnalRMethodGetDataName => "ReceiveWirelineRunOut"; public TelemetryWirelineRunOutController( - ITelemetryService telemetryService, - IWellService wellService, - IHubContext telemetryHubContext, - InstantDataRepository repository) + ITelemetryService telemetryService, + IWellService wellService, + IHubContext telemetryHubContext, + InstantDataRepository repository) : base(telemetryService, wellService, telemetryHubContext, repository) { } diff --git a/AsbCloudWebApi/Controllers/WITS/WitsInfoController.cs b/AsbCloudWebApi/Controllers/WITS/WitsInfoController.cs index 41e6c9e3..bdb1b828 100644 --- a/AsbCloudWebApi/Controllers/WITS/WitsInfoController.cs +++ b/AsbCloudWebApi/Controllers/WITS/WitsInfoController.cs @@ -1,5 +1,4 @@ using AsbCloudInfrastructure.Services; -using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace AsbCloudWebApi.Controllers.WITS diff --git a/AsbCloudWebApi/Controllers/WellController.cs b/AsbCloudWebApi/Controllers/WellController.cs index bd64cdbc..7e2cfb3b 100644 --- a/AsbCloudWebApi/Controllers/WellController.cs +++ b/AsbCloudWebApi/Controllers/WellController.cs @@ -20,7 +20,7 @@ namespace AsbCloudWebApi.Controllers { this.wellService = wellService; } - + /// /// Возвращает список доступных скважин /// @@ -46,7 +46,7 @@ namespace AsbCloudWebApi.Controllers return Ok(wells); } - + /// /// Возвращает информацию о требуемой скважине /// @@ -60,7 +60,7 @@ namespace AsbCloudWebApi.Controllers { var idCompany = User.GetCompanyId(); - if (idCompany is null || !await wellService.IsCompanyInvolvedInWellAsync(idCompany??default, idWell, token).ConfigureAwait(false)) + if (idCompany is null || !await wellService.IsCompanyInvolvedInWellAsync(idCompany ?? default, idWell, token).ConfigureAwait(false)) return NoContent(); var well = await wellService.GetAsync(idWell, @@ -68,7 +68,7 @@ namespace AsbCloudWebApi.Controllers return Ok(well); } - + /// /// Редактирует указанные поля скважины /// @@ -81,7 +81,7 @@ namespace AsbCloudWebApi.Controllers [HttpPut("{idWell}")] [Permission] [ProducesResponseType(typeof(int), (int)System.Net.HttpStatusCode.OK)] - public async Task UpdateWellAsync(int idWell, WellDto dto, + public async Task UpdateWellAsync(int idWell, WellDto dto, CancellationToken token = default) { var idCompany = User.GetCompanyId(); diff --git a/AsbCloudWebApi/Controllers/WellOperationController.cs b/AsbCloudWebApi/Controllers/WellOperationController.cs index d6b20260..494cf347 100644 --- a/AsbCloudWebApi/Controllers/WellOperationController.cs +++ b/AsbCloudWebApi/Controllers/WellOperationController.cs @@ -43,7 +43,7 @@ namespace AsbCloudWebApi.Controllers var result = operationService.GetSectionTypes(); return Ok(result); } - + /// /// Возвращает список имен типов операций на скважине @@ -207,7 +207,7 @@ namespace AsbCloudWebApi.Controllers [HttpPost] [Permission] [Route("import/{options}")] - public async Task ImportAsync(int idWell, + public async Task ImportAsync(int idWell, [FromForm] IFormFileCollection files, int options = 0, CancellationToken token = default) @@ -226,7 +226,7 @@ namespace AsbCloudWebApi.Controllers return BadRequest("нет файла"); var file = files[0]; - if(Path.GetExtension( file.FileName).ToLower() != ".xlsx") + if (Path.GetExtension(file.FileName).ToLower() != ".xlsx") return BadRequest("Требуется xlsx файл."); using Stream stream = file.OpenReadStream(); @@ -234,11 +234,11 @@ namespace AsbCloudWebApi.Controllers { wellOperationImportService.Import(idWell, stream, (options & 1) > 0); } - catch(FileFormatException ex) + catch (FileFormatException ex) { return BadRequest(ex.Message); } - + return Ok(); } @@ -280,7 +280,7 @@ namespace AsbCloudWebApi.Controllers [Route("scheduleReport")] [Permission] [ProducesResponseType(typeof(PhysicalFileResult), (int)System.Net.HttpStatusCode.OK)] - public async Task ScheduleReportAsync([FromRoute] int idWell, [FromServices]IScheduleReportService scheduleReportService, CancellationToken token = default) + public async Task ScheduleReportAsync([FromRoute] int idWell, [FromServices] IScheduleReportService scheduleReportService, CancellationToken token = default) { int? idCompany = User.GetCompanyId(); diff --git a/AsbCloudWebApi/Middlewares/SimplifyExceptionsMiddleware.cs b/AsbCloudWebApi/Middlewares/SimplifyExceptionsMiddleware.cs index 8f673f1a..c09f9749 100644 --- a/AsbCloudWebApi/Middlewares/SimplifyExceptionsMiddleware.cs +++ b/AsbCloudWebApi/Middlewares/SimplifyExceptionsMiddleware.cs @@ -21,7 +21,7 @@ namespace AsbCloudWebApi.Middlewares { await next?.Invoke(context); } - catch(ArgumentInvalidException ex) + catch (ArgumentInvalidException ex) { Console.WriteLine($"ArgumentException in {context.Request.Method}: {ex.Message}"); context.Response.Clear(); @@ -30,7 +30,7 @@ namespace AsbCloudWebApi.Middlewares var body = MakeJsonBody(ex); await context.Response.WriteAsync(body); } - catch(ForbidException ex) + catch (ForbidException ex) { Console.WriteLine($"ForbidException in {context.Request.Method}: {ex.Message}"); context.Response.Clear(); @@ -40,7 +40,7 @@ namespace AsbCloudWebApi.Middlewares { Console.WriteLine(ex.Message); } - catch(Exception ex) + catch (Exception ex) { if (ex.Message.Contains("Reading the request body timed out due to data arriving too slowly. See MinRequestBodyDataRate.")) Console.WriteLine("Reading the request body timed out due to data arriving too slowly."); diff --git a/AsbCloudWebApi/Program.cs b/AsbCloudWebApi/Program.cs index e33ea74b..822d20be 100644 --- a/AsbCloudWebApi/Program.cs +++ b/AsbCloudWebApi/Program.cs @@ -1,8 +1,6 @@ -using AsbCloudDb.Model; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using System; using System.Linq; @@ -11,6 +9,9 @@ namespace AsbCloudWebApi { public class Program { + // Uncomment next line to find wired exceptions by tracing. + //static TraceListenerView trace4debug = new TraceListenerView(); + public static void Main(string[] args) { IConfigurationRoot configuration = new ConfigurationBuilder() @@ -18,9 +19,10 @@ namespace AsbCloudWebApi .AddJsonFile("appsettings.json") .Build(); - if (args?.Length > 0 ) + if (args?.Length > 0) { - if (args.Contains("db_init")) { + if (args.Contains("db_init")) + { var connectionStringName = "DefaultConnection"; AsbCloudInfrastructure.DependencyInjection.MakeContext(configuration.GetConnectionString(connectionStringName)); @@ -29,8 +31,8 @@ namespace AsbCloudWebApi } WriteHelp(); return; - } - + } + var host = CreateHostBuilder(args).Build(); AsbCloudInfrastructure.Startup.BeforeRunHandler(host, configuration); host.Run(); diff --git a/AsbCloudWebApi/ProtobufModel.cs b/AsbCloudWebApi/ProtobufModel.cs index f7d19491..4bebb030 100644 --- a/AsbCloudWebApi/ProtobufModel.cs +++ b/AsbCloudWebApi/ProtobufModel.cs @@ -3,409 +3,409 @@ using ProtoBuf.Meta; namespace AsbCloudWebApi { - public static class ProtobufModel - { - public static void EnshureRegistered() - { - EnshureRegisteredDataSpin(); - EnshureRegisteredDataSaub(); - EnshureRegisteredWITS(); - EnshureRegisteredWirelineRunOutDto(); - } + public static class ProtobufModel + { + public static void EnshureRegistered() + { + EnshureRegisteredDataSpin(); + EnshureRegisteredDataSaub(); + EnshureRegisteredWITS(); + EnshureRegisteredWirelineRunOutDto(); + } - private static void EnshureRegisteredWirelineRunOutDto() - { - var type = typeof(TelemetryWirelineRunOutDto); - if (RuntimeTypeModel.Default.IsDefined(type)) - return; - RuntimeTypeModel.Default.Add(type, false) - .Add(1, nameof(TelemetryWirelineRunOutDto.DateTime)) - .Add(2, nameof(TelemetryWirelineRunOutDto.Hauling)) - .Add(3, nameof(TelemetryWirelineRunOutDto.HaulingWarnSp)) - .Add(4, nameof(TelemetryWirelineRunOutDto.Replace)) - .Add(5, nameof(TelemetryWirelineRunOutDto.ReplaceWarnSp)); - } + private static void EnshureRegisteredWirelineRunOutDto() + { + var type = typeof(TelemetryWirelineRunOutDto); + if (RuntimeTypeModel.Default.IsDefined(type)) + return; + RuntimeTypeModel.Default.Add(type, false) + .Add(1, nameof(TelemetryWirelineRunOutDto.DateTime)) + .Add(2, nameof(TelemetryWirelineRunOutDto.Hauling)) + .Add(3, nameof(TelemetryWirelineRunOutDto.HaulingWarnSp)) + .Add(4, nameof(TelemetryWirelineRunOutDto.Replace)) + .Add(5, nameof(TelemetryWirelineRunOutDto.ReplaceWarnSp)); + } - private static void EnshureRegisteredWITS() - { - EnshureRegisteredRecord1(); - EnshureRegisteredRecord7(); - EnshureRegisteredRecord8(); - EnshureRegisteredRecord50(); - EnshureRegisteredRecord60(); - EnshureRegisteredRecord61(); - } + private static void EnshureRegisteredWITS() + { + EnshureRegisteredRecord1(); + EnshureRegisteredRecord7(); + EnshureRegisteredRecord8(); + EnshureRegisteredRecord50(); + EnshureRegisteredRecord60(); + EnshureRegisteredRecord61(); + } - private static void EnshureRegisteredRecord1() - { - var type = typeof(AsbCloudApp.Data.WITS.Record1Dto); - if (RuntimeTypeModel.Default.IsDefined(type)) - return; - var i = 1; - RuntimeTypeModel.Default.Add(type, false) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Id)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.IdTelemetry)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.DateTime)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.TimeStamp)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Wellid)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Stknum)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Recid)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Seqid)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Date_)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Time)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Actcod)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Deptbitm)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Deptbitv)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Deptmeas)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Deptvert)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Blkpos)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Ropa)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Hkla)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Hklx)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Woba)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Wobx)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Torqa)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Torqx)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Rpma)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Sppa)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Chkp)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spm1)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spm2)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spm3)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Tvolact)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Tvolcact)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mfop)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mfoa)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mfia)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mdoa)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mdia)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mtoa)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mtia)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mcoa)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mcia)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Stkc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Lagstks)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Deptretm)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Gasa)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spare1)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spare2)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spare3)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spare4)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spare5)) - ; - } + private static void EnshureRegisteredRecord1() + { + var type = typeof(AsbCloudApp.Data.WITS.Record1Dto); + if (RuntimeTypeModel.Default.IsDefined(type)) + return; + var i = 1; + RuntimeTypeModel.Default.Add(type, false) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Id)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.IdTelemetry)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.DateTime)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.TimeStamp)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Wellid)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Stknum)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Recid)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Seqid)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Date_)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Time)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Actcod)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Deptbitm)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Deptbitv)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Deptmeas)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Deptvert)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Blkpos)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Ropa)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Hkla)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Hklx)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Woba)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Wobx)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Torqa)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Torqx)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Rpma)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Sppa)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Chkp)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spm1)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spm2)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spm3)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Tvolact)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Tvolcact)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mfop)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mfoa)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mfia)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mdoa)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mdia)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mtoa)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mtia)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mcoa)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Mcia)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Stkc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Lagstks)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Deptretm)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Gasa)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spare1)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spare2)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spare3)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spare4)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record1Dto.Spare5)) + ; + } - private static void EnshureRegisteredRecord7() - { - var type = typeof(AsbCloudApp.Data.WITS.Record7Dto); - if (RuntimeTypeModel.Default.IsDefined(type)) - return; - var i = 1; - RuntimeTypeModel.Default.Add(type, false) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Id)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.IdTelemetry)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.DateTime)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.TimeStamp)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Wellid)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Stknum)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Recid)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Seqid)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Date_)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Time)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Actcod)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Deptsvym)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Deptsvyv)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Passnum)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Deptmeas)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svytype)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svyinc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svyazu)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svyazc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svymtf)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svygtf)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svyns)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svyew)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svydls)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svywalk)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Spare1)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Spare2)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Spare3)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Spare4)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Spare5)) - ; - } + private static void EnshureRegisteredRecord7() + { + var type = typeof(AsbCloudApp.Data.WITS.Record7Dto); + if (RuntimeTypeModel.Default.IsDefined(type)) + return; + var i = 1; + RuntimeTypeModel.Default.Add(type, false) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Id)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.IdTelemetry)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.DateTime)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.TimeStamp)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Wellid)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Stknum)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Recid)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Seqid)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Date_)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Time)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Actcod)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Deptsvym)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Deptsvyv)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Passnum)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Deptmeas)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svytype)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svyinc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svyazu)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svyazc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svymtf)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svygtf)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svyns)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svyew)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svydls)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Svywalk)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Spare1)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Spare2)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Spare3)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Spare4)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record7Dto.Spare5)) + ; + } - private static void EnshureRegisteredRecord8() - { - var type = typeof(AsbCloudApp.Data.WITS.Record8Dto); - if (RuntimeTypeModel.Default.IsDefined(type)) - return; - var i = 1; - RuntimeTypeModel.Default.Add(type, false) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Id)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.IdTelemetry)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.DateTime)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.TimeStamp)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Wellid)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Stknum)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Recid)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Seqid)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Date_)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Time)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Actcod)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptmeas)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptvert)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptbitm)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptbitv)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Passnum)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptrs1m)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptrs1v)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mr1)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mr1c)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptrs2m)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptrs2v)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mr2)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mr2c)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptgr1m)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptgr1v)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mg1)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mg1c)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptgr2m)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptgr2v)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mg2)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mg2c)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptp1m)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptp1v)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mpo1)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptp2m)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptp2v)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mpo2)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mftann)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mftpipe)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mfrann)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mfrpipe)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptfdm)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptfdv)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mfd)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptcalm)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptcalv)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mclp)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mfpp)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mffp)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare1)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare2)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare3)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare4)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare5)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare6)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare7)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare8)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare9)) - ; - } + private static void EnshureRegisteredRecord8() + { + var type = typeof(AsbCloudApp.Data.WITS.Record8Dto); + if (RuntimeTypeModel.Default.IsDefined(type)) + return; + var i = 1; + RuntimeTypeModel.Default.Add(type, false) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Id)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.IdTelemetry)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.DateTime)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.TimeStamp)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Wellid)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Stknum)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Recid)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Seqid)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Date_)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Time)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Actcod)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptmeas)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptvert)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptbitm)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptbitv)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Passnum)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptrs1m)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptrs1v)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mr1)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mr1c)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptrs2m)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptrs2v)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mr2)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mr2c)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptgr1m)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptgr1v)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mg1)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mg1c)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptgr2m)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptgr2v)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mg2)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mg2c)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptp1m)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptp1v)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mpo1)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptp2m)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptp2v)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mpo2)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mftann)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mftpipe)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mfrann)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mfrpipe)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptfdm)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptfdv)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mfd)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptcalm)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Deptcalv)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mclp)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mfpp)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Mffp)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare1)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare2)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare3)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare4)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare5)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare6)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare7)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare8)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record8Dto.Spare9)) + ; + } - private static void EnshureRegisteredRecord60() - { - var type = typeof(AsbCloudApp.Data.WITS.Record60Dto); - if (RuntimeTypeModel.Default.IsDefined(type)) - return; - var i = 1; - RuntimeTypeModel.Default.Add(type, false) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Id)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.IdTelemetry)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.DateTime)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.TimeStamp)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Deptbitm)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Deptmeas)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Gtot)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Gx)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Gy)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Gz)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Btot)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Bx)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.By)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Bz)) - ; - } + private static void EnshureRegisteredRecord60() + { + var type = typeof(AsbCloudApp.Data.WITS.Record60Dto); + if (RuntimeTypeModel.Default.IsDefined(type)) + return; + var i = 1; + RuntimeTypeModel.Default.Add(type, false) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Id)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.IdTelemetry)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.DateTime)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.TimeStamp)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Deptbitm)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Deptmeas)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Gtot)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Gx)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Gy)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Gz)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Btot)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Bx)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.By)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record60Dto.Bz)) + ; + } - private static void EnshureRegisteredRecord61() - { - var type = typeof(AsbCloudApp.Data.WITS.Record61Dto); - if (RuntimeTypeModel.Default.IsDefined(type)) - return; - var i = 1; - RuntimeTypeModel.Default.Add(type, false) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Id)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.IdTelemetry)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.DateTime)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.TimeStamp)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Deptbitm)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Deptmeas)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Phl1f1)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Phl1f2)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Phl2f1)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Phl2f2)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Att06h)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Att06l)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Att10h)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Att10l)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Status)) - ; - } + private static void EnshureRegisteredRecord61() + { + var type = typeof(AsbCloudApp.Data.WITS.Record61Dto); + if (RuntimeTypeModel.Default.IsDefined(type)) + return; + var i = 1; + RuntimeTypeModel.Default.Add(type, false) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Id)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.IdTelemetry)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.DateTime)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.TimeStamp)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Deptbitm)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Deptmeas)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Phl1f1)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Phl1f2)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Phl2f1)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Phl2f2)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Att06h)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Att06l)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Att10h)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Att10l)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record61Dto.Status)) + ; + } - private static void EnshureRegisteredRecord50() - { - var type = typeof(AsbCloudApp.Data.WITS.Record50Dto); - if (RuntimeTypeModel.Default.IsDefined(type)) - return; - var i = 1; - RuntimeTypeModel.Default.Add(type, false) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Id)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.IdTelemetry)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DateTime)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.TimeStamp)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Deptbitm)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasMcrstat)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Mcrstat)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasSlvlMc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.SlvlMc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasGdpMc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.GdpMc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasRa33f2Mc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Ra33f2Mc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasRp33f2Mc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Rp33f2Mc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasRa33f4Mc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Ra33f4Mc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasRp33f4Mc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Rp33f4Mc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasRa33Mc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Ra33Mc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasRp33Mc)) - .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Rp33Mc)) - ; - } + private static void EnshureRegisteredRecord50() + { + var type = typeof(AsbCloudApp.Data.WITS.Record50Dto); + if (RuntimeTypeModel.Default.IsDefined(type)) + return; + var i = 1; + RuntimeTypeModel.Default.Add(type, false) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Id)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.IdTelemetry)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DateTime)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.TimeStamp)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Deptbitm)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasMcrstat)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Mcrstat)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasSlvlMc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.SlvlMc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasGdpMc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.GdpMc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasRa33f2Mc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Ra33f2Mc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasRp33f2Mc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Rp33f2Mc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasRa33f4Mc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Ra33f4Mc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasRp33f4Mc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Rp33f4Mc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasRa33Mc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Ra33Mc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.DeptmeasRp33Mc)) + .Add(i++, nameof(AsbCloudApp.Data.WITS.Record50Dto.Rp33Mc)) + ; + } - static void EnshureRegisteredDataSpin() - { - var type = typeof(TelemetryDataSpinDto); - if (RuntimeTypeModel.Default.IsDefined(type)) - return; - RuntimeTypeModel.Default.Add(type, false) - .Add(1, nameof(TelemetryDataSpinDto.IdTelemetry)) - .Add(2, nameof(TelemetryDataSpinDto.DateTime)) - .Add(3, nameof(TelemetryDataSpinDto.TopDriveSpeed)) - .Add(4, nameof(TelemetryDataSpinDto.TopDriveSpeedMin)) - .Add(5, nameof(TelemetryDataSpinDto.TopDriveSpeedMax)) - .Add(6, nameof(TelemetryDataSpinDto.TopDriveSpeedOffset)) - .Add(7, nameof(TelemetryDataSpinDto.TopDriveSpeedErr)) - .Add(8, nameof(TelemetryDataSpinDto.TopDriveTorque)) - .Add(9, nameof(TelemetryDataSpinDto.TopDriveTorqueMin)) - .Add(10, nameof(TelemetryDataSpinDto.TopDriveTorqueMax)) - .Add(11, nameof(TelemetryDataSpinDto.TopDriveTorqueOffset)) - .Add(12, nameof(TelemetryDataSpinDto.TopDriveTorqueErr)) - .Add(13, nameof(TelemetryDataSpinDto.TopDriveSpeedSpFrom)) - .Add(14, nameof(TelemetryDataSpinDto.TopDriveSpeedSpFromMin)) - .Add(15, nameof(TelemetryDataSpinDto.TopDriveSpeedSpFromMax)) - .Add(16, nameof(TelemetryDataSpinDto.TopDriveSpeedSpFromOffset)) - .Add(17, nameof(TelemetryDataSpinDto.TopDriveSpeedSpFromErr)) - .Add(18, nameof(TelemetryDataSpinDto.TopDriveTorqueSpFrom)) - .Add(19, nameof(TelemetryDataSpinDto.TopDriveTorqueSpFromMin)) - .Add(20, nameof(TelemetryDataSpinDto.TopDriveTorqueSpFromMax)) - .Add(21, nameof(TelemetryDataSpinDto.TopDriveTorqueSpFromOffset)) - .Add(22, nameof(TelemetryDataSpinDto.TopDriveTorqueSpFromErr)) - .Add(23, nameof(TelemetryDataSpinDto.TopDriveSpeedSpTo)) - .Add(24, nameof(TelemetryDataSpinDto.TopDriveSpeedSpToMin)) - .Add(25, nameof(TelemetryDataSpinDto.TopDriveSpeedSpToMax)) - .Add(26, nameof(TelemetryDataSpinDto.TopDriveSpeedSpToOffset)) - .Add(27, nameof(TelemetryDataSpinDto.TopDriveSpeedSpToErr)) - .Add(28, nameof(TelemetryDataSpinDto.TopDriveTorqueSpTo)) - .Add(29, nameof(TelemetryDataSpinDto.TopDriveTorqueSpToMin)) - .Add(30, nameof(TelemetryDataSpinDto.TopDriveTorqueSpToMax)) - .Add(31, nameof(TelemetryDataSpinDto.TopDriveTorqueSpToOffset)) - .Add(32, nameof(TelemetryDataSpinDto.TopDriveTorqueSpToErr)) - .Add(33, nameof(TelemetryDataSpinDto.W2800)) - .Add(34, nameof(TelemetryDataSpinDto.W2810)) - .Add(35, nameof(TelemetryDataSpinDto.Mode)) - .Add(36, nameof(TelemetryDataSpinDto.W2808)) - .Add(37, nameof(TelemetryDataSpinDto.TorqueStarting)) - .Add(38, nameof(TelemetryDataSpinDto.RotorTorqueAvg)) - .Add(39, nameof(TelemetryDataSpinDto.EncoderResolution)) - .Add(40, nameof(TelemetryDataSpinDto.Ratio)) - .Add(41, nameof(TelemetryDataSpinDto.TorqueRightLimit)) - .Add(42, nameof(TelemetryDataSpinDto.TorqueLeftLimit)) - .Add(43, nameof(TelemetryDataSpinDto.RevolsRightLimit)) - .Add(44, nameof(TelemetryDataSpinDto.RevolsLeftLimit)) - .Add(45, nameof(TelemetryDataSpinDto.SpeedRightSp)) - .Add(46, nameof(TelemetryDataSpinDto.SpeedLeftSp)) - .Add(47, nameof(TelemetryDataSpinDto.RevolsRightTotal)) - .Add(48, nameof(TelemetryDataSpinDto.RevolsLeftTotal)) - .Add(49, nameof(TelemetryDataSpinDto.TurnRightOnceByTorque)) - .Add(50, nameof(TelemetryDataSpinDto.TurnLeftOnceByTorque)) - .Add(51, nameof(TelemetryDataSpinDto.TurnRightOnceByAngle)) - .Add(52, nameof(TelemetryDataSpinDto.TurnLeftOnceByAngle)) - .Add(53, nameof(TelemetryDataSpinDto.TurnRightOnceByRevols)) - .Add(54, nameof(TelemetryDataSpinDto.TurnLeftOnceByRevols)) - .Add(55, nameof(TelemetryDataSpinDto.BreakAngleK)) - .Add(56, nameof(TelemetryDataSpinDto.ReverseKTorque)) - .Add(57, nameof(TelemetryDataSpinDto.PositionZero)) - .Add(58, nameof(TelemetryDataSpinDto.PositionRight)) - .Add(59, nameof(TelemetryDataSpinDto.TorqueRampTime)) - .Add(60, nameof(TelemetryDataSpinDto.Ver)) - .Add(61, nameof(TelemetryDataSpinDto.ReverseSpeedSpZeroTime)) - .Add(62, nameof(TelemetryDataSpinDto.UnlockBySectorOut)) - .Add(63, nameof(TelemetryDataSpinDto.PidMuxTorqueLeftLimit)) - .Add(64, nameof(TelemetryDataSpinDto.State)) - .Add(65, nameof(TelemetryDataSpinDto.BreakAngleLeft)); - } + static void EnshureRegisteredDataSpin() + { + var type = typeof(TelemetryDataSpinDto); + if (RuntimeTypeModel.Default.IsDefined(type)) + return; + RuntimeTypeModel.Default.Add(type, false) + .Add(1, nameof(TelemetryDataSpinDto.IdTelemetry)) + .Add(2, nameof(TelemetryDataSpinDto.DateTime)) + .Add(3, nameof(TelemetryDataSpinDto.TopDriveSpeed)) + .Add(4, nameof(TelemetryDataSpinDto.TopDriveSpeedMin)) + .Add(5, nameof(TelemetryDataSpinDto.TopDriveSpeedMax)) + .Add(6, nameof(TelemetryDataSpinDto.TopDriveSpeedOffset)) + .Add(7, nameof(TelemetryDataSpinDto.TopDriveSpeedErr)) + .Add(8, nameof(TelemetryDataSpinDto.TopDriveTorque)) + .Add(9, nameof(TelemetryDataSpinDto.TopDriveTorqueMin)) + .Add(10, nameof(TelemetryDataSpinDto.TopDriveTorqueMax)) + .Add(11, nameof(TelemetryDataSpinDto.TopDriveTorqueOffset)) + .Add(12, nameof(TelemetryDataSpinDto.TopDriveTorqueErr)) + .Add(13, nameof(TelemetryDataSpinDto.TopDriveSpeedSpFrom)) + .Add(14, nameof(TelemetryDataSpinDto.TopDriveSpeedSpFromMin)) + .Add(15, nameof(TelemetryDataSpinDto.TopDriveSpeedSpFromMax)) + .Add(16, nameof(TelemetryDataSpinDto.TopDriveSpeedSpFromOffset)) + .Add(17, nameof(TelemetryDataSpinDto.TopDriveSpeedSpFromErr)) + .Add(18, nameof(TelemetryDataSpinDto.TopDriveTorqueSpFrom)) + .Add(19, nameof(TelemetryDataSpinDto.TopDriveTorqueSpFromMin)) + .Add(20, nameof(TelemetryDataSpinDto.TopDriveTorqueSpFromMax)) + .Add(21, nameof(TelemetryDataSpinDto.TopDriveTorqueSpFromOffset)) + .Add(22, nameof(TelemetryDataSpinDto.TopDriveTorqueSpFromErr)) + .Add(23, nameof(TelemetryDataSpinDto.TopDriveSpeedSpTo)) + .Add(24, nameof(TelemetryDataSpinDto.TopDriveSpeedSpToMin)) + .Add(25, nameof(TelemetryDataSpinDto.TopDriveSpeedSpToMax)) + .Add(26, nameof(TelemetryDataSpinDto.TopDriveSpeedSpToOffset)) + .Add(27, nameof(TelemetryDataSpinDto.TopDriveSpeedSpToErr)) + .Add(28, nameof(TelemetryDataSpinDto.TopDriveTorqueSpTo)) + .Add(29, nameof(TelemetryDataSpinDto.TopDriveTorqueSpToMin)) + .Add(30, nameof(TelemetryDataSpinDto.TopDriveTorqueSpToMax)) + .Add(31, nameof(TelemetryDataSpinDto.TopDriveTorqueSpToOffset)) + .Add(32, nameof(TelemetryDataSpinDto.TopDriveTorqueSpToErr)) + .Add(33, nameof(TelemetryDataSpinDto.W2800)) + .Add(34, nameof(TelemetryDataSpinDto.W2810)) + .Add(35, nameof(TelemetryDataSpinDto.Mode)) + .Add(36, nameof(TelemetryDataSpinDto.W2808)) + .Add(37, nameof(TelemetryDataSpinDto.TorqueStarting)) + .Add(38, nameof(TelemetryDataSpinDto.RotorTorqueAvg)) + .Add(39, nameof(TelemetryDataSpinDto.EncoderResolution)) + .Add(40, nameof(TelemetryDataSpinDto.Ratio)) + .Add(41, nameof(TelemetryDataSpinDto.TorqueRightLimit)) + .Add(42, nameof(TelemetryDataSpinDto.TorqueLeftLimit)) + .Add(43, nameof(TelemetryDataSpinDto.RevolsRightLimit)) + .Add(44, nameof(TelemetryDataSpinDto.RevolsLeftLimit)) + .Add(45, nameof(TelemetryDataSpinDto.SpeedRightSp)) + .Add(46, nameof(TelemetryDataSpinDto.SpeedLeftSp)) + .Add(47, nameof(TelemetryDataSpinDto.RevolsRightTotal)) + .Add(48, nameof(TelemetryDataSpinDto.RevolsLeftTotal)) + .Add(49, nameof(TelemetryDataSpinDto.TurnRightOnceByTorque)) + .Add(50, nameof(TelemetryDataSpinDto.TurnLeftOnceByTorque)) + .Add(51, nameof(TelemetryDataSpinDto.TurnRightOnceByAngle)) + .Add(52, nameof(TelemetryDataSpinDto.TurnLeftOnceByAngle)) + .Add(53, nameof(TelemetryDataSpinDto.TurnRightOnceByRevols)) + .Add(54, nameof(TelemetryDataSpinDto.TurnLeftOnceByRevols)) + .Add(55, nameof(TelemetryDataSpinDto.BreakAngleK)) + .Add(56, nameof(TelemetryDataSpinDto.ReverseKTorque)) + .Add(57, nameof(TelemetryDataSpinDto.PositionZero)) + .Add(58, nameof(TelemetryDataSpinDto.PositionRight)) + .Add(59, nameof(TelemetryDataSpinDto.TorqueRampTime)) + .Add(60, nameof(TelemetryDataSpinDto.Ver)) + .Add(61, nameof(TelemetryDataSpinDto.ReverseSpeedSpZeroTime)) + .Add(62, nameof(TelemetryDataSpinDto.UnlockBySectorOut)) + .Add(63, nameof(TelemetryDataSpinDto.PidMuxTorqueLeftLimit)) + .Add(64, nameof(TelemetryDataSpinDto.State)) + .Add(65, nameof(TelemetryDataSpinDto.BreakAngleLeft)); + } - static void EnshureRegisteredDataSaub() - { - var type = typeof(TelemetryDataSaubDto); - if (RuntimeTypeModel.Default.IsDefined(type)) - return; - RuntimeTypeModel.Default.Add(type, false) - .Add(1, nameof(TelemetryDataSaubDto.IdTelemetry)) - .Add(2, nameof(TelemetryDataSaubDto.DateTime)) - .Add(3, nameof(TelemetryDataSaubDto.Mode)) - .Add(4, nameof(TelemetryDataSaubDto.User)) - .Add(5, nameof(TelemetryDataSaubDto.WellDepth)) - .Add(6, nameof(TelemetryDataSaubDto.BitDepth)) - .Add(7, nameof(TelemetryDataSaubDto.BlockPosition)) - .Add(8, nameof(TelemetryDataSaubDto.BlockPositionMin)) - .Add(9, nameof(TelemetryDataSaubDto.BlockPositionMax)) - .Add(10, nameof(TelemetryDataSaubDto.BlockSpeed)) - .Add(11, nameof(TelemetryDataSaubDto.BlockSpeedSp)) - .Add(12, nameof(TelemetryDataSaubDto.BlockSpeedSpRotor)) - .Add(13, nameof(TelemetryDataSaubDto.BlockSpeedSpSlide)) - .Add(14, nameof(TelemetryDataSaubDto.BlockSpeedSpDevelop)) - .Add(15, nameof(TelemetryDataSaubDto.Pressure)) - .Add(16, nameof(TelemetryDataSaubDto.PressureIdle)) - .Add(17, nameof(TelemetryDataSaubDto.PressureSp)) - .Add(18, nameof(TelemetryDataSaubDto.PressureSpRotor)) - .Add(19, nameof(TelemetryDataSaubDto.PressureSpSlide)) - .Add(20, nameof(TelemetryDataSaubDto.PressureSpDevelop)) - .Add(21, nameof(TelemetryDataSaubDto.PressureDeltaLimitMax)) - .Add(22, nameof(TelemetryDataSaubDto.AxialLoad)) - .Add(23, nameof(TelemetryDataSaubDto.AxialLoadSp)) - .Add(24, nameof(TelemetryDataSaubDto.AxialLoadLimitMax)) - .Add(25, nameof(TelemetryDataSaubDto.HookWeight)) - .Add(26, nameof(TelemetryDataSaubDto.HookWeightIdle)) - .Add(27, nameof(TelemetryDataSaubDto.HookWeightLimitMin)) - .Add(28, nameof(TelemetryDataSaubDto.HookWeightLimitMax)) - .Add(29, nameof(TelemetryDataSaubDto.RotorTorque)) - .Add(30, nameof(TelemetryDataSaubDto.RotorTorqueIdle)) - .Add(31, nameof(TelemetryDataSaubDto.RotorTorqueSp)) - .Add(32, nameof(TelemetryDataSaubDto.RotorTorqueLimitMax)) - .Add(33, nameof(TelemetryDataSaubDto.RotorSpeed)) - .Add(34, nameof(TelemetryDataSaubDto.Flow)) - .Add(35, nameof(TelemetryDataSaubDto.FlowIdle)) - .Add(36, nameof(TelemetryDataSaubDto.FlowDeltaLimitMax)) - .Add(37, nameof(TelemetryDataSaubDto.IdFeedRegulator)) - .Add(38, nameof(TelemetryDataSaubDto.MseState)) - .Add(39, nameof(TelemetryDataSaubDto.Mse)); - } - } + static void EnshureRegisteredDataSaub() + { + var type = typeof(TelemetryDataSaubDto); + if (RuntimeTypeModel.Default.IsDefined(type)) + return; + RuntimeTypeModel.Default.Add(type, false) + .Add(1, nameof(TelemetryDataSaubDto.IdTelemetry)) + .Add(2, nameof(TelemetryDataSaubDto.DateTime)) + .Add(3, nameof(TelemetryDataSaubDto.Mode)) + .Add(4, nameof(TelemetryDataSaubDto.User)) + .Add(5, nameof(TelemetryDataSaubDto.WellDepth)) + .Add(6, nameof(TelemetryDataSaubDto.BitDepth)) + .Add(7, nameof(TelemetryDataSaubDto.BlockPosition)) + .Add(8, nameof(TelemetryDataSaubDto.BlockPositionMin)) + .Add(9, nameof(TelemetryDataSaubDto.BlockPositionMax)) + .Add(10, nameof(TelemetryDataSaubDto.BlockSpeed)) + .Add(11, nameof(TelemetryDataSaubDto.BlockSpeedSp)) + .Add(12, nameof(TelemetryDataSaubDto.BlockSpeedSpRotor)) + .Add(13, nameof(TelemetryDataSaubDto.BlockSpeedSpSlide)) + .Add(14, nameof(TelemetryDataSaubDto.BlockSpeedSpDevelop)) + .Add(15, nameof(TelemetryDataSaubDto.Pressure)) + .Add(16, nameof(TelemetryDataSaubDto.PressureIdle)) + .Add(17, nameof(TelemetryDataSaubDto.PressureSp)) + .Add(18, nameof(TelemetryDataSaubDto.PressureSpRotor)) + .Add(19, nameof(TelemetryDataSaubDto.PressureSpSlide)) + .Add(20, nameof(TelemetryDataSaubDto.PressureSpDevelop)) + .Add(21, nameof(TelemetryDataSaubDto.PressureDeltaLimitMax)) + .Add(22, nameof(TelemetryDataSaubDto.AxialLoad)) + .Add(23, nameof(TelemetryDataSaubDto.AxialLoadSp)) + .Add(24, nameof(TelemetryDataSaubDto.AxialLoadLimitMax)) + .Add(25, nameof(TelemetryDataSaubDto.HookWeight)) + .Add(26, nameof(TelemetryDataSaubDto.HookWeightIdle)) + .Add(27, nameof(TelemetryDataSaubDto.HookWeightLimitMin)) + .Add(28, nameof(TelemetryDataSaubDto.HookWeightLimitMax)) + .Add(29, nameof(TelemetryDataSaubDto.RotorTorque)) + .Add(30, nameof(TelemetryDataSaubDto.RotorTorqueIdle)) + .Add(31, nameof(TelemetryDataSaubDto.RotorTorqueSp)) + .Add(32, nameof(TelemetryDataSaubDto.RotorTorqueLimitMax)) + .Add(33, nameof(TelemetryDataSaubDto.RotorSpeed)) + .Add(34, nameof(TelemetryDataSaubDto.Flow)) + .Add(35, nameof(TelemetryDataSaubDto.FlowIdle)) + .Add(36, nameof(TelemetryDataSaubDto.FlowDeltaLimitMax)) + .Add(37, nameof(TelemetryDataSaubDto.IdFeedRegulator)) + .Add(38, nameof(TelemetryDataSaubDto.MseState)) + .Add(39, nameof(TelemetryDataSaubDto.Mse)); + } + } } diff --git a/AsbCloudWebApi/SignalR/TelemetryHub.cs b/AsbCloudWebApi/SignalR/TelemetryHub.cs index 698e7b37..100026e4 100644 --- a/AsbCloudWebApi/SignalR/TelemetryHub.cs +++ b/AsbCloudWebApi/SignalR/TelemetryHub.cs @@ -1,7 +1,5 @@ -using AsbCloudApp.Data; -using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.SignalR; -using System.Collections.Generic; using System.Threading.Tasks; namespace AsbCloudWebApi.SignalR diff --git a/AsbCloudWebApi/Startup.cs b/AsbCloudWebApi/Startup.cs index 5ba8dbd2..a2fe8159 100644 --- a/AsbCloudWebApi/Startup.cs +++ b/AsbCloudWebApi/Startup.cs @@ -1,4 +1,3 @@ -using AsbCloudApp.Services; using AsbCloudInfrastructure; using AsbCloudWebApi.Middlewares; using AsbCloudWebApi.SignalR; @@ -21,7 +20,7 @@ namespace AsbCloudWebApi public void ConfigureServices(IServiceCollection services) { services.AddControllers() - .AddJsonOptions(new System.Action(opts => + .AddJsonOptions(new System.Action(opts => { opts.JsonSerializerOptions.NumberHandling = System.Text.Json.Serialization.JsonNumberHandling.AllowNamedFloatingPointLiterals | System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString; })) @@ -87,7 +86,7 @@ namespace AsbCloudWebApi app.UseResponseCaching(); //app.UseResponseCompression(); - + app.UseAuthentication(); app.UseAuthorization(); diff --git a/AsbCloudWebApi/TraceListenerView.cs b/AsbCloudWebApi/TraceListenerView.cs index 3d45c690..bda66d1c 100644 --- a/AsbCloudWebApi/TraceListenerView.cs +++ b/AsbCloudWebApi/TraceListenerView.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Threading.Tasks; +using System.Diagnostics; namespace AsbCloudWebApi {