public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Message serial_Message = serial_Class as FpmlSerializedCSharp.Message;

            FpmlSerializedCSharp.MessageHeader serial_messageHeader = serial_Message.MessageHeader_;
            string messageHeadertype = serial_messageHeader.Excel_type_.ValueStr;

            this.messageHeaderViewModel_ = MessageHeaderViewModel.CreateMessageHeader(messageHeadertype);
            this.messageHeaderViewModel_.setFromSerial(serial_messageHeader);

            FpmlSerializedCSharp.MessageBody serial_messageBody = serial_Message.MessageBody_;
            string messageBodytype = serial_messageBody.Excel_type_.ValueStr;

            this.messageBodyViewModel_ = MessageBodyViewModel.CreateMessageBody(messageBodytype);
            this.messageBodyViewModel_.setFromSerial(serial_messageBody);
        }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.Message serial_Message = serial_Class as FpmlSerializedCSharp.Message;
 
     FpmlSerializedCSharp.MessageHeader serial_messageHeader = serial_Message.MessageHeader_;
     string messageHeadertype = serial_messageHeader.Excel_type_.ValueStr;
     this.messageHeaderViewModel_ = MessageHeaderViewModel.CreateMessageHeader(messageHeadertype);
     this.messageHeaderViewModel_.setFromSerial(serial_messageHeader);
     
     FpmlSerializedCSharp.MessageBody serial_messageBody = serial_Message.MessageBody_;
     string messageBodytype = serial_messageBody.Excel_type_.ValueStr;
     this.messageBodyViewModel_ = MessageBodyViewModel.CreateMessageBody(messageBodytype);
     this.messageBodyViewModel_.setFromSerial(serial_messageBody);
     
 }