コード例 #1
0
ファイル: FiguresForOneMonth.cs プロジェクト: OliSharpe/wbf
        public override void ConfigureDataSheet <T>(DataSheet <T> datasheet)
        {
            // Nothing to be done here as configuration should be done by the ConfigureWithCategories for the DataSheet using this DataSheetType
            //throw new NotSupportedException("This method should never get called on the FiguresForOneDay class.");

            datasheet.AddDateColumn();

            datasheet.AddIntegerColumn("Num Created", 20);
            datasheet.AddIntegerColumn("Num Opened", 20);
            datasheet.AddIntegerColumn("Num Closed", 20);
            datasheet.AddIntegerColumn("Num Deleted", 20);

            datasheet.AddIntegerColumn("Last Modified", 20);
            datasheet.AddIntegerColumn("Last Visited", 20);

            datasheet.AddTextColumn(".", 5);
            datasheet.AddDateColumn("Date.");
            datasheet.AddIntegerColumn("Total WB Deleted", 20);
            datasheet.AddIntegerColumn("Num WB To Delete", 20);
            datasheet.AddIntegerColumn("Actually Deleted", 20);
            datasheet.AddIntegerColumn("Total Docs in WB To Delete", 20);
            datasheet.AddFileSizeGBColumn("Total Size of Docs in WB To Delete", 20);


            datasheet.AddTextColumn(" .", 5);
            datasheet.AddDateColumn("Date .");

            datasheet.AddIntegerColumn("In Created State", 20);
            datasheet.AddIntegerColumn("In Open State", 20);
            datasheet.AddIntegerColumn("In Closed State", 20);
            datasheet.AddIntegerColumn("In Deleted State", 20);
            datasheet.AddIntegerColumn("Open Multi Teams WBs", 20);
            datasheet.AddIntegerColumn("Total Multi Teams WBs", 20);
            datasheet.AddIntegerColumn("Total Work Boxes", 20);

            datasheet.AddTextColumn("  .", 5);
            datasheet.AddDateColumn("Date  .");

            datasheet.AddIntegerColumn("Total Docs in Open WBs", 20);
            datasheet.AddIntegerColumn("Total Docs in Closed WBs", 20);
            datasheet.AddIntegerColumn("Total Docs in All WBs", 20);

            datasheet.AddTextColumn("   .", 5);
            datasheet.AddDateColumn("Date   .");

            datasheet.AddFileSizeGBColumn("Size of Docs in Open WBs", 20);
            datasheet.AddFileSizeGBColumn("Size of Docs in Closed WBs", 20);
            datasheet.AddFileSizeGBColumn("Size of Docs in All WBs", 20);


            datasheet.AddTextColumn("    .", 5);
            datasheet.AddDateColumn("Date    .");

            datasheet.AddIntegerColumn("Teams Created", 20);
            datasheet.AddIntegerColumn("Total Teams", 20);
            datasheet.AddIntegerColumn("Teams Owning", 20);
            datasheet.AddIntegerColumn("Teams Involved", 20);
            datasheet.AddIntegerColumn("Teams Visiting", 20);
            datasheet.AddIntegerColumn("Individuals Involved", 20);
            datasheet.AddIntegerColumn("Individuals Visiting", 20);
            datasheet.AddIntegerColumn("Users Last Visited WB", 20);
            datasheet.AddIntegerColumn("Users Ever Visited WB", 20);


            datasheet.AddTextColumn("     .", 5);
            datasheet.AddDateColumn("Date     .");

            datasheet.AddIntegerColumn("Total Doc Records Created", 20);
            datasheet.AddIntegerColumn("Public Doc Records Created", 20);
            datasheet.AddIntegerColumn("Public Doc Records Archived", 20);

            datasheet.AddIntegerColumn("Total Ever Doc Records", 20);
            datasheet.AddIntegerColumn("Total Ever Public Records", 20);
            datasheet.AddIntegerColumn("Total Ever Archived Public Records", 20);

            datasheet.AddFileSizeGBColumn("Size Of All Doc Records", 20);
            datasheet.AddFileSizeGBColumn("Size Of All Live Public Doc Records", 20);
            datasheet.AddFileSizeGBColumn("Size Of All Archived Public Doc Records", 20);
        }