예제 #1
0
        /// <summary>
        /// Create the data set using PRTI03.
        /// Then send the dataset.
        /// </summary>
        /// <param name="sentence">PRTI03 Sentence.</param>
        private void SendData(Prti03Sentence sentence)
        {
            // Create the dataset
            DataSet.Ensemble adcpData = CreateDataSet(sentence);

            // Send the data set
            SendData(adcpData, sentence.ToByteArray());
        }
예제 #2
0
        /// <summary>
        /// Create the data set using PRTI03.
        /// Then send the dataset.
        /// </summary>
        /// <param name="sentence">PRTI03 Sentence.</param>
        private void SendData(Prti03Sentence sentence)
        {
            // Create the dataset
            DataSet.Ensemble adcpData = CreateDataSet(sentence);

            // Send the data set
            SendData(adcpData, sentence.ToByteArray());
        }