using System.Collections.Generic; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using SWS.Commons; using SWS.Model; using SWS.Share; namespace SWS.Service { public class PlotBOMService : HttpService { public PlotBOMService() : base() { } public async Task> GetBOMGroupInfo(string drawingId) { var res = await this.GetAsync>($"PlotBOMApi/GetBOMGroupInfo?drawingId={drawingId}&ProjectId={GlobalObject.curProject.ProjectId}"); if (res.code == 200) { return res.data; } else { } return null; } } }