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); }
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>(); }
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(); }