예제 #1
0
 public void Write(BoxdorferSerial theChannel)
 {
     if (theChannel != null)
     {
         theChannel.AddCommand(this);
     }
 }
예제 #2
0
 public void Write(BoxdorferSerial theChannel)
 {
     if (theChannel != null)
     {
         theChannel.AddCommand(this);
     }
 }
예제 #3
0
 public void Read(BoxdorferSerial theChannel)
 {
     //iLogger.Debug(String.Format("BoxdorferLong Read {0:X}", iReceiveCommand));
     if (theChannel != null)
     {
         isWriting = false;
         theChannel.AddCommand(this);
     }
 }
예제 #4
0
 public void Write(BoxdorferSerial theChannel)
 {
     //iLogger.Debug(String.Format("BoxdorferLong Write {0:X}", iSendCommand));
     if (theChannel != null)
     {
         isWriting = true;
         theChannel.AddCommand(this);
     }
 }
예제 #5
0
 public void Read(BoxdorferSerial theChannel)
 {
     //iLogger.Debug(String.Format("BoxdorferLong Read {0:X}", iReceiveCommand));
     if (theChannel != null)
     {
         isWriting = false;
         theChannel.AddCommand(this);
     }
 }
예제 #6
0
 public void Write(BoxdorferSerial theChannel)
 {
     //iLogger.Debug(String.Format("BoxdorferLong Write {0:X}", iSendCommand));
     if (theChannel != null)
     {
         isWriting = true;
         theChannel.AddCommand(this);
     }
 }
예제 #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);
        }
예제 #8
0
 /**
  * @brief
  * Send the command to the controler
  *
  * @param theChannel
  * The serial connection to the controler
  */
 public void Send(BoxdorferSerial theChannel)
 {
     theChannel.AddCommand(this);
 }
예제 #9
0
 /**
  * @brief
  * Send the command to the controler
  *
  * @param theChannel
  * The serial connection to the controler
  */
 public void Send(BoxdorferSerial theChannel)
 {
     theChannel.AddCommand(this);
 }