Esempio n. 1
0
 private void GenerateBOMGenScript()
 {
     Templates.DesignModel2BOM bomscript = new Templates.DesignModel2BOM()
     {
         DDPFile = this.TestBenchName + ".metadesign.json",
         BOMFile = this.TestBenchName + ".bom.json",
     };
     using (StreamWriter writer = new StreamWriter(Path.Combine(this.OutputDirectory, "DesignModel2BOM.py")))
     {
         writer.WriteLine(bomscript.TransformText());
     }
 }
 private void GenerateBOMGenScript()
 {
     Templates.DesignModel2BOM bomscript = new Templates.DesignModel2BOM()
     {
         DDPFile = this.TestBenchName + ".metadesign.json",
         BOMFile = this.TestBenchName + ".bom.json",
     };
     using (StreamWriter writer = new StreamWriter(Path.Combine(this.OutputDirectory, "DesignModel2BOM.py")))
     {
         writer.WriteLine(bomscript.TransformText());
     }
 }