Esempio n. 1
0
 /// <summary>
 /// 解析命令数据
 /// </summary>
 /// <param name="data">传输命令</param>
 public void Parse(byte[] data)
 {
     TTLVHelper.Decoding(this, data);
 }
Esempio n. 2
0
 /// <summary>
 /// 生成命令数据
 /// </summary>
 /// <returns>命令数据</returns>
 public byte[] GenerateCommandData()
 {
     return(TTLVHelper.Encoding(this));
 }