2019-12-11 17:24:35 +00:00
|
|
|
package sii
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
RegisterBlock(&TrailerUtilizationLog{})
|
|
|
|
}
|
|
|
|
|
|
|
|
type TrailerUtilizationLog struct {
|
2020-01-01 00:26:51 +00:00
|
|
|
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"`
|
2019-12-11 17:24:35 +00:00
|
|
|
|
|
|
|
blockName string
|
|
|
|
}
|
|
|
|
|
|
|
|
func (TrailerUtilizationLog) Class() string { return "trailer_utilization_log" }
|
|
|
|
|
|
|
|
func (t *TrailerUtilizationLog) Init(class, name string) {
|
|
|
|
t.blockName = name
|
|
|
|
}
|
|
|
|
|
|
|
|
func (t TrailerUtilizationLog) Name() string { return t.blockName }
|