Package systole.domain.analysis.results

Examples of systole.domain.analysis.results.AnalysisResult


    /**
     * @return Analysis result
     */
    public AnalysisResult calculateParameters() {
        AnalysisResult result = new AnalysisResult();
        result.setAod(this.calculateAOD());
        result.setIar(this.calculateIAR());
        result.setAos(this.calculateAOS());
        result.setT(this.calculateT());

        result.setHeartRate((this.heartRate > 0) ? ((60 * 1000) / (this.heartRate * this.k.floatValue())) : 0f);
        return result;
    }
View Full Code Here


    public JPnlResults() {
        initComponents();
    }

    public void update(Observable o, Object arg) {
        AnalysisResult result = (AnalysisResult) arg;
        this.jLblAumento.setText(result.getIar().getValueAsString());
        this.jLblOS50Value.setText(result.getAos().getValueAsString());
        this.jLblTValue.setText(result.getT().getValueAsString());
        this.jLblAODValue.setText(result.getAod().getValueAsString());
        this.jLblFreCardciavaValue.setText(result.getHeartRateAsString());
        this.revalidate();
    }
View Full Code Here

    public boolean isCellEditable(int row, int column) {
        return false;
    }

    public void update(Observable o, Object arg) {
        AnalysisResult analysisResult = (AnalysisResult) arg;
        this.loadParams(analysisResult);
        this.table.revalidate();
        this.fireTableDataChanged();
    }
View Full Code Here

        this.plot.clearAnnotations();
    }

    public void update(Observable o, Object arg) {
        this.list.removeAllElements();
        AnalysisResult analysisResult  = (AnalysisResult) arg;
        this.buildChartParameters(analysisResult);
    }
View Full Code Here

        this.originalResults = analysis.getAnalysisResult();
        this.originalFinalSignal = analysis.getFinalSegment();

        this.currentFinalSignal = new FinalSignal();
        this.currentResults = new AnalysisResult();

        if (!newModel) {
            this.currentResults.setAod((ParameterAOD) this.originalResults.getAod().clone());
            this.currentResults.setAos((ParameterAOS) this.originalResults.getAos().clone());
            this.currentResults.setHeartRate(this.originalResults.getHeartRate());
View Full Code Here

    public void save() {
        if (this.isDirtyModel()) {
            // no clono porque si ya existía pierdo el ID y sería otro objeto (registro en la bd)
            if (this.originalResults == null) {
                this.originalResults = new AnalysisResult();
            }
            this.originalResults.setAod(this.currentResults.getAod());
            this.originalResults.setAos(this.currentResults.getAos());
            this.originalResults.setHeartRate(this.currentResults.getHeartRate());
            this.originalResults.setIar(this.currentResults.getIar());
View Full Code Here

TOP

Related Classes of systole.domain.analysis.results.AnalysisResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.