openmct/example/generator
Pete Richards 865b99f445 Handle string states (#2019)
* State generator realtime uses strings

Change the state generator's realtime data to return string values
instead of number values.  This exercises an edge case where
enumerations could be a string instead of a number.  Exposes #2018.

* [Telemetry] handle string enumeration value

Don't treat all strings as properly formatted enumeration values.

Instead, check any input value against known enumerations and if
one matches, return it.  Otherwise, return input.

Fixes #2018
2018-05-02 11:42:42 -07:00
..
GeneratorMetadataProvider.js [API] Support dynamic telemetry metadata (#1941) 2018-03-21 14:18:08 -07:00
GeneratorProvider.js Allow property values of zero. (#1961) 2018-03-27 10:02:15 -07:00
generatorWorker.js new-plot import (#1557) 2018-03-02 14:29:34 -08:00
plugin.js [API] Support dynamic telemetry metadata (#1941) 2018-03-21 14:18:08 -07:00
SinewaveLimitProvider.js [API] Support dynamic telemetry metadata (#1941) 2018-03-21 14:18:08 -07:00
StateGeneratorProvider.js Handle string states (#2019) 2018-05-02 11:42:42 -07:00
WorkerInterface.js [Examples] Memory leak in SWG 2017-12-04 10:42:36 -08:00