1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using Edge.Core.Parser.BinaryParser.Attributes;
- using Edge.Core.Parser.BinaryParser.MessageEntity;
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace ShellChina_EPS_Project_CarPlatePay_EpsClient_App.MessageEntity.Base
- {
- public class MessageBase : MessageTemplateBase
- {
-
-
-
-
-
- public static string VariableLengthMode = "AscIIInt";
-
-
-
-
-
- public int Length { get; set; }
-
-
-
- [Format(5, EncodingType.BcdString, -9950)]
- public string TPDU { get; set; }
-
-
-
- [Format(2, EncodingType.BCD, -9900)]
- [Range(0, 9999, "Shell China ISO8583 msg MessageTypeIdentifier must be range from {1} to {2}, but actual is {0}")]
- public int MessageTypeIdentifier { get; set; }
-
-
-
- [EnumerableFormat(8, -9850, EncodingType = EncodingType.BIN)]
- public List<byte> BitMap { get; set; }
- [EnumerableFormat("%cascade", -9800)]
- public List<byte> Content { get; set; }
- public void SetBitMapAndValue(int fieldIndex, string value)
- {
- }
- public void SetBitMapAndValue(int fieldIndex, int value)
- {
- }
- }
- }
|