def __new__(cls, *args, **keys):
    if (cls._instance is None):
        cls._instance = object.__new__(cls)
        cls.datalen = tk.IntVar(value=0)
        cls.bps = tk.StringVar(value='0 bps')
        cls.pps = tk.IntVar(value=0)
        cls.recv_btn = tk.StringVar(value='受信開始')
        cls.pps.trace_add('write', HachiUtil.UpdateBps(cls.datalen, cls.pps, cls.bps))
    return cls._instance
def __new__(cls, *args, **keys):
    if (cls._instance is None):
        cls._instance = object.__new__(cls)
        cls.datalen = tk.IntVar(value=0)
        cls.bps = tk.StringVar(value='0 bps')
        cls.pps = tk.IntVar(value=0)
        cls.recv_btn = tk.StringVar(value='受信開始')
        cls.pps.trace_add('write', HachiUtil.UpdateBps(cls.datalen, cls.pps, cls.bps))
    return cls._instance