Table of Contents

MDC Translator Ui Configuration for Nova

Anna Dowling 2022/10/11 11:25

See also: MDC Translator Ui Configuration for Mobile

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

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