You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
928 B
C#

using Prism.Events;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Txgy.EWS.Client.IBLL;
namespace Txgy.EWS.Client.PageModule.ViewModels
{
public class SearchViewModel:BindableBase
{
private DateTime _startTime;
/// <summary>
/// 起始时间
/// </summary>
public DateTime StartTime
{
get { return _startTime; }
set
{
SetProperty(ref _startTime, value);
}
}
private DateTime _endTime;
private readonly IEventAggregator ea;
private readonly ISearchMsEventBLL searchMsEventBLL;
public DateTime EndTime
{
get { return _endTime; }
set { SetProperty(ref _endTime, value); }
}
public SearchViewModel(IEventAggregator ea, ISearchMsEventBLL searchMsEventBLL)
{
this.ea = ea;
this.searchMsEventBLL = searchMsEventBLL;
}
}
}