sov
This commit is contained in:
@@ -28,7 +28,7 @@ export default {
|
|||||||
'{enter}': 'Enter',
|
'{enter}': 'Enter',
|
||||||
'{tab}': 'Tab',
|
'{tab}': 'Tab',
|
||||||
'{shift}': 'Shift',
|
'{shift}': 'Shift',
|
||||||
'{change}': '中文<span class="font-s">/En</span>',
|
'{change}': 'En<span class="font-s">/中文</span>',
|
||||||
'{space}': ' ',
|
'{space}': ' ',
|
||||||
'{clear}': 'Clear',
|
'{clear}': 'Clear',
|
||||||
'{close}': 'Close'
|
'{close}': 'Close'
|
||||||
@@ -72,7 +72,8 @@ export default {
|
|||||||
this.keyboard = new Keyboard(this.keyboardClass, {
|
this.keyboard = new Keyboard(this.keyboardClass, {
|
||||||
onChange: this.onChange,
|
onChange: this.onChange,
|
||||||
onKeyPress: this.onKeyPress,
|
onKeyPress: this.onKeyPress,
|
||||||
layoutCandidates: layout.layoutCandidates,
|
// layoutCandidates: layout.layoutCandidates,
|
||||||
|
layoutCandidates: null,
|
||||||
layout: {
|
layout: {
|
||||||
// 默认布局
|
// 默认布局
|
||||||
default: [
|
default: [
|
||||||
|
|||||||
@@ -56,17 +56,17 @@ module.exports = {
|
|||||||
coordinate: 'coordinate',
|
coordinate: 'coordinate',
|
||||||
headingangle: 'Heading angle',
|
headingangle: 'Heading angle',
|
||||||
steeringwheelangle: 'Steering wheel angle',
|
steeringwheelangle: 'Steering wheel angle',
|
||||||
issuancespeed: 'Issuance speed',
|
distributionspeed: 'Distribution speed',
|
||||||
actualspeed: 'Actual speed',
|
actualspeed: 'Actual speed',
|
||||||
lateraldeviation: 'Lateral deviation',
|
lateraldeviation: 'Lateral deviation',
|
||||||
headingdeviation: 'Heading deviation',
|
coursedeviation: 'Course deviation',
|
||||||
workstatus: 'Work status',
|
workingstatus: 'Working status',
|
||||||
sensorstatus: 'Sensor status',
|
sensorstatus: 'Sensor status',
|
||||||
emergencystop: 'Emergency stop',
|
emergencystop: 'Emergency stop',
|
||||||
avoidancemoderate: 'Avoidance moderate',
|
obstacleavoidancedeceleration: 'Obstacle avoidance deceleration',
|
||||||
resetbutton: 'Reset button',
|
resetbutton: 'Reset button',
|
||||||
avoidanceparking: 'Avoidance parking',
|
obstacleavoidanceparking: 'Obstacle avoidance parking',
|
||||||
Safetyedge: 'Safety edge',
|
safetyedgesensor: 'Safety edge sensor',
|
||||||
run: 'Run',
|
run: 'Run',
|
||||||
abnormal: 'Abnormal'
|
abnormal: 'Abnormal'
|
||||||
},
|
},
|
||||||
@@ -75,11 +75,19 @@ module.exports = {
|
|||||||
Status: 'Status',
|
Status: 'Status',
|
||||||
Control: 'Control',
|
Control: 'Control',
|
||||||
control: ' control',
|
control: ' control',
|
||||||
deviatestatus: 'Deviate status',
|
deviationstate: 'Deviation state',
|
||||||
updatestatus: 'Update status',
|
updatestatus: 'Update status',
|
||||||
monitorcontrol: 'Monitor control',
|
displaycontrol: 'Display control',
|
||||||
initializecoordinates: 'Initialize coordinates',
|
initializecoordinates: 'Initialize coordinates',
|
||||||
coordinateinformation: 'Coordinate information'
|
coordinateinformation: 'Coordinate information',
|
||||||
|
skipthestart: 'Skip the start',
|
||||||
|
initializecoordinate: 'Initialize coordinate',
|
||||||
|
fullscreen: 'Full screen',
|
||||||
|
quit: 'Quit',
|
||||||
|
poweroff: 'Power Off',
|
||||||
|
softwarerestart: 'Software restart',
|
||||||
|
restart: 'Restart',
|
||||||
|
skipdetection: 'Skip detection'
|
||||||
},
|
},
|
||||||
button: {
|
button: {
|
||||||
cancel: 'Cancel',
|
cancel: 'Cancel',
|
||||||
|
|||||||
@@ -56,17 +56,17 @@ module.exports = {
|
|||||||
coordinate: '坐标',
|
coordinate: '坐标',
|
||||||
headingangle: '航向角',
|
headingangle: '航向角',
|
||||||
steeringwheelangle: '舵轮角度',
|
steeringwheelangle: '舵轮角度',
|
||||||
issuancespeed: '下发速度',
|
distributionspeed: '下发速度',
|
||||||
actualspeed: '实际速度',
|
actualspeed: '实际速度',
|
||||||
lateraldeviation: '横向偏差',
|
lateraldeviation: '横向偏差',
|
||||||
headingdeviation: '航向偏差',
|
coursedeviation: '航向偏差',
|
||||||
workstatus: '工作状态',
|
workingstatus: '工作状态',
|
||||||
sensorstatus: '传感器状态',
|
sensorstatus: '传感器状态',
|
||||||
emergencystop: '急停按钮',
|
emergencystop: '急停按钮',
|
||||||
avoidancemoderate: '避障减速',
|
obstacleavoidancedeceleration: '避障减速',
|
||||||
resetbutton: '复位按钮',
|
resetbutton: '复位按钮',
|
||||||
avoidanceparking: '避障停车',
|
obstacleavoidanceparking: '避障停车',
|
||||||
Safetyedge: '安全触边',
|
safetyedgesensor: '安全触边',
|
||||||
run: '运行',
|
run: '运行',
|
||||||
abnormal: '异常'
|
abnormal: '异常'
|
||||||
},
|
},
|
||||||
@@ -75,11 +75,19 @@ module.exports = {
|
|||||||
Status: '状态',
|
Status: '状态',
|
||||||
Control: '控制',
|
Control: '控制',
|
||||||
control: '控制',
|
control: '控制',
|
||||||
deviatestatus: '偏离状态',
|
deviationstate: '偏离状态',
|
||||||
updatestatus: '更新状态',
|
updatestatus: '更新状态',
|
||||||
monitorcontrol: '显示屏',
|
displaycontrol: '显示屏控制',
|
||||||
initializecoordinates: '初始化坐标',
|
initializecoordinates: '初始化坐标',
|
||||||
coordinateinformation: '坐标信息'
|
coordinateinformation: '坐标信息',
|
||||||
|
skipthestart: '跳过起点',
|
||||||
|
initializecoordinate: '初始化坐标',
|
||||||
|
fullscreen: '全屏',
|
||||||
|
quit: '退出',
|
||||||
|
poweroff: '关机',
|
||||||
|
softwarerestart: '软启动',
|
||||||
|
restart: '重启',
|
||||||
|
skipdetection: '跳过检测'
|
||||||
},
|
},
|
||||||
button: {
|
button: {
|
||||||
cancel: '取消',
|
cancel: '取消',
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ export default {
|
|||||||
tabs () {
|
tabs () {
|
||||||
let arr = [{id: '1', label: 'ifconfig'}, {id: '2', label: '日志列表'}, {id: '3', label: 'ROS运行列表'}, {id: '4', label: '芯片温度/主频'}, {id: '5', label: '调试信息'}, {id: '6', label: '软/硬件版本'}]
|
let arr = [{id: '1', label: 'ifconfig'}, {id: '2', label: '日志列表'}, {id: '3', label: 'ROS运行列表'}, {id: '4', label: '芯片温度/主频'}, {id: '5', label: '调试信息'}, {id: '6', label: '软/硬件版本'}]
|
||||||
if (this.$i18n.locale === 'en-us') {
|
if (this.$i18n.locale === 'en-us') {
|
||||||
arr = [{id: '1', label: 'ifconfig'}, {id: '2', label: 'Log list'}, {id: '3', label: 'ROS run list'}, {id: '4', label: 'Chip TEMP/main frequency'}, {id: '5', label: 'Debug information'}, {id: '6', label: 'Software/Hardware Version'}]
|
arr = [{id: '1', label: 'ifconfig'}, {id: '2', label: 'Log list'}, {id: '3', label: 'ROS run list'}, {id: '4', label: 'Chip temperature/main frequency'}, {id: '5', label: 'Debugging information'}, {id: '6', label: 'Software/Hardware Version'}]
|
||||||
}
|
}
|
||||||
return arr
|
return arr
|
||||||
}
|
}
|
||||||
@@ -197,6 +197,6 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size 18px
|
font-size 16px
|
||||||
line-height 18px
|
line-height 18px
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="state_wrap">
|
<div class="state_wrap">
|
||||||
<div class="state_item_wrap">
|
<div class="state_item_wrap">
|
||||||
<div class="state_item_label">{{ $t('vehiclecontrol.deviatestatus') }}:</div>
|
<div class="state_item_label">{{ $t('vehiclecontrol.deviationstate') }}:</div>
|
||||||
<div class="state_item_val" :class="{'state_item_val_disabled': status.inLineStatus === '1'}">{{status.inLineStatus_name}}</div>
|
<div class="state_item_val" :class="{'state_item_val_disabled': status.inLineStatus === '1'}">{{status.inLineStatus_name}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="state_item_wrap">
|
<div class="state_item_wrap">
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="control_wrap">
|
<div class="control_wrap">
|
||||||
<div class="control_item">
|
<div class="control_item">
|
||||||
<div class="control_label">{{ $t('vehiclecontrol.monitorcontrol') }}</div>
|
<div class="control_label">{{ $t('vehiclecontrol.displaycontrol') }}</div>
|
||||||
<div class="control_val">
|
<div class="control_val">
|
||||||
<button class="state_item_switch" :class="{'is-checked': switch1 === '1'}" :disabled="disabled" @click="switchDown('2', switch1)">
|
<button class="state_item_switch" :class="{'is-checked': switch1 === '1'}" :disabled="disabled" @click="switchDown('2', switch1)">
|
||||||
<input type="checkbox" class="switch__input">
|
<input type="checkbox" class="switch__input">
|
||||||
@@ -266,11 +266,11 @@ export default {
|
|||||||
width 50%
|
width 50%
|
||||||
_fj(flex-start)
|
_fj(flex-start)
|
||||||
.state_item_label
|
.state_item_label
|
||||||
width 190px
|
width 196px
|
||||||
_font(36px, 56px, #B4C1D8, 500,)
|
_font(36px, 56px, #B4C1D8, 500,)
|
||||||
font-family: SourceHanSansCN-Medium;
|
font-family: SourceHanSansCN-Medium;
|
||||||
.state_item_val
|
.state_item_val
|
||||||
width calc(100% - 190px)
|
width calc(100% - 196px)
|
||||||
_font(36px, 56px, #fff, 500,)
|
_font(36px, 56px, #fff, 500,)
|
||||||
font-family: SourceHanSansCN-Medium;
|
font-family: SourceHanSansCN-Medium;
|
||||||
padding-left 66px
|
padding-left 66px
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<div class="agv_item_val">{{result.carrier}}</div>
|
<div class="agv_item_val">{{result.carrier}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="agv_item_wrap">
|
<div class="agv_item_wrap">
|
||||||
<div class="agv_item_label">{{ $t('vehiclestatus.issuancespeed') }}:</div>
|
<div class="agv_item_label">{{ $t('vehiclestatus.distributionspeed') }}:</div>
|
||||||
<div class="agv_item_val">{{result.send_speed}}</div>
|
<div class="agv_item_val">{{result.send_speed}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="agv_item_wrap">
|
<div class="agv_item_wrap">
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
<div class="agv_item_val">{{result.landscape_deviation}}</div>
|
<div class="agv_item_val">{{result.landscape_deviation}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="agv_item_wrap">
|
<div class="agv_item_wrap">
|
||||||
<div class="agv_item_label">{{ $t('vehiclestatus.headingdeviation') }}:</div>
|
<div class="agv_item_label">{{ $t('vehiclestatus.coursedeviation') }}:</div>
|
||||||
<div class="agv_item_val">{{result.course_deviation}}</div>
|
<div class="agv_item_val">{{result.course_deviation}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
<div class="agv_item_val agv_item_val_1" :class="{'state_item_val_disabled': result.vehicle_status !== '运行'}">{{result.vehicle_status}}</div>
|
<div class="agv_item_val agv_item_val_1" :class="{'state_item_val_disabled': result.vehicle_status !== '运行'}">{{result.vehicle_status}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="state_item_wrap">
|
<div class="state_item_wrap">
|
||||||
<div class="agv_item_label">{{ $t('vehiclestatus.workstatus') }}:</div>
|
<div class="agv_item_label">{{ $t('vehiclestatus.workingstatus') }}:</div>
|
||||||
<div class="agv_item_val agv_item_val_1" :class="{'state_item_val_disabled': result.working_status !== '正常'}">{{result.working_status}}</div>
|
<div class="agv_item_val agv_item_val_1" :class="{'state_item_val_disabled': result.working_status !== '正常'}">{{result.working_status}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -63,10 +63,10 @@
|
|||||||
<div class="state_item_label">{{ $t('vehiclestatus.sensorstatus') }}:</div>
|
<div class="state_item_label">{{ $t('vehiclestatus.sensorstatus') }}:</div>
|
||||||
<div class="state_item_val_wrap">
|
<div class="state_item_val_wrap">
|
||||||
<div class="state_item_val" :class="{'state_item_val_disabled': result1.stopButton_status === '1'}">{{ $t('vehiclestatus.emergencystop') }}</div>
|
<div class="state_item_val" :class="{'state_item_val_disabled': result1.stopButton_status === '1'}">{{ $t('vehiclestatus.emergencystop') }}</div>
|
||||||
<div class="state_item_val" :class="{'state_item_val_disabled': result1.speedReduction_status === '1'}">{{ $t('vehiclestatus.avoidancemoderate') }}</div>
|
<div class="state_item_val" :class="{'state_item_val_disabled': result1.speedReduction_status === '1'}">{{ $t('vehiclestatus.obstacleavoidancedeceleration') }}</div>
|
||||||
<div class="state_item_val" :class="{'state_item_val_disabled': result1.resetButton_status === '1'}">{{ $t('vehiclestatus.resetbutton') }}</div>
|
<div class="state_item_val" :class="{'state_item_val_disabled': result1.resetButton_status === '1'}">{{ $t('vehiclestatus.resetbutton') }}</div>
|
||||||
<div class="state_item_val" :class="{'state_item_val_disabled': result1.speedStop_status === '1'}">{{ $t('vehiclestatus.avoidanceparking') }}</div>
|
<div class="state_item_val" :class="{'state_item_val_disabled': result1.speedStop_status === '1'}">{{ $t('vehiclestatus.obstacleavoidanceparking') }}</div>
|
||||||
<div class="state_item_val" :class="{'state_item_val_disabled': result1.securityTentacle_status === '1'}">{{ $t('vehiclestatus.Safetyedge') }}</div>
|
<div class="state_item_val" :class="{'state_item_val_disabled': result1.securityTentacle_status === '1'}">{{ $t('vehiclestatus.safetyedgesensor') }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -157,7 +157,7 @@ export default {
|
|||||||
.state_wrap
|
.state_wrap
|
||||||
width 100%
|
width 100%
|
||||||
_fj(,flex-start)
|
_fj(,flex-start)
|
||||||
padding 47px 30px 10px 30px
|
padding 27px 30px 10px 30px
|
||||||
.state_left_wrap
|
.state_left_wrap
|
||||||
width 412px
|
width 412px
|
||||||
.state_item_wrap
|
.state_item_wrap
|
||||||
|
|||||||
Reference in New Issue
Block a user