Пример #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());
     }
 }
Пример #2
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());
     }
 }