This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;
namespace CommService
{
/*
*类名称:Program
*创建人:韩荣伟
*创建时间:2010-10-30
*功能描述:程序管理类
*/
static class Program //程序管理类
*方法名称:Main
*参数描述:void
*返回描述:void
*功能描述:服务运行入口函数
static void Main()
ServiceBase[] ServicesToRun;
ServicesToRun = new ServiceBase[]
new NYJLCommService()
};
Common.platForm.Start();
//ServiceBase.Run(ServicesToRun);
}