Package fr.soleil.salsa.client.comete.dao

Examples of fr.soleil.salsa.client.comete.dao.ScanResult1DDAO


        SalsaDAOFactory salsaDAOFactory = (SalsaDAOFactory) factory;

        AbstractKey scanResult1DKey = new ScanResult1DKey(factoryClassName);
        AbstractDAO<List<DataArray>> dataArrayDao = salsaDAOFactory
        .createNumberDataArrayDAO(scanResult1DKey);
        ScanResult1DDAO scanResult1DDAO = (ScanResult1DDAO) dataArrayDao;

        scanResult1DDAO.setXAxisComponent(xAxisComponent);
        List<String> yAxisComponents = new ArrayList<String>(y1AxisComponents.size()
                + y2AxisComponents.size());
        yAxisComponents.addAll(y1AxisComponents);
        yAxisComponents.addAll(y2AxisComponents);
        scanResult1DDAO.setYAxisComponents(yAxisComponents);

        applicationController.getScanResultController().configureY1AxisList(y1AxisComponents);
        applicationController.getScanResultController().configureY2AxisList(y2AxisComponents);

        if (xAxisComponent != null) {
View Full Code Here


    @Override
    public AbstractDAO<List<DataArray>> createNumberDataArrayDAO(AbstractKey abstractKey) {
        AbstractDAO<List<DataArray>> dao = numberDataArrayDAOCache.lookup(abstractKey);
        if (dao == null) {
            if (abstractKey instanceof ScanResult1DKey) {
                dao = new ScanResult1DDAO();
            }
            else if (abstractKey instanceof ActuatorKey) {
                dao = new ActuatorSpectrumDAO(((ActuatorKey) abstractKey).getActuator());
            }
            else if (abstractKey instanceof SensorKey) {
View Full Code Here

            SalsaDAOFactory salsaDAOFactory = (SalsaDAOFactory) factory;

            AbstractKey scanResult1DKey = new ScanResult1DKey(factoryClassName);
            AbstractDAO<List<DataArray>> dataArrayDao = salsaDAOFactory
                    .createNumberDataArrayDAO(scanResult1DKey);
            ScanResult1DDAO scanResult1DDAO = (ScanResult1DDAO) dataArrayDao;

            scanResult1DDAO.setXAxisComponent(xAxisComponent);
            List<String> yAxisComponents = new ArrayList<String>(y1AxisComponents.size()
                    + y2AxisComponents.size());
            yAxisComponents.addAll(y1AxisComponents);
            yAxisComponents.addAll(y2AxisComponents);
            scanResult1DDAO.setYAxisComponents(yAxisComponents);

            applicationController.getScanResultController().configureY1AxisList(y1AxisComponents);
            applicationController.getScanResultController().configureY2AxisList(y2AxisComponents);

            if (xAxisComponent != null) {
View Full Code Here

            SalsaDAOFactory salsaDAOFactory = (SalsaDAOFactory) factory;

            AbstractKey scanResult1DKey = new ScanResult1DKey(factoryClassName);
            AbstractDAO<List<DataArray>> dataArrayDao = salsaDAOFactory
                    .createNumberDataArrayDAO(scanResult1DKey);
            ScanResult1DDAO scanResult1DDAO = (ScanResult1DDAO) dataArrayDao;

            scanResult1DDAO.setXAxisComponent(xAxisComponent);
            List<String> yAxisComponents = new ArrayList<String>(y1AxisComponents.size()
                    + y2AxisComponents.size());
            yAxisComponents.addAll(y1AxisComponents);
            yAxisComponents.addAll(y2AxisComponents);
            scanResult1DDAO.setYAxisComponents(yAxisComponents);

            applicationController.getScanResultController().configureY1AxisList(y1AxisComponents);
            applicationController.getScanResultController().configureY2AxisList(y2AxisComponents);

            if (xAxisComponent != null) {
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.client.comete.dao.ScanResult1DDAO

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.