alielie
2025-06-12 c1c3772a11b1f3fbad8846cc714120771d85fa53
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
using HMI.Core.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace HMI.DataViewer.Entity
{
    /// <summary>
    /// 筛选条件类
    /// </summary>
    public class QueryCondition : NotifyBase
    {
        /// <summary>
        /// 查询的键值
        /// </summary>
        private string key = string.Empty;
 
        /// <summary>
        /// 键值描述
        /// </summary>
        private string desc = string.Empty;
 
        /// <summary>
        /// 查询的键值
        /// </summary>
        public string Key
        {
            get { return this.key; }
            set { Set(ref key, value); }
        }
 
        /// <summary>
        /// 键值描述
        /// </summary>
        public string Desc
        {
            get { return this.desc; }
            set { Set(ref desc, value); }
        }
 
        private bool isTimeCol;
        public bool IsTimeCol
        {
            get => isTimeCol;
            set { Set(ref isTimeCol, value); }
        }
    }
}