Check
This commit is contained in:
parent
b2ddb08374
commit
f56d8ad926
@ -9,14 +9,16 @@
|
|||||||
<div id="panel" width="100%">
|
<div id="panel" width="100%">
|
||||||
<el-row v-if="!results || results.length === 0 "><h3>Check not run</h3></el-row>
|
<el-row v-if="!results || results.length === 0 "><h3>Check not run</h3></el-row>
|
||||||
<el-row v-for="(result,idx) in results" :key="idx">
|
<el-row v-for="(result,idx) in results" :key="idx">
|
||||||
<el-col :span="2" v-if="result.id<0"><span class="label"><i class="far fa-check-circle"></i></span></el-col>
|
<el-col :span="2" v-if="result.id==-1"><span class="label"><i class="far fa-check-circle"></i></span></el-col>
|
||||||
<el-col :span="2" v-if="result.id>=0"><span class="label"><i class="fas fa-exclamation-triangle"></i></span></el-col>
|
<el-col :span="2" v-if="result.id>=0"><span class="label"><i class="fas fa-exclamation-triangle"></i></span></el-col>
|
||||||
|
<el-col :span="2" v-if="result.id==-2"><span class="label"><i class="fas fa-exclamation-triangle"></i></span></el-col>
|
||||||
<el-col :span="15">
|
<el-col :span="15">
|
||||||
<el-popover
|
<el-popover
|
||||||
placement="top-start"
|
placement="top-start"
|
||||||
title="Description"
|
title="Description"
|
||||||
width="200"
|
width="200"
|
||||||
trigger="hover"
|
trigger="hover"
|
||||||
|
v-if="result.message"
|
||||||
:content=result.message[1]
|
:content=result.message[1]
|
||||||
>
|
>
|
||||||
<span class="label" slot="reference">{{ result.message[0] }}</span>
|
<span class="label" slot="reference">{{ result.message[0] }}</span>
|
||||||
|
@ -302,11 +302,11 @@ async function checkGroundnet(data) {
|
|||||||
this.postMessage(['progress', 1]);
|
this.postMessage(['progress', 1]);
|
||||||
|
|
||||||
if (parkings.length === 0) {
|
if (parkings.length === 0) {
|
||||||
notOkNodes.push({ id: 0, message: check_msg.NO_PARKINGS });
|
notOkNodes.push({ id: -2, message: check_msg.NO_PARKINGS });
|
||||||
}
|
}
|
||||||
this.postMessage(['progress', 1]);
|
this.postMessage(['progress', 1]);
|
||||||
if (runwayNodeIDs.length === 0) {
|
if (runwayNodeIDs.length === 0) {
|
||||||
notOkNodes.push({ id: 0, message: check_msg.NO_RUNWAY_NODES });
|
notOkNodes.push({ id: -2, message: check_msg.NO_RUNWAY_NODES });
|
||||||
}
|
}
|
||||||
this.postMessage(['progress', 1]);
|
this.postMessage(['progress', 1]);
|
||||||
var allEnds = Object.entries(bidirectionalGraph).filter(
|
var allEnds = Object.entries(bidirectionalGraph).filter(
|
||||||
|
@ -1,29 +1,29 @@
|
|||||||
{
|
{
|
||||||
"LONG_ROUTE_START" : ["Start of long route", "Route segments of >2km are Taxidraw artefacts"],
|
"LONG_ROUTE_START" : ["Start of long route", "Route segments of >2km are Taxidraw artefacts"],
|
||||||
"LONG_ROUTE_END": ["End of long route", "Route segments of >2km are Taxidraw artefacts"],
|
"LONG_ROUTE_END": ["End of long route", "Route segments of >2km are Taxidraw artefacts"],
|
||||||
"EDGE_MISSING_DIRECTION": ["Edge missing direction", ""],
|
"EDGE_MISSING_DIRECTION": ["Edge missing direction", "Each edge must have a direction (forward, backward, bi-directional)"],
|
||||||
"NO_RUNWAY_ROUTE": ["No way from parking to each runway", ""],
|
"NO_RUNWAY_ROUTE": ["No way from parking to each runway", ""],
|
||||||
"NO_PARKING_ROUTE": ["No way from runway to each parking", ""],
|
"NO_PARKING_ROUTE": ["No way from runway to each parking", ""],
|
||||||
"NO_PARKINGS": ["No parkings", ""],
|
"NO_PARKINGS": ["No parkings", ""],
|
||||||
"NO_RUNWAYNODES": ["No Runwaynodes", ""],
|
"NO_RUNWAY_NODES": ["No Runwaynodes", "Fine for parking only"],
|
||||||
"NOT_LEGIT_END": ["Node not a legimate end", "Taxiroutes must end either at a parking or on a runway"],
|
"NOT_LEGIT_END": ["Node not a legimate end", "Taxiroutes must end either at a parking or on a runway"],
|
||||||
"UNKNOWN_RADIUS" :["Unknown radius", "Radii must be one from the list"],
|
"UNKNOWN_RADIUS" :["Unknown radius", "Radii must be one from the list"],
|
||||||
"OVERLAPPING_PARKINGS" :["Overlapping parkings", ""],
|
"OVERLAPPING_PARKINGS" :["Overlapping parkings", "Parkings must not overlap"],
|
||||||
"NAME_EMPTY" :["Name empty", ""],
|
"NAME_EMPTY" :["Name empty", "Name of parking must not be empty"],
|
||||||
"TYPE_EMPTY" :["Parking type empty", ""],
|
"TYPE_EMPTY" :["Parking type empty", "The parking type must not be empty"],
|
||||||
"PARKING_TYPE_INVALID" :["Parking type not valid", ""],
|
"PARKING_TYPE_INVALID" :["Parking type not valid", "The type of parking must be one of ()"],
|
||||||
"DUAL_PUSHBACK": ["Dual runway/ pushback node", "A runway node can not be a hold node at the same time"],
|
"DUAL_PUSHBACK": ["Dual runway/ pushback node", "A runway node can not be a hold node at the same time"],
|
||||||
"RUNWAY_NODE_NOT_ON_RUNWAY" : ["Runwaynode not on runway", ""],
|
"RUNWAY_NODE_NOT_ON_RUNWAY" : ["Runwaynode not on runway", ""],
|
||||||
"NON_RUNWAYNODE_ON_RUNWAY": ["Non Runwaynode on runway", ""],
|
"NON_RUNWAYNODE_ON_RUNWAY": ["Non Runwaynode on runway", ""],
|
||||||
"PARKINGS_VALID": ["Parkings valid", ""],
|
"PARKINGS_VALID": ["Parkings valid", "All Ok"],
|
||||||
"NO_OVERLAPPING_PARKINGS": ["No parkings overlapping", ""],
|
"NO_OVERLAPPING_PARKINGS": ["No parkings overlapping", ""],
|
||||||
"NO_INVALID_ENDS": ["No invalid ends", ""],
|
"NO_INVALID_ENDS": ["No invalid ends", ""],
|
||||||
"ROUTES_FROM_PARKINGS_OK": ["Routes from parkings OK", ""],
|
"ROUTES_FROM_PARKINGS_OK": ["Routes from parkings OK", ""],
|
||||||
"ROUTES_FROM_RUNWAYS_OK": ["Routes from runways OK", ""],
|
"ROUTES_FROM_RUNWAYS_OK": ["Routes from runways OK", ""],
|
||||||
"PUSHBACK_ROUTES_OK": ["Pushback routes OK", ""],
|
"PUSHBACK_ROUTES_OK": ["Pushback routes OK", ""],
|
||||||
"UNCONNECTED_PUSHBACK": ["Unconnected Pushbacknode", ""],
|
"UNCONNECTED_PUSHBACK": ["Unconnected Pushbacknode", ""],
|
||||||
"NO_WAY_TO_HOLDPOINT":["No way to pushback holdpoint", ""],
|
"NO_WAY_TO_HOLDPOINT":["No way to pushback holdpoint", "There is no route to the pushback hold point"],
|
||||||
"MULTIPLE_PUSHBACK": ["Multiple connected pushback points", ""],
|
"MULTIPLE_PUSHBACK": ["Multiple connected pushback points", "There are more than one possible pushback holdpoint routes."],
|
||||||
"PUSHBACK_NOT_CONNECTED": ["Pushback Holding Point not Connected to Pushback Route", ""],
|
"PUSHBACK_NOT_CONNECTED": ["Pushback Holding Point not Connected to Pushback Route", ""],
|
||||||
"TO_MANY_PUSHBACK_TAXI_ROUTES": ["Too many Taxi routes from Pushback Holding Point", ""],
|
"TO_MANY_PUSHBACK_TAXI_ROUTES": ["Too many Taxi routes from Pushback Holding Point", ""],
|
||||||
"PUSHBACK_EXIT_NOT_BIDRECTIONAL": ["Pushback Holding Point Exit route is not bidirectional", ""],
|
"PUSHBACK_EXIT_NOT_BIDRECTIONAL": ["Pushback Holding Point Exit route is not bidirectional", ""],
|
||||||
|
Loading…
Reference in New Issue
Block a user