Blame view

js/app/models/PlotObjects/PlotOrbitSerieObject.js 1.18 KB
e84ed2cf   Benjamin Renard   Add Interval Tick...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
 * Project      : AMDA-NG
 * Name         : PlotOrbitSerieObject.js
 * @class   amdaPlotObj.PlotOrbitSerieObject
 * @extends amdaPlotObj.PlotBaseSerieObject
 * @brief   Plot Orbit Serie Business Object Definition 
 * @author  Benjamin Renard
 * @version $Id: PlotOrbitSerieObject.js benjamin $
 ******************************************************************************
 *    FT Id     :   Date   : Name - Description
 ******************************************************************************
 *	:           :14/09/2015: BRE  - file creation
 */
 
 		
Ext.define('amdaPlotObj.PlotOrbitSerieObject', {
	extend: 'amdaPlotObj.PlotBaseSerieObject',
	
	fields : [
			  {name: 'serie-projection', type: 'string'}
    ],
    
    constructor: function(){
        var me = this;
        me.callParent(arguments);
    },
    
    setDefaultValues: function()
    {
		this.set('serie-projection', amdaPlotObj.PlotObjectConfig.defaultValues.serie.projection);
		this.callParent(arguments);
    },
    
    getJsonValues : function() 
    {
    	var serieValues  = this.callParent(arguments);
    	
    	serieValues['serie-projection'] = this.get('serie-projection');
    	
    	return serieValues;
    }
});