Olga Nemt
828864c112
- Persistence.API - Persistence.Database - Persistence.Repository - Persistence.IntegrationTests
66 lines
1.5 KiB
C#
66 lines
1.5 KiB
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Persistence.Database.Model;
|
|
public class DataSaub : ITimestampedData
|
|
{
|
|
[Column("id")]
|
|
public int Id { get; set; }
|
|
|
|
[Column("timestamp")]
|
|
public int TimeStamp { get; set; }
|
|
|
|
[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; }
|
|
}
|