using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Mvc; using Tiger.IBusiness; using Tiger.IBusiness.WMS.T100ToWMS; namespace Tiger.Api.Controllers.WMS { /// /// 仓库业务流程 /// [EnableCors("Any")] [ApiController] public partial class WMSController : ControllerBase { /// /// 通过容器解析接口 /// private readonly IAGV _IAGV; //AutoFacContainer.Instance.Resolve(); /// /// /// private readonly IReceiptInfo _IReceiptInfo; /// /// /// private readonly IInventroyInfo _IInventroyInfo = DI.Resolve(); /// /// 出库信息接口层 /// public readonly IOtherOutInfoBusiness _otherBus; /// /// 出货通知单接口层 /// /// public readonly ISaleOutInfoBusiness _ISaleOut; /// /// 调拨单信息 /// public readonly ITrasferInfoBusiness _trasferBus; /// /// 库存信息 /// public readonly IStockInfoBusiness _stockBus; /// /// 成品入库 /// public readonly IProductInputBusiness _inputBus; /// /// 成品出库 /// public readonly IProductOutputBusiness _outputBus; /// /// 分合箱 /// public readonly ISplitBoxBusiness _boxBus; /// /// 重工 /// public readonly IReworkBusiness _reworkBux; /// /// 构造函数 /// /// /// /// /// /// /// /// /// /// /// // public WMSController(IUpdateMReqStatus UpdateMReqStatus, IReceiptInfo iReceiptInfo, IOtherOutInfoBusiness otherBus, ITrasferInfoBusiness trasferBus, IStockInfoBusiness stockBus) //构造函数注入 public WMSController(IAGV iAGV, IReceiptInfo iReceiptInfo, IOtherOutInfoBusiness otherBus, ISaleOutInfoBusiness IsaleOut, ITrasferInfoBusiness trasferBus, IStockInfoBusiness stockBus, IProductInputBusiness inputBus, IProductOutputBusiness outputBus, ISplitBoxBusiness boxBus, IReworkBusiness reworkBux) //构造函数注入 { _IAGV = iAGV; _IReceiptInfo = iReceiptInfo; _otherBus = otherBus; _ISaleOut = IsaleOut; _trasferBus = trasferBus; _stockBus = stockBus; _inputBus = inputBus; _outputBus = outputBus; _boxBus = boxBus; _reworkBux = reworkBux; } } }