/// <summary> /// 加载远程打印机(不需收银时) /// </summary> /// <returns></returns> public async Task LoadRemotePrinterAsync() { var printers = await Request.GetPrintersAsync(Business.Id); if (printers != null) { printers.ForEach(a => { var printer = new Printer { Device = a }; if (printer.Device.State == 1) { printer.Open(); Printers.Add(printer); } }); } }