namespace HStation.BLL
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public class XhsPumpPhartMappingStd : HStation.CAL.IXhsPumpPhartMappingStd
|
{
|
private readonly HStation.CAL.IXhsPumpPhartMappingStd _cal = CALCreateHelper.CreateCAL<HStation.CAL.IXhsPumpPhartMappingStd>();
|
|
/// <summary>
|
/// 通过 PumpID 获取
|
/// </summary>
|
public async Task<List<XhsPumpPhartMappingStdDto>> GetByPumpID(long PumpID)
|
{
|
return await _cal.GetByPumpID(PumpID);
|
}
|
|
/// <summary>
|
/// 通过 PumpIds 获取
|
/// </summary>
|
public async Task<List<XhsPumpPhartMappingStdDto>> GetByPumpIds(List<long> PumpIds)
|
{
|
return await _cal.GetByPumpIds(PumpIds);
|
}
|
|
/// <summary>
|
/// 通过 PumpID 获取默认
|
/// </summary>
|
public async Task<XhsPumpPhartMappingStdDto> GetDefaultByPumpID(long PumpID)
|
{
|
return await _cal.GetDefaultByPumpID(PumpID);
|
|
}
|
|
}
|
}
|