You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
830 B
35 lines
830 B
3 months ago
|
using System;
|
||
|
|
||
|
namespace Kean.Domain.Wcs.SharedServices.Proxies
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 库存域代理
|
||
|
/// </summary>
|
||
|
public sealed class StockProxy
|
||
|
{
|
||
|
private readonly IDomain _domain; // 域
|
||
|
|
||
|
/// <summary>
|
||
|
/// 依赖注入
|
||
|
/// </summary>
|
||
|
public StockProxy(IDomain domain) =>
|
||
|
_domain = domain;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 空托盘入库
|
||
|
/// </summary>
|
||
|
public System.Threading.Tasks.Task PalletIn(
|
||
|
string barcode,
|
||
|
int destination,
|
||
|
int material,
|
||
|
int @operator,
|
||
|
string tag) =>
|
||
|
_domain["Stock"].SharedService["PalletIn"].Invoke(
|
||
|
barcode,
|
||
|
destination,
|
||
|
material,
|
||
|
@operator,
|
||
|
tag);
|
||
|
}
|
||
|
}
|