using System; using System.Collections.Generic; using System.Linq; using System.Text; using QMAPP.BLL; using QMFrameWork.Data; using QMAPP.FJC.Entity.ShipmentMonitor; using QMAPP.FJC.DAL.Monitor; namespace QMAPP.FJC.BLL.Monitor { /// /// 发运看板显示设置-逻辑层对象 /// 作 者:李炳海 /// 编写日期:2017年09月27日 /// public class ShipMonitorSetBLL:BaseBLL { /// /// 获取设置信息 /// /// 设置信息 public ShipMonitorSet Get() { try { return new ShipMonitorSetDAL().Get(); } catch (Exception ex) { throw ex; } } /// /// 保存设置信息 /// /// 设置信息 public void Save(ShipMonitorSet info) { try { ShipMonitorSet oldInfo = this.Get(); bool isNew = false; info.PID = "1"; isNew = oldInfo == null ? true : false; new ShipMonitorSetDAL().Save(info, isNew); } catch (Exception ex) { throw ex; } } } }