Package fr.soleil.salsa.api.item

Examples of fr.soleil.salsa.api.item.DimensionType


     * @param device
     * @return
     * @throws SalsaDeviceException
     */
    public static DimensionType getDimensionType(IDevice device) throws SalsaDeviceException {
        DimensionType dimensionType;
        AttributeInfo info = getAttributeInfo(device);
        switch (info.data_format.value()) {
            case AttrDataFormat._SCALAR:
                dimensionType = DimensionType.SCALAR;
                break;
View Full Code Here


     * @param device
     * @return
     * @throws SalsaDeviceException
     */
    public static DimensionType getDimensionType(IDevice device) throws SalsaDeviceException {
        DimensionType dimensionType;
        AttributeInfo info = getAttributeInfo(device);
        switch (info.data_format.value()) {
            case AttrDataFormat._SCALAR:
                dimensionType = DimensionType.SCALAR;
                break;
View Full Code Here

            sensorKWrite = new SensorKey(sensor, factoryClassName, SensorKey.DataMode.WRITE);
            sensorStateKey = new SensorStateKey(sensor, factoryClassName);

            try {
                report = SensorDeviceApi.getSensorReport(sensor.getName());
                DimensionType dimensionType = report.getDimensionType();

                if (allowScalar || report == null
                        || report.getDimensionType() != DimensionType.SCALAR) {

                    // Resume the DAO if they were suspended.
View Full Code Here

            sensorStateKey = new SensorStateKey(sensor, factoryClassName);

            ISensor sensorImpl = (ISensor) AutoCopier.toImpl(sensor);
            try {
                report = SensorDeviceApi.getSensorReport(sensorImpl);
                DimensionType dimensionType = report.getDimensionType();

                if (allowScalar || report == null
                        || report.getDimensionType() != DimensionType.SCALAR) {

                    // Resume the DAO if they were suspended.
View Full Code Here

     * @param device
     * @return
     * @throws SalsaDeviceException
     */
    public static DimensionType getDimensionType(IDevice device) throws SalsaDeviceException {
        DimensionType dimensionType;
        AttributeInfo info = getAttributeInfo(device);
        switch (info.data_format.value()) {
            case AttrDataFormat._SCALAR:
                dimensionType = DimensionType.SCALAR;
                break;
View Full Code Here

     * @param device
     * @return
     * @throws SalsaDeviceException
     */
    public static DimensionType getDimensionType(IDevice device) throws SalsaDeviceException {
        DimensionType dimensionType;
        AttributeInfo info = getAttributeInfo(device);
        switch (info.data_format.value()) {
            case AttrDataFormat._SCALAR:
                dimensionType = DimensionType.SCALAR;
                break;
View Full Code Here

     * @param device
     * @return
     * @throws SalsaDeviceException
     */
    public static DimensionType getDimensionType(IDevice device) throws SalsaDeviceException {
        DimensionType dimensionType;
        AttributeInfo info = getAttributeInfo(device);
        switch (info.data_format.value()) {
            case AttrDataFormat._SCALAR:
                dimensionType = DimensionType.SCALAR;
                break;
View Full Code Here

     * @param device
     * @return
     * @throws SalsaDeviceException
     */
    public static DimensionType getDimensionType(IDevice device) throws SalsaDeviceException {
        DimensionType dimensionType;
        AttributeInfo info = getAttributeInfo(device);
        switch (info.data_format.value()) {
            case AttrDataFormat._SCALAR:
                dimensionType = DimensionType.SCALAR;
                break;
View Full Code Here

     * @param device
     * @return
     * @throws SalsaDeviceException
     */
    public static DimensionType getDimensionType(IDevice device) throws SalsaDeviceException {
        DimensionType dimensionType;
        AttributeInfo info = getAttributeInfo(device);
        switch (info.data_format.value()) {
            case AttrDataFormat._SCALAR:
                dimensionType = DimensionType.SCALAR;
                break;
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.api.item.DimensionType

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.