//车间质量/产量趋势图设定 private void SetFacTChartControlValue(TChartControl tChart, bool isFristLoad) { //Modified By Nettie Chen 2009/09/23 //object[] finishedRateLineDataSource = _WatchPanelFacade.QueryRateByGourpConditin(_BigLineList, ItemType.ITEMTYPE_FINISHEDPRODUCT, _GourpBy, _CuerrtDay); //object[] semimanuRateLineDataSource = _WatchPanelFacade.QueryRateByGourpConditin(_BigLineList, ItemType.ITEMTYPE_SEMIMANUFACTURE, _GourpBy, _CuerrtDay); //object[] finishedProductDateLineDataSource = _WatchPanelFacade.QueryOutPutQtyByGourpConditin(_BigLineList, ItemType.ITEMTYPE_FINISHEDPRODUCT, _GourpBy, false, _CuerrtDay); //object[] semimanuProductDateLineDataSource = _WatchPanelFacade.QueryOutPutQtyByGourpConditin(_BigLineList, ItemType.ITEMTYPE_SEMIMANUFACTURE, _GourpBy, false, _CuerrtDay); //object[] finishedBarDataSource = _WatchPanelFacade.QueryOutPutQtyByGourpConditin(_BigLineList, ItemType.ITEMTYPE_FINISHEDPRODUCT, _GourpBy, true, _CuerrtDay); //object[] semimanuBarDataSource = _WatchPanelFacade.QueryOutPutQtyByGourpConditin(_BigLineList, ItemType.ITEMTYPE_SEMIMANUFACTURE, _GourpBy, true, _CuerrtDay); //object[] TPCodeList = _WatchPanelFacade.QueryOutPutQtyByGourpConditin(_BigLineList, string.Empty, _GourpBy, false, _CuerrtDay); //tChart.SetDataChartValue(finishedRateLineDataSource, semimanuRateLineDataSource, // finishedProductDateLineDataSource, semimanuProductDateLineDataSource, // finishedBarDataSource, semimanuBarDataSource, isFristLoad, TPCodeList); object[] finishedRateLineDataSource = null; object[] finishedProductDateLineDataSource = null; object[] finishedBarDataSource = null; object[] semimanuRateLineDataSource = null; object[] semimanuProductDateLineDataSource = null; object[] semimanuBarDataSource = null; if (_IsShowFinishedProduct == true) { finishedRateLineDataSource = _WatchPanelFacade.QueryRateByGourpConditin(_BigLineList, ItemType.ITEMTYPE_FINISHEDPRODUCT, _GourpBy, _CuerrtDay); finishedProductDateLineDataSource = _WatchPanelFacade.QueryOutPutQtyByGourpConditin(_BigLineList, ItemType.ITEMTYPE_FINISHEDPRODUCT, _GourpBy, false, _CuerrtDay); finishedBarDataSource = _WatchPanelFacade.QueryOutPutQtyByGourpConditin(_BigLineList, ItemType.ITEMTYPE_FINISHEDPRODUCT, _GourpBy, true, _CuerrtDay); } if (_IsShowSemimanuProduct == true) { semimanuRateLineDataSource = _WatchPanelFacade.QueryRateByGourpConditin(_BigLineList, ItemType.ITEMTYPE_SEMIMANUFACTURE, _GourpBy, _CuerrtDay); semimanuProductDateLineDataSource = _WatchPanelFacade.QueryOutPutQtyByGourpConditin(_BigLineList, ItemType.ITEMTYPE_SEMIMANUFACTURE, _GourpBy, false, _CuerrtDay); semimanuBarDataSource = _WatchPanelFacade.QueryOutPutQtyByGourpConditin(_BigLineList, ItemType.ITEMTYPE_SEMIMANUFACTURE, _GourpBy, true, _CuerrtDay); } object[] TPCodeList = _WatchPanelFacade.QueryOutPutQtyByGourpConditin(_BigLineList, string.Empty, _GourpBy, false, _CuerrtDay); tChart.SetDataChartValue(finishedRateLineDataSource, semimanuRateLineDataSource, finishedProductDateLineDataSource, semimanuProductDateLineDataSource, finishedBarDataSource, semimanuBarDataSource, isFristLoad, TPCodeList, _IsShowFinishedProduct, _IsShowSemimanuProduct); //End Modified }