Merge branch 'test' of https://git.qcloud.com/joylink/jl-nclient into test
This commit is contained in:
commit
a160c19a3d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user