|
@@ -46,15 +46,24 @@ namespace PLCTool.ViewModels.BusinessManageViewModel
|
|
|
QueryCommand = new DelegateCommand<object>(Query);
|
|
|
ResetCommand = new DelegateCommand<object>(Reset);
|
|
|
ExportCommand = new DelegateCommand<string>(Export);
|
|
|
+ OnLoadCommand = new DelegateCommand(OnLoad);
|
|
|
GetConfigOption();
|
|
|
- GetContent();
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- #region 私有方法
|
|
|
|
|
|
+
|
|
|
+ #region 私有方法
|
|
|
+ /// <summary>
|
|
|
+ /// 每次进入页面加载
|
|
|
+ /// </summary>
|
|
|
+ private void OnLoad()
|
|
|
+ {
|
|
|
+ GetContent();
|
|
|
+ }
|
|
|
private void Reset(object obj)
|
|
|
{
|
|
|
ScheduleName = string.Empty;
|
|
@@ -263,7 +272,9 @@ namespace PLCTool.ViewModels.BusinessManageViewModel
|
|
|
|
|
|
public DelegateCommand<string> ExportCommand { set; get; }
|
|
|
|
|
|
+ public DelegateCommand OnLoadCommand { set; get; }
|
|
|
|
|
|
+
|
|
|
#endregion
|
|
|
#region 数据绑定
|
|
|
/// <summary>
|