def EIGHT_OFF(self): self.setEnabled_False() self.DBA = Modbus5_crc(int(self.lineEdit.text()), 0x07, 0x00) #time.sleep(0.1) #time.sleep(0.2) self.startTimer() self.send_data()
def SEVEN_ON(self): self.setEnabled_False() self.DBA = Modbus5_crc(int(self.lineEdit.text()), 0x06, 0xFF) #time.sleep(0.1) #time.sleep(0.2) self.startTimer() self.send_data()