Ejemplo n.º 1
0
        /// <summary>
        /// Creates a program set with a single program on a single zone.
        /// </summary>
        public ProgramSet(ZoneProgram program, Zone zone, ISV isv, string setName, dynamic startingParameters = null)
        {
            Name        = setName;
            ProgramName = program.Name;
            Sync        = false;

            Zones = zone.Listify();
            zone.Stop(true);
            //ZoneScaffolder.Instance.RunZone(zone, "", isv); -- TODO: Why aren't we using this? This seems to be better than the next line
            zone.Run(program, isv, startingParameters: startingParameters);
        }
Ejemplo n.º 2
0
 public InterruptingInput(string name, Type type, ZoneProgram zoneProgram) : base(name, type)
 {
     ZoneProgram = zoneProgram;
 }