本文整理汇总了C#中DISnet.DataStreamUtilities.DataInputStream.ReadDouble方法的典型用法代码示例。如果您正苦于以下问题:C# DataInputStream.ReadDouble方法的具体用法?C# DataInputStream.ReadDouble怎么用?C# DataInputStream.ReadDouble使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DISnet.DataStreamUtilities.DataInputStream
的用法示例。
在下文中一共展示了DataInputStream.ReadDouble方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Unmarshal
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);
}
}
}
示例2: Unmarshal
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);
}
}
}
示例3: Unmarshal
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);
}
}
}
示例4: Unmarshal
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);
}
}
}