fix measures

This commit is contained in:
ngfrolov 2022-08-15 17:02:50 +05:00
parent b95891823d
commit 2c761dbcbe

View File

@ -101,7 +101,7 @@ namespace AsbCloudInfrastructure.Services
var timezone = wellService.GetTimezone(idWell);
entity.IdWell = idWell;
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);
}