Aggiunta stili CSS per Kiosk, struttura HTML per la Mappa e Riferimenti ai Sensori
• Creato un nuovo file CSS per gli stili del chiosco (kiosk) con variabili, stili per le schede (card) e animazioni. • Aggiunto un file HTML per l'interfaccia della mappa utilizzando Mapbox, inclusi gli stili e il JavaScript per le funzionalità della mappa. • Introdotto un file JSON per i riferimenti ai sensori, definendo percorsi ed elementi per i dati di temperatura, vento, onde, posizione, batteria, motore e sistema. Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
104
sensors.references.json
Normal file
104
sensors.references.json
Normal file
@@ -0,0 +1,104 @@
|
||||
[
|
||||
{
|
||||
"collection": "temperature",
|
||||
"path": "meb.temperature",
|
||||
"elements": null
|
||||
},
|
||||
{
|
||||
"collection": "wind",
|
||||
"path": "meb.wind",
|
||||
"elements": [
|
||||
{
|
||||
"direction": "direction"
|
||||
},
|
||||
{
|
||||
"speed": "speed"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collection": "waves",
|
||||
"path": "meb.waves",
|
||||
"elements": [
|
||||
{
|
||||
"direction": "direction"
|
||||
},
|
||||
{
|
||||
"height": "height"
|
||||
},
|
||||
{
|
||||
"period": "period"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collection": "position",
|
||||
"path": "navigation",
|
||||
"elements": [
|
||||
{
|
||||
"latitude": "position.latitude"
|
||||
},
|
||||
{
|
||||
"longitude": "position.longitude"
|
||||
},
|
||||
{
|
||||
"headingTrue": "headingTrue"
|
||||
},
|
||||
{
|
||||
"speedOverGround": "speedOverGround"
|
||||
},
|
||||
{
|
||||
"courseOverGround": "courseOverGroundTrue"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collection": "service_battery",
|
||||
"path": "electrical.batteries.service",
|
||||
"elements": [
|
||||
{
|
||||
"voltage": "Voltage"
|
||||
},
|
||||
{
|
||||
"current": "current"
|
||||
},
|
||||
{
|
||||
"stateOfCharge": "stateOfCharge"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collection": "traction_battery",
|
||||
"path": "electrical.batteries.traction",
|
||||
"elements": [
|
||||
{
|
||||
"voltage": "Voltage"
|
||||
},
|
||||
{
|
||||
"current": "current"
|
||||
},
|
||||
{
|
||||
"stateOfCharge": "stateOfCharge"
|
||||
},
|
||||
{
|
||||
"temperature": "temperature"
|
||||
},
|
||||
{
|
||||
"power": "power"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collection": "engine",
|
||||
"path": "propulsion.0",
|
||||
"elements": [
|
||||
{
|
||||
"proipultionShaftSpeed": "revolutions"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collection": "system",
|
||||
"path": "system.uptime"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user