public override void Reflection(StringBuilder sb) { sb.AppendLine("<ElectronicEmissionsPdu>"); base.Reflection(sb); try { sb.AppendLine("<emittingEntityID>"); this._emittingEntityID.Reflection(sb); sb.AppendLine("</emittingEntityID>"); sb.AppendLine("<eventID>"); this._eventID.Reflection(sb); sb.AppendLine("</eventID>"); sb.AppendLine("<stateUpdateIndicator type=\"byte\">" + this._stateUpdateIndicator.ToString(CultureInfo.InvariantCulture) + "</stateUpdateIndicator>"); sb.AppendLine("<systems type=\"byte\">" + this._systems.Count.ToString(CultureInfo.InvariantCulture) + "</systems>"); sb.AppendLine("<paddingForEmissionsPdu type=\"ushort\">" + this._paddingForEmissionsPdu.ToString(CultureInfo.InvariantCulture) + "</paddingForEmissionsPdu>"); for (int idx = 0; idx < this._systems.Count; idx++) { sb.AppendLine("<systems" + idx.ToString(CultureInfo.InvariantCulture) + " type=\"ElectronicEmissionSystemData\">"); ElectronicEmissionSystemData aElectronicEmissionSystemData = (ElectronicEmissionSystemData)this._systems[idx]; aElectronicEmissionSystemData.Reflection(sb); sb.AppendLine("</systems" + idx.ToString(CultureInfo.InvariantCulture) + ">"); } sb.AppendLine("</ElectronicEmissionsPdu>"); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } }