public void MergeFrom(pb::CodedInputStream input)
        {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
            input.ReadRawMessage(this);
    #else
            uint tag;
            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (conductingEquipmentTerminalReading_ == null)
                    {
                        ConductingEquipmentTerminalReading = new global::openfmb.commonmodule.ConductingEquipmentTerminalReading();
                    }
                    input.ReadMessage(ConductingEquipmentTerminalReading);
                    break;
                }

                case 18: {
                    if (phaseMMTN_ == null)
                    {
                        PhaseMMTN = new global::openfmb.commonmodule.PhaseMMTN();
                    }
                    input.ReadMessage(PhaseMMTN);
                    break;
                }

                case 26: {
                    if (readingMMTR_ == null)
                    {
                        ReadingMMTR = new global::openfmb.commonmodule.ReadingMMTR();
                    }
                    input.ReadMessage(ReadingMMTR);
                    break;
                }

                case 34: {
                    if (readingMMXU_ == null)
                    {
                        ReadingMMXU = new global::openfmb.commonmodule.ReadingMMXU();
                    }
                    input.ReadMessage(ReadingMMXU);
                    break;
                }
                }
            }
    #endif
        }
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                    break;

                case 10: {
                    if (conductingEquipmentTerminalReading_ == null)
                    {
                        ConductingEquipmentTerminalReading = new global::openfmb.commonmodule.ConductingEquipmentTerminalReading();
                    }
                    input.ReadMessage(ConductingEquipmentTerminalReading);
                    break;
                }

                case 18: {
                    if (phaseMMTN_ == null)
                    {
                        PhaseMMTN = new global::openfmb.commonmodule.PhaseMMTN();
                    }
                    input.ReadMessage(PhaseMMTN);
                    break;
                }

                case 26: {
                    if (readingMMTR_ == null)
                    {
                        ReadingMMTR = new global::openfmb.commonmodule.ReadingMMTR();
                    }
                    input.ReadMessage(ReadingMMTR);
                    break;
                }

                case 34: {
                    if (readingMMXU_ == null)
                    {
                        ReadingMMXU = new global::openfmb.commonmodule.ReadingMMXU();
                    }
                    input.ReadMessage(ReadingMMXU);
                    break;
                }
                }
            }
        }
 public void MergeFrom(MeterReading other)
 {
     if (other == null)
     {
         return;
     }
     if (other.conductingEquipmentTerminalReading_ != null)
     {
         if (conductingEquipmentTerminalReading_ == null)
         {
             ConductingEquipmentTerminalReading = new global::openfmb.commonmodule.ConductingEquipmentTerminalReading();
         }
         ConductingEquipmentTerminalReading.MergeFrom(other.ConductingEquipmentTerminalReading);
     }
     if (other.phaseMMTN_ != null)
     {
         if (phaseMMTN_ == null)
         {
             PhaseMMTN = new global::openfmb.commonmodule.PhaseMMTN();
         }
         PhaseMMTN.MergeFrom(other.PhaseMMTN);
     }
     if (other.readingMMTR_ != null)
     {
         if (readingMMTR_ == null)
         {
             ReadingMMTR = new global::openfmb.commonmodule.ReadingMMTR();
         }
         ReadingMMTR.MergeFrom(other.ReadingMMTR);
     }
     if (other.readingMMXU_ != null)
     {
         if (readingMMXU_ == null)
         {
             ReadingMMXU = new global::openfmb.commonmodule.ReadingMMXU();
         }
         ReadingMMXU.MergeFrom(other.ReadingMMXU);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }