using HH.AMS.Ex.Factroy;
using HH.AMS.Ex.Interface;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HH.AMS.Ex.BLL
{
///
/// AutoBom Bll
///
public class AutoBomBLL
{
private IAutoBomInterface dal = DataAccess.CreateAutobomSystem();
///
/// 获取货位信息
///
///
public DataTable GetLocationList()
{
return dal.GetLocationList();
}
public DataTable GetDataTable(string sql) {
return dal.GetDataTable(sql);
}
///
/// 获取货位与AGV站点关系信息
///
///
public DataTable GetLocationAgvCodeList()
{
return dal.GetLocationAgvCodeList();
}
///
/// 获取仓库
///
///
public DataTable GetStock()
{
return dal.GetStock();
}
///
/// 获取数据字典
///
///
public DataTable GetDictList()
{
return dal.GetDictList();
}
///
/// 根据仓库获取排
///
///
///
public DataTable GetAllRow(string stockCode)
{
return dal.GetAllRow(stockCode);
}
///
/// 获取货位分页数据
///
///
///
///
///
///
///
///
public DataTable GetLocationList(int pageIndex, int pageSize, string strWhere, string orderBy, out int total, out int totalPage)
{
return dal.GetLocationList(pageIndex, pageSize, strWhere, orderBy, out total, out totalPage);
}
}
}