Skip to content
Snippets Groups Projects
Commit 574c2cc0 authored by florent's avatar florent
Browse files

Do not use sophisticated setter and getter for the moment

   * src/dynamic_graph/signal_base.py.
parent f20dbe37
No related branches found
No related tags found
No related merge requests found
......@@ -29,17 +29,15 @@ class SignalBase:
"""
return wrap.signalBaseGetTime(self.object)
@property
def value(self) :
def get_value(self) :
"""
Read the value of a signal
"""
return wrap.signal_base_get_value(self.object)
@value.setter
def value(self) :
def set_value(self, val) :
"""
Set the signal as a constant signal with given value.
If the signal is plugged, it will be unplugged
"""
return wrap.signal_base_set_value(self.object, value)
return wrap.signal_base_set_value(self.object, val)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment