Esempio n. 1
0
 public void switchOff(CommunicationManager comm)
 {
     comm.OpenPort();
     comm.WriteData(switchOffSignal);
     isSwitchedOn = false;
     //inicomm.ClosePort();
 }
Esempio n. 2
0
 public void switchOff(CommunicationManager comm)
 {
     comm.WriteData(switchOffSignal);
     isSwitchedOn = false;
     //inicomm.ClosePort();
 }
Esempio n. 3
0
 public void switchOn(CommunicationManager comm)
 {
     comm.WriteData(switchOnSignal);
     //comm.ClosePort();
     isSwitchedOn = true;
 }
Esempio n. 4
0
 public void switchOn(CommunicationManager comm)
 {
     comm.OpenPort();
     comm.WriteData(switchOnSignal);
     //comm.ClosePort();
     isSwitchedOn = true;
 }