// public static void Create(string logValue, string operates, string editor) { SysLog model = new SysLog(); model.Editor = editor; model.IpAdd = Component.GetClientIP(); model.LogValue = logValue; model.MacAdd = Component.GetMac(); model.Operates = operates; new SysLogDal().Create(model); }