Ejemplo n.º 1
0
        protected override void TranslateFile()
        {
            inline.GetData();
            string siffFileName = inline.WriteSiff(SiffPath);

            InlineFtpOperator.UploadEtestFile(siffFileName);
            LogHelper.InlineInfoLog("数据转换成功—SiffFile:" + siffFileName);
            FileHelper.Move(siffFileName, SiffHistoryPath + siffFileName.Substring(siffFileName.LastIndexOf("\\")));
            inline.WriteXmlConfig();
        }
Ejemplo n.º 2
0
        public void OperateTestFiles()
        {
            inline.GetData();
            foreach (var line in inline.Inline_lines)
            {
                line.Fab       = "FABTEST";
                line.Lot       = "TEST_" + line.Lot;
                line.SourceLot = line.SourceLot == ""?"": "TEST_" + line.SourceLot;
            }
            string siffFileName = inline.WriteSiff(SiffPath);

            InlineFtpOperator.UploadEtestFile(siffFileName);
            LogHelper.InlineInfoLog("Test数据转换成功—SiffFile:" + siffFileName);
            FileHelper.Move(siffFileName, SiffHistoryPath + siffFileName.Substring(siffFileName.LastIndexOf("\\")));
            inline.WriteXmlConfig();
        }