Beispiel #1
0
 public void SendCommand(BoxdorferSerial aPort)
 {
     if (Check)
     {
         aPort.SendByte(iOnCommand);
     }
     else
     {
         aPort.SendByte(iOffCommand);
     }
 }
Beispiel #2
0
 public void SendCommand(BoxdorferSerial aPort)
 {
     if (Check)
     {
         aPort.SendByte(iOnCommand);
     }
     else
     {
         aPort.SendByte(iOffCommand);
     }
 }
Beispiel #3
0
 public void SendCommand(BoxdorferSerial aPort)
 {
     if (isWriting)
     {
         aPort.SendLong(iValue);
         aPort.SendByte(iSendCommand);
         count = 4;
     }
     else
     {
         aPort.SendByte(iReceiveCommand);
         count  = 0;
         iValue = 0;
     }
 }
 public void SendCommand(BoxdorferSerial aPort)
 {
     aPort.SendByte(iCmd);
 }
Beispiel #5
0
 public void SendCommand(BoxdorferSerial aPort)
 {
     if (isWriting)
     {
         aPort.SendLong(iValue);
         aPort.SendByte(iSendCommand);
         count = 4;
     }
     else
     {
         aPort.SendByte(iReceiveCommand);
         count = 0;
         iValue = 0;
     }
 }
 public void SendCommand(BoxdorferSerial aPort)
 {
     aPort.SendByte(iCmd);
 }