示例#1
0
 public CommonResult <CollectDataInfo> AddZGParameter(string sessionId, CollectDataInfo model)
 {
     try
     {
         return(ForDeviceCollectServices.GetInstance(sessionId).AddZGParameter(model));
     }
     catch (Exception ex)
     {
         throw new FaultException <CustomFaultMessage>(new CustomFaultMessage()
         {
             ErrorCode  = ex.HResult,
             Message    = ex.Message,
             StackTrace = ex.StackTrace
         }, ex.Message);
     }
 }
示例#2
0
 public Server.Utility.CommonResult <List <Model.VModel.VCollectDataInfo> > GetCollectDataPagedList(string sessionId, Tuple <string, List <object> > twhere, int PageSize, int CurrPage)
 {
     try
     {
         return(ForDeviceCollectServices.GetInstance(sessionId).GetCollectDataPagedList(twhere, PageSize, CurrPage));
     }
     catch (Exception ex)
     {
         throw new FaultException <CustomFaultMessage>(new CustomFaultMessage()
         {
             ErrorCode  = ex.HResult,
             Message    = ex.Message,
             StackTrace = ex.StackTrace
         }, ex.Message);
     }
 }