internal LearnerFAM(LearnerFAM MigrationLearnerFAM, XmlNode Node, XmlNamespaceManager NSMgr)
        {
            this.Node  = Node;
            this.NSMgr = NSMgr;

            this.LearnFAMType = MigrationLearnerFAM.LearnFAMType;
            this.LearnFAMCode = MigrationLearnerFAM.LearnFAMCode;
        }
示例#2
0
        internal LearnerFAM(LearnerFAM MigrationLearnerFAM, XmlNode Node, XmlNamespaceManager NSMgr)
        {
            this.Node  = Node;
            this.NSMgr = NSMgr;

            switch (MigrationLearnerFAM.LearnFAMType)
            {
            case "MGA":
                this.LearnFAMType = "EDF";
                this.LearnFAMCode = 1;
                break;

            case "EGA":
                this.LearnFAMType = "EDF";
                this.LearnFAMCode = 2;
                break;

            default:
                this.LearnFAMType = MigrationLearnerFAM.LearnFAMType;
                this.LearnFAMCode = MigrationLearnerFAM.LearnFAMCode;
                break;
            }
        }