All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zaber.motion.DeviceDbSourceType Maven / Gradle / Ivy

Go to download

A library that aims to provide easy-to-use API for communication with Zaber devices using Zaber ASCII Protocol.

There is a newer version: 6.7.0
Show newest version
// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
// ============== DO NOT EDIT DIRECTLY ============== //

package zaber.motion;

/**
 * Type of source of Device DB data.
 */
public enum DeviceDbSourceType {

    /**
    * WebService.
    */
    WEB_SERVICE(0),

    /**
    * File.
    */
    FILE(1);

    private int value;

    DeviceDbSourceType(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public static DeviceDbSourceType valueOf(int argValue) {
        for (DeviceDbSourceType value : values()) {
            if (value.value == argValue) {
                return value;
            }
        }
        throw new IllegalArgumentException(String.valueOf(argValue));
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy