| 1234567891011121314151617181920212223242526272829 |
- using Parser.BinaryParser.Attributes;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace HengShan_Pump_NonIC.MessageEntity
- {
- public class RoundUpByAmountResponse : NonICMessageTemplateBase
- {
- public RoundUpByAmountResponse()
- {
- //CMD = 0xEA;
- }
- [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;
- }
- }
- }
- }
|