using MESClassLibrary.DAL.BasicInfo; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; namespace MESClassLibrary.BLL.BasicInfo { public class BasicBLL1 { private BasicDAL1 _basicDAL1 = new BasicDAL1(); public DataTable GetPackageSize() { return _basicDAL1.GetPackageSize(); } public string GetInjectionChangedSizePass() { DataTable dt = _basicDAL1.GetInjectionChangedSizePass(); if(dt.Rows.Count > 0) { return dt.Rows[0]["value"].ToString(); } return "123456"; } } }