| | |
| | | var Store3DData; |
| | | function initStore() { |
| | | $.ajax({ |
| | | // url: 'http://47.97.1.152:58080/jkwcs/three/init/store/v1', |
| | | url: 'http://localhost:9090/jkwcs/three/init/store/v1', |
| | | url: 'http://47.97.1.152:58080/jkwcs/three/init/store/v1', |
| | | // url: 'http://localhost:9090/jkwcs/three/init/store/v1', |
| | | type: "POST", |
| | | data: {}, |
| | | // async: false, |
| | |
| | | } |
| | | |
| | | curves.map((value, index) => { |
| | | // console.log(value.part + " --> " + JSON.stringify(value.route.points)) |
| | | if (that.crnNo === 1) { |
| | | // console.log(value.part + " --> " + JSON.stringify(value.route.points)) |
| | | } |
| | | }); |
| | | |
| | | curves[0].start = true; |
| | |
| | | var speedDom = document.getElementById("speed"); |
| | | var timer = setInterval(function () { |
| | | if (percent < 100.00) { |
| | | // percent += 0.04; |
| | | percent += 1; |
| | | percent += 0.04; |
| | | // percent += 1; |
| | | speedDom.innerText = percent.toFixed(2); |
| | | } else { |
| | | speedDom.innerText = '100.00'; |