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

113 lines
2.5 KiB

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Threading;
using System.Windows;
using System.Windows.Forms;
using System.Windows.Input;
using GummingCommon;
using GummingEntity;
using GummingSupport;
using GummingControl;
using System.Text;
using GummingBusiness;
using Newtonsoft.Json;
using GummingLine;
namespace Gumming
{
public class LogViewModule : ViewModelBase
{
#region base parameters
private int rows = 20;
private int pagenumber = 1;
public LogView View { get; set; }
private bool IsConfirm;
private bool isLoading;
#endregion
#region constructor
public LogViewModule()
{
View = new LogView();
View.DataContext = this;
InitializeCommands();
InitializeParameters();
}
private void InitializeCommands()
{
}
public override void InitializeParameters(object content = null)
{
IsConfirm = false;
WindowTitle = "";
JobViewModule job = new JobViewModule();
JobView = job;
WarningViewModule warning = new WarningViewModule();
WarningView = warning;
OperationViewModule operation = new OperationViewModule();
OperationView = operation;
}
~LogViewModule()
{
}
#endregion
#region Binding Properties
public string WindowTitle { get; private set; }
private ViewModelBase _JobView;
public ViewModelBase JobView
{
get { return _JobView; }
set
{
_JobView = value;
OnPropertyChanged("JobView");
}
}
private ViewModelBase _WarningView;
public ViewModelBase WarningView
{
get { return _WarningView; }
set
{
_WarningView = value;
OnPropertyChanged("WarningView");
}
}
private ViewModelBase _OperationView;
public ViewModelBase OperationView
{
get { return _OperationView; }
set
{
_OperationView = value;
OnPropertyChanged("OperationView");
}
}
#endregion
#region Binding Commands
#endregion
#region Private Methods
#endregion
}
}