using Admin.Core.Common; using Aucma.Core.Scanner; using log4net; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Aucma.Core.Palletiz.Business { /// ///分垛入库业务处理 /// public class InstoreBusiness { #region 单例实现 private static readonly InstoreBusiness lazy = new InstoreBusiness(); public static InstoreBusiness Instance { get { return lazy; } } #endregion private static readonly log4net.ILog logHelper = LogManager.GetLogger(typeof(InstoreBusiness)); public void test() { } #region 扫码入库处理 /// /// /// /// 成品码 /// 扫码器ip /// public async Task InStore(string SNCode,string scannerIp) { List allScanners = Appsettings.app("ScannerServer").ToList(); ScannerModel model = allScanners.FirstOrDefault(x => x.Ip == scannerIp); } #endregion } }