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