/// <summary> /// 获取设备树和Server树 /// </summary> /// <param name="Para"></param> /// <returns></returns> public BaseResponse <MonitorTreeDataForNavigationResult> GetAllMonitorTreeAndServerTreebyRole(RoleForMonitorTreeAndServerTreeParameter Para) { if (this.ValidateData <MonitorTreeDataForNavigationResult>(Para)) { return(initManager.GetAllMonitorTreeAndServerTreebyRole(Para)); } else { BaseResponse <MonitorTreeDataForNavigationResult> result = new BaseResponse <MonitorTreeDataForNavigationResult>(); result.IsSuccessful = false; result.Code = "000701"; LogHelper.WriteLog(string.Format("未通过安全验证:({0}:{1}", result.Code, result.Reason)); return(result); } }