初始提交
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user