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); }
|
}
|
}
|
}
|