天津投入产出系统后端
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.
 
 
 
 
 
 

41 lines
1.2 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SSC
{
/// <summary>
/// 系统服务结果服务
/// </summary>
public class Z000 : NSC.IService
{
public NSC.NetServiceStruct ServiceFunction(Common.Data.UserAuthority userAuth, NSC.NetServiceStruct input)
{
NSC.NetServiceStruct data = null;
string version = input.Params["number"].GetString();
string returnValue = string.Empty;
switch (version)
{
case "a":
returnValue = "1";
break;
case "b":
returnValue = "2";
break;
case "c":
returnValue = "3";
break;
case "d":
returnValue = "4";
break;
case "e":
returnValue = "5";
break;
}
input.ExceptionType = Common.Data.ExceptionType.NoneException;
input.Returns.Add("returnValue", new NSC.ParameterStruct(returnValue));
return input;
}
}
}