wenxiangchao
4 天以前 2e889843b4c171f2d6ad8e0d53084040703d11f6
Plugin.TsSupport/TeststandWrapper.cs
@@ -82,12 +82,17 @@
            return this.AxApplicationMgr;
        }
        private SequenceFile GetFile(string path)
        {
            return null;
        }
        public object StartSequence(string filePath, string modelPath)
        {
            this.testSeqFile = filePath;
            this.modeSeq = this.engine.GetSequenceFileEx(modelPath);
            this.testSeq = this.engine.GetSequenceFileEx(this.testSeqFile, 2, TypeConflictHandlerTypes.ConflictHandler_UseGlobalType);
            this.testSeq = this.engine.GetSequenceFileEx(this.testSeqFile, 107, TypeConflictHandlerTypes.ConflictHandler_UseGlobalType);
            this.execution = this.engine.NewExecution(this.testSeq, "Test UUTs", this.modeSeq, false, 0, null, null, null);
            return execution;
        }
@@ -232,5 +237,12 @@
        {
            this.context = (SequenceContext)context;
        }
        public void Dispose()
        {
            AxApplicationMgr = null;
            engine = null;
            TestAppManager.Dispose();
        }
    }
}