Beispiel #1
0
 /// <summary>
 /// 获取监测树子节点,通过父子点
 /// </summary>
 /// <param name="parameter">参数</param>
 /// <returns></returns>
 public BaseResponse <GetMonitorTreeByParentIDResult> GetMonitorTreeByParentID(GetMonitorTreeByParentIDParameter parameter)
 {
     if (this.ValidateData <GetMonitorTreeByParentIDParameter>(parameter))
     {
         return(utilityManager.GetMonitorTreeByParentID(parameter));
     }
     else
     {
         BaseResponse <GetMonitorTreeByParentIDResult> result = new BaseResponse <GetMonitorTreeByParentIDResult>();
         result.IsSuccessful = false;
         result.Code         = "009662";
         LogHelper.WriteLog(string.Format("未通过安全验证:({0}:{1}", result.Code, result.Reason));
         return(result);
     }
 }