コード例 #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
ファイル: BoxdorferLong.cs プロジェクト: JoostZ/vixencontrol
 public void Read(BoxdorferSerial theChannel)
 {
     //iLogger.Debug(String.Format("BoxdorferLong Read {0:X}", iReceiveCommand));
     if (theChannel != null)
     {
         isWriting = false;
         theChannel.AddCommand(this);
     }
 }
コード例 #6
0
ファイル: BoxdorferLong.cs プロジェクト: JoostZ/vixencontrol
 public void Write(BoxdorferSerial theChannel)
 {
     //iLogger.Debug(String.Format("BoxdorferLong Write {0:X}", iSendCommand));
     if (theChannel != null)
     {
         isWriting = true;
         theChannel.AddCommand(this);
     }
 }
コード例 #7
0
ファイル: Form1.cs プロジェクト: JoostZ/vixencontrol
        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);
 }