lixiaojun
2024-07-11 da1c001309ed262c55514633490ab8c1b8f68916
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
namespace Yw.CAL.HttpClient
{
    /// <summary>
    /// 
    /// </summary>
    public class BimfaceFileStd : BaseCAL, IBimfaceFileStd
    {
        protected override string Prefix
        {
            get { return $"{Yw.BLL.Bimface.ConfigHelper.HttpUrl}/Bimface/File/Std"; }
        }
 
        /// <summary>
        /// 
        /// </summary>
        public async Task<List<BimfaceFileStdDto>> GetAll()
        {
            return await GetUrl("GetAll@V1.0").Get<List<BimfaceFileStdDto>>();
        }
 
        /// <summary>
        /// 
        /// </summary>
        public async Task<BimfaceFileStdDto> GetByID(long ID)
        {
            var paras = new List<(string Name, object Value)>()
            {
                (nameof(ID),ID)
            };
            return await GetUrl("GetByID@V1.0").Get<BimfaceFileStdDto>(paras);
        }
 
    }
}