2024-11-22 15:47:00 +05:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
2024-11-14 15:17:43 +05:00
|
|
|
|
|
|
|
|
|
namespace Persistence.Database.Model;
|
|
|
|
|
public class DataSaub : ITimestampedData
|
|
|
|
|
{
|
2024-11-22 15:47:00 +05:00
|
|
|
|
[Key, Column("date")]
|
2024-11-18 14:22:09 +05:00
|
|
|
|
public DateTimeOffset Date { get; set; }
|
2024-11-14 15:17:43 +05:00
|
|
|
|
|
|
|
|
|
[Column("mode")]
|
|
|
|
|
public int? Mode { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("user")]
|
|
|
|
|
public string? User { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("wellDepth")]
|
|
|
|
|
public double? WellDepth { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("bitDepth")]
|
|
|
|
|
public double? BitDepth { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("blockPosition")]
|
|
|
|
|
public double? BlockPosition { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("blockSpeed")]
|
|
|
|
|
public double? BlockSpeed { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("pressure")]
|
|
|
|
|
public double? Pressure { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("axialLoad")]
|
|
|
|
|
public double? AxialLoad { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("hookWeight")]
|
|
|
|
|
public double? HookWeight { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("rotorTorque")]
|
|
|
|
|
public double? RotorTorque { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("rotorSpeed")]
|
|
|
|
|
public double? RotorSpeed { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("flow")]
|
|
|
|
|
public double? Flow { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("mseState")]
|
|
|
|
|
public short MseState { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("idFeedRegulator")]
|
|
|
|
|
public int IdFeedRegulator { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("mse")]
|
|
|
|
|
public double? Mse { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("pump0Flow")]
|
|
|
|
|
public double? Pump0Flow { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("pump1Flow")]
|
|
|
|
|
public double? Pump1Flow { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("pump2Flow")]
|
|
|
|
|
public double? Pump2Flow { get; set; }
|
|
|
|
|
}
|