消除所有错误,重新构建

This commit is contained in:
2025-07-26 10:05:43 +08:00
parent 3a3ed7a264
commit e292ea9da8
103 changed files with 4254 additions and 3783 deletions

View File

@@ -1,27 +1,22 @@
using System.Collections.ObjectModel;
using CommunityToolkit.Mvvm.ComponentModel;
using DMS.Data.Repositories;
using System.Threading.Tasks;
using DMS.WPF.Models;
using DMS.Services;
using DMS.WPF.Services;
using DMS.WPF.Models;
namespace DMS.WPF.ViewModels.Dialogs;
public partial class MqttSelectionDialogViewModel : ObservableObject
{
[ObservableProperty]
private ObservableCollection<Mqtt> mqtts;
[ObservableProperty]
private Mqtt? selectedMqtt;
public MqttSelectionDialogViewModel(DataServices dataServices)
{
Mqtts = new ObservableCollection<Mqtt>(dataServices.Mqtts);
}
// [ObservableProperty]
// private ObservableCollection<Mqtt> mqtts;
//
// [ObservableProperty]
// private Mqtt? selectedMqtt;
//
// public MqttSelectionDialogViewModel(DataServices dataServices)
// {
// Mqtts = new ObservableCollection<Mqtt>(dataServices.Mqtts);
// }
}