using Core.Mes.Client.Comm.Format; using Core.Mes.Client.Comm.Server; using Core.Mes.Client.Comm.Tool; using Core.StlMes.Client.Qcm.model; using CoreFS.CA06; using System.Collections.Generic; namespace Core.StlMes.Client.Qcm.BLL { class ComBasePhyRSizeBLL { private OpeBase _ob; public ComBasePhyRSizeBLL(OpeBase ob) { this._ob = ob; } public List QueryPhy() { return EntityHelper.GetData( "com.steering.pss.qcm.DAL.ComBasePhyRSizeDAL.queryPhy", null, _ob); } public List QueryPhySize(string phyCode) { return EntityHelper.GetData("com.steering.pss.qcm.DAL.ComBasePhyRSizeDAL.queryPhySize", new object[] { phyCode }, _ob); } public void Save(List phyRSizeList) { List listJSON = new List(); foreach (ComBasePhyRSizeEntity phyRSize in phyRSizeList) { listJSON.Add(JSONFormat.Format(phyRSize)); } ServerHelper.SetData("com.steering.pss.qcm.DAL.ComBasePhyRSizeDAL.save", new object[] { listJSON }, _ob); } } }