forked from ddrilling/AsbCloudServer
fix measures
This commit is contained in:
parent
b95891823d
commit
2c761dbcbe
@ -101,7 +101,7 @@ namespace AsbCloudInfrastructure.Services
|
|||||||
var timezone = wellService.GetTimezone(idWell);
|
var timezone = wellService.GetTimezone(idWell);
|
||||||
entity.IdWell = idWell;
|
entity.IdWell = idWell;
|
||||||
entity.Timestamp = dto.Timestamp.ToUtcDateTimeOffset(timezone.Hours);
|
entity.Timestamp = dto.Timestamp.ToUtcDateTimeOffset(timezone.Hours);
|
||||||
entity.Data = (RawData)dto.Data;
|
entity.Data = dto.Data.Adapt<RawData>();
|
||||||
|
|
||||||
return await db.SaveChangesAsync(token).ConfigureAwait(false);
|
return await db.SaveChangesAsync(token).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user