2025-07-05 18:15:21 +08:00
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
2025-07-19 11:11:01 +08:00
|
|
|
using DMS.WPF.Services;
|
2025-07-05 18:15:21 +08:00
|
|
|
|
2025-07-19 11:11:01 +08:00
|
|
|
namespace DMS.WPF.ViewModels.Dialogs;
|
2025-07-05 18:15:21 +08:00
|
|
|
|
|
|
|
|
public partial class MqttSelectionDialogViewModel : ObservableObject
|
|
|
|
|
{
|
|
|
|
|
|
2025-07-26 10:05:43 +08:00
|
|
|
// [ObservableProperty]
|
|
|
|
|
// private ObservableCollection<Mqtt> mqtts;
|
|
|
|
|
//
|
|
|
|
|
// [ObservableProperty]
|
|
|
|
|
// private Mqtt? selectedMqtt;
|
|
|
|
|
//
|
|
|
|
|
// public MqttSelectionDialogViewModel(DataServices dataServices)
|
|
|
|
|
// {
|
|
|
|
|
// Mqtts = new ObservableCollection<Mqtt>(dataServices.Mqtts);
|
|
|
|
|
// }
|
2025-07-05 18:15:21 +08:00
|
|
|
|
2025-07-17 20:13:21 +08:00
|
|
|
|
2025-07-05 18:15:21 +08:00
|
|
|
}
|