예제 #1
0
        protected void SentTabToMain(ushort procType, DataTable dataTable)
        {
            //if (ProcType_1 == procType)
            //{

            var generateReportsMessage = new SentDataTab(dataTable, procNomber);

            Messenger.Default.Send(generateReportsMessage);
            //}
        }
예제 #2
0
        public virtual void Calculate(SentDataTab dataTab)
        {
            switch (dataTab.ProcNumber)
            {
            case 1:
                currentTab_1 = dataTab.DataTable.Copy();
                break;

            case 2:
                currentTab_2 = dataTab.DataTable.Copy();
                break;

            case 3:
                currentTab_3 = dataTab.DataTable.Copy();
                break;
            }
            CalcCoef(dataTab.DataTable, dataTab.ProcNumber);
        }