33 lines
867 B
C#
33 lines
867 B
C#
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 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;
|
|
}
|
|
|
|
}
|
|
}
|