/// <summary>
        /// Implicit constructor function
        /// </summary>
        public ActuatorController()
        {
            actuatorErrorHandler = new ActuatorErrorHandler();
            logController        = new LogController();

            callback = new API.LoggingCallback(MyLog);
            API.set_logging_callback(callback, IntPtr.Zero);
        }
コード例 #2
0
        /// <summary>
        /// Implicit constructor
        /// </summary>
        public MainController()
        {
            Actuators            = new Actuators();
            ActuatorInContext    = new ActuatorController();
            actuatorErrorHandler = new ActuatorErrorHandler(this);
            logController        = new LogController();
            notifList            = new List <Notification>();
            isFirstTimeLaunch    = true;

            InitActuators();
            InitBgWorkers();
        }
 /// <summary>
 /// Explicit constructor function
 /// </summary>
 /// <param name="index">identifies actuator, of type int</param>
 // TO DO - changed from public ActuatorController(int deviceID)
 public ActuatorController(int index)
 {
     actuatorErrorHandler = new ActuatorErrorHandler();
     logController        = new LogController();
     this.ListIndex       = index;
 }