From dc9728eb066659bd7eef13aec6b1444e13ad7972 Mon Sep 17 00:00:00 2001 From: Oliver Jakoubek Date: Sun, 28 Jun 2020 19:50:13 +0200 Subject: [PATCH] Set all Route Info parameters from the Route struct --- route.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/route.go b/route.go index 9ad3e7e..468c519 100644 --- a/route.go +++ b/route.go @@ -32,6 +32,18 @@ func (r *Route) GetRouteListEntry() *RouteListEntry { func (r *Route) GetRouteMessage() string { ri := NewRouteInfo() ri.SetRouteName(r.routeName) + ri.SetLimit(r.limit) + ri.SetMaxStack(r.maxStack) + ri.SetStandard(r.standard) + ri.SetParameterN(r.parameterN) + ri.SetMaxBundle(r.maxBundle) + ri.SetParameterSz(r.parameterSz) + ri.SetTopsheetMarker(r.topsheetMarker) + ri.SetEaMarker(r.eaMarker) + ri.SetEaAddressDefinition(r.eaAddressDefinition) + ri.SetTopsheetTemplateDirectory(r.topsheetTemplateDirectory) + ri.SetEditionName(r.editionName) + ri.SetProductReferenceNumber(r.productReferenceNumber) info := ri.Message() for _, pd := range r.ProductionDrops {