| | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public class PumpPropContent : BaseCAL<AddPumpPropContentDto, UpdatePumpPropContentDto, PumpPropContentDto>, IPumpPropContent |
| | | public class AssetsPumpPropContent : BaseCAL<AddAssetsPumpPropContentInput, UpdateAssetsPumpPropContentInput, AssetsPumpPropContentDto>, IAssetsPumpPropContent |
| | | { |
| | | protected override string Prefix |
| | | { |
| | | get { return $"{HStation.BLL.ConfigHelper.HttpUrl}/Assets/PumpPropContent"; } |
| | | get { return $"{HStation.BLL.Assets.ConfigHelper.HttpUrl}/Assets/AssetsPumpPropContent"; } |
| | | } |
| | | |
| | | public async Task<List<PumpPropContentDto>> GetByPumpPartID(long pumpPartId) |
| | | 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<PumpPropContentDto>>(paras); |
| | | return await GetUrl("GetByPumpPartID@V1.0").Get<List<AssetsPumpPropContentDto>>(paras); |
| | | } |
| | | } |
| | | } |