This commit is contained in:
sunzhenyu 2019-11-12 19:04:09 +08:00
parent 74c0df432f
commit 498da8c434

View File

@ -500,37 +500,21 @@ export function Jl3dDriving(updatemmi,sound,translation) {
}
}
// console.log(data.body[i].directionType);
// console.log(data.body[i].linkCode);
// console.log(rails.linkrail[data.body[i].linkCode].lengthfact);
// console.log(rails.linkrail[data.body[i].linkCode].lconnect);
// console.log(rails.linkrail[data.body[i].linkCode].rconnect);
// console.log("--------------------");
// console.log(rails.linkrail[rails.linkrail[data.body[i].linkCode].lconnect].lconnect);
// console.log(rails.linkrail[rails.linkrail[data.body[i].linkCode].lconnect].rconnect);
// console.log("---------------------");
// console.log(trainlisttest.list[code].curve.points);
// console.log(rails.linkrail[nextcode].lineleft.points);
// console.log("***********************");
// console.log(rails.linkrail[nextcode].lineleft.points);
let nextcode;
if(code == drivingcode){
console.log(data.body[i].targetStation);
console.log("netpercent");
console.log(data.body[i].targetLinkPercent);
console.log(data.body[i].linkOffsetPercent);
console.log("3dpercent");
if(rails.stops[data.body[i].targetStation]){
console.log(rails.stops[data.body[i].targetStation].direct2.percent);
}
console.log(trainlisttest.list[code].progress);
console.log(trainlisttest.list[code].pc);
console.log("===============");
console.log(data.body[i]);
// console.log(data.body[i].targetStation);
// console.log("netpercent");
// console.log(data.body[i].targetLinkPercent);
// console.log(data.body[i].linkOffsetPercent);
// console.log("3dpercent");
// if(rails.stops[data.body[i].targetStation]){
// console.log(rails.stops[data.body[i].targetStation].direct2.percent);
// }
//
// console.log(trainlisttest.list[code].progress);
// console.log(trainlisttest.list[code].pc);
// console.log("===============");
// console.log(data.body[i]);
if(data.body[i].directionType == '02'){
if(trainlisttest.list[code].stopstation != data.body[i].targetStation){
trainlisttest.list[code].stopstation = data.body[i].targetStation;