123
using System;
using System.Collections.Generic;
using System.Text;
using um_client_net.sao;
using um_client_net.dto.Hash;
using um_client_net.dto;
using System.Collections;
namespace um_client_net.services
{
public class UMSelfService
{
private SelfServiceSAO selfServiceSAO;
public UMSelfService(SelfServiceSAO selfServiceSAO)
{
this.selfServiceSAO = selfServiceSAO;
}
/// <summary>
/// 发起一个新UM的授权或者取消权限请求
/// </summary>
/// <param name="action">请求的服务</param>
/// <param name="para">请求的参数</param>
/// <returns></returns>
public IUMClientResponse execute(string action, Hashtable para)
{
if (string.IsNullOrEmpty(action))
{
throw new Exception("The argument is empty![action=" + action + "]");
}
IUMClientResponse iresponse = this.selfServiceSAO.execute(action, para);
if (iresponse.ReturnCode == -1)
{
Console.WriteLine(iresponse.ReturnMsg);
throw (new UMException(iresponse.ReturnMsg));
}
return iresponse;
}
}
}
using System.Collections.Generic;
using System.Text;
using um_client_net.sao;
using um_client_net.dto.Hash;
using um_client_net.dto;
using System.Collections;
namespace um_client_net.services
{
public class UMSelfService
{
private SelfServiceSAO selfServiceSAO;
public UMSelfService(SelfServiceSAO selfServiceSAO)
{
this.selfServiceSAO = selfServiceSAO;
}
/// <summary>
/// 发起一个新UM的授权或者取消权限请求
/// </summary>
/// <param name="action">请求的服务</param>
/// <param name="para">请求的参数</param>
/// <returns></returns>
public IUMClientResponse execute(string action, Hashtable para)
{
if (string.IsNullOrEmpty(action))
{
throw new Exception("The argument is empty![action=" + action + "]");
}
IUMClientResponse iresponse = this.selfServiceSAO.execute(action, para);
if (iresponse.ReturnCode == -1)
{
Console.WriteLine(iresponse.ReturnMsg);
throw (new UMException(iresponse.ReturnMsg));
}
return iresponse;
}
}
}
...全文
相关推荐
asia123:亚洲
asia123:亚洲
UAV123数据集下载
目标跟踪除了OTB、VOT等数据集外,还有UAV123,是专门由无人机拍摄的场景的数据集。特点是背景干净,视角变化较多。UAV123包含123个短视频,UAV20L包含20个长视频。数据集总大小在13.5G左右。本文档包含数据集及测评工具,要是链接失效了联系我发给你。
74HC123中文资料(PDF格式)
74HC123中文资料(PDF格式)74HC123中文资料(PDF格式)74HC123中文资料(PDF格式)
TM4C123常用代码模板.zip_TM4C123源码_ground7qw_tm4c123pwm_tm4c123代码例程_代码模
这是TM4C123的一些常用工程模板,适合电子设计大赛用
TM4C123G在Keil上的包
TM4C123G单品机在Keil上开发所需要的支持包。


新技术前沿
