123456789101112131415161718192021222324252627282930 |
- using Dfs.WayneChina.HengshanTerminalWrapper.MessageEntity.Base;
- using Edge.Core.Parser.BinaryParser.Attributes;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Dfs.WayneChina.HengshanTerminalWrapper.MessageEntity.Outgoing
- {
- public class CloseResponse : NonCardDispenserMessageTemplateBase
- {
- public CloseResponse()
- {
- CMD = 0xA6;
- }
- [Format(1, EncodingType.BIN, 3)]
- public int result { get; set; }
- public Result EnumResult
- {
- get { return result == 0x55 ? Result.成功 : Result.失败; }
- set
- {
- result = (value == Result.成功) ? 0x55 : 0xAA;
- }
- }
- }
- }
|