diff --git a/src/configs/UrlManage.ts b/src/configs/UrlManage.ts index 6a575cd..d22c5bd 100644 --- a/src/configs/UrlManage.ts +++ b/src/configs/UrlManage.ts @@ -9,7 +9,7 @@ function getHost(): string { // return '192.168.3.7:9091'; // return '192.168.3.47:9091'; // return '192.168.3.37:9091'; - return '192.168.33.207:9091'; // 张骞 + //return '192.168.33.207:9091'; // 张骞 // return '192.168.33.93:9091'; // return '192.168.3.37:9091'; //卫志宏 // return 'test.joylink.club/bjrtsts-service'; // 测试 diff --git a/src/drawApp/graphics/TccKeyInteraction.ts b/src/drawApp/graphics/TccKeyInteraction.ts index a79e4d5..df0f6c5 100644 --- a/src/drawApp/graphics/TccKeyInteraction.ts +++ b/src/drawApp/graphics/TccKeyInteraction.ts @@ -272,7 +272,6 @@ export class TccKeyInteraction extends KeyInteraction { const tccKey = target.getGraphic(); if (!tccKey || !simulationId || !mapId) return; const state = tccKey?.state.position == 0 ? true : false; - const driverKeyType = tccKey?.datas.code == '司控器钥匙1' ? 0 : 1; tccOperation({ simulationId, trainId: tccId + '', @@ -280,7 +279,6 @@ export class TccKeyInteraction extends KeyInteraction { controlType: request.TrainControl.TrainControlType.DRIVER_KEY_SWITCH, driverKey: { val: state, - dt: driverKeyType, }, }).catch((err) => { errorNotify('操作失败', { message: err.origin.response.data.title }); diff --git a/src/layouts/LineLayout.vue b/src/layouts/LineLayout.vue index a9f7de6..dc4f3ce 100644 --- a/src/layouts/LineLayout.vue +++ b/src/layouts/LineLayout.vue @@ -78,6 +78,7 @@ />