添加项目文件。

This commit is contained in:
bnala committed 2025-02-04 17:29:49 +08:00
1 parent d68cdea124
commit faaf9136d6
51 files changed
+11674

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HslCommunication.LogNet;
namespace WindowsFormsApp1.server
{
public class LogExecute
{
public static ILogNet logNet = new LogNetDateTime("C:\\Log\\Logs", GenerateMode.ByEveryDay);
public static ILogNet PlclogNet = new LogNetDateTime("C:\\Log\\PlcLogs", GenerateMode.ByEveryDay);
public static ILogNet ApilogNet = new LogNetDateTime("C:\\Log\\Apilogs", GenerateMode.ByEveryHour);
public static HslCommunication.BasicFramework.SoftNumericalOrder softNumericalOrder = new HslCommunication.BasicFramework.SoftNumericalOrder("", "yyyyMMdd", 4, @"\numericalOrder.txt");
public LogExecute()
{
#region 日志
//设置日志发布等级及触发时间
//logNet.SetMessageDegree(HslMessageDegree.INFO);//除DEBUG外,都存储
#endregion 日志
}
}
}