You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.3 KiB
C#
48 lines
1.3 KiB
C#
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
|
|
{
|
|
/// <summary>
|
|
///分垛入库业务处理
|
|
/// </summary>
|
|
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 扫码入库处理
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="SNCode">成品码</param>
|
|
/// <param name="scannerIp">扫码器ip</param>
|
|
/// <returns></returns>
|
|
public async Task InStore(string SNCode,string scannerIp)
|
|
{
|
|
List<ScannerModel> allScanners = Appsettings.app<ScannerModel>("ScannerServer").ToList();
|
|
ScannerModel model = allScanners.FirstOrDefault(x => x.Ip == scannerIp);
|
|
}
|
|
#endregion
|
|
}
|
|
} |