Squashed commit of the following:
All checks were successful
CI / Docker-Build (push) Successful in 2m40s
All checks were successful
CI / Docker-Build (push) Successful in 2m40s
commit0ac19e5d35
Author: joylink_zhaoerwei <Bob_Engineer@163.com> Date: Tue Aug 27 11:44:09 2024 +0800 修改请求参数(门模式) commit8f9c0c852a
Author: joylink_zhaoerwei <Bob_Engineer@163.com> Date: Thu Aug 22 14:31:15 2024 +0800 驾驶台旋钮操作bug修复
This commit is contained in:
parent
a061a6d1e9
commit
aadebddbad
@ -78,13 +78,20 @@ export const useTccStore = defineStore('tcc', {
|
|||||||
position = 2;
|
position = 2;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
let controlType =
|
||||||
|
request.TrainControl.TrainControlType.DIRECTION_KEY_SWITCH;
|
||||||
|
if (tccKeyDir.datas.code == 'MMS') {
|
||||||
|
controlType =
|
||||||
|
request.TrainControl.TrainControlType.TRAIN_DOOR_MODE_CHANGE;
|
||||||
|
}
|
||||||
|
|
||||||
const simulationId = useLineStore().simulationId;
|
const simulationId = useLineStore().simulationId;
|
||||||
if (!simulationId) return;
|
if (!simulationId) return;
|
||||||
tccOperation({
|
tccOperation({
|
||||||
simulationId,
|
simulationId,
|
||||||
trainId: this.tccId + '',
|
trainId: this.tccId + '',
|
||||||
deviceId: this.tccKeyDirId,
|
deviceId: this.tccKeyDirId,
|
||||||
controlType: request.TrainControl.TrainControlType.DIRECTION_KEY_SWITCH,
|
controlType,
|
||||||
switchKey: {
|
switchKey: {
|
||||||
val: position,
|
val: position,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user