win服务:
using System.ServiceProcess;
继承 ServiceBase 即可
定时器:
private System.Timers.Timer PushOrderTimer;
绑定事件Elapsed private void PushOrderTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)