本文整理汇总了C#中DISnet.DataStreamUtilities.DataOutputStream.WriteDouble方法的典型用法代码示例。如果您正苦于以下问题:C# DataOutputStream.WriteDouble方法的具体用法?C# DataOutputStream.WriteDouble怎么用?C# DataOutputStream.WriteDouble使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DISnet.DataStreamUtilities.DataOutputStream
的用法示例。
在下文中一共展示了DataOutputStream.WriteDouble方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Marshal
public virtual void Marshal(DataOutputStream dos)
{
if (dos != null)
{
try
{
dos.WriteUnsignedByte((byte)this._recordType);
dos.WriteDouble((double)this._variableParameterFields1);
dos.WriteUnsignedInt((uint)this._variableParameterFields2);
dos.WriteUnsignedShort((ushort)this._variableParameterFields3);
dos.WriteUnsignedByte((byte)this._variableParameterFields4);
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例2: Marshal
public virtual void Marshal(DataOutputStream dos)
{
if (dos != null)
{
try
{
dos.WriteUnsignedByte((byte)this._parameterTypeDesignator);
dos.WriteUnsignedByte((byte)this._changeIndicator);
dos.WriteUnsignedShort((ushort)this._partAttachedTo);
dos.WriteInt((int)this._parameterType);
dos.WriteDouble((double)this._parameterValue);
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例3: Marshal
public virtual void Marshal(DataOutputStream dos)
{
if (dos != null)
{
try
{
dos.WriteDouble((double)this._domainInitialXi);
dos.WriteDouble((double)this._domainFinalXi);
dos.WriteUnsignedShort((ushort)this._domainPointsXi);
dos.WriteUnsignedByte((byte)this._interleafFactor);
dos.WriteUnsignedByte((byte)this._axisType);
dos.WriteUnsignedShort((ushort)this._numberOfPointsOnXiAxis);
dos.WriteUnsignedShort((ushort)this._initialIndex);
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}
示例4: Marshal
public virtual void Marshal(DataOutputStream dos)
{
if (dos != null)
{
try
{
dos.WriteDouble((double)this._x);
dos.WriteDouble((double)this._y);
dos.WriteDouble((double)this._z);
}
catch (Exception e)
{
#if DEBUG
Trace.WriteLine(e);
Trace.Flush();
#endif
this.OnException(e);
}
}
}