Package fr.soleil.tango.clientapi

Examples of fr.soleil.tango.clientapi.TangoAttribute


        @Override
        public void run() {

            String[] values = null;
            try {
                TangoAttribute tangoAttribute = new TangoAttribute(attributeName);
                values = tangoAttribute.readSpecOrImage(String.class);
                m_attributeStringArrayValues.put(attributeName, values);
            }
            catch (DevFailed e) {
                m_attributeStringArrayValues.put(attributeName, new String[0]);
            }
View Full Code Here


     * @param attr
     */
    protected void setAttribute(String attributeName, boolean 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, byte 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).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

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.