コード例 #1
0
ファイル: ToolGanttMaster.cs プロジェクト: yichunbong/CSOT
        public ToolGanttMaster(
            SpreadsheetControl grid,
            IExperimentResultItem result,
            ResultDataContext resultCtx,
            string targetShopID,
            DateTime planStartTime,
            EqpMaster eqpMgr
            )
            : base(grid)
        {
            _result    = result;
            _resultCtx = resultCtx;

            this.TargetShopID = targetShopID;

            _planStartTime = planStartTime;
            _eqpMgr        = eqpMgr;

            this.EnableSelect = false;

            //this.ColorGen = new ColorGenerator();
            _visibleItems = new List <string>();

            this.ToolList = GetToolList(this.TargetShopID);
        }
コード例 #2
0
ファイル: ToolGantt.cs プロジェクト: yichunbong/CSOT
 public ToolGantt(SpreadsheetControl grid,
                  IExperimentResultItem result,
                  ResultDataContext resultCtx,
                  string targetShopID,
                  DateTime planStartTime,
                  EqpMaster eqpMgr
                  )
     : base(grid, result, resultCtx, targetShopID, planStartTime, eqpMgr)
 {
     _table = new Dictionary <string, GanttInfo>();
 }
コード例 #3
0
ファイル: ToolGanttView.cs プロジェクト: yichunbong/CSOT
        private void InitializeData()
        {
            base.SetWaitDialogLoadCaption("Tool Info. ");

            _eqpMgr = new EqpMaster();
            _eqpMgr.LoadEqp(_result);

            base.SetWaitDialogLoadCaption("Tool Gantt info.");

            _gantt = new ToolGantt(this.grid1, _result, _resultCtx, this.TargetShopID, _planStartTime, _eqpMgr);

            _gantt.DefaultColumnWidth = CellWidthSize;
            _gantt.DefaultRowHeight   = CellHeightSize;

            _gantt.MouseSelType = MouseSelectType.Product;

            this.SetColumnHeaderView();
        }