|
|
|
@ -17,20 +17,21 @@ namespace Aucma.Core.ProductOffLine.Business
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 入库业务逻辑
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class offLineBusiness
|
|
|
|
|
public class OffLineBusiness
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
#region 单例实现
|
|
|
|
|
//private static readonly InStoreBusiness lazy = new InStoreBusiness();
|
|
|
|
|
//public static InStoreBusiness Instance
|
|
|
|
|
//{
|
|
|
|
|
// get
|
|
|
|
|
// {
|
|
|
|
|
// return lazy;
|
|
|
|
|
// }
|
|
|
|
|
//}
|
|
|
|
|
private static readonly OffLineBusiness lazy = new OffLineBusiness();
|
|
|
|
|
public static OffLineBusiness Instance
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return lazy;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
System.Timers.Timer timer = new System.Timers.Timer(1000);
|
|
|
|
|
|
|
|
|
|
#region 接口引用
|
|
|
|
|
|
|
|
|
@ -52,12 +53,16 @@ namespace Aucma.Core.ProductOffLine.Business
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public offLineBusiness()
|
|
|
|
|
public OffLineBusiness()
|
|
|
|
|
{
|
|
|
|
|
_baseBomInfoService = App.ServiceProvider.GetService<IBaseBomInfoServices>();
|
|
|
|
|
BaseBomInfo bom = _baseBomInfoService.FirstAsync().Result;
|
|
|
|
|
Console.WriteLine();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public void test()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|