示例#1
0
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_cashFlowsResult serial_Excel_cashFlowsResult = serial_Class as FpmlSerializedCSharp.Excel_cashFlowsResult;

            List <FpmlSerializedCSharp.Excel_cashFlowResult> serial_excel_cashFlowResult = serial_Excel_cashFlowsResult.Excel_cashFlowResult_;

            this.excel_cashFlowResultViewModel_ = new ObservableCollection <Excel_cashFlowResultViewModel>();
            foreach (var item in serial_excel_cashFlowResult)
            {
                Excel_cashFlowResultViewModel viewModel = new Excel_cashFlowResultViewModel();
                viewModel.setFromSerial(item);
                this.excel_cashFlowResultViewModel_.Add(viewModel);
            }
        }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.Excel_cashFlowsResult serial_Excel_cashFlowsResult = serial_Class as FpmlSerializedCSharp.Excel_cashFlowsResult;
 
     List<FpmlSerializedCSharp.Excel_cashFlowResult> serial_excel_cashFlowResult = serial_Excel_cashFlowsResult.Excel_cashFlowResult_;
     this.excel_cashFlowResultViewModel_ = new ObservableCollection<Excel_cashFlowResultViewModel>();
     foreach (var item in serial_excel_cashFlowResult)
     {
         Excel_cashFlowResultViewModel viewModel = new Excel_cashFlowResultViewModel();
         viewModel.setFromSerial(item);
         this.excel_cashFlowResultViewModel_.Add(viewModel);
     }
     
 }
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_cashFlowsResult serial_Excel_cashFlowsResult = serial_Class as FpmlSerializedCSharp.Excel_cashFlowsResult;

            List <FpmlSerializedCSharp.Excel_cashFlowResult> serial_excel_cashFlowResult = serial_Excel_cashFlowsResult.Excel_cashFlowResult_;

            this.excel_cashFlowResultViewModel_ = new ObservableCollection <Excel_cashFlowResultViewModel>();
            foreach (var item in serial_excel_cashFlowResult)
            {
                string type = item.Excel_type_.ValueStr;
                Excel_cashFlowResultViewModel viewModel = Excel_cashFlowResultViewModel.CreateExcel_cashFlowResult(type);
                viewModel.setFromSerial(item);
                this.excel_cashFlowResultViewModel_.Add(viewModel);
            }
        }