using System; using System.Collections.Generic; using System.Linq; using System.Web; using Estsh.Web.Util; using System.Data; using Estsh.Web.Dal; using System.Collections; namespace Estsh.Core.Services { public class PDLineStandbyQueryService { private PDLineStandbyQueryDal dal = new PDLineStandbyQueryDal(RemotingProxyProvider._remotingProxy); /// /// 获得产线 /// /// public Hashtable GetPdLine() { return dal.GetPdLine(); } /// /// 获得总成类型 /// /// public Hashtable GetSeatType() { return dal.GetSeatType(); } /// /// 获得停线时间类型 /// /// public Hashtable GetStandbyTimeType() { return dal.GetStandbyTimeType(); } /// /// 获得状态类型 /// /// public Hashtable GetStatusType() { return dal.GetStatusType(); } /// /// 获得最小停线时间列表 /// /// public Hashtable GetTimeLowLimit() { return dal.GetTimeLowLimit(); } /// /// 获得班别 /// /// public Hashtable GetShiftData() { return dal.GetShiftData(); } /// /// 获得部门 /// /// public Hashtable GetDeptInfo() { return dal.GetDeptInfo(); } public DataTable GetStandbyInfo(ref Pager page, string pdLineId, string seatType, string shiftName, string status, string deptName, string standbyLowLimit, string standbyTimeType, string startTime, string endTime) { return dal.GetStandbyInfo(ref page, pdLineId, seatType, shiftName, status, deptName, standbyLowLimit, standbyTimeType, startTime, endTime); } public bool UpdatdStandbyInfo(int ruid, string reason, string deptName, string action, string status) { return dal.UpdatdStandbyInfo(ruid, reason, deptName, action, status); } } }