コード例 #1
0
        public void taskDistribution(int[] taskdetails)
        {
            DailyStockdetails _dailyStockDetails = new DailyStockdetails();

            //  int[] taskdetails = _dailyStockDetails.dailyStockCalculation();

            for (int i = 0; i < taskdetails.Length; i++)
            {
                switch (taskdetails[i])
                {
                case 0:
                    _Slip.packingSlipDetails(i);
                    break;

                case 1:
                    _Slip.royalitySlip(i);
                    break;

                case 2:
                    _membership.membershipActivation(i);
                    break;

                case 3:
                    _membership.membershipUpgarde(i);
                    break;

                case 4:
                    _Email.sendEmial(i);
                    break;

                case 5:
                    _videoModule.SkiVideo(i, courtecision);
                    break;

                case 6:
                    _Slip.agentSlip(i);
                    break;
                }
            }
        }