public static string PostLot(string modelno, out string key) { XmlDocument xmlDoc = XMLHelpler.CreateLotXml(modelno, PostParams.P_I.StrTempLot); string returnValue = CIM.C_I.WriteData(XMLHelpler.XMLToString(xmlDoc), out key); XMLHelpler.SaveXml(xmlDoc, "Post-" + key, PostType.Lot); return(returnValue); }
public static string PostTrackOut(List <string> list, string modelno, out string key) { XmlDocument xmlDoc = XMLHelpler.CreateTrackoutXml(list, modelno, PostParams.P_I.StrLot); string returnValue = CIM.C_I.WriteData(XMLHelpler.XMLToString(xmlDoc), out key); XMLHelpler.SaveXml(xmlDoc, "Post-" + key, PostType.TrackOut); return(returnValue); }
// public static PostHelper instance = new PostHelper(); public static string PostChipID(string chipid, string modelno, out string key) { XmlDocument xmlDoc = XMLHelpler.CreateChipIDXml(chipid, modelno, PostParams.P_I.StrLot); string returnValue = CIM.C_I.WriteData(XMLHelpler.XMLToString(xmlDoc), out key); XMLHelpler.SaveXml(xmlDoc, "Post-" + chipid + "-" + key, PostType.ChipID); return(returnValue); }
public static string PostTrackOut(string code, string modelno, XmlCreaterBase xmlCreater, out string key) { XmlDocument xmlDoc = xmlCreater.CreateTrackoutXml(code, modelno); string returnValue = CIM.C_I.WriteData(XMLHelpler.XMLToString(xmlDoc), out key); if (PostParams.P_I.BlLog) { XMLHelpler.SaveXml(xmlDoc, "Post-" + key, PostType.TrackOut); } return(returnValue); }
public static string PostInsp(string chipid, string modelno, List <string> paths, XmlCreaterBase xmlCreater, out string key) { XmlDocument xmlDoc = xmlCreater.CreateInspXml(chipid, modelno, paths); string returnValue = CIM.C_I.WriteData(XMLHelpler.XMLToString(xmlDoc), out key); if (PostParams.P_I.BlLog) { XMLHelpler.SaveXml(xmlDoc, "Post-" + chipid + "-" + key, PostType.Insp); } return(returnValue); }