|
|
@ -1,4 +1,5 @@
|
|
|
|
using System;
|
|
|
|
using HighWayIot.Log4net;
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using System.Threading.Tasks;
|
|
|
@ -8,6 +9,8 @@ namespace RFIDSocket
|
|
|
|
{
|
|
|
|
{
|
|
|
|
internal static class Program
|
|
|
|
internal static class Program
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
private static LogHelper logger = LogHelper.Instance;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 应用程序的主入口点。
|
|
|
|
/// 应用程序的主入口点。
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
@ -16,6 +19,7 @@ namespace RFIDSocket
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Application.EnableVisualStyles();
|
|
|
|
Application.EnableVisualStyles();
|
|
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
|
|
|
|
|
|
logger.Info("初始化启动");
|
|
|
|
Application.Run(new RFIDSocket());
|
|
|
|
Application.Run(new RFIDSocket());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|