IBinPickerService.cs 335 字节
using IndustrialControl.Models;
using IndustrialControl.Pages;

public interface IBinPickerService
{
    Task<BinInfo?> PickAsync(string? preselectBin = null);
}

public class BinPickerService : IBinPickerService
{
    public Task<BinInfo?> PickAsync(string? preselectBin = null)
        => BinPickerPage.ShowAsync(preselectBin);
}