Пример #1
0
        public void DisplaySlaveData(string cavityName, string laserName, double[] rampData, double[] data, double[] fitData)
        {
            LockControlPanel control = CavityPanels[cavityName].SlaveLaserPanels[laserName];

            control.DisplayData(rampData, data);
            control.DisplayFit(rampData, fitData);
        }
Пример #2
0
        public void AddSlaveLaserPanel(SlaveLaser sl)
        {
            string           title  = sl.Name;
            TabPage          newTab = new TabPage(title);
            LockControlPanel panel  = new LockControlPanel(title, sl.LowerVoltageLimit, sl.UpperVoltageLimit, sl.Gain, this, this.controller);

            slaveLasersTab.TabPages.Add(newTab);
            newTab.Controls.Add(panel);
            slaveLasersTab.Enabled = true;
            SlaveLaserPanels.Add(title, panel);
        }
Пример #3
0
 public void AddSlaveLaser(string name)
 {
     string title = name;
     TabPage newTab = new TabPage(title);
     LockControlPanel panel = new LockControlPanel(name);
     panel.controller = this.controller;
     slaveLasersTab.TabPages.Add(newTab);
     newTab.Controls.Add(panel);
     slaveLasersTab.Enabled = true;
     slaveLasers.Add(name, panel);
 }
Пример #4
0
 public void AddSlaveLaser(SlaveLaser sl)
 {
     string title = sl.Name;
     TabPage newTab = new TabPage(title);
     LockControlPanel panel = new LockControlPanel(title,sl.LowerVoltageLimit,sl.UpperVoltageLimit);
     panel.controller = this.controller;
     slaveLasersTab.TabPages.Add(newTab);
     newTab.Controls.Add(panel);
     slaveLasersTab.Enabled = true;
     slaveLasers.Add(title, panel);
 }
Пример #5
0
        public void AddSlaveLaser(string name)
        {
            string           title  = name;
            TabPage          newTab = new TabPage(title);
            LockControlPanel panel  = new LockControlPanel(name);

            panel.controller = this.controller;
            slaveLasersTab.TabPages.Add(newTab);
            newTab.Controls.Add(panel);
            slaveLasersTab.Enabled = true;
            slaveLasers.Add(name, panel);
        }
Пример #6
0
        public void ClearErrorGraph(string cavityName, string laserName)
        {
            LockControlPanel control = CavityPanels[cavityName].SlaveLaserPanels[laserName];

            control.ClearErrorGraph();
        }