User Tools

Site Tools


onboarding:nova:mdctranslatoruiconfig

This is an old revision of the document!


MDC Translator Ui Configuration for Nova

Overview

The mdc-translator application is leveraged for both mobile and ems-nova to process performance and configuration parameters and assign UiProperty entries to them. At a high level these values can be configured using YAML files per technology which are loaded on bootstrap by the translator application. They can also be inserted via the database directly. (See translator README linked above for more information).

These entries are used to render the performance and configuration specific ui components on the device overview pages in nova. If a UiProperty is found on a parameter object, it uses the UiProperty specification to attempt to render the parameter in a card. The same object can be used across both mobile and nova to prevent duplication of technology entries.

See sample of UiProperty object for nova below:

"uiProperty": [
                    {
                        "title": "Power",
                        "uiType": "GAUGE",
                        "row": 2,
                        "column": 1,
                        "order": 1
                    }
                ],

Description of Fields

  • title - will render on parameter card / list entry instead of prettyName or key if specified
  • uiType - used in nova to show different card types
  • row - used in nova to determine how many rows card takes up
  • column - used in nova to determine how many columns card takes up
  • order - determines card order on page
  • uiCategory -
  • properties: properties are configured via the translator key_value table.

Current Supported Parameter UiTypes in Nova Device Overview

  1. GAUGE
  2. CHART
  3. AMPLIFIER
  4. 24HRCHART
  5. HORIZONTAL_SLIDER
  6. VERTICAL_SLIDER
  7. STACKED_SLIDER
  8. ANTENNA
  9. MICROWAVE
  10. TEMPERATURE
onboarding/nova/mdctranslatoruiconfig.1665488616.txt.gz · Last modified: 2022/10/11 12:43 by 10.91.110.100