예제 #1
0
    def send_access_state(self, read_access, write_access, *args, **kws):
        if is_read_only():
            self.write_access_signal.emit(False)
            return

        if write_access is not None:
            self.write_access_signal.emit(write_access)
예제 #2
0
    def send_access_state(self, read_access, write_access, *args, **kws):
        if is_read_only():
            self.write_access_signal.emit(False)
            return

        if write_access is not None:
            self.write_access_signal.emit(write_access)
예제 #3
0
    def put_value(self, new_val):
        if is_read_only():
            return

        if self.pv.write_access:
            try:
                self.pv.put(new_val)
            except Exception as e:
                logger.exception("Unable to put %s to %s.  Exception: %s",
                                 new_val, self.pv.pvname, str(e))
예제 #4
0
    def put_value(self, new_val):
        if is_read_only():
            return

        if self.pv.write_access:
            try:
                self.pv.put(new_val)
            except Exception as e:
                logger.exception("Unable to put %s to %s.  Exception: %s",
                                 new_val, self.pv.pvname, str(e))
예제 #5
0
 def send_access_state(self, read_access, write_access):
     if data_plugins.is_read_only():
         self.write_access_signal.emit(False)
         return
     self.write_access_signal.emit(write_access)
예제 #6
0
 def send_access_state(self, read_access, write_access):
     if data_plugins.is_read_only():
         self.write_access_signal.emit(False)
         return
     self.write_access_signal.emit(write_access)