Пример #1
0
 public BaseResponse <MonitorTreeDataForNavigationResult> GetMonitorTreeParentNodes(MonitorTreeNodesParameter param)
 {
     if (this.ValidateData <MonitorTreeNodesParameter>(param))
     {
         return(utilityManager.GetMonitorTreeParentNodes(param));
     }
     else
     {
         BaseResponse <MonitorTreeDataForNavigationResult> result = new BaseResponse <MonitorTreeDataForNavigationResult>();
         result.IsSuccessful = false;
         result.Code         = "001391";
         LogHelper.WriteLog(string.Format("未通过安全验证:({0}:{1}", result.Code, result.Reason));
         return(result);
     }
 }