Sic.Framework-Nanjing-Baishi/MECF.Framework.UI.Client/CenterViews/DataLogs/ProcessHistory/ProcessHistoryInfMessageBox...

41 lines
1.1 KiB
C#
Raw Normal View History

using OpenSEMI.ClientBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MECF.Framework.UI.Client.CenterViews.DataLogs.ProcessHistory
{
public class ProcessHistoryInfMessageBoxViewModel : DialogViewModel<string>
{
public List<RecipeProcessHistoryData> RecipeProcessHistoryDataList { get; set; }
public RecipeProcessHistoryData RecipeProcessHistoryData { get; set; }
public ProcessHistoryInfMessageBoxViewModel(string startDateTime,string endDateTime,string pm)
{
RecipeProcessHistoryDataList = ProcessHistorySqlHelp.QueryRecipeProcessHistoryData(startDateTime, endDateTime,pm);
Refresh();
}
public void DoubleClickItem()
{
IsCancel = false;
TryClose(true);
}
public void OK()
{
IsCancel = false;
TryClose(true);
}
public void Cancel()
{
IsCancel = true;
TryClose(false);
}
}
}