private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            _eventTimer.Interval = TimeSpan.FromMilliseconds(100);
            _eventTimer.Tick    += Event_Tick;

            _msgTemplates = InternalUtil.GetMessageTemplates();

            var distinctMsgIds = (from msgTemplate in _msgTemplates
                                  where (msgTemplate.MessageType == FlMessageCategory.Command)
                                  select msgTemplate.MessageIdForCApi).Distinct();

            foreach (var msgId in distinctMsgIds)
            {
                CmbMessageId.Items.Add(msgId);
            }

            _lastSelectedMsgId = CmbMessageId.SelectedIndex;

            CmbParserType.Items.Add(ParserType.Binary.ToString());
            CmbParserType.Items.Add(ParserType.Text.ToString());
            CmbParserType.SelectedIndex = 0;

            BtnSendMessage.IsEnabled = false;

            BtnOpenClose.Content = AppConstant.STR_OPEN;

            _logger.Debug("Window_Loaded");
        }