예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
        // 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);
        }
예제 #4
0
        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);
        }
예제 #5
0
        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);
        }