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