Exemple #1
0
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.ReferenceEntityInfo_para serial_ReferenceEntityInfo_para = serial_Class as FpmlSerializedCSharp.ReferenceEntityInfo_para;

            FpmlSerializedCSharp.ReferenceCurveList serial_referenceCurveList = serial_ReferenceEntityInfo_para.ReferenceCurveList_;
            string referenceCurveListtype = serial_referenceCurveList.Excel_type_.ValueStr;

            this.referenceCurveListViewModel_ = ReferenceCurveListViewModel.CreateReferenceCurveList(referenceCurveListtype);
            this.referenceCurveListViewModel_.setFromSerial(serial_referenceCurveList);

            FpmlSerializedCSharp.JointProbabilityTrait serial_jointProbabilityTrait = serial_ReferenceEntityInfo_para.JointProbabilityTrait_;
            string jointProbabilityTraittype = serial_jointProbabilityTrait.Excel_type_.ValueStr;

            this.jointProbabilityTraitViewModel_ = JointProbabilityTraitViewModel.CreateJointProbabilityTrait(jointProbabilityTraittype);
            this.jointProbabilityTraitViewModel_.setFromSerial(serial_jointProbabilityTrait);
        }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.ReferenceEntityInfo_para serial_ReferenceEntityInfo_para = serial_Class as FpmlSerializedCSharp.ReferenceEntityInfo_para;
 
     FpmlSerializedCSharp.ReferenceCurveList serial_referenceCurveList = serial_ReferenceEntityInfo_para.ReferenceCurveList_;
     string referenceCurveListtype = serial_referenceCurveList.Excel_type_.ValueStr;
     this.referenceCurveListViewModel_ = ReferenceCurveListViewModel.CreateReferenceCurveList(referenceCurveListtype);
     this.referenceCurveListViewModel_.setFromSerial(serial_referenceCurveList);
     
     FpmlSerializedCSharp.JointProbabilityTrait serial_jointProbabilityTrait = serial_ReferenceEntityInfo_para.JointProbabilityTrait_;
     string jointProbabilityTraittype = serial_jointProbabilityTrait.Excel_type_.ValueStr;
     this.jointProbabilityTraitViewModel_ = JointProbabilityTraitViewModel.CreateJointProbabilityTrait(jointProbabilityTraittype);
     this.jointProbabilityTraitViewModel_.setFromSerial(serial_jointProbabilityTrait);
     
 }