用C#实现的WatchdogWatcher和ApplicationWatcher两种看门狗