本文整理汇总了C#中MsgHeader类的典型用法代码示例。如果您正苦于以下问题:C# MsgHeader类的具体用法?C# MsgHeader怎么用?C# MsgHeader使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MsgHeader类属于命名空间,在下文中一共展示了MsgHeader类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: QueryTimeout
public QueryTimeout(QueryTimeout value)
{
/// Initiliaze the protected variables
m_MsgHeader = new MsgHeader();
m_IsCommand = false;
/// Copy the values
m_MsgHeader = value.m_MsgHeader;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:9,代码来源:QueryTimeout.cs
示例2: Resume
public Resume(Resume value)
{
/// Initiliaze the protected variables
m_MsgHeader = new MsgHeader();
m_IsCommand = true;
/// Copy the values
m_MsgHeader = value.m_MsgHeader;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:9,代码来源:Resume.cs
示例3: ReportTimeout
public ReportTimeout(ReportTimeout value)
{
/// Initiliaze the protected variables
m_MsgHeader = new MsgHeader();
m_Body = new Body();
m_IsCommand = false;
/// Copy the values
m_MsgHeader = value.m_MsgHeader;
m_Body = value.m_Body;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:11,代码来源:ReportTimeout.cs
示例4: ClearEmergency
public ClearEmergency(ClearEmergency value)
{
/// Initiliaze the protected variables
m_MsgHeader = new MsgHeader();
m_Body = new Body();
m_IsCommand = true;
/// Copy the values
m_MsgHeader = value.m_MsgHeader;
m_Body = value.m_Body;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:11,代码来源:ClearEmergency.cs
示例5: CreateCommandEvent
public CreateCommandEvent(CreateCommandEvent value)
{
/// Initiliaze the protected variables
m_MsgHeader = new MsgHeader();
m_Body = new Body();
m_IsCommand = true;
/// Copy the values
m_MsgHeader = value.m_MsgHeader;
m_Body = value.m_Body;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:11,代码来源:CreateCommandEvent.cs
示例6: RejectControl
public RejectControl(RejectControl value)
{
/// Initiliaze the protected variables
m_MsgHeader = new MsgHeader();
m_Body = new Body();
m_IsCommand = false;
/// Copy the values
m_MsgHeader = value.m_MsgHeader;
m_Body = value.m_Body;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:11,代码来源:RejectControl.cs
示例7: QueryEvents
public QueryEvents(QueryEvents value)
{
/// Initiliaze the protected variables
m_MsgHeader = new MsgHeader();
m_Body = new Body();
m_IsCommand = false;
/// Copy the values
m_MsgHeader = value.m_MsgHeader;
m_Body = value.m_Body;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:11,代码来源:QueryEvents.cs
示例8: SetAuthority
public SetAuthority(SetAuthority value)
{
/// Initiliaze the protected variables
m_MsgHeader = new MsgHeader();
m_Body = new Body();
m_IsCommand = true;
/// Copy the values
m_MsgHeader = value.m_MsgHeader;
m_Body = value.m_Body;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:11,代码来源:SetAuthority.cs
示例9: ConfirmEventRequest
public ConfirmEventRequest(ConfirmEventRequest value)
{
/// Initiliaze the protected variables
m_MsgHeader = new MsgHeader();
m_Body = new Body();
m_IsCommand = false;
/// Copy the values
m_MsgHeader = value.m_MsgHeader;
m_Body = value.m_Body;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:11,代码来源:ConfirmEventRequest.cs
示例10: QueryRouteInfo
/// <summary>
///
/// </summary>
public void QueryRouteInfo()
{
MsgHeader mh = new MsgHeader();
//参数赋值
mh.MsgID = ConstIDs.O_TDMOM_ROUTE_INFO_REQ;
mh.puData = 0;
mh.DataLen = 0;
mh.MsgLen = (uint)Marshal.SizeOf(mh);
byte[] res_mh = StructConverter.StructToBytes(mh);
//发送
}
开发者ID:hazelor,项目名称:Applications.ComMonitor,代码行数:17,代码来源:LogicService.cs
示例11: SendIpInfo
/// <summary>
///
/// </summary>
public void SendIpInfo()
{
MsgHeader mh = new MsgHeader();
//参数赋值
mh.MsgID = ConstIDs.O_TDMOM_IP_PORT_CFG;
mh.puData = 0;
mh.DataLen = 0;
mh.MsgLen = (uint)Marshal.SizeOf(mh);
byte[] res_mh = StructConverter.StructToBytes(mh);
IpPortCFCStruct ips = new IpPortCFCStruct();
byte[] strbytes= System.Text.Encoding.Unicode.GetBytes(_configService.ConfigInfos.TermialIP);
Buffer.BlockCopy(strbytes, 0, ips.IpAddr, 0, ips.IpAddr.Length > strbytes.Length ? strbytes.Length : ips.IpAddr.Length);
ips.PortNum = (uint)_configService.ConfigInfos.TerminalPort;
//发送
}
开发者ID:hazelor,项目名称:Applications.ComMonitor,代码行数:23,代码来源:LogicService.cs
示例12: setAs
public SetAuthority setAs(SetAuthority value)
{
m_MsgHeader = value.m_MsgHeader;
m_Body = value.m_Body;
return this;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:7,代码来源:SetAuthority.cs
示例13: setAs
public ConfirmEventRequest setAs(ConfirmEventRequest value)
{
m_MsgHeader = value.m_MsgHeader;
m_Body = value.m_Body;
return this;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:7,代码来源:ConfirmEventRequest.cs
示例14: setMsgHeader
public ReportTimeout.MsgHeader setMsgHeader(MsgHeader value)
{
m_HeaderRec = value.getHeaderRec();
m_HeaderRec.setParent(this);
return this;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:7,代码来源:ReportTimeout.cs
示例15: setMsgHeader
public SetAuthority.MsgHeader setMsgHeader(MsgHeader value)
{
m_HeaderRec = value.getHeaderRec();
m_HeaderRec.setParent(this);
return this;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:7,代码来源:SetAuthority.cs
示例16: isEqual
public bool isEqual(MsgHeader value)
{
if (!this.getHeaderRec().isEqual(value.getHeaderRec()))
{
return false;
}
return true;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:8,代码来源:SetAuthority.cs
示例17: setAs
public RejectEventRequest setAs(RejectEventRequest value)
{
m_MsgHeader = value.m_MsgHeader;
m_Body = value.m_Body;
return this;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:7,代码来源:RejectEventRequest.cs
示例18: MsgHeader
public MsgHeader(MsgHeader value)
{
/// Initiliaze the protected variables
m_HeaderRec = new HeaderRec();
m_HeaderRec.setParent(this);
/// Copy the values
m_HeaderRec = value.getHeaderRec();
m_HeaderRec.setParent(this);
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:10,代码来源:SetAuthority.cs
示例19: RejectEventRequest
public RejectEventRequest()
{
m_MsgHeader = new MsgHeader();
m_Body = new Body();
m_IsCommand = false;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:6,代码来源:RejectEventRequest.cs
示例20: notEquals
public bool notEquals(MsgHeader value)
{
return !this.isEqual(value);
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:4,代码来源:SetAuthority.cs
注:本文中的MsgHeader类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论