TPMTaskService/AdapterTaskService/Program.cs
2024-03-01 15:49:08 +08:00

20 lines
710 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace AdapterTaskService
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("[" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "]启动TPMTaskService");
try
{
AdapterService service = new AdapterService();
service.Start();
Console.WriteLine("[" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "]启动TPMTaskService服务成功");
}
catch (Exception ex)
{
Console.WriteLine("[" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "]启动TPMTaskService服务失败详情" + ex.Message);
}
}
}
}