@@ -51,22 +51,22 @@ func GetFlights(ps []StFlights) ([]netex.CompositeFrame, error) {
5151
5252func compFlights (pd StFlightData ) netex.CompositeFrame {
5353 ret := DefaultCompositFrame ()
54- ret .Id = CreateFrameId (netex .TypeCompositeFrameLineOffer , "FLIGHTS" , "ita" )
54+ ret .Id = CreateFrameId (netex .TypeCompositeFrameLineOffer , "FLIGHTS" )
5555 ret .TypeOfFrameRef = MkTypeOfFrameRef (netex .EpipTypeLineOffer )
5656
57- site := siteFrame ()
57+ site := siteFrame ("FLIGHTS" )
5858 site .StopPlaces = & pd .StopPlaces
5959 ret .Frames .Frames = append (ret .Frames .Frames , & site )
6060
6161 res := netex.ResourceFrame {}
62- res .Id = CreateFrameId (netex .TypeResourceFrameCommon , "ita " )
62+ res .Id = CreateFrameId (netex .TypeResourceFrameCommon , "FLIGHTS " )
6363 res .Version = "1"
6464 res .TypeOfFrameRef = MkTypeOfFrameRef (netex .EpipTypeCommon )
6565 res .Operators = & pd .Operators
6666 ret .Frames .Frames = append (ret .Frames .Frames , & res )
6767
6868 ser := netex.ServiceFrame {}
69- ser .Id = CreateFrameId (netex .TypeServiceFrameNetwork , "ita " )
69+ ser .Id = CreateFrameId (netex .TypeServiceFrameNetwork , "FLIGHTS " )
7070 ser .Version = "1"
7171 ser .TypeOfFrameRef = MkTypeOfFrameRef (netex .EpipTypeNetwork )
7272 ser .JourneyPatterns = netex .JustSlice (pd .JourneyPatterns )
@@ -78,7 +78,7 @@ func compFlights(pd StFlightData) netex.CompositeFrame {
7878 ret .Frames .Frames = append (ret .Frames .Frames , ser )
7979
8080 cal := netex.ServiceCalendarFrame {}
81- cal .Id = CreateFrameId (netex .TypeServiceCalendarFrameCalendar , "ita " )
81+ cal .Id = CreateFrameId (netex .TypeServiceCalendarFrameCalendar , "FLIGHTS " )
8282 cal .Version = "1"
8383 cal .TypeOfFrameRef = MkTypeOfFrameRef (netex .EpipTypeCalendar )
8484 cal .ServiceCalendar = append (cal .ServiceCalendar , pd .ServiceCalendars ... )
0 commit comments