Ejemplo n.º 1
0
        private static TaskRowArray GetHierRows()
        {
            //build rows
            Dictionary <string, string> top1 = new Dictionary <string, string>();

            top1.Add("a", "21");
            top1.Add("b", "22");
            Dictionary <string, string> child11 = new Dictionary <string, string>();

            child11.Add("batch", "ED10-1:1");
            child11.Add("conc", "10");
            Dictionary <string, string> child12 = new Dictionary <string, string>();

            child12.Add("batch", "ED10-1:1");
            child12.Add("conc", "20");
            Dictionary <string, string> child13 = new Dictionary <string, string>();

            child13.Add("batch", "ED10-1:1");
            child13.Add("conc", "20");
            TaskRow row_top1 = new TaskRow(
                "top.1",
                null,
                top1
                );
            TaskRow row_child11 = new TaskRow(
                "well.1.1",
                null,
                child11
                );
            TaskRow row_child12 = new TaskRow(
                "well.1.2",
                null,
                child12
                );
            TaskRow row_child13 = new TaskRow(
                "well.1.3",
                null,
                child13
                );

            TaskRowArray rows = new TaskRowArray {
                row_top1, row_child11, row_child12, row_child13
            };

            return(rows);
        }
Ejemplo n.º 2
0
        private static TaskRowArray GetFlatRows()
        {
            //build rows
            Dictionary <string, string> vals = new Dictionary <string, string>();

            vals.Add("batch", "ED10-1:1");
            vals.Add("conc", "10 mM");
            TaskRow row = new TaskRow(Label: "top.1",
                                      Parent: null,
                                      Values: vals
                                      );
            TaskRowArray rows = new TaskRowArray {
                row
            };

            return(rows);
        }