Beispiel #1
0
 public BaseResponse <MonitorTreeDataForNavigationResult> GetMonitorTreeNodes(MTNodesParameter param)
 {
     if (this.ValidateData <MTNodesParameter>(param))
     {
         return(utilityManager.GetMonitorTreeNodes(param));
     }
     else
     {
         BaseResponse <MonitorTreeDataForNavigationResult> result = new BaseResponse <MonitorTreeDataForNavigationResult>();
         result.IsSuccessful = false;
         result.Code         = "001381";
         LogHelper.WriteLog(string.Format("未通过安全验证:({0}:{1}", result.Code, result.Reason));
         return(result);
     }
 }