mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 23:28:14 +00:00
[Time Conductor] Add non-time-like domain
Add a non-time-like domain to sine wave generator telemetry, to support integration of custom domain formatting into time conductor.
This commit is contained in:
@ -58,6 +58,9 @@ define(
|
||||
};
|
||||
|
||||
generatorData.getDomainValue = function (i, domain) {
|
||||
if (domain === 'index') {
|
||||
return i;
|
||||
}
|
||||
return (i + offset) * 1000 + firstTime * 1000 -
|
||||
(domain === 'yesterday' ? ONE_DAY : 0);
|
||||
};
|
||||
|
Reference in New Issue
Block a user