Exemplo n.º 1
0
 public void SendCommand(BoxdorferSerial aPort)
 {
     if (Check)
     {
         aPort.SendByte(iOnCommand);
     }
     else
     {
         aPort.SendByte(iOffCommand);
     }
 }
Exemplo n.º 2
0
 public void SendCommand(BoxdorferSerial aPort)
 {
     if (Check)
     {
         aPort.SendByte(iOnCommand);
     }
     else
     {
         aPort.SendByte(iOffCommand);
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 4
0
 public void SendCommand(BoxdorferSerial aPort)
 {
     aPort.SendByte(iCmd);
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 6
0
 public void SendCommand(BoxdorferSerial aPort)
 {
     aPort.SendByte(iCmd);
 }