[pytango] 33/483: fixes #3305251

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.

commit 0698f9fad305b51f9e79765bd183d6957988599d
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Fri May 20 17:21:30 2011 +0000

    fixes #3305251
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@16923 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 src/server/device_impl.cpp | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/src/server/device_impl.cpp b/src/server/device_impl.cpp
index 3929dc1..f0e8400 100644
--- a/src/server/device_impl.cpp
+++ b/src/server/device_impl.cpp
@@ -540,7 +540,19 @@ namespace PyDeviceImpl
         py_attr_ptr->set_read_name(read_name_met);
         py_attr_ptr->set_write_name(write_name_met);
         py_attr_ptr->set_allowed_name(is_allowed_method);
-
+        
+        if (new_attr.get_memorized())
+            attr_ptr->set_memorized();
+        attr_ptr->set_memorized_init(new_attr.get_memorized_init());
+        
+        attr_ptr->set_disp_level(new_attr.get_disp_level());
+        attr_ptr->set_polling_period(new_attr.get_polling_period());
+        attr_ptr->set_change_event(new_attr.is_change_event(),
+                                   new_attr.is_check_change_criteria());
+        attr_ptr->set_archive_event(new_attr.is_archive_event(),
+                                    new_attr.is_check_archive_criteria());
+        attr_ptr->set_data_ready_event(new_attr.is_data_ready_event());
+        
         //
         // Install attribute in Tango.
         //

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list