feat(color,cpn): Updates to the model telemetry page, sensor ID consistency (#3401)
* Add 'Show Instance ID' button to telemetry page to show/hide sensor instance number (default is hidden). Fix issues with page refresh when all sensors deleted. Select closest sensor when a single sensor is deleted. On change, only refresh the sensor list instead of the whole page. The 'showInstanceIds' property is saved to the model file. Update Companion to save/load 'showInstanceIds' in model YAML file. Add checkbox to telemetry edit page. * Update all radio specific files. * Keep focus on 'Discover/Stop' button when searching for new sensors. Start sensor ID index at 1 to match B&W radios. Keep focus on changed parameter when editing sensor, don't rebuild entire parameter list on change. * Display actual 'instance' ID instead of 'instance' + 1. * Fix incorrect ID when reloading simulator data. * Fix incorrect ID when reloading simulator data on B&W radios.
This commit is contained in:
@@ -1153,6 +1153,7 @@
|
||||
#define TR_TELEMETRYFULL TR("项目已满!", "回传项目已满!")
|
||||
#define TR_INVERTED_SERIAL INDENT "反向"
|
||||
#define TR_IGNORE_INSTANCE TR(INDENT "忽略ID", INDENT "忽略ID鉴别")
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "扫描新的回传项目"
|
||||
#define TR_STOP_DISCOVER_SENSORS "停止扫描"
|
||||
#define TR_DELETE_ALL_SENSORS "删除所有回传项目"
|
||||
|
||||
@@ -1157,6 +1157,7 @@
|
||||
#define TR_TELEMETRYFULL "Všechny sloty jsou plné!"
|
||||
#define TR_INVERTED_SERIAL INDENT "Invert"
|
||||
#define TR_IGNORE_INSTANCE TR(INDENT "Chybné ID", INDENT "Ignoruj chyby ID")
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "Detekovat nové senzory"
|
||||
#define TR_STOP_DISCOVER_SENSORS "Zastavit autodetekci"
|
||||
#define TR_DELETE_ALL_SENSORS "Odebrat všechny senzory"
|
||||
|
||||
@@ -1158,6 +1158,7 @@
|
||||
#define TR_TELEMETRYFULL TR("Alle slots fulde!", "Alle telemetri slots fulde!")
|
||||
#define TR_INVERTED_SERIAL INDENT "Invers"
|
||||
#define TR_IGNORE_INSTANCE TR(INDENT "Ingen inst.", INDENT "Ignorer instans")
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "Søg efter nye"
|
||||
#define TR_STOP_DISCOVER_SENSORS "Stop"
|
||||
#define TR_DELETE_ALL_SENSORS "Slet alle"
|
||||
|
||||
@@ -1156,6 +1156,7 @@
|
||||
#define TR_TELEMETRYFULL TR("Telem voll!", "Telemetriezeilen voll!")
|
||||
#define TR_INVERTED_SERIAL INDENT "Invert."
|
||||
#define TR_IGNORE_INSTANCE TR(INDENT "No Inst.", INDENT "Ignor. Instanzen")
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "Start Sensorsuche"
|
||||
#define TR_STOP_DISCOVER_SENSORS "Stop Sensorsuche"
|
||||
#define TR_DELETE_ALL_SENSORS "Lösche alle Sensoren"
|
||||
|
||||
@@ -1150,6 +1150,7 @@
|
||||
#define TR_TELEMETRYFULL TR("All slots full!", "All telemetry slots full!")
|
||||
#define TR_INVERTED_SERIAL INDENT "Invert"
|
||||
#define TR_IGNORE_INSTANCE TR(INDENT "No inst.", INDENT "Ignore instances")
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "Discover new"
|
||||
#define TR_STOP_DISCOVER_SENSORS "Stop"
|
||||
#define TR_DELETE_ALL_SENSORS "Delete all"
|
||||
|
||||
@@ -1158,6 +1158,7 @@
|
||||
#define TR_TELEMETRYFULL TR("Telem. llena!", "Todas las entradas de telemetría llenas!")
|
||||
#define TR_INVERTED_SERIAL INDENT "Invertir"
|
||||
#define TR_IGNORE_INSTANCE TR(INDENT "No inst.", INDENT "Ignora instancias")
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "Buscar sensores"
|
||||
#define TR_STOP_DISCOVER_SENSORS "Parar busqueda"
|
||||
#define TR_DELETE_ALL_SENSORS "Borrar sensores"
|
||||
|
||||
@@ -1168,6 +1168,7 @@
|
||||
#define TR_TELEMETRYFULL TR("All slots full!", "All telemetry slots full!")
|
||||
#define TR_INVERTED_SERIAL INDENT "Invert"
|
||||
#define TR_IGNORE_INSTANCE INDENT "Ignore instance"
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "Discover new sensors"
|
||||
#define TR_STOP_DISCOVER_SENSORS "Stop discovery"
|
||||
#define TR_DELETE_ALL_SENSORS "Delete all"
|
||||
|
||||
@@ -1173,6 +1173,7 @@
|
||||
#define TR_TELEMETRYFULL "Plus de capteurs libres!"
|
||||
#define TR_INVERTED_SERIAL INDENT "Inversé"
|
||||
#define TR_IGNORE_INSTANCE TR(INDENT "Ign. inst", INDENT "Ignorer instance")
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "Découvrir capteurs"
|
||||
#define TR_STOP_DISCOVER_SENSORS "Terminer découverte"
|
||||
#define TR_DELETE_ALL_SENSORS TR("Suppr. tous capteurs", "Supprimer tous capteurs")
|
||||
|
||||
@@ -1160,6 +1160,7 @@
|
||||
//TODO: translation
|
||||
#define TR_INVERTED_SERIAL INDENT "Invert."
|
||||
#define TR_IGNORE_INSTANCE TR(INDENT "No inst.", INDENT "Ignora instanza")
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "Cerca nuovi sensori"
|
||||
#define TR_STOP_DISCOVER_SENSORS "Ferma ricerca"
|
||||
#define TR_DELETE_ALL_SENSORS "Elimina tutti i sensori"
|
||||
|
||||
@@ -1151,6 +1151,7 @@
|
||||
#define TR_TELEMETRYFULL TR("All slots full!", "テレメトリー枠はすべて埋まりました!!")
|
||||
#define TR_INVERTED_SERIAL INDENT "リバース"
|
||||
#define TR_IGNORE_INSTANCE TR(INDENT "No inst.", INDENT "ID識別を無視")
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "新規検索"
|
||||
#define TR_STOP_DISCOVER_SENSORS "停止"
|
||||
#define TR_DELETE_ALL_SENSORS "すべて削除"
|
||||
|
||||
@@ -1167,6 +1167,7 @@
|
||||
//TODO: translation
|
||||
#define TR_INVERTED_SERIAL INDENT "Invert"
|
||||
#define TR_IGNORE_INSTANCE TR(INDENT "Neg. ID ","Negeer ID's")
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "Ontdek nieuwe sensors"
|
||||
#define TR_STOP_DISCOVER_SENSORS "Stop ontdekking"
|
||||
#define TR_DELETE_ALL_SENSORS "Wis alle sensors"
|
||||
|
||||
@@ -1154,6 +1154,7 @@
|
||||
//TODO: translation
|
||||
#define TR_INVERTED_SERIAL INDENT "Odwróć"
|
||||
#define TR_IGNORE_INSTANCE INDENT "Ignoruj przypadek"
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "Znajdź nowe czujniki"
|
||||
#define TR_STOP_DISCOVER_SENSORS "Szukanie STOP "
|
||||
#define TR_DELETE_ALL_SENSORS "Usuń czujniki "
|
||||
|
||||
@@ -1161,6 +1161,7 @@
|
||||
#define TR_TELEMETRYFULL TR("All slots full!", "All telemetry slots full!")
|
||||
#define TR_INVERTED_SERIAL INDENT "Invert"
|
||||
#define TR_IGNORE_INSTANCE INDENT "Ignore instance"
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "Discover new"
|
||||
#define TR_STOP_DISCOVER_SENSORS "Stop discovery"
|
||||
#define TR_DELETE_ALL_SENSORS "Delete all"
|
||||
|
||||
@@ -1186,6 +1186,7 @@
|
||||
|
||||
#define TR_INVERTED_SERIAL INDENT "Inverterad"
|
||||
#define TR_IGNORE_INSTANCE TR(INDENT "Ej inst.", INDENT "Ignorera instansfel")
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "Sök nya"
|
||||
#define TR_STOP_DISCOVER_SENSORS "Avbryt sökning"
|
||||
#define TR_DELETE_ALL_SENSORS "Ta bort alla sensorer"
|
||||
|
||||
@@ -1151,6 +1151,7 @@
|
||||
#define TR_TELEMETRYFULL TR("項目已滿!", "回傳項目已滿!")
|
||||
#define TR_INVERTED_SERIAL INDENT "反向"
|
||||
#define TR_IGNORE_INSTANCE TR(INDENT "忽略ID", INDENT "忽略ID鑑別")
|
||||
#define TR_SHOW_INSTANCE_ID "Show instance ID"
|
||||
#define TR_DISCOVER_SENSORS "掃描新的回傳項目"
|
||||
#define TR_STOP_DISCOVER_SENSORS "停止掃描"
|
||||
#define TR_DELETE_ALL_SENSORS "刪除所有回傳項目"
|
||||
|
||||
Reference in New Issue
Block a user