user_lt 1 rok pred
rodič
commit
33e72132a6

+ 2 - 1
BlankApp1/BlankApp1/ViewModels/BasicConfigViewModel/BaseConfigViewModel.cs

@@ -69,7 +69,8 @@ namespace PLCTool.ViewModels.BasicConfigViewModel
             DeviceName = string.Empty;
             TestName = string.Empty;
             SelectTest = string.Empty;
-  
+            StartTime = DateTime.MinValue;
+            EndTime = DateTime.MinValue;
         }
         /// <summary>
         /// 查询

+ 2 - 0
BlankApp1/BlankApp1/ViewModels/BusinessManageViewModel/QueryViewModel.cs

@@ -300,6 +300,8 @@ namespace PLCTool.ViewModels.BusinessManageViewModel
             DeviceName = string.Empty;
             TestName = string.Empty;
             SelectTest = string.Empty;
+            StartTime = DateTime.MinValue;
+            EndTime = DateTime.MinValue;
         }
 
         private void Query(object obj)

+ 2 - 0
BlankApp1/BlankApp1/ViewModels/BusinessManageViewModel/TestOperViewModel.cs

@@ -116,6 +116,8 @@ namespace PLCTool.ViewModels.BusinessManageViewModel
             DeviceName = string.Empty;
             TestName = string.Empty;
             SelectTest = string.Empty;
+            StartTime = DateTime.MinValue;
+            EndTime = DateTime.MinValue;
         }
         /// <summary>
         /// 查询