public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._recordType = dis.ReadUnsignedByte();
             this._variableParameterFields1 = dis.ReadDouble();
             this._variableParameterFields2 = dis.ReadUnsignedInt();
             this._variableParameterFields3 = dis.ReadUnsignedShort();
             this._variableParameterFields4 = dis.ReadUnsignedByte();
         }
         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._parameterTypeDesignator = dis.ReadUnsignedByte();
             this._changeIndicator = dis.ReadUnsignedByte();
             this._partAttachedTo = dis.ReadUnsignedShort();
             this._parameterType = dis.ReadInt();
             this._parameterValue = dis.ReadDouble();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 3
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._domainInitialXi = dis.ReadDouble();
             this._domainFinalXi = dis.ReadDouble();
             this._domainPointsXi = dis.ReadUnsignedShort();
             this._interleafFactor = dis.ReadUnsignedByte();
             this._axisType = dis.ReadUnsignedByte();
             this._numberOfPointsOnXiAxis = dis.ReadUnsignedShort();
             this._initialIndex = dis.ReadUnsignedShort();
         }
         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._x = dis.ReadDouble();
             this._y = dis.ReadDouble();
             this._z = dis.ReadDouble();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }