public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.PreCalculation serial_PreCalculation = serial_Class as FpmlSerializedCSharp.PreCalculation;

            FpmlSerializedCSharp.VariableCalList serial_variableCalList = serial_PreCalculation.VariableCalList_;
            string variableCalListtype = serial_variableCalList.Excel_type_.ValueStr;

            this.variableCalListViewModel_ = VariableCalListViewModel.CreateVariableCalList(variableCalListtype);
            this.variableCalListViewModel_.setFromSerial(serial_variableCalList);
        }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.PreCalculation serial_PreCalculation = serial_Class as FpmlSerializedCSharp.PreCalculation;
 
     FpmlSerializedCSharp.VariableCalList serial_variableCalList = serial_PreCalculation.VariableCalList_;
     string variableCalListtype = serial_variableCalList.Excel_type_.ValueStr;
     this.variableCalListViewModel_ = VariableCalListViewModel.CreateVariableCalList(variableCalListtype);
     this.variableCalListViewModel_.setFromSerial(serial_variableCalList);
     
 }
예제 #3
0
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.ReturnCalculation  serial_ReturnCalculation  = serial_Class as FpmlSerializedCSharp.ReturnCalculation;
            FpmlSerializedCSharp.ComplexNDReturnCal serial_ComplexNDReturnCal = serial_ReturnCalculation.ComplexNDReturnCal_;

            FpmlSerializedCSharp.VariableCalList serial_variableCalList = serial_ComplexNDReturnCal.VariableCalList_;
            string variableCalListtype = serial_variableCalList.Excel_type_.ValueStr;

            this.variableCalListViewModel_ = VariableCalListViewModel.CreateVariableCalList(variableCalListtype);
            this.variableCalListViewModel_.setFromSerial(serial_variableCalList);

            FpmlSerializedCSharp.OperatorND serial_operatorND = serial_ComplexNDReturnCal.OperatorND_;
            string operatorNDtype = serial_operatorND.Excel_type_.ValueStr;

            this.operatorNDViewModel_ = OperatorNDViewModel.CreateOperatorND(operatorNDtype);
            this.operatorNDViewModel_.setFromSerial(serial_operatorND);
        }
 public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.ReturnCalculation serial_ReturnCalculation = serial_Class as FpmlSerializedCSharp.ReturnCalculation;
     FpmlSerializedCSharp.ComplexNDReturnCal serial_ComplexNDReturnCal = serial_ReturnCalculation.ComplexNDReturnCal_;
 
     FpmlSerializedCSharp.VariableCalList serial_variableCalList = serial_ComplexNDReturnCal.VariableCalList_;
     string variableCalListtype = serial_variableCalList.Excel_type_.ValueStr;
     this.variableCalListViewModel_ = VariableCalListViewModel.CreateVariableCalList(variableCalListtype);
     this.variableCalListViewModel_.setFromSerial(serial_variableCalList);
     
     FpmlSerializedCSharp.OperatorND serial_operatorND = serial_ComplexNDReturnCal.OperatorND_;
     string operatorNDtype = serial_operatorND.Excel_type_.ValueStr;
     this.operatorNDViewModel_ = OperatorNDViewModel.CreateOperatorND(operatorNDtype);
     this.operatorNDViewModel_.setFromSerial(serial_operatorND);
     
 }