public void SendCommand(BoxdorferSerial aPort) { if (Check) { aPort.SendByte(iOnCommand); } else { aPort.SendByte(iOffCommand); } }
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); }