def get_frequency(self, cmd): # Execute and send Info to Sim-Console self.parentWidget.deviceTranSignal.emit(cmd) res = TelRepository.telnet_instance.execute_command(cmd) res_display = RespFilter.trim(res) self.parentWidget.deviceRvdSignal.emit(res_display) # Emit Signal to Trigger Value Refresh in Device Setting Tab self.sigGetRes.emit(self.case, res)
def set_cpri(self, cmd): # Execute and send Info to Sim-Console self.parentWidget.deviceTranSignal.emit(cmd) res = TelRepository.telnet_instance.execute_command(cmd) res_display = RespFilter.trim(res) self.parentWidget.deviceRvdSignal.emit(res_display) # Emit Signal to Device Setting Tab as Response self.sigSetOK.emit(self.case, res)
def set_cpri(self, cmd): # Execute and send Info to Sim-Console self.signals.consoleDisplay.emit(WorkerSignals.TRAN_SIGNAL, self.cmd) self.result = TelRepository.telnet_instance.execute_command(cmd) res_display = RespFilter.trim(self.result) self.signals.consoleDisplay.emit(WorkerSignals.RECV_SIGNAL, res_display)
def get_ip_addr(self, cmd): """Used by LoginWidget to Get Ip Address of RRU Device """ # Execute and send Info to Sim-Console self.parentWidget.ipTranSignal.emit(cmd) res = TelRepository.telnet_instance.execute_command(cmd) res_display = RespFilter.trim(res) self.parentWidget.ipRecvSignal.emit(res_display) self.sigGetRes.emit(self.case, res)