Exemplo n.º 1
0
 virtual public void RecompilePBs()
 {
     foreach (IMyProgrammableBlock PB in Term.GetBlocksOfType <IMyProgrammableBlock>())
     {
         PB.Recompile();
     }
 }
Exemplo n.º 2
0
 private void RecompilePBs()
 {
     foreach (IMyProgrammableBlock PB in Grid.GetTerminalSystem().GetBlocksOfType <IMyProgrammableBlock>())
     {
         PB.Recompile();
     }
 }