forked from ddrilling/AsbCloudServer
CS2-53: Added operation type to TelemetryOperation model
This commit is contained in:
parent
b218187117
commit
29ae60e962
@ -200,23 +200,23 @@ namespace AsbCloudDb.Model
|
||||
modelBuilder.Entity<TelemetryOperation>(entity =>
|
||||
{
|
||||
entity.HasData(new List<TelemetryOperation> {
|
||||
new TelemetryOperation {Id = 1, Name = "Невозможно определить операцию"},
|
||||
new TelemetryOperation {Id = 2, Name = "Роторное бурение" },
|
||||
new TelemetryOperation {Id = 3, Name = "Слайдирование" },
|
||||
new TelemetryOperation {Id = 4, Name = "Подъем с проработкой" },
|
||||
new TelemetryOperation {Id = 5, Name = "Спуск с проработкой" },
|
||||
new TelemetryOperation {Id = 6, Name = "Подъем с промывкой" },
|
||||
new TelemetryOperation {Id = 7, Name = "Спуск с промывкой" },
|
||||
new TelemetryOperation {Id = 8, Name = "Спуск в скважину" },
|
||||
new TelemetryOperation {Id = 9, Name = "Спуск с вращением" },
|
||||
new TelemetryOperation {Id = 10, Name = "Подъем из скважины" },
|
||||
new TelemetryOperation {Id = 11, Name = "Подъем с вращением" },
|
||||
new TelemetryOperation {Id = 12, Name = "Промывка в покое" },
|
||||
new TelemetryOperation {Id = 13, Name = "Промывка с вращением" },
|
||||
new TelemetryOperation {Id = 14, Name = "Удержание в клиньях" },
|
||||
new TelemetryOperation {Id = 15, Name = "Неподвижное состояние" },
|
||||
new TelemetryOperation {Id = 16, Name = "Вращение без циркуляции" },
|
||||
new TelemetryOperation {Id = 17, Name = "На поверхности" }
|
||||
new TelemetryOperation {Id = 1, OperationType = 0, Name = "Невозможно определить операцию"},
|
||||
new TelemetryOperation {Id = 2, OperationType = 0, Name = "Роторное бурение" },
|
||||
new TelemetryOperation {Id = 3, OperationType = 0, Name = "Слайдирование" },
|
||||
new TelemetryOperation {Id = 4, OperationType = 0, Name = "Подъем с проработкой" },
|
||||
new TelemetryOperation {Id = 5, OperationType = 0, Name = "Спуск с проработкой" },
|
||||
new TelemetryOperation {Id = 6, OperationType = 0, Name = "Подъем с промывкой" },
|
||||
new TelemetryOperation {Id = 7, OperationType = 0, Name = "Спуск с промывкой" },
|
||||
new TelemetryOperation {Id = 8, OperationType = 0, Name = "Спуск в скважину" },
|
||||
new TelemetryOperation {Id = 9, OperationType = 0, Name = "Спуск с вращением" },
|
||||
new TelemetryOperation {Id = 10, OperationType = 0, Name = "Подъем из скважины" },
|
||||
new TelemetryOperation {Id = 11, OperationType = 0, Name = "Подъем с вращением" },
|
||||
new TelemetryOperation {Id = 12, OperationType = 0, Name = "Промывка в покое" },
|
||||
new TelemetryOperation {Id = 13, OperationType = 0, Name = "Промывка с вращением" },
|
||||
new TelemetryOperation {Id = 14, OperationType = 0, Name = "Удержание в клиньях" },
|
||||
new TelemetryOperation {Id = 15, OperationType = 0, Name = "Неподвижное состояние" },
|
||||
new TelemetryOperation {Id = 16, OperationType = 0, Name = "Вращение без циркуляции" },
|
||||
new TelemetryOperation {Id = 17, OperationType = 0, Name = "На поверхности" }
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -11,6 +11,10 @@ namespace AsbCloudDb.Model
|
||||
[Key]
|
||||
[Column("id")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Column("type"), Comment("Тип операции (авто/ручной ввод)")]
|
||||
public int OperationType { get; set; }
|
||||
|
||||
[Column("name"), Comment("Название операции")]
|
||||
public string Name { get; set; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user