列车参数状态调整
This commit is contained in:
parent
7ecac37766
commit
917630d099
@ -23,7 +23,7 @@
|
||||
v-model.number="model.trainEndsA.radarCheckSpeedDiff"
|
||||
clearable
|
||||
@clear="() => (model.trainEndsA.radarCheckSpeedDiff = 0)"
|
||||
label="雷达测速差值(m/s)"
|
||||
label="雷达测速差值(km/h)"
|
||||
hint=""
|
||||
/>
|
||||
</div>
|
||||
@ -45,7 +45,7 @@
|
||||
v-model.number="model.trainEndsA.radarOutSpeed"
|
||||
clearable
|
||||
@clear="() => (model.trainEndsA.radarOutSpeed = 0)"
|
||||
label="雷达速度输出(m/s)"
|
||||
label="雷达速度输出(km/h)"
|
||||
hint=""
|
||||
/>
|
||||
</div>
|
||||
@ -82,7 +82,7 @@
|
||||
v-model.number="model.trainEndsA.accOutSpeed"
|
||||
clearable
|
||||
@clear="() => (model.trainEndsA.accOutSpeed = 0)"
|
||||
label="速传速度输出(m/s)"
|
||||
label="速传速度输出(km/h)"
|
||||
hint=""
|
||||
/>
|
||||
</div>
|
||||
@ -137,7 +137,7 @@
|
||||
v-model.number="model.trainEndsB.radarCheckSpeedDiff"
|
||||
clearable
|
||||
@clear="() => (model.trainEndsB.radarCheckSpeedDiff = 0)"
|
||||
label="雷达测速差值(m/s)"
|
||||
label="雷达测速差值(km/h)"
|
||||
hint=""
|
||||
/>
|
||||
</div>
|
||||
@ -159,7 +159,7 @@
|
||||
v-model.number="model.trainEndsB.radarOutSpeed"
|
||||
clearable
|
||||
@clear="() => (model.trainEndsB.radarOutSpeed = 0)"
|
||||
label="雷达速度输出(m/s)"
|
||||
label="雷达速度输出(km/h)"
|
||||
hint=""
|
||||
/>
|
||||
</div>
|
||||
@ -196,7 +196,7 @@
|
||||
v-model.number="model.trainEndsB.accOutSpeed"
|
||||
clearable
|
||||
@clear="() => (model.trainEndsB.accOutSpeed = 0)"
|
||||
label="速传速度输出(m/s)"
|
||||
label="速传速度输出(km/h)"
|
||||
hint=""
|
||||
/>
|
||||
</div>
|
||||
|
@ -336,44 +336,52 @@ const list4: KeyType[] = [
|
||||
// { label: '尾车速传2速度值', key: 'tailSensorSpeed2', formatFn: speedFormat },
|
||||
{ label: '1端速传1是否有效', key: 'aSpeedSensorEnableA', formatFn: upFormat },
|
||||
{ label: '1端速传2是否有效', key: 'aSpeedSensorEnableB', formatFn: upFormat },
|
||||
{ label: '1端速度输出', key: 'aAccOutSpeed', formatFn: msFormat },
|
||||
{ label: '1端速度输出', key: 'aAccOutSpeed', formatFn: kmhFormat },
|
||||
{ label: '2端速传1是否有效', key: 'bSpeedSensorEnableA', formatFn: upFormat },
|
||||
{ label: '2端速传2是否有效', key: 'bSpeedSensorEnableB', formatFn: upFormat },
|
||||
{ label: '2端速度输出', key: 'bAccOutSpeed', formatFn: msFormat },
|
||||
{ label: '2端速度输出', key: 'bAccOutSpeed', formatFn: kmhFormat },
|
||||
];
|
||||
const list5: KeyType[] = [
|
||||
// { label: '头车雷达速度值', key: 'headRadarSpeed', formatFn: speedFormat },
|
||||
// { label: '尾车雷达速度值', key: 'tailRadarSpeed', formatFn: speedFormat },
|
||||
{ label: '1端雷达是否有效', key: 'aRadarEnable', formatFn: upFormat },
|
||||
{ label: '1端雷达测速差值', key: 'aRadarCheckSpeedDiff', formatFn: msFormat },
|
||||
{
|
||||
label: '1端雷达检测时间(秒)',
|
||||
label: '1端雷达测速差值',
|
||||
key: 'aRadarCheckSpeedDiff',
|
||||
formatFn: kmhFormat,
|
||||
},
|
||||
{
|
||||
label: '1端雷达检测设置剩余时间(秒)',
|
||||
key: 'aRadarCheckTime',
|
||||
formatFn: timeFormat,
|
||||
},
|
||||
{ label: '1端雷达速度输出', key: 'aRadarOutSpeed', formatFn: msFormat },
|
||||
{ label: '1端雷达速度输出', key: 'aRadarOutSpeed', formatFn: kmhFormat },
|
||||
{ label: '2端雷达是否有效', key: 'bRadarEnable', formatFn: upFormat },
|
||||
{ label: '2端雷达测速差值', key: 'bRadarCheckSpeedDiff', formatFn: msFormat },
|
||||
{
|
||||
label: '2端雷达检测时间',
|
||||
label: '2端雷达测速差值',
|
||||
key: 'bRadarCheckSpeedDiff',
|
||||
formatFn: kmhFormat,
|
||||
},
|
||||
{
|
||||
label: '2端雷达检测设置剩余时间',
|
||||
key: 'bRadarCheckTime',
|
||||
formatFn: timeFormat,
|
||||
},
|
||||
{ label: '2端雷达速度输出', key: 'bRadarOutSpeed', formatFn: msFormat },
|
||||
{ label: '2端雷达速度输出', key: 'bRadarOutSpeed', formatFn: kmhFormat },
|
||||
];
|
||||
const list6: KeyType[] = [
|
||||
{ label: '加速度', key: 'acceleration', formatFn: accelerationFormat },
|
||||
{ label: '1端加速度计是否有效', key: 'aAccEnable', formatFn: upFormat },
|
||||
{ label: '1端加速度测速差值', key: 'aAccCheckSpeedDiff', formatFn: msFormat },
|
||||
{
|
||||
label: '1端加速度持续时间',
|
||||
label: '1端加速度持续设置剩余时间',
|
||||
key: 'aAccCheckTime',
|
||||
formatFn: timeFormat,
|
||||
},
|
||||
{ label: '2端加速度计是否有效', key: 'bAccEnable', formatFn: upFormat },
|
||||
{ label: '2端加速度测速差值', key: 'bAccCheckSpeedDiff', formatFn: msFormat },
|
||||
{
|
||||
label: '2端加速度持续时间',
|
||||
label: '2端加速度持续设置剩余时间',
|
||||
key: 'bAccCheckTime',
|
||||
formatFn: timeFormat,
|
||||
},
|
||||
@ -393,6 +401,9 @@ function percentFormat(v: number) {
|
||||
function msFormat(v: number) {
|
||||
return v + 'm/s';
|
||||
}
|
||||
function kmhFormat(v: number) {
|
||||
return v + 'km/h';
|
||||
}
|
||||
function timeFormat(v: number) {
|
||||
return v + 's';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user