Esempio n. 1
0
        // private ObservableCollection<ProductTypeStatistic> listTmpStatitis = new ObservableCollection<ProductTypeStatistic>();
        void LoadInstanceStatistic()
        {
            #region craft
            //listInstanceStatistic = new ObservableCollection<InstanceStatistic>();
            //listInstanceStatistic = new ObservableCollection<InstanceStatistic>();
            //var listOutPut = DataProvider.Ins.DB.Output_Form.Where(
            //    x => x.Output_Date >= startTimePicker
            //    && x.Output_Date <= endDay);
            #endregion
            try
            {
                //  var listProductTmp = DataProvider.Ins.DB.usp_GetProductInDay(startDay, endDay);
                // var listProductTmp=
                ListInstanceStatistic = manage.getProductPeriod(startDay, endDay);
                ListTypeProduct       = manage.getTypeList();
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message);
            }

            #endregion
        }