Compare commits

..

No commits in common. "a1d348f1c29087ba3f5d3447566dd4f457245360" and "75b3600a5cf0222f89f7024f74ca76536b17dbca" have entirely different histories.

View File

@ -54,23 +54,14 @@ export function getCarStatusType(carzt){
// 获取档位信号 // 获取档位信号
export function getDwStatusType(dw){ export function getDwStatusType(dw){
switch (dw){ switch (dw){
case 0: return [0,0,0,0] case 0:return [0,0,0,0]
case 1: return [0,0,0,1] case 1: return [0,0,0,1]
case 2: return [0,0,1,0] case 2: return [0,0,1,0]
case 3: return [0,0,1,1] case 3: return [0,0,1,1]
case 4: return [0,1,0,0] case 4: return [0,1,0,0]
case 5: return [0,1,0,1] case 5: return [0,1,0,1]
//R档
case 9: return [1,0,0,1] case 9: return [1,0,0,1]
//P档位 default :return [0,0,0,0]
case 10: return [1,0,1,0]
//D档
case 11: return [1,0,1,1]
//S档
case 12: return [1,1,0,0]
//M档
case 13: return [1,1,0,1]
default :return [0,0,0,0]
} }
} }