public static JointProbabilityTraitViewModel CreateJointProbabilityTrait(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.JointProbabilityTrait serial_JointProbabilityTrait = serial_Class as FpmlSerializedCSharp.JointProbabilityTrait;
            string typeStr = serial_JointProbabilityTrait.Type_.ValueStr;

            return(JointProbabilityTraitViewModel.CreateJointProbabilityTrait(typeStr));
        }
        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_;
            this.referenceCurveListViewModel_ = new ReferenceCurveListViewModel();
            this.referenceCurveListViewModel_.setFromSerial(serial_referenceCurveList);

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

            this.jointProbabilityTraitViewModel_ = JointProbabilityTraitViewModel.CreateJointProbabilityTrait(jointProbabilityTraittype);
            this.jointProbabilityTraitViewModel_.setFromSerial(serial_jointProbabilityTrait);

            this.view_             = new ReferenceEntityInfo_paraView();
            this.view_.DataContext = this;
        }
 public void selectJointProbabilityTraitInfo(string typeStr)
 {
     this.jointProbabilityTraitViewModel_ = JointProbabilityTraitViewModel.CreateJointProbabilityTrait(typeStr);
     this.view_.DataContext = this;
 }
 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_;
     this.referenceCurveListViewModel_ = new ReferenceCurveListViewModel();
     this.referenceCurveListViewModel_.setFromSerial(serial_referenceCurveList);
     
     FpmlSerializedCSharp.JointProbabilityTrait serial_jointProbabilityTrait = serial_ReferenceEntityInfo_para.JointProbabilityTrait_;
     string jointProbabilityTraittype = serial_jointProbabilityTrait.Type_.ValueStr;
     this.jointProbabilityTraitViewModel_ = JointProbabilityTraitViewModel.CreateJointProbabilityTrait(jointProbabilityTraittype);
     this.jointProbabilityTraitViewModel_.setFromSerial(serial_jointProbabilityTrait);
     
     this.view_ = new ReferenceEntityInfo_paraView();
     this.view_.DataContext = this;
 }
 public void selectJointProbabilityTraitInfo(string typeStr)
 {
     this.jointProbabilityTraitViewModel_ = JointProbabilityTraitViewModel.CreateJointProbabilityTrait(typeStr);
     this.view_.DataContext = this;
 }