schangxiang@126.com
2025-11-04 f5ed29dc26c7cd952d56ec5721a2efc43cd25992
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataEntity;
namespace XImagingXhandler.XDAL
{
    /// <summary>
    /// 日志记录信息实体
    /// </summary>
    public class LogInformation:IEntity
    {
        /// <summary>
        /// 日志编号
        /// </summary>
        public string log_id { get; set; }
 
        private string _log_name = "";
        /// <summary>
        /// 日志名称
        /// </summary>
        public string log_name
        {
            get { return _log_name; }
            set
            {
                if (log_name == value) return; // 避免重复设置相同的值
                _log_name = value;
                OnPropertyChanged(nameof(log_name));
            }
        }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime _time_stamp { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime time_stamp
        {
            get { return _time_stamp; }
            set
            {
                if (time_stamp == value) return; // 避免重复设置相同的值
                _time_stamp = value;
                OnPropertyChanged(nameof(time_stamp));
            }
        }
 
        /// <summary>
        /// 日志类型
        /// </summary>
        private string _log_type { get; set; }
        /// <summary>
        /// 日志类型
        /// </summary>
        public string log_type
        {
            get { return _log_type; }
            set
            {
                if (log_type == value) return; // 避免重复设置相同的值
                _log_type = value;
                OnPropertyChanged(nameof(log_type));
            }
        }
        /// <summary>
        /// 日志内容描述
        /// </summary>
        private string _log_content { get; set; }
        /// <summary>
        /// 日志内容描述
        /// </summary>
        public string log_content
        {
            get { return _log_content; }
            set
            {
                if (log_content == value) return; // 避免重复设置相同的值
                _log_content = value;
                OnPropertyChanged(nameof(log_content));
            }
        }
        /// <summary>
        /// 日志存储的路径文件
        /// </summary>
        private string _log_filepath { get; set; }
        /// <summary>
        /// 日志存储的路径文件
        /// </summary>
        public string log_filepath
        {
            get { return _log_filepath; }
            set
            {
                if (log_filepath == value) return; // 避免重复设置相同的值
                _log_filepath = value;
                OnPropertyChanged(nameof(log_filepath));
            }
        }
 
    }
}