Ejemplo n.º 1
0
        /// <summary>
        /// Launch program from event
        /// </summary>
        /// <param name="event_desc"></param>
        private void Vm_runProgram(CEventDesc event_desc, object program_vars)
        {
            if (event_desc.Program != "")
            {
                program_vars = Runner.LaunchProgram(event_desc, program_vars);
            }
            // Run programs in queue
            while (Runner.Programs_in_queue)
            {
                program_vars = Runner.LaunchProgramInQueue(program_vars);
            }

            _system.reset_UI_errors();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Launch program from event
        /// </summary>
        /// <param name="event_desc"></param>
        private void Vm_runProgram(CEventDesc event_desc)
        {
            if (event_desc.Program != "")
            {
                Runner.LaunchProgram(event_desc);
            }

            // Run programs in queue
            while (Runner.Programs_in_queue)
            {
                Runner.LaunchProgramInQueue();
            }

            Sistema.reset_UI_errors();
        }