From bbbce2b2a36a4a928d902b0b8cba413a68fa0674 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 1 Jan 2020 01:26:51 +0100 Subject: [PATCH] Fix: TotalTransportedWeight seems to be float Signed-off-by: Knut Ahlers --- block_trailer_utilization_log.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/block_trailer_utilization_log.go b/block_trailer_utilization_log.go index 78fddfc..e7ac88f 100644 --- a/block_trailer_utilization_log.go +++ b/block_trailer_utilization_log.go @@ -5,10 +5,10 @@ func init() { } type TrailerUtilizationLog struct { - Entries []Ptr `sii:"entries"` // Needs verification - TotalDrivenDistanceKM int64 `sii:"total_driven_distance_km"` - TotalTransportedCargoes int64 `sii:"total_transported_cargoes"` - TotalTransportedWeight int64 `sii:"total_transported_weight"` + Entries []Ptr `sii:"entries"` // Needs verification + TotalDrivenDistanceKM int64 `sii:"total_driven_distance_km"` + TotalTransportedCargoes int64 `sii:"total_transported_cargoes"` + TotalTransportedWeight float32 `sii:"total_transported_weight"` blockName string }