Ejemplo n.º 1
0
 protected void Application_End(object sender, EventArgs e)
 {
     StaticService.StopService();
 }
Ejemplo n.º 2
0
 protected void Application_Start(object sender, EventArgs e)
 {
     // 开启系统服务接受终端发送的数据
     StaticService.StartService();
 }