|
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
|
{
|
/// <summary>
|
/// AutoBom Bll
|
/// </summary>
|
public class AutoBomBLL
|
{
|
private IAutoBomInterface dal = DataAccess.CreateAutobomSystem();
|
|
/// <summary>
|
/// 获取货位信息
|
/// </summary>
|
/// <returns></returns>
|
public DataTable GetLocationList()
|
{
|
return dal.GetLocationList();
|
}
|
public DataTable GetDataTable(string sql) {
|
return dal.GetDataTable(sql);
|
}
|
/// <summary>
|
/// 获取货位与AGV站点关系信息
|
/// </summary>
|
/// <returns></returns>
|
public DataTable GetLocationAgvCodeList()
|
{
|
return dal.GetLocationAgvCodeList();
|
}
|
|
/// <summary>
|
/// 获取仓库
|
/// </summary>
|
/// <returns></returns>
|
public DataTable GetStock()
|
{
|
return dal.GetStock();
|
}
|
|
/// <summary>
|
/// 获取数据字典
|
/// </summary>
|
/// <returns></returns>
|
public DataTable GetDictList()
|
{
|
return dal.GetDictList();
|
}
|
|
/// <summary>
|
/// 根据仓库获取排
|
/// </summary>
|
/// <param name="stockCode"></param>
|
/// <returns></returns>
|
public DataTable GetAllRow(string stockCode)
|
{
|
return dal.GetAllRow(stockCode);
|
}
|
|
/// <summary>
|
/// 获取货位分页数据
|
/// </summary>
|
/// <param name="pageIndex"></param>
|
/// <param name="pageSize"></param>
|
/// <param name="strWhere"></param>
|
/// <param name="orderBy"></param>
|
/// <param name="total"></param>
|
/// <param name="totalPage"></param>
|
/// <returns></returns>
|
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);
|
}
|
}
|
}
|