using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data;
using QMAPP.MESReport.Entity.LineQTY;
using QMAPP.MESReport.DAL.LineQTY;
using QMAPP.BLL;
using QMAPP.Entity;
using System.Data;
namespace QMAPP.MESReport.BLL.LineQTY
{
///
/// 生产每日工序设备情况统计-逻辑层对象
/// 创建人:李炳海 于子清 1
/// 创建时间:2017.09.22
///
public class LineDWQTYCountBLL : BaseBLL
{
///
/// 获取各工序设备日生产情况
///
public DataPage GetDayEquQTYByWorkCell(LineQtyCondition condition, DataPage page)
{
return page;
}
#region 获取列表
///
/// 获取列表
///
/// 条件
/// 数据页
/// 数据页
public DataResult GetList(LineDayQTYCount condition, DataPage page)
{
DataResult result = new DataResult();
try
{
//获取工厂信息列表
DataPage dataPage = new LineDWQTYCountDAL().GetList(condition, page);
result.Result = dataPage;
}
catch (Exception ex)
{
result.IsSuccess = false;
throw ex;
}
result.IsSuccess = true;
return result;
}
///
/// 获取列表
///
/// 条件
/// 全部集合
public List GetAllList(LineDayQTYCount condition)
{
try
{
//获取物料信息列表
List list = new LineDWQTYCountDAL().GetAllList(condition);
return list;
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 获取导出的数据
///
/// 获取导出的数据
///
/// 查询条件
/// 数据
public DataTable GetExportData(LineDayQTYCount condition)
{
return new LineDWQTYCountDAL().GetExportData(condition);
}
#endregion
}
}