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