This commit is contained in:
joylink_cuiweidong 2019-10-22 16:13:27 +08:00
commit a160c19a3d

View File

@ -102,16 +102,16 @@ export function Jl3dDriving(updatemmi,sound) {
// //
// } // }
switch (data.type) { switch (data.type) {
case 'Simulation_Driver_Change':
drivingcode = data.body.code;
// sound.volswitch = true;
updatemmi.updatedrivingcode( data.body.code);
break;
case 'Simulation_TrainSpeed': case 'Simulation_TrainSpeed':
trainspeed(data); trainspeed(data);
break; break;
case 'Simulation_Drive_Data_Routing': case 'Simulation_Drive_Data_Routing':
updatemmi.updatedrivedata(data.body); updatemmi.updatedrivedata(data.body);
break;
case 'Simulation_Driver_Change':
drivingcode = data.body.code;
// sound.volswitch = true;
updatemmi.updatedrivingcode( data.body.code);
break; break;
case 'SJL3D_TrainStatus': case 'SJL3D_TrainStatus':
trainstatus(data); trainstatus(data);