44 lines
975 B
C#
44 lines
975 B
C#
using Alipay.AopSdk.Core.Response;
|
|
using Alipay.AopSdk.F2FPay.Model;
|
|
|
|
namespace Alipay.AopSdk.F2FPay.Business
|
|
{
|
|
/// <summary>
|
|
/// AlipayF2FMonitorResult 的摘要说明
|
|
/// </summary>
|
|
public class AlipayF2FMonitorResult
|
|
{
|
|
public AlipayF2FMonitorResult()
|
|
{
|
|
//
|
|
// TODO: 在此处添加构造函数逻辑
|
|
//
|
|
}
|
|
|
|
public MonitorHeartbeatSynResponse response { get; set; }
|
|
|
|
public ResultEnum Status
|
|
{
|
|
get
|
|
{
|
|
|
|
if (response != null)
|
|
{
|
|
if (response.Code == ResultCode.SUCCESS)
|
|
{
|
|
return ResultEnum.SUCCESS;
|
|
}
|
|
else
|
|
return ResultEnum.FAILED;
|
|
}
|
|
else
|
|
{
|
|
return ResultEnum.UNKNOWN;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
}
|
|
} |