| | |
| | | { |
| | | protected override string Prefix |
| | | { |
| | | get { return $"{HStation.BLL.ConfigHelper.HttpUrl}/Assets/AssetsPumpMain"; } |
| | | get { return $"{HStation.BLL.Assets.ConfigHelper.HttpUrl}/Assets/AssetsPumpMain"; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public async Task<int> GetCount() |
| | | { |
| | | return await GetUrl("GetCount@V1.0").Get<int>(); |
| | | } |
| | | |
| | | public async Task<bool> DeleteMapByMainID(long ID) |
| | |
| | | return await GetUrl("GetByPumpSeriesID@V1.0").Get<List<AssetsPumpMainDto>>(paras); |
| | | } |
| | | |
| | | public Task<List<AssetsPumpPartMainDto>> GetPartByID(long ID) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | public async Task<long> InsertEx(AddAssetsPumpMainInput input, AddAssetsPumpGroupAndMainMapInput mainmap) |
| | | { |
| | | var paras = new List<(string Name, object Value)>() |