DataBytesLength.cs 561 B

12345678910111213141516171819202122
  1. using Edge.Core.Parser.BinaryParser.Attributes;
  2. using HengshanPaymentTerminal.Support;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. namespace HengshanPaymentTerminal.MessageEntity.Outgoing
  7. {
  8. public class DataBytesLength : CardMessageBase
  9. {
  10. public DataBytesLength() : base(Command.DataBytesLength)
  11. {
  12. }
  13. [Format(4, EncodingType.BIN, -90)]
  14. public int DataLength { get; set; }
  15. [Format(1, EncodingType.BIN, -89)]
  16. public DataContentType DataContentType { get; set; }
  17. }
  18. }