using Masuit.Tools; using WIDESEA_Common; using WIDESEA_DTO; using WIDESEA_IStoragIntegrationServices; namespace WIDESEA_StoragIntegrationServices; public class CellStateService : ICellStateService { /// /// 单电芯属性获取 /// /// 电芯数据 /// public async Task GetCellStateAsync(CellStateDto input) { try { var inputJson = input.ToDictionary(); var x = await HttpsClient.PostAsync("https://localhost:7251/api/CellState/GetCellState", inputJson); } catch (Exception err) { Console.WriteLine(err.Message.ToString()); } return Task.FromResult(null); } /// /// 整盘电芯属性获取 /// /// 电芯数据 /// public async Task GetTrayCellStatusAsync(TrayCellsStatusDto input) { try { var inputJson = input.ToDictionary(); var x = await HttpsClient.PostAsync("https://localhost:7251/api/CellState/GetCellState", inputJson); } catch (Exception err) { Console.WriteLine(err.Message.ToString()); } return Task.FromResult(null); } }