| | |
| | | using System.Reflection; |
| | | using System.Reflection.Metadata; |
| | | using System.Security.Policy; |
| | | using System.Text; |
| | | using System.Text.RegularExpressions; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Cache; |
| | |
| | | _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 澶栭儴鎺ュ彛鏂规硶 |
| | | |