Commit 6d5a4308421bfd60df0878bcfaf46b9c8f3d0d8e
1 parent
eeb3432d
Exists in
master
and in
55 other branches
La feature 'PlotFunction' est achevée au niveau IHM, on va passer maintenat à AMDA Integration
Showing
1 changed file
with
15 additions
and
2 deletions
Show diff stats
js/app/views/PlotComponents/PlotZoomPlug.js
... | ... | @@ -456,8 +456,21 @@ Ext.define('amdaPlotComp.PlotZoomPlug', { |
456 | 456 | } |
457 | 457 | |
458 | 458 | if (me.isPlotFunction) { |
459 | - console.log(me.plotFunctionType.getValues()); | |
460 | - console.log(me.plotFunctionParamField.getValues()); | |
459 | + const start_time = this.form.getForm().findField('zoom-min-time').getValue(); | |
460 | + const stop_time = this.form.getForm().findField('zoom-max-time').getValue(); | |
461 | + | |
462 | + let request_to_send = {}; | |
463 | + request_to_send = Object.assign({}, me.plotFunctionType.getValues(), me.plotFunctionParamField.getValues()); | |
464 | + request_to_send = Object.assign({}, request_to_send, { | |
465 | + 'action': 'plotFunction', | |
466 | + 'interactiveId': this.interactiveId, | |
467 | + 'panelId': this.panelId, | |
468 | + 'starttime': start_time, | |
469 | + 'stoptime': stop_time | |
470 | + }); | |
471 | + | |
472 | + this.hostCmp.callInteractivePlot(request_to_send); | |
473 | + | |
461 | 474 | } else { |
462 | 475 | this.hostCmp.callInteractivePlot({ |
463 | 476 | 'action': 'zoom', | ... | ... |