Commit a684dadd authored by Patrick's avatar Patrick
Browse files

update

parent 42f33a39
...@@ -13,7 +13,7 @@ function getNAVcar(){ ...@@ -13,7 +13,7 @@ function getNAVcar(){
try { try {
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: '/NavCARdata', url: '/partizipation/NavCARdata',
}).done(function (newdata) { }).done(function (newdata) {
convertdata(newdata); convertdata(newdata);
}); });
...@@ -141,7 +141,7 @@ function getFlow(){ ...@@ -141,7 +141,7 @@ function getFlow(){
try { try {
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: '/FLOWdata', url: '/partizipation/FLOWdata',
}).done(function (newdata) { }).done(function (newdata) {
convertdata(newdata); convertdata(newdata);
}); });
...@@ -165,7 +165,7 @@ function getNAV(){ ...@@ -165,7 +165,7 @@ function getNAV(){
try { try {
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: '/NavCARdata', url: '/partizipation/NavCARdata',
}).done(function (newdata) { }).done(function (newdata) {
convertdata(newdata); convertdata(newdata);
}); });
...@@ -189,7 +189,7 @@ function getFlowtest(){ ...@@ -189,7 +189,7 @@ function getFlowtest(){
try { try {
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: '/FLOWtest', url: '/partizipation/FLOWtest',
}).done(function (newdata) { }).done(function (newdata) {
convertdata(newdata); convertdata(newdata);
}); });
...@@ -259,7 +259,7 @@ function getTraffic() { ...@@ -259,7 +259,7 @@ function getTraffic() {
try { try {
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: '/getTrafficIncidents', url: '/partizipation/getTrafficIncidents',
}).done(function (newdata) { }).done(function (newdata) {
convertdata(newdata); convertdata(newdata);
}); });
......
...@@ -17,7 +17,7 @@ function PostNavPoint(testing){ ...@@ -17,7 +17,7 @@ function PostNavPoint(testing){
$.ajax({ $.ajax({
async: true, async: true,
type: "POST", type: "POST",
url: '/navPoint', url: '/partizipation/navPoint',
data: point data: point
}).done(function (SimSMid) { }).done(function (SimSMid) {
console.log(SimSMid) console.log(SimSMid)
...@@ -135,7 +135,7 @@ function showRoute(){ ...@@ -135,7 +135,7 @@ function showRoute(){
$.ajax({ $.ajax({
async: true, async: true,
type: "POST", type: "POST",
url: '/Routecalc', url: '/partizipation/Routecalc',
data: datapointSend data: datapointSend
}).done(function (SimSMid) { }).done(function (SimSMid) {
console.log(SimSMid) console.log(SimSMid)
...@@ -167,7 +167,7 @@ function showRoute(){ ...@@ -167,7 +167,7 @@ function showRoute(){
$.ajax({ $.ajax({
async: true, async: true,
type: "POST", type: "POST",
url: '/navPublicT', url: '/partizipation/navPublicT',
data: datapointSend data: datapointSend
}).done(function (SimSMid) { }).done(function (SimSMid) {
console.log(SimSMid) console.log(SimSMid)
...@@ -223,7 +223,7 @@ function publictransport(){ ...@@ -223,7 +223,7 @@ function publictransport(){
$.ajax({ $.ajax({
async: true, async: true,
type: "get", type: "get",
url: '/navPublicT', url: '/partizipation/navPublicT',
data: datapointSend data: datapointSend
}).done(function (SimSMid) { }).done(function (SimSMid) {
console.log(SimSMid) console.log(SimSMid)
......
...@@ -4,7 +4,7 @@ function getNoiseData() { ...@@ -4,7 +4,7 @@ function getNoiseData() {
try { try {
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: '/NoiseRealTime', url: '/partizipation/NoiseRealTime',
}).done(function (newdata) { }).done(function (newdata) {
convertdata(newdata); convertdata(newdata);
}); });
...@@ -109,7 +109,7 @@ function HistNoiseData() { ...@@ -109,7 +109,7 @@ function HistNoiseData() {
$.ajax({ $.ajax({
async: false, async: false,
type: "POST", type: "POST",
url: '/getNoiseHist', url: '/partizipation/getNoiseHist',
data: "", data: "",
}).done(function (histwinddata) { }).done(function (histwinddata) {
convertdata(histwinddata); convertdata(histwinddata);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment