BuffergasHardwareControl.Controller.StartRemoteControl C# (CSharp) Метод

StartRemoteControl() публичный Метод

This is used when you want another program to take control of some/all of the hardware. The hc then just saves the last hardware state, then prevents you from making any changes to the UI. Use this if your other program wants direct control of hardware. In the buffer gas case this is only used for the camera at the moment.
public StartRemoteControl ( ) : void
Результат void
        public void StartRemoteControl()
        {
            // if (HCState == SHCUIControlState.OFF)
            //{
                if (!ImageController.IsCameraFree())
                {
                    StopCameraStream();
                    window.WriteToConsole("Remoting Started!");
                }
               // StoreParameters(profilesPath + "tempParameters.bin");
               // HCState = SHCUIControlState.REMOTE;
              // window.UpdateUIState(HCState);

            //}
            else
            {
                MessageBox.Show("Controller is busy");
            }
        }