using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HH.WMS.Common.External { /// /// 日志内容类型 /// public static class LogType { public static string PdaApiXme = "API-小木耳PDA接口"; public static string CheckTempService = "温度检测服务"; public static string CheckTempServiceYuJun = "育菌温度检测服务"; public static string CheckTempServiceLengCang = "冷藏温度检测服务"; public static string InWorkArea = "入作业区"; public static LogPara LogPara(string logType) { var logPara = new LogPara(logType); Log.Detail(logPara.LogType, "---------------------------------------------------------"); return logPara; } } public class LogPara { public LogPara(string logType) { LogIndex = 0; this.LogType = logType; logPara = new TOOLS.LOG.LogPara(logType); } public string LogType { get; set; } public int LogIndex { get; set; } public HH.TOOLS.LOG.LogPara logPara { get; set; } } }