diff --git a/BPASmartClient.CustomResource/Themes/GenricStyle.xaml b/BPASmartClient.CustomResource/Themes/GenricStyle.xaml
index 6b01fb56..8561efb6 100644
--- a/BPASmartClient.CustomResource/Themes/GenricStyle.xaml
+++ b/BPASmartClient.CustomResource/Themes/GenricStyle.xaml
@@ -538,6 +538,7 @@
+
@@ -558,11 +559,11 @@
diff --git a/BPASmartClient.ViewModel/LogOrAlarmViewModel.cs b/BPASmartClient.ViewModel/LogOrAlarmViewModel.cs
index c95602fb..bc48b94a 100644
--- a/BPASmartClient.ViewModel/LogOrAlarmViewModel.cs
+++ b/BPASmartClient.ViewModel/LogOrAlarmViewModel.cs
@@ -27,21 +27,40 @@ namespace BPASmartClient.ViewModel
///
/// 选中变量
///
- private bool _selectCombox = true;
- public bool SelectCombox
+ private string _SelectCombox;
+ public string SelectCombox
{
get
{
- return _selectCombox;
+ return _SelectCombox;
}
set
{
- if (_selectCombox == value)
+ if (_SelectCombox == value)
return;
- _selectCombox = value;
+ _SelectCombox = value;
OnPropertyChanged("SelectCombox");
}
}
+
+ ///
+ /// 时间条件
+ ///
+ private DateTime _DateTime;
+ public DateTime DateTimeStr
+ {
+ get
+ {
+ return _DateTime;
+ }
+ set
+ {
+ if (_DateTime == value)
+ return;
+ _DateTime = value;
+ OnPropertyChanged("DateTimeStr");
+ }
+ }
#endregion
#region Command
@@ -52,6 +71,7 @@ namespace BPASmartClient.ViewModel
#region 函数
public void Init()
{
+ DateTimeStr = DateTime.Now;
QueryCommand = new RelayCommand(() =>
{
diff --git a/BPASmartClient/Control/LogOrAlarmView.xaml b/BPASmartClient/Control/LogOrAlarmView.xaml
index 8bfc51c0..809221bf 100644
--- a/BPASmartClient/Control/LogOrAlarmView.xaml
+++ b/BPASmartClient/Control/LogOrAlarmView.xaml
@@ -20,7 +20,7 @@
-
+
@@ -31,10 +31,9 @@
错误日志
设备告警
-
-
-
-
+
+
+
diff --git a/BPASmartClient/Control/LogView.xaml b/BPASmartClient/Control/LogView.xaml
index 886b0319..dfa3fc63 100644
--- a/BPASmartClient/Control/LogView.xaml
+++ b/BPASmartClient/Control/LogView.xaml
@@ -27,8 +27,8 @@
-
-
+
+