mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 06:08:11 +00:00
shuttle
This commit is contained in:
@ -31,9 +31,15 @@ define(
|
||||
* could be adapted to provide data from remote source.
|
||||
* @constructor
|
||||
*/
|
||||
function RemsTelemetryServerAdapter(){
|
||||
function RemsTelemetryServerAdapter($q, $http){
|
||||
var histories = {};
|
||||
|
||||
return {
|
||||
"dictionary": RemsDataDictionary
|
||||
dictionary: RemsDataDictionary,
|
||||
history: function(id) {
|
||||
histories[id] = histories[id] || $q.defer();
|
||||
return histories[id].promise;
|
||||
}
|
||||
};
|
||||
}
|
||||
return RemsTelemetryServerAdapter;
|
||||
|
Reference in New Issue
Block a user