mirror of
https://github.com/nasa/openmct.git
synced 2025-06-13 04:38:15 +00:00
[Limits] Add metadata to SWGs
Add telemetry metadata to Sine Wave Generators to support utilizing telemetry in a 'datum' format, to match designed API for WTD-1223.
This commit is contained in:
@ -61,6 +61,7 @@ define(
|
||||
return LIMITS;
|
||||
},
|
||||
evaluate: function (datum, range) {
|
||||
range = range || 'sin';
|
||||
if (datum[range] > RED) {
|
||||
return LIMITS.rh;
|
||||
}
|
||||
|
Reference in New Issue
Block a user