예제 #1
0
 def CheckTimer(self):
     timecontrol.Remove_Call_Out("loginrecord")
     pubdefines.FormatPrint("历史排行榜第一 %s" % self.m_Data.get("score1", 0))
     pubdefines.FormatPrint("历史排行榜第二 %s" % self.m_Data.get("score2", 0))
     pubdefines.FormatPrint("历史排行榜第三 %s" % self.m_Data.get("score3", 0))
     timecontrol.Call_Out(pubcore.Functor(self.CheckTimer), 300,
                          "loginrecord")
예제 #2
0
 def CheckTimer(self):
     timecontrol.Remove_Call_Out("loginrecord")
     pubdefines.FormatPrint("定时器统计:目前总连接记录 %s" % self.m_Data.get("total", 0))
     timecontrol.Call_Out(pubcore.Functor(self.CheckTimer), 300, "loginrecord")