2024-07-04 11:02:45 +05:00
|
|
|
|
using AsbCloudApp.Data.SAUB;
|
2021-12-21 11:52:53 +05:00
|
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
|
namespace AsbCloudApp.Data;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// DTO телеметрии панели
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class TelemetryBaseDto : IId
|
2021-09-10 11:28:57 +05:00
|
|
|
|
{
|
2024-08-19 10:01:07 +05:00
|
|
|
|
/// <inheritdoc/>
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
2022-06-01 17:52:26 +05:00
|
|
|
|
/// <summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
|
/// уникальный идентификатор телеметрии по которому панель оператора присылает данные
|
2022-06-01 17:52:26 +05:00
|
|
|
|
/// </summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
|
public string RemoteUid { get; set; } = null!;
|
2022-06-01 17:52:26 +05:00
|
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// информация о бурении, панели оператора и контроллерах
|
|
|
|
|
/// </summary>
|
|
|
|
|
public TelemetryInfoDto? Info { get; set; }
|
2023-03-09 12:32:09 +05:00
|
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Смещение часового пояса от UTC
|
|
|
|
|
/// </summary>
|
|
|
|
|
public SimpleTimezoneDto? TimeZone { get; set; }
|
|
|
|
|
}
|
2021-12-22 11:41:18 +05:00
|
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// DTO телеметрии панели с скважиной
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class TelemetryDto : TelemetryBaseDto
|
|
|
|
|
{
|
2022-06-01 17:52:26 +05:00
|
|
|
|
/// <summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
|
/// ИД скважины
|
2022-06-01 17:52:26 +05:00
|
|
|
|
/// </summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
|
public int? IdWell { get; set; }
|
2022-06-01 17:52:26 +05:00
|
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// DTO скважины
|
|
|
|
|
/// </summary>
|
|
|
|
|
public WellInfoDto? Well { get; set; }
|
2021-09-10 11:28:57 +05:00
|
|
|
|
}
|