009_DI-Elec/newFront/c#前端/SWS.Service/PlotLayoutService.cs
2025-08-15 15:36:40 +08:00

32 lines
850 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using SWS.Commons;
using SWS.Model;
namespace SWS.Service
{
public class PlotLayoutService : HttpService
{
public PlotLayoutService() : base()
{
}
public async Task<List<LayoutTagInfoBrief>> GetBasePointByDwg(string keyProp, string keyOperator, string keyValue, string drawingId)
{
var res = await this.GetAsync<List<LayoutTagInfoBrief>>($"PlotLayoutApi/GetBasePointByDwg?keyProp={keyProp}&keyOperator={keyOperator}&keyValue={keyValue}&drawingId={drawingId}&ProjectId={GlobalObject.curProject.ProjectId}");
if (res.code == 200)
{
return res.data;
}
else
{
}
return null;
}
}
}