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)
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))
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)