2025-07-19 09:25:01 +08:00
|
|
|
using System.Windows;
|
|
|
|
|
using DMS.Core.Helper;
|
|
|
|
|
using DMS.WPF.ViewModels.Dialogs;
|
2025-06-12 13:15:55 +08:00
|
|
|
using iNKORE.UI.WPF.Modern.Controls;
|
|
|
|
|
|
2025-07-19 09:25:01 +08:00
|
|
|
namespace DMS.WPF.Views.Dialogs;
|
2025-06-12 13:15:55 +08:00
|
|
|
|
|
|
|
|
public partial class DeviceDialog
|
|
|
|
|
{
|
2025-07-27 21:08:58 +08:00
|
|
|
public DeviceDialog()
|
2025-06-12 13:15:55 +08:00
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
2025-07-05 01:31:44 +08:00
|
|
|
|
|
|
|
|
// Log the ProtocolType value
|
2025-07-26 10:05:43 +08:00
|
|
|
// if (viewModel.Device != null)
|
|
|
|
|
// {
|
|
|
|
|
// NlogHelper.Info($"DeviceDialog opened. Device ProtocolType: {viewModel.Device.ProtocolType}");
|
|
|
|
|
// }
|
|
|
|
|
// else
|
|
|
|
|
// {
|
|
|
|
|
// NlogHelper.Info("DeviceDialog opened. Device is null.");
|
|
|
|
|
// }
|
2025-06-12 13:15:55 +08:00
|
|
|
}
|
|
|
|
|
|
2025-06-23 17:01:06 +08:00
|
|
|
}
|