using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SSC { /// /// 系统服务结果服务 /// 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; } } }