d7adb5a68c62f5a794036bfa7f6819a973e377e8
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / ux / mwtnPerformanceCurrent / mwtnPerformanceCurrent-module / src / main / resources / mwtnPerformanceCurrent / mwtnPerformanceCurrent.services.js
1 /*
2  * Copyright (c) 2016 HCL Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 define(['app/mwtnCommons/mwtnCommons.module', 'app/mwtnPerformanceCurrent/mwtnPerformanceCurrent.module'],function(mwtnPerformanceCurrentApp) {
10
11   mwtnPerformanceCurrentApp.register.factory('$mwtnPerformanceCurrent', function($mwtnCommons, $mwtnLog) {
12
13     var COMPONENT = '$mwtnPerformanceCurrent';
14     $mwtnLog.info({component: COMPONENT, message: '$mwtnPerformanceCurrent started!'});
15
16     var service = {};
17     
18     service.separator = $mwtnCommons.separator;
19     service.parts = $mwtnCommons.parts;
20     service.getMountPoints = $mwtnCommons.getMountPoints;
21     service.getPacParts = $mwtnCommons.getPacParts;
22     service.layerProtocolNameOrder = $mwtnCommons.layerProtocolNameOrder;
23     service.formatTimeStamp = $mwtnCommons.formatTimeStamp;
24     
25     service.yangifyObject=$mwtnCommons.yangifyObject;
26       
27     return service;
28   });
29
30 });