public static UnderylingResultViewModel CreateUnderylingResult(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.UnderylingResult serial_UnderylingResult = serial_Class as FpmlSerializedCSharp.UnderylingResult;
            string typeStr = serial_UnderylingResult.Type_.ValueStr;

            return(UnderylingResultViewModel.CreateUnderylingResult(typeStr));
        }
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.UnderylingInfoResult serial_UnderylingInfoResult = serial_Class as FpmlSerializedCSharp.UnderylingInfoResult;

            List <FpmlSerializedCSharp.UnderylingResult> serial_underylingResult = serial_UnderylingInfoResult.UnderylingResult_;

            this.underylingResultViewModel_ = new ObservableCollection <UnderylingResultViewModel>();
            foreach (var item in serial_underylingResult)
            {
                string type = item.Type_.ValueStr;
                UnderylingResultViewModel viewModel = UnderylingResultViewModel.CreateUnderylingResult(type);
                viewModel.setFromSerial(item);
                this.underylingResultViewModel_.Add(viewModel);
            }

            this.view_             = new UnderylingInfoResultView();
            this.view_.DataContext = this;
        }