Index: APPS/BD/CarbonFootprint/impl/AfstandBepaler.cls.xml
===================================================================
diff -u
--- APPS/BD/CarbonFootprint/impl/AfstandBepaler.cls.xml (revision 0)
+++ APPS/BD/CarbonFootprint/impl/AfstandBepaler.cls.xml (revision 34388)
@@ -0,0 +1,167 @@
+
+
+
+
+TODO : HTTPS implementeren in Cache (zie congifurator voor SSL/TSL configuratie)
+MOMENTEEL KUNNEN ER MAAR 1000 NIEUWE AANVRAGEN BEREKEND WORDEN (LIMIET GOOGLE)
+%RegisteredObject
+
+
+%String
+1
+
+
+
+%String
+1
+
+
+
+%Boolean
+1
+
+
+
+VanGemeente:%String,VanLand:%String
+%Status
+
+
+
+
+
+
+
+
+
+s bl=##class(APPS.BD.CarbonFootprint.impl.AfstandBepaler).%New()
+w bl.BepaalAfstandTot("Geel","Belgie").Afstand
+TotGemeente:%String,TotLand:%String
+
+
+
+
+VanGemeente:%String,VanLand:%String,TotGemeente:%String,TotLand:%String
+
+
+
+
+Afstand:APPS.BD.CarbonFootprint.impl.AfstandTussenGemeenten
+%Boolean
+
+
+
+
+VanGemeente:%String,VanLand:%String,TotGemeente:%String,TotLand:%String
+
+
+
+
+VanGemeente:%String,VanLand:%String,TotGemeente:%String,TotLand:%String
+
+
+
+
+Afstand:APPS.BD.CarbonFootprint.impl.AfstandTussenGemeenten
+
+
+
+
+VanGemeente:%String,VanLand:%String,TotGemeente:%String,TotLand:%String,Afstand:APPS.BD.CarbonFootprint.impl.AfstandTussenGemeenten
+
+
+
+
+httpResponse:%Net.HttpResponse
+0 Set Data=httpResponse.Data.Read()
+ } ElseIf $length(httpResponse.Data)>0 {
+ Set Data=httpResponse.Data
+ }
+ Quit Data
+]]>
+
+
+
+XMLData:%String,Afstand:APPS.BD.CarbonFootprint.impl.AfstandTussenGemeenten
+",2),"",2)
+ Set Afstand.Duur=+$P($P(XMLData,"",2),"",2)
+]]>
+
+
+
+
+
Index: APPS/BD/CarbonFootprint/impl/Leveringen.cls.xml
===================================================================
diff -u
--- APPS/BD/CarbonFootprint/impl/Leveringen.cls.xml (revision 0)
+++ APPS/BD/CarbonFootprint/impl/Leveringen.cls.xml (revision 34388)
@@ -0,0 +1,51 @@
+
+
+
+
+APPS.BD.OrderStat.impl.OrderIntake,APPS.BD.OrderStat.impl.OrderGeleverd
+vhLib.Macro,BL.Derde.KlantSpecifiek
+1
+APPS.BD.OrderStat.impl.Extract2IntakeEnGeleverd
+
+
+Van:%Date,Tot:%Date
+1
+1
+%Status
+
+
+
+
+
+ D ##class(APPS.BD.CarbonFootprint.impl.Leveringen).%New().BouwEnFile()
+
+
+
+
+1
+PRNr
+
+
+
+
+
+
Index: APPS/BD/CarbonFootprint/impl/AfstandTussenGemeenten.cls.xml
===================================================================
diff -u
--- APPS/BD/CarbonFootprint/impl/AfstandTussenGemeenten.cls.xml (revision 0)
+++ APPS/BD/CarbonFootprint/impl/AfstandTussenGemeenten.cls.xml (revision 34388)
@@ -0,0 +1,76 @@
+
+
+
+
+Reconstructie van de orderintake, vertrekkend van de uitleveringen en orders
+De data wordt opgeslagen in een tijdelijke datastructuur (process afhankelijk)
+persistent
+TECH.Persistent
+
+
+%String
+
+
+
+%String
+
+
+
+%String
+
+
+
+%String
+
+
+
+%Date
+
+
+
+
+Afstand in meter
+%Float
+
+
+
+
+Tijd in seconden
+%Integer
+
+
+
+1
+1
+VanLand,VanGemeente,TotLand,TotGemeente
+1
+
+
+
+%Library.CacheStorage
+^APPS.BD.Ca1F8D.AfstandTussAA9AD
+AfstandTussenGemeentenDefaultData
+^APPS.BD.Ca1F8D.AfstandTussAA9AD
+^APPS.BD.Ca1F8D.AfstandTussAA9AI
+^APPS.BD.Ca1F8D.AfstandTussAA9AS
+
+listnode
+
+
+%%CLASSNAME
+
+
+CreatieDatum
+
+
+Afstand
+
+
+Duur
+
+
+
+
+
+
+
Index: APPS/BD/CarbonFootprint/impl/Toeleveringen.cls.xml
===================================================================
diff -u
--- APPS/BD/CarbonFootprint/impl/Toeleveringen.cls.xml (revision 0)
+++ APPS/BD/CarbonFootprint/impl/Toeleveringen.cls.xml (revision 34388)
@@ -0,0 +1,145 @@
+
+
+
+
+APPS.BD.OrderStat.impl.OrderIntake,APPS.BD.OrderStat.impl.OrderGeleverd
+vhLib.Macro,Prod.Product
+1
+%RegisteredObject
+
+
+%Date
+1
+
+
+
+%Date
+1
+
+
+
+%Integer
+1
+
+
+
+%Integer
+1
+
+
+
+%String
+1
+
+
+
+APPS.BD.CarbonFootprint.impl.Afstandbepaler
+1
+
+
+
+Van:%Date,Tot:%Date
+1
+1
+%Status
+
+
+
+
+
+ D ##class(APPS.BD.CarbonFootprint.impl.Toeleveringen).%New().BouwEnFile()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..TotDatum)
+]]>
+
+
+
+
+