示例#1
0
文件: Messages.cs 项目: lppcom/cmpp30
 public CMPPMsgHeader(uint bodyLength, Command_Id commandId, uint sequenceId)
 {
     Total_Length = HeadLength + bodyLength;
     Command_Id   = commandId;
     Sequence_Id  = sequenceId;
 }
示例#2
0
文件: Messages.cs 项目: lppcom/cmpp30
 /// <summary>
 ///
 /// </summary>
 /// <param name="totalLength"></param>
 /// <param name="commandId"></param>
 /// <param name="sequenceId"></param>
 public CMPPMsgHeader(uint bodyLength, Command_Id commandId)
 {
     Total_Length = HeadLength + bodyLength;
     Command_Id   = commandId;
     Sequence_Id  = SequenceIdHelper.GetOne();
 }