public static VariableEventInfoViewModel CreateVariableEventInfo(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.VariableEventInfo serial_VariableEventInfo = serial_Class as FpmlSerializedCSharp.VariableEventInfo;
            string typeStr = serial_VariableEventInfo.Type_.ValueStr;

            return(VariableEventInfoViewModel.CreateVariableEventInfo(typeStr));
        }
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.RefVariable_eventOcc serial_RefVariable_eventOcc = serial_Class as FpmlSerializedCSharp.RefVariable_eventOcc;

            FpmlSerializedCSharp.VariableEventInfo serial_variableEventInfo = serial_RefVariable_eventOcc.VariableEventInfo_;
            string variableEventInfotype = serial_variableEventInfo.Type_.ValueStr;

            this.variableEventInfoViewModel_ = VariableEventInfoViewModel.CreateVariableEventInfo(variableEventInfotype);
            this.variableEventInfoViewModel_.setFromSerial(serial_variableEventInfo);

            //this.view_ = new RefVariable_eventOccView();
            //this.view_.DataContext = this;
        }