using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMAPP.BLL;
using QMAPP.FJC.Entity.Operation;
using QMAPP.FJC.DAL.Operation;
using QMAPP.KB.Entity;
namespace QMAPP.FJC.BLL.Operation
{
public class CastCounterBLL : BaseBLL
{
///
/// 获取浇注设置信息
///
///
public CastCounter Get()
{
CastCounter cast = new CastCounterDAL().Get();
return cast;
}
///
/// 更新浇注设置信息
///
///
public DataResult Update(CastCounter cast)
{
DataResult result = new DataResult();
result.IsSuccess = true;
try
{
new CastCounterDAL().UpdateConfig(cast);
}
catch (Exception ex)
{
result.IsSuccess = false;
}
return result;
}
}
}