消除所有错误,重新构建
This commit is contained in:
@@ -2,7 +2,6 @@ using System.Windows;
|
||||
using DMS.Core.Helper;
|
||||
using DMS.WPF.ViewModels.Dialogs;
|
||||
using iNKORE.UI.WPF.Modern.Controls;
|
||||
using DMS.WPF.Models;
|
||||
|
||||
namespace DMS.WPF.Views.Dialogs;
|
||||
|
||||
@@ -14,14 +13,14 @@ public partial class DeviceDialog
|
||||
DataContext = viewModel;
|
||||
|
||||
// Log the ProtocolType value
|
||||
if (viewModel.Device != null)
|
||||
{
|
||||
NlogHelper.Info($"DeviceDialog opened. Device ProtocolType: {viewModel.Device.ProtocolType}");
|
||||
}
|
||||
else
|
||||
{
|
||||
NlogHelper.Info("DeviceDialog opened. Device is null.");
|
||||
}
|
||||
// if (viewModel.Device != null)
|
||||
// {
|
||||
// NlogHelper.Info($"DeviceDialog opened. Device ProtocolType: {viewModel.Device.ProtocolType}");
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// NlogHelper.Info("DeviceDialog opened. Device is null.");
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user