using System; using System.Collections.Generic; using System.Linq; using System.Text; using ICSSoft.Frame.Data.Entity; using ICSSoft.Frame.Data.DAL; using System.Data; namespace ICSSoft.Frame.APP { public class ICSPictureBLL { /// /// 获取图纸信息 /// /// 工序 /// 工艺路线 /// 版本 /// 图纸名称 /// public static string SearchPath(String no, String prcvno, String ver, String type, String partno) { try { return ICSPictureDAL.SearchPath(no, prcvno, ver, type, partno); } catch (Exception ex) { throw ex; } } /// /// 获取图纸信息所有类型 /// /// 工序 /// 工艺路线 /// 版本 /// 图号(物料规格) /// 图纸名称List /// public static DataTable SearchPathALL(String no, String prcvno, String ver, string partno, List typeList) { try { return ICSPictureDAL.SearchPathALL(no, prcvno, ver, partno, typeList); } catch (Exception ex) { throw ex; } } /// /// 获取图纸信息Item /// /// 物料编码 /// 图纸地址 public static string SearchPathItem(String ItemCode, String type) { try { return ICSPictureDAL.SearchPathItem(ItemCode, type); } catch (Exception ex) { throw ex; } } /// /// 拆分工艺路线 ,获取工艺路线和版本号 /// /// MES工艺路线 /// 返回PLM工艺路线 /// 返回版本号 /// public static void GetRouteVersion(String RouteCodeOLD, ref string RouteCode, ref string Version) { try { ICSPictureDAL.GetRouteVersion(RouteCodeOLD, ref RouteCode, ref Version); } catch (Exception ex) { throw ex; } } } }