internal void Add(SessionVariable loggedVariable)
 {
     if (loggedVariable is LogVariable)
     {
         LogVariablesCount++;
     }
     list.Add(loggedVariable);
     byName[loggedVariable.Name] = loggedVariable;
 }
        public GaugeWindow(Session.ME7LoggerSession session, Session.SessionVariable sessionVariable)
        {
            InitializeComponent();

            this.Text            = sessionVariable.ToString();
            this.sessionVariable = sessionVariable;
            this.session         = session;

            this.chart1.Series.Add(sessionVariable.Name);
            this.chart1.Series[0].Points.Add(0);

            this.chart1.ChartAreas[0].AxisY.Minimum = 0;
            this.chart1.ChartAreas[0].AxisY.Maximum = 100;
        }
 internal void Add(SessionVariable loggedVariable)
 {
     list.Add(loggedVariable);
     byName[loggedVariable.Name] = loggedVariable;
 }