forked from ddrilling/AsbCloudServer
DetectedOperationService temporary fix timezone problem 2
This commit is contained in:
parent
38521940a6
commit
116cf4e3b0
@ -143,7 +143,6 @@ public class DetectedOperationService : IDetectedOperationService
|
||||
const int minOperationLength = 5;
|
||||
const int maxDetectorsInterpolationFrameLength = 30;
|
||||
const int gap = maxDetectorsInterpolationFrameLength + minOperationLength;
|
||||
//var timezone = telemetryService.GetTimezone(idTelemetry);
|
||||
|
||||
while (true)
|
||||
{
|
||||
@ -159,7 +158,7 @@ public class DetectedOperationService : IDetectedOperationService
|
||||
.Select(t => t as TelemetryNewDataSaubDto)
|
||||
.Select(t => new DetectableTelemetry
|
||||
{
|
||||
DateTime = t.DateTime,//TODO: <-- вот тут ошибка при присвоении DateTime с kind unspecified в DateTimeOffset времени назначается локальный часовой пояс.
|
||||
DateTime = t.DateTime,
|
||||
IdUser = t.IdUser,
|
||||
Mode = t.Mode,
|
||||
WellDepth = t.WellDepth,
|
||||
|
Loading…
Reference in New Issue
Block a user