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