Shuxia Ning
2025-01-08 7b4b2eb7dd57c29a4b3a75de8234ff9afcbe18d4
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);
        }
    }
}