コード例 #1
0
ファイル: IFoteable.cs プロジェクト: jesumarquez/lt
        private void SendMessages(String config, ulong messageId, String md)
        {
            if (string.IsNullOrEmpty(config))
            {
                return;
            }

            switch (md)
            {
            case MessagingDevice.Garmin:
                Fota.EnqueueGarmin(this, messageId, config);
                break;

            default:
                Fota.Enqueue(this, messageId, config);
                break;
            }

            /*            IMessage msg = null;
             *          SendPendingFota(ref msg);
             *          if (msg == null) return;
             *
             *          STrace.Debug(typeof (Parser).FullName, Id, String.Format("Enviando: {0}", msg.GetPendingAsString()));
             *          DataLinkLayer.SendMessage(Id, msg); */
        }