Example #1
0
        //产线看板Grid的数据源
        private object[] GetProductGridDataSource(string bigSSCode)
        {
            WatchPanelFacade watchPanelFacade = new WatchPanelFacade(this.DataProvider);
            string           tpCode           = string.Empty;
            TimePeriod       timePeriod       = (TimePeriod)watchPanelFacade.GettimePeriod(bigSSCode);

            if (timePeriod != null)
            {
                tpCode = timePeriod.TimePeriodCode;
            }
            object[] productDataList = null;

            if (watchPanelFacade.CheckBigLineCodeIsHaveSSCode(bigSSCode))
            {
                productDataList = watchPanelFacade.QueryProductData(bigSSCode, GetShiftDay(bigSSCode), GetShiftCodeList(bigSSCode), tpCode);
            }

            return(productDataList);
        }