示例#1
0
 public CompareGanttInfo(GanttType gType, EqpMaster eqpMst, string targetShopID, params SortOptions[] sortList)
 {
     this.SortList     = sortList;
     this.GanttType    = gType;
     this.EqpMst       = eqpMst;
     this.TargetShopID = targetShopID;
 }
示例#2
0
        public GanttMaster(
            SpreadsheetControl grid,
            IExperimentResultItem result,
            ResultDataContext resultCtx,
            DateTime planStartTime,
            GanttType type,
            EqpMaster eqpMgr
            )
            : base(grid)
        {
            _result    = result;
            _resultCtx = resultCtx;

            _planStartTime = planStartTime;

            this.GanttType = type;
            this.EqpMgr    = eqpMgr;

            this.SelectMode = false;
            //this.ColorGen = new ColorGenerator();

            _visibleItems = new HashSet <string>();

            _jobChgCntByHour  = new Dictionary <string, int>();
            _jobChgCntByShift = new Dictionary <string, int>();

            this.ValidEqps = new Dictionary <string, EqpMaster.Eqp>();
            this.StdSteps  = new Dictionary <string, EqpGanttChartData.StdStep>();

            this.DispInfos = new DoubleDictionary <string, DateTime, DataRow>();
        }
示例#3
0
        public GanttMaster(
            SpreadsheetControl grid,
            IExperimentResultItem result,
            DateTime planStartTime,
            GanttType type
            )
            : base(grid)
        {
            _result        = result;
            _planStartTime = planStartTime;
            _ganttType     = type;
            colorGen       = new ColorGenerator();

            _visibleItems = new HashSet <string>();

            _jobChgCntByHour  = new Dictionary <string, int>();
            _jobChgCntByShift = new Dictionary <string, int>();

            _dispatchingInfo = new DoubleDictionary <string, DateTime, DataRow>();

            LoadBaseData();
        }