public virtual void Unmarshal(DataInputStream dis) { if (dis != null) { try { this._numberOfStandardVariableRecords = dis.ReadUnsignedShort(); for (int idx = 0; idx < this.NumberOfStandardVariableRecords; idx++) { SimulationManagementPduHeader anX = new SimulationManagementPduHeader(); anX.Unmarshal(dis); this._standardVariables.Add(anX); } ; } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public virtual void Unmarshal(DataInputStream dis) { if (dis != null) { try { this._numberOfStandardVariableRecords = dis.ReadUnsignedShort(); for (int idx = 0; idx < this.NumberOfStandardVariableRecords; idx++) { SimulationManagementPduHeader anX = new SimulationManagementPduHeader(); anX.Unmarshal(dis); this._standardVariables.Add(anX); }; } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }