using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IntelligentControlForsx.Service.WindturbineControl.Domain.Cmd; namespace IntelligentControlForsx.Service.ControlLog.Domain { public class SearchCondition { public bool ByUserId; private int userId; public int UserId { set { userId = value; ByUserId = true; } get { return userId; } } public bool ByControlType; private CmdType controlType; public CmdType ControlType { set { controlType = value; ByControlType = true; } get { return controlType; } } public bool ByWindturbineId; private string windturbineId; public string WindturbineId { set { windturbineId = value; ByWindturbineId = true; } get { return windturbineId; } } public bool ByStation; private string station; public string Station { set { station = value; ByStation = true; } get { return station; } } public DateTime? StartTime { set; get; } public DateTime? EndTime { set; get; } } }