Esempio n. 1
0
 public DuetRunner(string instructionFile, long program1id, long program2id)
 {
     Program1 = new DuetProgram(instructionFile, program1id);
     Program2 = new DuetProgram(instructionFile, program2id);
     Program1.SetPartner(Program2);
     Program2.SetPartner(Program1);
 }
Esempio n. 2
0
 public void SetPartner(DuetProgram program)
 {
     _partner            = program;
     _partner.ValueSent += OnPartner_ValueSent;
 }