tlvint16.cs
来自「短信网关的应用开发」· CS 代码 · 共 35 行
CS
35 行
using System;
using System.Collections.Generic;
using System.Text;
namespace SMPP.Variable
{
/// <summary>
/// TLV16位整型
/// </summary>
public class TLVInt16 : TLV
{
public Int16 Value
{
get
{
return (ValueField as Integer16).Value;
}
set
{
(ValueField as Integer16).Value = value;
}
}
public TLVInt16(short Tag) : base(Tag)
{
ValueField = new Integer16();
}
public override void SetNewLength(int Length)
{
//不用实现
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?