/// <summary>
 /// 单例
 /// </summary>
 /// <returns></returns>
 public static ConfigHeartbeatProtect Instance()
 {
     if (configHeartbeat == null)
     {
         lock (_lockheart)
         {
             configHeartbeat = new ConfigHeartbeatProtect();
         }
     }
     return(configHeartbeat);
 }
 /// <summary>
 /// 单例
 /// </summary>
 /// <returns></returns>
 public static ConfigHeartbeatProtect Instance()
 {
     if (configHeartbeat == null)
     {
         lock (_lockheart)
         {
             configHeartbeat = new ConfigHeartbeatProtect();
         }
     }
     return configHeartbeat;
 }