forked from ddrilling/AsbCloudServer
CS2-87: Added well depth display to messages table.
This commit is contained in:
parent
7aa83f8c2d
commit
53ef4425c9
@ -13,6 +13,8 @@ namespace AsbCloudApp.Data
|
|||||||
|
|
||||||
public int CategoryId { get; set; }
|
public int CategoryId { get; set; }
|
||||||
|
|
||||||
|
public double WellDepth { get; set; }
|
||||||
|
|
||||||
public string User { get; set; }
|
public string User { get; set; }
|
||||||
|
|
||||||
public string Message { get; set; }
|
public string Message { get; set; }
|
||||||
|
@ -47,7 +47,7 @@ namespace AsbCloudInfrastructure.Services
|
|||||||
return null;
|
return null;
|
||||||
|
|
||||||
var query = db.TelemetryMessages.Where(m => m.IdTelemetry == telemetryId)
|
var query = db.TelemetryMessages.Where(m => m.IdTelemetry == telemetryId)
|
||||||
.AsNoTracking();
|
.OrderBy(m => m.Date).AsNoTracking();
|
||||||
|
|
||||||
if ((categoryids?.Any() == true) || !string.IsNullOrEmpty(searchString))
|
if ((categoryids?.Any() == true) || !string.IsNullOrEmpty(searchString))
|
||||||
{
|
{
|
||||||
@ -97,6 +97,7 @@ namespace AsbCloudInfrastructure.Services
|
|||||||
{
|
{
|
||||||
Date = message.Date,
|
Date = message.Date,
|
||||||
Id = message.Id,
|
Id = message.Id,
|
||||||
|
WellDepth = message.WellDepth
|
||||||
};
|
};
|
||||||
|
|
||||||
if (message.IdTelemetryUser is not null)
|
if (message.IdTelemetryUser is not null)
|
||||||
|
Loading…
Reference in New Issue
Block a user