| | |
| | | using WIDESEAWCS_ITaskInfoRepository; |
| | | using WIDESEAWCS_ITaskInfoService; |
| | | using WIDESEAWCS_Model.Models; |
| | | using WIDESEAWCS_QuartzJob; |
| | | using WIDESEAWCS_QuartzJob.Models; |
| | | using WIDESEAWCS_QuartzJob.Service; |
| | | |
| | | |
| | | namespace WIDESEAWCS_TaskInfoService |
| | | { |
| | |
| | | /// <returns></returns> |
| | | public WebResponseContent ToPlatform(string palletCode) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | GenerateInv generate = new GenerateInv() |
| | | { |
| | | SourceAddress = "", |
| | | PalletCode = palletCode |
| | | }; |
| | | |
| | | return content = HttpHelper.Post<WebResponseContent>($"{urlQueryinventory}", generate); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | |
| | | throw; |
| | | } |
| | | |
| | | /*WebResponseContent content = new WebResponseContent(); |
| | | GenerateInv generate = new GenerateInv() |
| | | { |
| | | SourceAddress ="", |
| | | SourceAddress = "", |
| | | PalletCode = palletCode |
| | | }; |
| | | |
| | | return content = HttpHelper.Post<WebResponseContent>($"{urlQueryinventory}", generate); |
| | | content = HttpHelper.Post<WebResponseContent>($"{urlQueryinventory}", generate); |
| | | if (content != null) |
| | | { |
| | | if (content.Status) |
| | | { |
| | | return content; |
| | | } |
| | | } |
| | | return content = WebResponseContent.Instance.Error();*/ |
| | | } |
| | | |
| | | /// <summary> |