using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WindowsFormsApp1.entity { class LogInfo { public const int TYPE_SAFE = 1;//正常的日志 public const int TYPE_DENGER = -1;//危险的日志 public const int TYPE_NORMAL = 0;//危险的日志 private DateTime time; private String content; private int type; public LogInfo(DateTime time, String content, int type) { this.time = time; this.content = content; this.type = type; } public DateTime Time { get { return time; } set { this.time = value; } } public String Content { get { return content; } set { this.content = value; } } public int Type { get { return type; } set { this.type = value; } } } }