| | |
| | | _wareAreaInfoRepository = wareAreaInfoRepository; |
| | | _inventoryRecordRepository = inventoryRecordRepository; |
| | | } |
| | | #region åå§åæåæº |
| | | public async Task<WebResponseContent> InitializationElevator() |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | | { |
| | | var address = GetWCSIPAddress("WCSIPAddress","InitializationElevator"); |
| | | if (address != null) |
| | | { |
| | | await HttpHelper.PostAsync(address, ""); |
| | | return content.OK("æå"); |
| | | } |
| | | return content.Error("失败"); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return content.Error(ex.Message); |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region å¤é¨æ¥å£æ¹æ³ |
| | | |
| | |
| | | Quantity = g.Sum(item => item.Quantity), |
| | | }) |
| | | .ToList(); |
| | | return new DtStockInfo() |
| | | { |
| | | PalletCode = task.PalletCode, |
| | | LocationCode = task.TargetAddress, |
| | | CreateDate = DateTime.Now, |
| | | Creater = "system", |
| | | IsFullExit = boxingInfo.IsFullExit, |
| | | StockInfoDetails = mergedDetails, |
| | | StockStatus = (int)StockStateEmun.å·²å
¥åº |
| | | }; |
| | | return new DtStockInfo() |
| | | { |
| | | PalletCode = task.PalletCode, |
| | | LocationCode = task.TargetAddress, |
| | | CreateDate = DateTime.Now, |
| | | Creater = "system", |
| | | IsFullExit = boxingInfo.IsFullExit, |
| | | StockInfoDetails = mergedDetails, |
| | | StockStatus = (int)StockStateEmun.å·²å
¥åº |
| | | }; |
| | | } |
| | | #endregion å
¥åºä»»å¡å®æ |
| | | |