本文整理汇总了C#中DISnet.DataStreamUtilities.DataInputStream.ReadUnsignedInt方法的典型用法代码示例。如果您正苦于以下问题:C# DataInputStream.ReadUnsignedInt方法的具体用法?C# DataInputStream.ReadUnsignedInt怎么用?C# DataInputStream.ReadUnsignedInt使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DISnet.DataStreamUtilities.DataInputStream
的用法示例。
在下文中一共展示了DataInputStream.ReadUnsignedInt方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._recordType = dis.ReadUnsignedInt();
this._recordLength = dis.ReadUnsignedShort();
this._ioStatus = dis.ReadUnsignedByte();
this._ioLinkType = dis.ReadUnsignedByte();
this._ioEffect.Unmarshal(dis);
this._ioEffectDutyCycle = dis.ReadUnsignedByte();
this._ioEffectDuration = dis.ReadUnsignedShort();
this._ioProcess = dis.ReadUnsignedShort();
this._padding = dis.ReadUnsignedShort();
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例2: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._recordType = dis.ReadUnsignedInt();
this._recordLength = dis.ReadUnsignedShort();
this._padding = dis.ReadUnsignedShort();
this._damageLocation.Unmarshal(dis);
this._damageDiameter = dis.ReadFloat();
this._temperature = dis.ReadFloat();
this._componentIdentification = dis.ReadUnsignedByte();
this._componentDamageStatus = dis.ReadUnsignedByte();
this._componentVisualDamageStatus = dis.ReadUnsignedByte();
this._componentVisualSmokeColor = dis.ReadUnsignedByte();
this._fireEventID.Unmarshal(dis);
this._padding2 = dis.ReadUnsignedShort();
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例3: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._recordType = dis.ReadUnsignedByte();
this._changeIndicator = dis.ReadUnsignedByte();
this._entityType.Unmarshal(dis);
this._padding = dis.ReadUnsignedShort();
this._padding1 = dis.ReadUnsignedInt();
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例4: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._recordType = dis.ReadUnsignedInt();
this._recordLength = dis.ReadUnsignedShort();
this._padding = dis.ReadUnsignedShort();
this._emitterNumber = dis.ReadUnsignedByte();
this._beamNumber = dis.ReadUnsignedByte();
this._stateIndicator = dis.ReadUnsignedByte();
this._padding2 = dis.ReadUnsignedInt();
this._azimuthOffset = dis.ReadFloat();
this._azimuthWidth = dis.ReadFloat();
this._azimuthPullRate = dis.ReadFloat();
this._azimuthPullAcceleration = dis.ReadFloat();
this._elevationOffset = dis.ReadFloat();
this._elevationWidth = dis.ReadFloat();
this._elevationPullRate = dis.ReadFloat();
this._elevationPullAcceleration = dis.ReadFloat();
this._padding3 = dis.ReadUnsignedInt();
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例5: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._expendable.Unmarshal(dis);
this._station = dis.ReadUnsignedInt();
this._standardQuantity = dis.ReadUnsignedShort();
this._maximumQuantity = dis.ReadUnsignedShort();
this._standardQuantityReloadTime = dis.ReadUnsignedInt();
this._maximumQuantityReloadTime = dis.ReadUnsignedInt();
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例6: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._recordID = dis.ReadUnsignedInt();
this._recordSetSerialNumber = dis.ReadUnsignedInt();
this._recordLength = dis.ReadUnsignedShort();
this._recordCount = dis.ReadUnsignedShort();
this._recordValues = dis.ReadUnsignedShort();
this._pad4 = dis.ReadUnsignedByte();
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例7: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._recordType = dis.ReadUnsignedInt();
this._recordLength = dis.ReadUnsignedShort();
this._communcationsNodeType = dis.ReadUnsignedByte();
this._padding = dis.ReadUnsignedByte();
this._communicationsNode.Unmarshal(dis);
this._elementID = dis.ReadUnsignedShort();
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例8: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._protocolVersion = dis.ReadUnsignedByte();
this._exerciseID = dis.ReadUnsignedByte();
this._pduType = dis.ReadUnsignedByte();
this._protocolFamily = dis.ReadUnsignedByte();
this._timestamp = dis.ReadUnsignedInt();
this._length = dis.ReadUnsignedShort();
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例9: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._erp = dis.ReadFloat();
this._frequency = dis.ReadFloat();
this._pgrf = dis.ReadFloat();
this._pulseWidth = dis.ReadFloat();
this._burstLength = dis.ReadUnsignedInt();
this._applicableModes = dis.ReadUnsignedByte();
for (int idx = 0; idx < this._systemSpecificData.Length; idx++)
{
this._systemSpecificData[idx] = dis.ReadUnsignedByte();
}
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例10: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._recordType = dis.ReadUnsignedInt();
this._recordLength = dis.ReadUnsignedShort();
this._padding = dis.ReadUnsignedShort();
this._emitterNumber = dis.ReadUnsignedByte();
this._beamNumber = dis.ReadUnsignedByte();
this._stateIndicator = dis.ReadUnsignedByte();
this._padding2 = dis.ReadUnsignedByte();
this._falseTargetCount = dis.ReadFloat();
this._walkSpeed = dis.ReadFloat();
this._walkAcceleration = dis.ReadFloat();
this._maximumWalkDistance = dis.ReadFloat();
this._keepTime = dis.ReadFloat();
this._echoSpacing = dis.ReadFloat();
this._padding3 = dis.ReadUnsignedInt();
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例11: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._recordType = dis.ReadUnsignedByte();
this._reasonForSeparation = dis.ReadUnsignedByte();
this._preEntityIndicator = dis.ReadUnsignedByte();
this._padding1 = dis.ReadUnsignedByte();
this._parentEntityID.Unmarshal(dis);
this._padding2 = dis.ReadUnsignedShort();
this._stationLocation = dis.ReadUnsignedInt();
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例12: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._numberOfRecordSets = dis.ReadUnsignedInt();
for (int idx = 0; idx < this.NumberOfRecordSets; idx++)
{
RecordSpecificationElement anX = new RecordSpecificationElement();
anX.Unmarshal(dis);
this._recordSets.Add(anX);
};
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例13: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._variableDatumID = dis.ReadUnsignedInt();
this._variableDatumLength = dis.ReadUnsignedInt();
this._variableDatumBits = dis.ReadUnsignedInt();
this._padding = dis.ReadUnsignedInt();
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例14: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._segmentNumber = dis.ReadUnsignedByte();
this._segmentAppearance.Unmarshal(dis);
this._location.Unmarshal(dis);
this._orientation.Unmarshal(dis);
this._segmentLength = dis.ReadUnsignedShort();
this._segmentWidth = dis.ReadUnsignedShort();
this._segmentHeight = dis.ReadUnsignedShort();
this._segmentDepth = dis.ReadUnsignedShort();
this._pad1 = dis.ReadUnsignedInt();
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例15: Unmarshal
public virtual void Unmarshal(DataInputStream dis)
{
if (dis != null)
{
try
{
this._erp = dis.ReadFloat();
this._frequency = dis.ReadFloat();
this._pgrf = dis.ReadFloat();
this._pulseWidth = dis.ReadFloat();
this._burstLength = dis.ReadUnsignedInt();
this._applicableModes = dis.ReadUnsignedByte();
this._pad2 = dis.ReadUnsignedShort();
this._pad3 = dis.ReadUnsignedByte();
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}