def __init__(self, widgets):
    self.recvParams = RecvParams()
    self.monitorParams = MonitorParams()
    self.widgets = widgets
    self.stat = 0
    self.shareObj = RecvShareObject()
    self.th_recv = None
    self.th_monitor = None
def __init__(self, widgets):
    self.recvParams = RecvParams()
    self.monitorParams = MonitorParams()
    self.widgets = widgets
    self.stat = 0
    self.shareObj = RecvShareObject()
    self.th_recv = None
    self.th_monitor = None