public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.PostCalculation serial_PostCalculation = serial_Class as FpmlSerializedCSharp.PostCalculation;

            FpmlSerializedCSharp.Operator1DList serial_operator1DList = serial_PostCalculation.Operator1DList_;
            string operator1DListtype = serial_operator1DList.Excel_type_.ValueStr;

            this.operator1DListViewModel_ = Operator1DListViewModel.CreateOperator1DList(operator1DListtype);
            this.operator1DListViewModel_.setFromSerial(serial_operator1DList);

            FpmlSerializedCSharp.ConditionOperator serial_conditionOperator = serial_PostCalculation.ConditionOperator_;
            string conditionOperatortype = serial_conditionOperator.Excel_type_.ValueStr;

            this.conditionOperatorViewModel_ = ConditionOperatorViewModel.CreateConditionOperator(conditionOperatortype);
            this.conditionOperatorViewModel_.setFromSerial(serial_conditionOperator);
        }
Beispiel #2
0
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.VariableCalculation serial_VariableCalculation = serial_Class as FpmlSerializedCSharp.VariableCalculation;

            FpmlSerializedCSharp.ReferenceCalculationInfo serial_referenceCalculationInfo = serial_VariableCalculation.ReferenceCalculationInfo_;
            string referenceCalculationInfotype = serial_referenceCalculationInfo.Excel_type_.ValueStr;

            this.referenceCalculationInfoViewModel_ = ReferenceCalculationInfoViewModel.CreateReferenceCalculationInfo(referenceCalculationInfotype);
            this.referenceCalculationInfoViewModel_.setFromSerial(serial_referenceCalculationInfo);

            FpmlSerializedCSharp.Operator1DList serial_operator1DList = serial_VariableCalculation.Operator1DList_;
            string operator1DListtype = serial_operator1DList.Excel_type_.ValueStr;

            this.operator1DListViewModel_ = Operator1DListViewModel.CreateOperator1DList(operator1DListtype);
            this.operator1DListViewModel_.setFromSerial(serial_operator1DList);

            FpmlSerializedCSharp.ConditionOperator serial_conditionOperator = serial_VariableCalculation.ConditionOperator_;
            string conditionOperatortype = serial_conditionOperator.Excel_type_.ValueStr;

            this.conditionOperatorViewModel_ = ConditionOperatorViewModel.CreateConditionOperator(conditionOperatortype);
            this.conditionOperatorViewModel_.setFromSerial(serial_conditionOperator);
        }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.VariableCalculation serial_VariableCalculation = serial_Class as FpmlSerializedCSharp.VariableCalculation;
 
     FpmlSerializedCSharp.ReferenceCalculationInfo serial_referenceCalculationInfo = serial_VariableCalculation.ReferenceCalculationInfo_;
     string referenceCalculationInfotype = serial_referenceCalculationInfo.Excel_type_.ValueStr;
     this.referenceCalculationInfoViewModel_ = ReferenceCalculationInfoViewModel.CreateReferenceCalculationInfo(referenceCalculationInfotype);
     this.referenceCalculationInfoViewModel_.setFromSerial(serial_referenceCalculationInfo);
     
     FpmlSerializedCSharp.Operator1DList serial_operator1DList = serial_VariableCalculation.Operator1DList_;
     string operator1DListtype = serial_operator1DList.Excel_type_.ValueStr;
     this.operator1DListViewModel_ = Operator1DListViewModel.CreateOperator1DList(operator1DListtype);
     this.operator1DListViewModel_.setFromSerial(serial_operator1DList);
     
     FpmlSerializedCSharp.ConditionOperator serial_conditionOperator = serial_VariableCalculation.ConditionOperator_;
     string conditionOperatortype = serial_conditionOperator.Excel_type_.ValueStr;
     this.conditionOperatorViewModel_ = ConditionOperatorViewModel.CreateConditionOperator(conditionOperatortype);
     this.conditionOperatorViewModel_.setFromSerial(serial_conditionOperator);
     
 }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.PostCalculation serial_PostCalculation = serial_Class as FpmlSerializedCSharp.PostCalculation;
 
     FpmlSerializedCSharp.Operator1DList serial_operator1DList = serial_PostCalculation.Operator1DList_;
     string operator1DListtype = serial_operator1DList.Excel_type_.ValueStr;
     this.operator1DListViewModel_ = Operator1DListViewModel.CreateOperator1DList(operator1DListtype);
     this.operator1DListViewModel_.setFromSerial(serial_operator1DList);
     
     FpmlSerializedCSharp.ConditionOperator serial_conditionOperator = serial_PostCalculation.ConditionOperator_;
     string conditionOperatortype = serial_conditionOperator.Excel_type_.ValueStr;
     this.conditionOperatorViewModel_ = ConditionOperatorViewModel.CreateConditionOperator(conditionOperatortype);
     this.conditionOperatorViewModel_.setFromSerial(serial_conditionOperator);
     
 }