Exemple #1
0
 public void Compute()
 {
     if (Control.Value == 0)
     {
         Output1.SetValue(Input.GetValue());
         Output2.SetValue(0);
     }
     else
     {
         Output2.SetValue(Input.GetValue());
         Output1.SetValue(0);
     }
 }