Package fr.soleil.tango.clientapi

Examples of fr.soleil.tango.clientapi.TangoAttribute


     * @param attr
     */
    protected void setAttribute(String attributeName, long attributeValue)
            throws SalsaDeviceException {
        try {
            new TangoAttribute(scanServerName + "/" + attributeName).write(attributeValue);
        }
        catch (DevFailed e) {
            String message = "Error setting attribute " + attributeName + " to " + attributeValue
                    + " : " + e.getMessage();
            if (e.errors != null && e.errors.length > 0) {
View Full Code Here


     * @param attr
     */
    protected void setAttribute(String attributeName, float attributeValue)
            throws SalsaDeviceException {
        try {
            new TangoAttribute(scanServerName + "/" + attributeName).write(attributeValue);
        }
        catch (DevFailed e) {
            String message = "Error setting attribute " + attributeName + " to " + attributeValue
                    + " : " + e.getMessage();
            if (e.errors != null && e.errors.length > 0) {
View Full Code Here

     * @param attr
     */
    protected void setAttribute(String attributeName, double attributeValue)
            throws SalsaDeviceException {
        try {
            new TangoAttribute(scanServerName + "/" + attributeName).write(attributeValue);
        }
        catch (DevFailed e) {
            String message = "Error setting attribute " + attributeName + " to " + attributeValue
                    + " : " + e.getMessage();
            if (e.errors != null && e.errors.length > 0) {
View Full Code Here

     * @param attr
     */
    protected void setAttribute(String attributeName, String attributeValue)
            throws SalsaDeviceException {
        try {
            new TangoAttribute(scanServerName + "/" + attributeName).write(attributeValue);
        }
        catch (DevFailed e) {
            String message = "Error setting attribute " + attributeName + " to " + attributeValue
                    + " : " + e.getMessage();
            if (e.errors != null && e.errors.length > 0) {
View Full Code Here

     * @param attr
     */
    protected void setAttribute(String attributeName, short[] attributeValue)
            throws SalsaDeviceException {
        try {
            new TangoAttribute(scanServerName + "/" + attributeName).write(attributeValue);
        }
        catch (DevFailed e) {
            String message = "Error setting attribute " + attributeName + " to " + attributeValue
                    + " : " + e.getMessage();
            if (e.errors != null && e.errors.length > 0) {
View Full Code Here

     * @param attr
     */
    protected void setAttribute(String attributeName, int[] attributeValue)
            throws SalsaDeviceException {
        try {
            new TangoAttribute(scanServerName + "/" + attributeName).write(attributeValue);
        }
        catch (DevFailed e) {
            String message = "Error setting attribute " + attributeName + " to " + attributeValue
                    + " : " + e.getMessage();
            if (e.errors != null && e.errors.length > 0) {
View Full Code Here

     * @param attr
     */
    protected void setAttribute(String attributeName, long[] attributeValue)
            throws SalsaDeviceException {
        try {
            new TangoAttribute(scanServerName + "/" + attributeName).write(attributeValue);
        }
        catch (DevFailed e) {
            String message = "Error setting attribute " + attributeName + " to " + attributeValue
                    + " : " + e.getMessage();
            if (e.errors != null && e.errors.length > 0) {
View Full Code Here

     * @param attr
     */
    protected void setAttribute(String attributeName, float[] attributeValue)
            throws SalsaDeviceException {
        try {
            new TangoAttribute(scanServerName + "/" + attributeName).write(attributeValue);
        }
        catch (DevFailed e) {
            String message = "Error setting attribute " + attributeName + " to " + attributeValue
                    + " : " + e.getMessage();
            if (e.errors != null && e.errors.length > 0) {
View Full Code Here

     * @param attr
     */
    protected void setAttribute(String attributeName, double[] attributeValue)
            throws SalsaDeviceException {
        try {
            new TangoAttribute(scanServerName + "/" + attributeName).write(attributeValue);
        }
        catch (DevFailed e) {
            String message = "Error setting attribute " + attributeName + " to " + attributeValue
                    + " : " + e.getMessage();
            if (e.errors != null && e.errors.length > 0) {
View Full Code Here

     * @param attr
     */
    protected void setAttribute(String attributeName, String[] attributeValue)
            throws SalsaDeviceException {
        try {
            new TangoAttribute(scanServerName + "/" + attributeName)
                    .writeSpectrum((Object[]) attributeValue);
        }
        catch (DevFailed e) {
            String message = "Error setting attribute " + attributeName + " to " + attributeValue
                    + " : " + e.getMessage();
View Full Code Here

TOP

Related Classes of fr.soleil.tango.clientapi.TangoAttribute

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.