Ejemplo n.º 1
0
 /// <summary>
 /// 添加新的轴承特征频率信息到轴承库中。所有参数参数必须提供,否则返回错误
 /// </summary>
 /// <returns></returns>
 public BaseResponse <bool> AddBearinEigenvalue(AddBearinEigenvalueParameter param)
 {
     if (this.ValidateData <AddBearinEigenvalueParameter>(param))
     {
         return(utilityManager.AddBearinEigenvalue(param));
     }
     else
     {
         BaseResponse <bool> result = new BaseResponse <bool>();
         result.IsSuccessful = false;
         result.Code         = "001451";
         LogHelper.WriteLog(string.Format("未通过安全验证:({0}:{1}", result.Code, result.Reason));
         return(result);
     }
 }