You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
854 B
C#

This file contains ambiguous Unicode characters!

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
*创建人:韩荣伟
*创建时间2010-10-30
*参数描述void
*返回描述void
*功能描述:服务运行入口函数
*/
static void Main()
{
ServiceBase[] ServicesToRun;
ServicesToRun = new ServiceBase[]
{
new NYJLCommService()
};
Common.platForm.Start();
//ServiceBase.Run(ServicesToRun);
}
}
}