12345678910111213141516171819202122232425262728293031 |
- using Dfs.WayneChina.HengshanTerminalWrapper.MessageEntity.Base;
- using Edge.Core.Parser.BinaryParser.Attributes;
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Dfs.WayneChina.HengshanTerminalWrapper.MessageEntity.Outgoing
- {
- /// <summary>
- /// The response format is, however, unspecified.
- /// </summary>
- public class DisplayClockResponse : NonCardDispenserMessageTemplateBase
- {
- public DisplayClockResponse()
- {
- CMD = 0xB8;
- }
- [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;
- }
- }
- }
- }
|