Exemplo n.º 1
0
 private ITerminal ConnectAlor()
 {
     var terminal = new AlorTerminal();
     terminal.SelectSlotDialog();
     Message("Connecting to slot " + terminal.SelectedSlot);
     return terminal;
 }
Exemplo n.º 2
0
 private void InitAlorTerminal(AlorTerminal terminal, int slotId)
 {
     if (slotId == -1)
         terminal.SelectedSlot = SelectSlot(terminal.GetSlots());
     else
         terminal.SelectedSlot = slotId;
 }