|
|
@@ -128,13 +128,11 @@ namespace BPASmartClient.ViewModel |
|
|
|
LogDataGrid = new ObservableCollection<LogModel>(); |
|
|
|
DateTimeStr = DateTime.Now; |
|
|
|
BookExs.Add(new BookEx(new Book() { Name = "一般日志条件", Tag = "Info" }) { IsChecked = true }); |
|
|
|
BookExs.Add(new BookEx(new Book() { Name = "设备日志条件", Tag = "DeviceLog" })); |
|
|
|
BookExs.Add(new BookEx(new Book() { Name = "错误日志条件", Tag = "Error" })); |
|
|
|
BookExs.Add(new BookEx(new Book() { Name = "设备告警条件", Tag = "DeviceAlarm" })); |
|
|
|
SelectedText = "一般日志条件"; |
|
|
|
BookExs.Add(new BookEx(new Book() { Name = "设备日志条件", Tag = "DeviceLog" }) { IsChecked = true }); |
|
|
|
BookExs.Add(new BookEx(new Book() { Name = "错误日志条件", Tag = "Error" }) { IsChecked = true }); |
|
|
|
BookExs.Add(new BookEx(new Book() { Name = "设备告警条件", Tag = "DeviceAlarm" }) { IsChecked = true }); |
|
|
|
SelectBookExs = new ObservableCollection<BookEx>(); |
|
|
|
SelectBookExs.Add(new BookEx(new Book() { Name = "一般日志条件", Tag = "Info" }) { IsChecked = true }); |
|
|
|
|
|
|
|
ItemPropertyChanged(new BookEx(new Book() { Name = "一般日志条件", Tag = "Info" }) { IsChecked = true },new PropertyChangedEventArgs("IsChecked")); |
|
|
|
//查询 |
|
|
|
QueryCommand = new RelayCommand(() => |
|
|
|
{ |
|
|
|