⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smgpheader.cs

📁 这个是基于SMPP的开发源码
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;

namespace SMGP3_0
{
	public class SMGPHeader : SMPP.MessagePack
	{
		public SMGPHeader()
		{
			Add(new SMPP.Variable.Integer32());
			Add(new SMPP.Variable.Integer32());
		}

		/// <summary>
		/// 消息标识
		/// </summary>
		public Int32 RequestID
		{
			get
			{
				return (this[0] as SMPP.Variable.Integer32).Value;
			}
			set
			{
				(this[0] as SMPP.Variable.Integer32).Value = value;
			}
		}

		/// <summary>
		/// 消息流水号
		/// </summary>
		public int SequenceID
		{
			get
			{
				return (this[1] as SMPP.Variable.Integer32).Value;
			}
			set
			{
				(this[1] as SMPP.Variable.Integer32).Value = value;
			}
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -