/// <summary>
        /// 初始化波形数据
        /// </summary>
        public void InitWaveformData()
        {
            if (File.Exists(_citFilePath))
            {
                LayerConfig = new LayerConfigData();
                string dir = string.Empty;
                switch (CitFile.iDir)
                {
                case 1: dir = "上行"; break;

                case 2: dir = "下行"; break;

                case 3: dir = "单线"; break;
                }
                LayerConfig.Name = CitFile.sTrackName + dir + " " + CitFile.sTrain
                                   + " " + (CitFile.iKmInc == 0 ? "增" : "减") + " " + (CitFile.iRunDir == 0 ? "正" : "反") + " " + CitFile.sDate;//+ " " + Path.GetFileNameWithoutExtension(CitFilePath);
                List <ChannelDefinition> channelDefinitions = CitFileProcess.GetChannelDefinitionList(_citFilePath);
                if (channelDefinitions.Count > 2)
                {
                    channelDefinitions.RemoveAt(0);
                    channelDefinitions.RemoveAt(0);
                    for (int i = 0; i < channelDefinitions.Count; i++)
                    {
                        if (ChannelList.Count > 0)
                        {
                            ChannelsClass channel = ChannelList.Find(p => p.Id == channelDefinitions[i].sID);
                            if (channel != null)
                            {
                                channel.Offset = channelDefinitions[i].fOffset;
                                channel.Scale  = channelDefinitions[i].fScale;
                            }
                        }
                    }
                }
            }
        }