using Masuit.Tools;
using WIDESEA_Common;
using WIDESEA_DTO;
using WIDESEA_IStoragIntegrationServices;
namespace WIDESEA_StoragIntegrationServices;
public class AgingInOrOutInputService : IAgingInOrOutInputService
{
///
/// 静置\陈化入库(整托盘)
///
/// 入库数据
///
public async Task GetOCVInputAsync(AgingInputDto input)
{
try
{
//TODO: Implement the logic to get the aging input for the given id
var inputJson = input.ToDictionary();
var x = await HttpsClient.PostAsync("https://localhost:7274/api/AgingInOrOutInput", inputJson);
}
catch (Exception err)
{
Console.WriteLine(err.Message.ToString());
}
return Task.FromResult(null);
}
///
/// 静置\陈化出库(整托盘)
///
/// 出库数据
///
public async Task GetOCVOutputAsync(AgingOutputDto input)
{
try
{
//TODO: Implement the logic to get the aging input for the given id
var inputJson = input.ToDictionary();
var x = await HttpsClient.PostAsync("https://localhost:7274/api/AgingInOrOutInput", inputJson);
}
catch (Exception err)
{
Console.WriteLine(err.Message.ToString());
}
return Task.FromResult(null);
}
}