Class DecodeTmd

java.lang.Object
com.yasee.yasee.core.abstracts.DecodeCmd
com.yasee.yasee.protocols.tmd.DecodeTmd

public class DecodeTmd extends DecodeCmd
解析 TMD 指令内容
  • Constructor Details

    • DecodeTmd

      public DecodeTmd(byte[] raws)
      Instantiates a new Decode tmd.
      Parameters:
      raws - the raws
  • Method Details

    • getRaw

      public byte[] getRaw()
      Description copied from class: DecodeCmd
      获取原始指令
      Specified by:
      getRaw in class DecodeCmd
      Returns:
      the byte [ ]
    • getType

      public CmdType getType()
      Description copied from class: DecodeCmd
      指令步骤 (指令功能)
      Specified by:
      getType in class DecodeCmd
      Returns:
      the type
    • getDecodeData

      public HashMap<String,String> getDecodeData()
      Description copied from class: DecodeCmd
      获取 解析完成的内容 这个地方就是对外暴露的可读性信息
      Specified by:
      getDecodeData in class DecodeCmd
      Returns:
      the decode data