mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 07:38:15 +00:00
[Telemetry] Add skeleton formatter
Add skeleton for implementation of a formatter for telemetry data, including reorganizing libraries such that moment.min.js only occurs once. WTD-599.
This commit is contained in:
26
platform/telemetry/src/TelemetryFormatter.js
Normal file
26
platform/telemetry/src/TelemetryFormatter.js
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/*global define,moment*/
|
||||||
|
|
||||||
|
define(
|
||||||
|
['../lib/moment.min.js'],
|
||||||
|
function () {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
function TelemetryFormatter() {
|
||||||
|
|
||||||
|
function formatDomainValue(key, value) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function formatRangeValue(key, value) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
formatDomainValue: formatDomainValue,
|
||||||
|
formatRangeValue: formatRangeValue
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
return TelemetryFormatter;
|
||||||
|
}
|
||||||
|
);
|
Reference in New Issue
Block a user