将所有的仓库异步方法都在名称后面添加Async
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using PMSWPF.Models;
|
||||
using S7.Net; // Add this using directive
|
||||
using S7.Net; // AddAsync this using directive
|
||||
|
||||
namespace PMSWPF.ViewModels.Dialogs;
|
||||
|
||||
@@ -25,7 +25,7 @@ public partial class DeviceDialogViewModel : ObservableObject
|
||||
_device = device;
|
||||
}
|
||||
|
||||
// Add a property to expose CpuType enum values for ComboBox
|
||||
// AddAsync a property to expose CpuType enum values for ComboBox
|
||||
public Array CpuTypes => Enum.GetValues(typeof(CpuType));
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user