duheng
2025-01-10 2b31b7e3926134da96d384ab3bdac345691a179c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using Yw.CAL.HttpClient;
 
namespace HStation.CAL.HttpClient
{
    /// <summary>
    ///
    /// </summary>
    public class AssetsPumpPropContent : BaseCAL<AddAssetsPumpPropContentInput, UpdateAssetsPumpPropContentInput, AssetsPumpPropContentDto>, IAssetsPumpPropContent
    {
        protected override string Prefix
        {
            get { return $"{HStation.BLL.Assets.ConfigHelper.HttpUrl}/Assets/AssetsPumpPropContent"; }
        }
 
        public async Task<List<AssetsPumpPropContentDto>> GetByPumpPartID(long pumpPartId)
        {
            var paras = new List<(string Name, object Value)>()
            {
                (nameof(pumpPartId),pumpPartId)
            };
            return await GetUrl("GetByPumpPartID@V1.0").Get<List<AssetsPumpPropContentDto>>(paras);
        }
    }
}