You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.8 KiB
62 lines
1.8 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace NSC
|
|
{
|
|
/// <summary>
|
|
/// 功能:公共服务数据结构
|
|
/// 作者:王昊昇
|
|
/// 时间:2012.11.8
|
|
/// </summary>
|
|
public class NetServiceStruct
|
|
{
|
|
/// <summary>
|
|
/// 创建NetServiceStruct类的新实例
|
|
/// </summary>
|
|
public NetServiceStruct()
|
|
{
|
|
Params = new Dictionary<string, ParameterStruct>();
|
|
Returns = new Dictionary<string, ParameterStruct>();
|
|
ExceptionType = Common.Data.ExceptionType.NoneException;
|
|
ServiceName = "";
|
|
}
|
|
/// <summary>
|
|
/// 应用系统类型
|
|
/// </summary>
|
|
public string FirmwareModel { get; set; }
|
|
/// <summary>
|
|
/// 应用系统版本
|
|
/// </summary>
|
|
public string FirmwareVersion { get; set; }
|
|
/// <summary>
|
|
/// 服务名称
|
|
/// </summary>
|
|
public string ServiceName { get; set; }
|
|
/// <summary>
|
|
/// 服务流水号
|
|
/// </summary>
|
|
public string ServiceSN { get; set; }
|
|
/// <summary>
|
|
/// 登录用户姓名
|
|
/// </summary>
|
|
public string UserName { get; set; }
|
|
/// <summary>
|
|
/// 异常模式
|
|
/// </summary>
|
|
public Common.Data.ExceptionType ExceptionType { get; set; }
|
|
/// <summary>
|
|
/// 数据传输模式
|
|
/// </summary>
|
|
public Common.Data.SyncType SyncType { get; set; }
|
|
/// <summary>
|
|
/// 参数列表
|
|
/// </summary>
|
|
public Dictionary<string, ParameterStruct> Params { get; set; }
|
|
/// <summary>
|
|
/// 返回列表
|
|
/// </summary>
|
|
public Dictionary<string, ParameterStruct> Returns { get; set; }
|
|
}
|
|
}
|
|
|