using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace IStation.DataDockingSocket
|
{
|
/// <summary>
|
/// 生成调试信息辅助类
|
/// </summary>
|
internal class DebugHelper
|
{
|
private const string _logName = "socket-nt";
|
|
/// <summary>
|
/// 生成
|
/// </summary>
|
public static void Debug(List<Model.MonitorDataDockingReceiveRecord> rece_list)
|
{
|
if (rece_list == null || rece_list.Count < 1)
|
return;
|
var json = JsonHelper.Object2Json(rece_list);
|
LogHelper.Custom(_logName, json);
|
}
|
}
|
}
|