コード例 #1
0
        public void parsing()
        {
            // 분류함.
            //this.jobAction_ = new InstrumentDataEnQueueJob(this.messageText_);
            //this.jobAction_ = new CalculationStartJob();

            this.calculationServerProtocol_ = new CalculationServerProtocol(this.messageText_);

            string typeStr = this.calculationServerProtocol_.Type_;

            if (typeStr.ToString() == "CALCULATIONCHECKJOB")
            {
                this.jobAction_ = new CalculationCheckJob();
            }
            else
            {
                this.jobAction_ = new CalculationStartJob();
            }
        }
コード例 #2
0
        public void parsing()
        {
            // 분류함.
            //this.jobAction_ = new InstrumentDataEnQueueJob(this.messageText_);
            //this.jobAction_ = new CalculationStartJob();

            this.calculationServerProtocol_ = new CalculationServerProtocol(this.messageText_);

            string typeStr = this.calculationServerProtocol_.Type_;

            if (typeStr.ToString() == "CALCULATIONCHECKJOB")
            {
                this.jobAction_ = new CalculationCheckJob();
            }
            else
            {
                this.jobAction_ = new CalculationStartJob();
            }


        }