public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
               _receivingEntityID.unmarshal(dis);
               _repairingEntityID.unmarshal(dis);
               _repair = dis.readUshort();
               _padding2 = dis.readShort();
            } // end try
               catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _requestingEntityID.unmarshal(dis);
                _servicingEntityID.unmarshal(dis);
                _serviceTypeRequested = dis.readByte();
                _numberOfSupplyTypes = dis.readByte();
                _serviceRequestPadding = dis.readShort();
                for(int idx = 0; idx < _numberOfSupplyTypes; idx++)
                {
                    SupplyQuantity anX = new SupplyQuantity();
                    anX.unmarshal(dis);
                    _supplies.Add(anX);
                };

            } // end try
            catch(Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        }
예제 #3
0
 public void unmarshal(DataInputStream dis)
 {
     try
     {
         _parameterIndex = dis.readUshort();
         _parameterValue = dis.readShort();
     } // end try
     catch(Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 }
예제 #4
0
 public void unmarshal(DataInputStream dis)
 {
     try
     {
         _currentShaftRPMs = dis.readShort();
         _orderedShaftRPMs = dis.readShort();
         _shaftRPMRateOfChange = dis.readFloat();
     } // end try
     catch(Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 }
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _issuingEntityID.unmarshal(dis);
                _collidingEntityID.unmarshal(dis);
                _collisionEventID.unmarshal(dis);
                _pad = dis.readShort();
                _contactVelocity.unmarshal(dis);
                _mass = dis.readFloat();
                _location.unmarshal(dis);
                _collisionResultXX = dis.readFloat();
                _collisionResultXY = dis.readFloat();
                _collisionResultXZ = dis.readFloat();
                _collisionResultYY = dis.readFloat();
                _collisionResultYZ = dis.readFloat();
                _collisionResultZZ = dis.readFloat();
                _unitSurfaceNormal.unmarshal(dis);
                _coefficientOfRestitution = dis.readFloat();
            } // end try
            catch(Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        }
예제 #6
0
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _munitionID.unmarshal(dis);
                _eventID.unmarshal(dis);
                _velocity.unmarshal(dis);
                _locationInWorldCoordinates.unmarshal(dis);
                _burstDescriptor.unmarshal(dis);
                _locationInEntityCoordinates.unmarshal(dis);
                _detonationResult = dis.readByte();
                _numberOfArticulationParameters = dis.readByte();
                _pad = dis.readShort();
                for(int idx = 0; idx < _numberOfArticulationParameters; idx++)
                {
                    ArticulationParameter anX = new ArticulationParameter();
                    anX.unmarshal(dis);
                    _articulationParameters.Add(anX);
                };

            } // end try
            catch(Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        }
 public void unmarshal(DataInputStream dis)
 {
     try
     {
         _beamDirection.unmarshal(dis);
         _azimuthBeamwidth = dis.readFloat();
         _referenceSystem = dis.readFloat();
         _padding1 = dis.readShort();
         _padding2 = dis.readByte();
         _ez = dis.readFloat();
         _ex = dis.readFloat();
         _phase = dis.readFloat();
     } // end try
     catch(Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 }
예제 #8
0
 public void unmarshal(DataInputStream dis)
 {
     try
     {
         _protocolVersion = dis.readByte();
         _exerciseID = dis.readByte();
         _pduType = dis.readByte();
         _protocolFamily = dis.readByte();
         _timestamp = dis.readUint();
         _length = dis.readUshort();
         _padding = dis.readShort();
     } // end try
     catch(Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 }
예제 #9
0
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _encodingScheme = dis.readUshort();
                _tdlType = dis.readUshort();
                _sampleRate = dis.readUint();
                _dataLength = dis.readShort();
                _samples = dis.readShort();
                _data = dis.readByteArray((_dataLength / 8) + (_dataLength % 8 > 0 ? 1 : 0));  //09062009 Post processed. Needed to convert from bits to bytes
            } // end try
            catch(Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        }
예제 #10
0
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _realWorldTime.unmarshal(dis);
                _reason = dis.readByte();
                _frozenBehavior = dis.readByte();
                _padding1 = dis.readShort();
                _requestID = dis.readUint();
            } // end try
            catch(Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        }