| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- 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<ComBasePhyEntity> QueryPhy()
- {
- return EntityHelper.GetData<ComBasePhyEntity>(
- "com.steering.pss.qcm.DAL.ComBasePhyRSizeDAL.queryPhy", null, _ob);
- }
- public List<ComBasePhyRSizeEntity> QueryPhySize(string phyCode)
- {
- return EntityHelper.GetData<ComBasePhyRSizeEntity>("com.steering.pss.qcm.DAL.ComBasePhyRSizeDAL.queryPhySize",
- new object[] { phyCode }, _ob);
- }
- public void Save(List<ComBasePhyRSizeEntity> phyRSizeList)
- {
- List<string> listJSON = new List<string>();
- foreach (ComBasePhyRSizeEntity phyRSize in phyRSizeList)
- {
- listJSON.Add(JSONFormat.Format(phyRSize));
- }
- ServerHelper.SetData("com.steering.pss.qcm.DAL.ComBasePhyRSizeDAL.save",
- new object[] { listJSON }, _ob);
- }
- }
- }
|