public static void Sync()
 {
     AutoClock.Regist(() =>
     {
         CheckData cd = new CheckData {
             CheckTime = DateTime.Now, CheckResult = Do()
         };
         cd.Insert();
         Console.WriteLine("{0} 开始检测 返回{1}", cd.CheckTime, cd.CheckResult);
     }, 60 * 60 * 3);
 }
 public static void Sync()
 {
     AutoClock.Regist(() =>
     {
         CheckData cd = new CheckData { CheckTime = DateTime.Now, CheckResult = Do() };
         cd.Insert();
         Console.WriteLine("{0} 开始检测 返回{1}", cd.CheckTime, cd.CheckResult);
     }, 60 * 60 * 3);
 }