##7739441 bit depth returns always LE well depth

This commit is contained in:
ngfrolov 2022-11-25 15:26:45 +05:00
parent 0d9f9296df
commit 3e0f2d0a75

View File

@ -38,6 +38,9 @@ namespace AsbCloudInfrastructure.Services.SAUB
var telemetryUser = telemetryUserService.GetOrDefault(src.IdTelemetry, src.IdUser??int.MinValue); var telemetryUser = telemetryUserService.GetOrDefault(src.IdTelemetry, src.IdUser??int.MinValue);
dto.User = telemetryUser?.MakeDisplayName(); dto.User = telemetryUser?.MakeDisplayName();
dto.DateTime = src.DateTime.ToRemoteDateTime(timezoneOffset); dto.DateTime = src.DateTime.ToRemoteDateTime(timezoneOffset);
dto.BitDepth = src.BitDepth <= src.WellDepth
? src.BitDepth
: src.WellDepth;
return dto; return dto;
} }
} }