def get_pid(self): data = MsgPrcs.pack_get_pid() rtn = self.send_data_by_frame(data) self.sbar.update(u"参数已经固定(%d)" % rtn)