SympatheticHardwareControl.Controller.StartChamber2PressureMonitor C# (CSharp) Méthode

StartChamber2PressureMonitor() public méthode

public StartChamber2PressureMonitor ( ) : void
Résultat void
        public void StartChamber2PressureMonitor()
        {
            monitorC2P = true;
            Thread C2PThread = new Thread(new ThreadStart(chamber2PressureMonitorLoop));
            C2PThread.Start();
        }

Usage Example

 private void chamber2PressureCheckBox_CheckedChanged(object sender, EventArgs e)
 {
     if (chamber2PressureCheckBox.Checked)
     {
         controller.StartChamber2PressureMonitor();
     }
     if (!chamber2PressureCheckBox.Checked)
     {
         controller.StopChamber2PressureMonitor();
     }
 }