Beispiel #1
0
 public void Write(BoxdorferSerial theChannel)
 {
     if (theChannel != null)
     {
         theChannel.AddCommand(this);
     }
 }
Beispiel #2
0
 public void Write(BoxdorferSerial theChannel)
 {
     if (theChannel != null)
     {
         theChannel.AddCommand(this);
     }
 }
Beispiel #3
0
 public void Read(BoxdorferSerial theChannel)
 {
     //iLogger.Debug(String.Format("BoxdorferLong Read {0:X}", iReceiveCommand));
     if (theChannel != null)
     {
         isWriting = false;
         theChannel.AddCommand(this);
     }
 }
Beispiel #4
0
 public void Write(BoxdorferSerial theChannel)
 {
     //iLogger.Debug(String.Format("BoxdorferLong Write {0:X}", iSendCommand));
     if (theChannel != null)
     {
         isWriting = true;
         theChannel.AddCommand(this);
     }
 }
Beispiel #5
0
 public void Read(BoxdorferSerial theChannel)
 {
     //iLogger.Debug(String.Format("BoxdorferLong Read {0:X}", iReceiveCommand));
     if (theChannel != null)
     {
         isWriting = false;
         theChannel.AddCommand(this);
     }
 }
Beispiel #6
0
 public void Write(BoxdorferSerial theChannel)
 {
     //iLogger.Debug(String.Format("BoxdorferLong Write {0:X}", iSendCommand));
     if (theChannel != null)
     {
         isWriting = true;
         theChannel.AddCommand(this);
     }
 }
Beispiel #7
0
        private void chkRaTracking_CheckedChanged(object sender, EventArgs e)
        {
            if (iSerial == null)
            {
                return;
            }

            BoxdorferCommand theCommand;

            if (chkRaTracking.Checked)
            {
                theCommand = new BoxdorferCommand(BoxdorferSerial.writeOnOn);
            }
            else
            {
                theCommand = new BoxdorferCommand(BoxdorferSerial.writeOnOff);
            }
            iSerial.AddCommand(theCommand);
        }
 /**
  * @brief
  * Send the command to the controler
  *
  * @param theChannel
  * The serial connection to the controler
  */
 public void Send(BoxdorferSerial theChannel)
 {
     theChannel.AddCommand(this);
 }
 /**
  * @brief
  * Send the command to the controler
  *
  * @param theChannel
  * The serial connection to the controler
  */
 public void Send(BoxdorferSerial theChannel)
 {
     theChannel.AddCommand(this);
 }