天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
1.3 KiB

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
{
/// <summary>
/// 发运看板显示设置-逻辑层对象
/// 作 者:李炳海
/// 编写日期:2017年09月27日
/// </summary>
public class ShipMonitorSetBLL:BaseBLL
{
/// <summary>
/// 获取设置信息
/// </summary>
/// <returns>设置信息</returns>
public ShipMonitorSet Get()
{
try
{
return new ShipMonitorSetDAL().Get();
}
catch (Exception ex)
{
throw ex;
}
}
/// <summary>
/// 保存设置信息
/// </summary>
/// <param name="info">设置信息</param>
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;
}
}
}
}