Simon Hunt

FaultManagement: topo overlay - rename variable to match service name.

Change-Id: I75402eb99ea26b387b7a328f2208c6504f7fc1de
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 'use strict'; 7 'use strict';
8 8
9 // injected refs 9 // injected refs
10 - var $log, tov, stds, ns; 10 + var $log, tov, atds, ns;
11 11
12 // internal state should be kept in the service module (not here) 12 // internal state should be kept in the service module (not here)
13 13
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
87 $log.debug("Alarm topology overlay ACTIVATED"); 87 $log.debug("Alarm topology overlay ACTIVATED");
88 }, 88 },
89 deactivate: function () { 89 deactivate: function () {
90 - stds.stopDisplay(); 90 + atds.stopDisplay();
91 $log.debug("Alarm topology overlay DEACTIVATED"); 91 $log.debug("Alarm topology overlay DEACTIVATED");
92 }, 92 },
93 // detail panel button definitions 93 // detail panel button definitions
...@@ -114,14 +114,14 @@ ...@@ -114,14 +114,14 @@
114 keyBindings: { 114 keyBindings: {
115 0: { 115 0: {
116 cb: function () { 116 cb: function () {
117 - stds.stopDisplay(); 117 + atds.stopDisplay();
118 }, 118 },
119 tt: 'Cancel Alarm Count on Device', 119 tt: 'Cancel Alarm Count on Device',
120 gid: 'xMark' 120 gid: 'xMark'
121 }, 121 },
122 V: { 122 V: {
123 cb: function () { 123 cb: function () {
124 - stds.startDisplay('mouse'); 124 + atds.startDisplay('mouse');
125 }, 125 },
126 tt: 'Start Alarm Count on Device', 126 tt: 'Start Alarm Count on Device',
127 gid: '*clock' 127 gid: '*clock'
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
135 // Must return true to consume ESC, false otherwise. 135 // Must return true to consume ESC, false otherwise.
136 escape: function () { 136 escape: function () {
137 // Must return true to consume ESC, false otherwise. 137 // Must return true to consume ESC, false otherwise.
138 - return stds.stopDisplay(); 138 + return atds.stopDisplay();
139 }, 139 },
140 // hooks for when the selection changes... 140 // hooks for when the selection changes...
141 empty: function () { 141 empty: function () {
...@@ -152,11 +152,11 @@ ...@@ -152,11 +152,11 @@
152 mouseover: function (m) { 152 mouseover: function (m) {
153 // m has id, class, and type properties 153 // m has id, class, and type properties
154 $log.debug('mouseover:', m); 154 $log.debug('mouseover:', m);
155 - stds.updateDisplay(m); 155 + atds.updateDisplay(m);
156 }, 156 },
157 mouseout: function () { 157 mouseout: function () {
158 $log.debug('mouseout'); 158 $log.debug('mouseout');
159 - stds.updateDisplay(); 159 + atds.updateDisplay();
160 } 160 }
161 } 161 }
162 }; 162 };
...@@ -173,10 +173,10 @@ ...@@ -173,10 +173,10 @@
173 // invoke code to register with the overlay service 173 // invoke code to register with the overlay service
174 angular.module('ovAlarmTopov') 174 angular.module('ovAlarmTopov')
175 .run(['$log', 'TopoOverlayService', 'AlarmTopovDemoService', 'NavService', 175 .run(['$log', 'TopoOverlayService', 'AlarmTopovDemoService', 'NavService',
176 - function (_$log_, _tov_, _stds_, _ns_) { 176 + function (_$log_, _tov_, _atds_, _ns_) {
177 $log = _$log_; 177 $log = _$log_;
178 tov = _tov_; 178 tov = _tov_;
179 - stds = _stds_; 179 + atds = _atds_;
180 ns = _ns_; 180 ns = _ns_;
181 tov.register(overlay); 181 tov.register(overlay);
182 }]); 182 }]);
......