示例#1
0
        private void PopulateInfo()
        {
            var ds = new List <TagValuePair>();

            ds.Add(new TagValuePair("File Type", m_FrameStream.VideoFileType));
            ds.Add(new TagValuePair("Engine", m_FrameStream.Engine));

            var serStream = m_FrameStream as SERVideoStream;

            if (serStream != null)
            {
                ds.Add(new TagValuePair("Observer", serStream.Observer));
                ds.Add(new TagValuePair("Instrument", serStream.Instrument));
                ds.Add(new TagValuePair("Telescope", serStream.Telescope));
            }

            ds.Add(new TagValuePair("Width", m_FrameStream.Width.ToString()));
            ds.Add(new TagValuePair("Height", m_FrameStream.Height.ToString()));
            ds.Add(new TagValuePair("Total Frames", m_FrameStream.CountFrames.ToString()));
            ds.Add(new TagValuePair("First Frame", m_FrameStream.FirstFrame.ToString()));
            ds.Add(new TagValuePair("Last Frame", m_FrameStream.LastFrame.ToString()));
            ds.Add(new TagValuePair("BitPix", m_FrameStream.BitPix.ToString()));
            ds.Add(new TagValuePair("Frame Rate", m_FrameStream.FrameRate.ToString()));
            ds.Add(new TagValuePair("NormVal", m_FrameStream.GetAav16NormVal().ToString()));

            dgvFileInfo.DataSource = ds;
        }
示例#2
0
 public uint GetAav16NormVal()
 {
     return(m_BaseStream.GetAav16NormVal());
 }