using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; namespace SocketTransfer.SDK { /// /// 当日对账 金融机构->监管机构 /// public class SocketCommodityReceive01 : SocketReceive { public SocketCommodityReceive01(byte[] source) : base(source, 20, 18, 18, 100) { } public SocketCommodityReceive01() : base(20, 18, 18, 100) { } [CategoryAttribute("数据段"), DescriptionAttribute("文件名")] /// /// 文件名 /// public string FileName { get { return GetValue(3); } set { SetValue(3, value); } } [CategoryAttribute("数据段"), DescriptionAttribute("账户余额")] /// /// 账户余额 /// public double AccountBalance { get { return string.IsNullOrEmpty(GetValue(4)) ? default(double) : double.Parse(GetValue(4)); } set { SetValue(4, value.ToString()); } } [CategoryAttribute("数据段"), DescriptionAttribute("平台余额")] /// /// 平台余额 /// public double PlatformBalance { get { return string.IsNullOrEmpty(GetValue(5)) ? default(double) : double.Parse(GetValue(5)); } set { SetValue(5, value.ToString()); } } [CategoryAttribute("数据段"), DescriptionAttribute("对账说明")] /// /// 对账说明 /// public string ReconciliationExplain { get { return GetValue(6); } set { SetValue(6, value); } } } /// /// 当日对账 监管机构->金融机构 /// public class SocketCommoditySend01 : SocketSend { public SocketCommoditySend01(byte[] source) : base(source) { } public SocketCommoditySend01() : base() { } } }