Exemplo n.º 1
0
        public bool setMaxTasks(int max)
        {
            if (max <0 | max> int.MaxValue)
            {
                log.Error("the value of max tasks is ilegal");
                Console.WriteLine("the value of max tasks is ilegal");
                return(false);
            }
            this.maxTask = max;
            log.Info("new max task Was determined");
            Console.WriteLine("new max task Was determined");
            DatColumn datcolumn = getDatColumnById(this.columnId);

            datcolumn.setMaxTasks(this.maxTask);
            ColumnHandler.saveColumns(datColumns);
            return(true);
        }