admin
2020-06-19 84616e6d524a7df88ebcca4b74aca42461f34605
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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; }
        }
 
    }
}