forked from ddrilling/AsbCloudServer
Поле Duration заменено на DurationSec (в Dto и модели для Operation)
This commit is contained in:
parent
61205fa7c1
commit
016522fbd5
@ -3,6 +3,6 @@
|
||||
public class OperationDetailsDto
|
||||
{
|
||||
public string OperationName { get; set; }
|
||||
public int Duration { get; set; }
|
||||
public int DurationSec { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -208,7 +208,7 @@ namespace AsbCloudInfrastructure.Services
|
||||
Operations = o.Select(opr => new OperationDetailsDto
|
||||
{
|
||||
OperationName = opr.OperationName,
|
||||
Duration = opr.OperationsDuration
|
||||
DurationSec = opr.OperationsDuration
|
||||
}).ToList()
|
||||
})
|
||||
.OrderBy(ops => ops.IntervalBegin);
|
||||
|
@ -19,8 +19,8 @@ namespace AsbCloudInfrastructure.Services
|
||||
private readonly CacheTable<Well> cacheWells;
|
||||
|
||||
public DataService(IAsbCloudDbContext db, ITelemetryService telemetryService,
|
||||
IAnalyticsService analyticsService, ISaubDataCache saubDataCache,
|
||||
CacheDb cacheDb, MapperConfiguration mapperConfiguration)
|
||||
IAnalyticsService analyticsService, CacheDb cacheDb,
|
||||
MapperConfiguration mapperConfiguration)
|
||||
{
|
||||
this.db = db;
|
||||
this.telemetryService = telemetryService;
|
||||
|
Loading…
Reference in New Issue
Block a user