Package fr.soleil.salsa.client.comete.key

Examples of fr.soleil.salsa.client.comete.key.SensorKey


                }
               
                dao = actuatorScalarDAO;
            }
            else if (abstractKey instanceof SensorKey) {
                SensorKey sKey = (SensorKey) abstractKey;

                dao = new SensorScalarDAO(((SensorKey) abstractKey).getSensor());

                if (sKey.getDataMode() == DataMode.READ) {
                    ((SensorScalarDAO) dao).setDataMode(ASensorDAO.DataMode.READ);
                }

                if (sKey.getDataMode() == DataMode.WRITE) {
                    ((SensorScalarDAO) dao).setDataMode(ASensorDAO.DataMode.WRITE);
                }
            }

            numberDAOCache.register(abstractKey, dao);
View Full Code Here


        @Override
        public SensorReport doInBackground() {
            SensorReport report;

            factoryClassName = SalsaDAOFactory.class.getName();
            sensorKRead = new SensorKey(sensor, factoryClassName, SensorKey.DataMode.READ);
            sensorKWrite = new SensorKey(sensor, factoryClassName, SensorKey.DataMode.WRITE);
            sensorStateKey = new SensorStateKey(sensor, factoryClassName);

            ISensor sensorImpl = (ISensor) AutoCopier.toImpl(sensor);
            try {
                report = SensorDeviceApi.getSensorReport(sensorImpl);
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.client.comete.key.SensorKey

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.